XOR Gate
Jump to navigation
Jump to search
XOR Gate
| |
| |
Information
| |
Type: | Logic Gates
|
Effects: | Output is ON if exactly one input is ON
|
Broker value: | 2
|
The XOR Gate is a Logic Gate whose output is ON if exactly one of its inputs is ON.
Crafting
Result | Ingredients | Crafting Station |
---|---|---|
XOR Gate (1) | Copper Bar (1) Wire (5) | Demonic Workstation |
Description[edit]
With the Wrench, right-click the XOR Gate to set its input and output colors. Its outputs will be ON if exactly one of its inputs is ON; otherwise its outputs will be OFF.
Note: Outside of Necesse, some multi-input XOR gates behave as follows: output is ON if an odd number of inputs is ON; output is OFF if an even number of inputs is ON. But in Necesse, the XOR Gate behaves as an exactly-one detector.
Number of input colors that are ON | Output colors |
---|---|
0 | OFF |
1 | ON |
2 | OFF |
3 | OFF |