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.
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
P0 | I | BIT | First input signal |
P1 | I | BIT | Second input signal |
Q | O | BIT | Result |
Parameters
The parameter dialog can be used to select the negated signals.
Visualization
If the output Q is logical 1, the function block will be highlighted.