Appearance

Example XOR gate

Behavior

The XOR gate (Exclusive OR) outputs the result of the XOR function of the 1-bit signals at the input. The output only has the value 1 if exactly one input has the value 1. For an XOR gate with two inputs, this means that the output is 1 if the two inputs have a different value.

Unconnected inputs always have the value 0.

Table 1. truth table
0 1 Z X

0

0

1

0

X

1

1

0

0

X

Z**

0

0

0

X

X

X

X

X

X

(Z: Undefined/High impedance, X: Error)

Mnemonics

The logical gates of Antares can illustrate their function with so-called "mnemonics". See the chapter Descriptions and explanations. The mnemonic of the XOR gate is shown below.

Example Mnemonic

Pins

Inputs

The 1-bit inputs of the XOR gate. Their number is determined by the attribute "Number of inputs".

Output

The 1-bit output of the XOR gate. Outputs the value of the calculated XOR function.

Attributes

Orientation

The direction in which the output points.

Number of inputs

Determines how many inputs the XOR gate has. There are 2 to max. 8 inputs available. If the XOR gate is already connected to wires, this attribute cannot be changed.

Output Name

The optional name displayed next to the output. This can be useful when the XOR gate forms the end of a complex combinatorial circuit and the logical expression produced by the XOR gate is to be specified.