-
Notifications
You must be signed in to change notification settings - Fork 2
XOR Gate
Meredith Espinosa edited this page Jul 24, 2018
·
2 revisions
The XOR gate works like a standard logical XOR, with slight modifications. The left and right sides each act as an input, and the front acts an output. The gate will output the bitwise XOR of the left and right inputs. If the left is receiving a signal of 0b10_1101 (45)
and the right is receiving a signal of 0b00_1010 (10)
, the front will output 0b10_0110 (38)
.
The front torch can be right-clicked to change the XOR gate from bitwise mode to boolean mode. In boolean mode, if exactly one input is receiving a signal, the gate will output 0b00_0001 (1)
. Otherwise, it will output 0b00_0000 (0)
.