XOR

 

This function block computes the logical XOR of 2 input BIT signals. This means the output is logical 1 if the two input signals are different. All input signals, as well as the output signal can be negated.

Parameters

The parameter dialog can be used to select the negated signals.

Signals

NameI/OType(s)Function
P0IBITFirst input signal
P1IBITSecond input signal
QOBITResult

Visualization

If the output Q is logical 1, the function block will be highlighted.

Other Articles