Logic Gates
From Redstonechips
Use this as reference for some of the basic gates: Logic Gate Symbols
Contents |
[edit] AND
This only outputs high when all inputs are high.
[edit] OR
This outputs high when any of the inputs are high.
[edit] XOR
This outputs high only if ALL of the inputs are different (for binary applications, only 2-inputs are possible).
[edit] NOT
This inverts the input. If input is high, output is low, and vice-versa.
By applying this logic to the previous gates, we can come up with a few more:
[edit] NAND
This outputs the opposite of an AND gate, which means that the output is high if the inputs are anything but all on.
[edit] NOR
This is the opposite the OR gate, which means the output is high only if all inputs are low.
[edit] XNOR
This is the opposite of the XOR gate, which means the output is high only if all inputs are the same.