Back Basic Digital Logic Symbols

Basic Digital Logic Symbols

Name Symbols and Equations Truth Table Description
AND AND AND A B X All inputs must be present for output.
1 1 1
1 0 0
0 1 0
0 0 0
OR OR OR A B X Any input must be present for output.
1 1 1
1 0 1
0 1 1
0 0 0
NOT (inverter) NOT NOT A X   Negates (inverts) input or output.
1 0  
0 1  
NAND NAND NAND A B X All inputs must be absent for output.
1 1 0
1 0 1
0 1 1
0 0 1
NOR NOR NOR A B X Any input must be absent for output.
1 1 0
1 0 1
0 1 1
0 0 1
Exclusive OR (XOR) XOR   A B X Only one input must be present for output.
1 1 0
1 0 1
0 1 1
0 0 0
Exclusive NOR (XNOR) XNOR   A B X Neither or both inputs must be present for output.
1 1 1
1 0 0
0 1 0
0 0 1