Logic Gates
From Redstonechips
(nKu7qy The text is promising, will place the site to my favorites..!) |
(Undo revision 1421 by 70.188.166.91 (Talk)) |
||
Line 1: | Line 1: | ||
Use this as reference for some of the basic gates: [http://en.wikipedia.org/wiki/Logic_gate#Symbols Logic Gate Symbols] | 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== | ==OR== |
Current revision as of 06:58, 7 January 2012
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.