Function evaluates the logical exclusive OR between the values from inputs a and b. Result of the operation is passed to the output y.
Example in Python
y = bool(a) != bool(b)
Truth Table:
| a | b | y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
| Function menu | Block diagram |
|---|---|
![]() |
![]() |
| Name | Type | Description |
|---|---|---|
a |
bool | Operand No. 1 |
b |
bool | Operand No. 2 |
| Name | Type | Description |
|---|---|---|
y |
bool | Exclusive disjunction |
Not available