Xor
The XOR component performs a logical XOR on all valid inputs and writes the result to the Out property. The first table below shows the XOR component truth table if using all four inputs. The second table below shows the XOR component truth table if using two inputs (typical).
Slots
The Xor component has the following slots:
- Status: shows the component's status;
- Out: the output value with the outcome of the xor operation;
- InA-InD: the input value.
In A | In B | Out |
---|---|---|
False | False | False |
False | True | True |
True | False | True |
True | True | False |
In A | In B | In C | In D | Out |
---|---|---|---|---|
False | False | False | False | False |
False | False | False | True | True |
False | False | True | False | True |
False | False | True | True | False |
False | True | False | False | True |
False | True | False | True | False |
False | True | True | False | False |
False | True | True | True | True |
True | False | False | False | True |
True | False | False | True | False |
True | False | True | False | False |
True | False | True | True | True |
True | True | False | False | False |
True | True | False | True | True |
True | True | True | False | True |
True | True | True | True | False |