There are other logic gates that are made from the 3 basic gates. Their functions are commonly used and that is why they are represented as gates.
NAND Gate
It is the negated function of the AND gate.
a | b | c = a NAND b |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
Fig. 1.4Â NAND Gate
NOR Gate
It is the negated function of the OR gate.
a | b | c = a NOR b |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
Fig. 1.5Â NOR Gate
XOR Gate
If a and b are different the result is 1, otherwise 0.
a | b | c = a XOR b |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
Fig. 1.6Â XOR Gate
XNOR Gate
If a and b are different the result is 0, otherwise 1.
a | b | c = a XNOR b |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
Fig. 1.7Â XNOR Gate