Logic Gates
From Redstonechips
Malkierian (Talk | contribs) (Created page with 'Use this as reference for some of the basic gates: [http://en.wikipedia.org/wiki/Logic_gate#Symbols Logic Gate Symbols] ==AND== This only outputs high when all inputs are high.…') |
(→OR) |
||
Line 8: | Line 8: | ||
This outputs high when any of the inputs are high. | This outputs high when any of the inputs are high. | ||
+ | In out | ||
+ | 00 0 | ||
+ | 01 1 | ||
+ | 10 1 | ||
+ | 11 1 | ||
==XOR== | ==XOR== |
Revision as of 05:27, 11 August 2011
Use this as reference for some of the basic gates: Logic Gate Symbols
Contents |
AND
This only outputs high when all inputs are high.
OR
This outputs high when any of the inputs are high. In out 00 0 01 1 10 1 11 1
XOR
This outputs high only if ALL of the inputs are different (for binary applications, only 2-inputs are possible).
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:
NAND
This outputs the opposite of an AND gate, which means that the output is high if the inputs are anything but all on.
NOR
This is the opposite the OR gate, which means the output is high only if all inputs are low.
XNOR
This is the opposite of the XOR gate, which means the output is high only if all inputs are the same.