|Source Mod||RedPower 2|
The XOR Gate is one of numerous blocks added by RedPower 2 that allows for simplification of gates, latches and cells into single-block mechanisms. The XOR Gate mirrors the vanilla gate of the same name, but requires less space. The Gate has two inputs and one output, which is only turned on if the two input faces are receiving different Redstone signals. For example, if the left input is receiving a Redstone signal but the right input is not, then the output will be turned on, and vice versa. This means that when any of the input states are changed, the output will change to reflect this.
The inversion of this block is the XNOR Gate. The task of an XNOR Gate could be accomplished by inverting the XOR Gate's signal, and vice versa with the XNOR Gate.
The truth table for a XOR gate where A and B are inputs and Q is an output