Skip to content

Xor

The Xor block emits true when exactly one input is true.

y = a xor b

Port Direction Type
0, 1 Input bool
0 Output bool

None.

For inputs a = true and b = false, the output is y = true.