Xor
The Xor block emits true when exactly one input is true.
Behavior
Section titled “Behavior”y = a xor b
| Port | Direction | Type |
|---|---|---|
| 0, 1 | Input | bool |
| 0 | Output | bool |
Parameters
Section titled “Parameters”None.
Example
Section titled “Example”For inputs a = true and b = false, the output is y = true.