NAND and NOR gates are called Universal gates because all other basic and exclusive gates can be derived from the two NAND and NOR gates.
We drive all gates from NAND:
NAND → NOT:
NAND → OR:
NAND → AND:
NAND → XOR:
NAND → XNOR:
NAND → NOR:
Now, we drive all gates from NOR gates:
NOR → NOT:
NOR → AND:
NOR → OR:
NOR → XOR:
NOR → XNOR:
Number of Gates | ||
| NAND | NOR |
NOT | 1 | 1 |
AND | 2 | 3 |
OR | 3 | 2 |
XOR | 4 | 5 |
XNOR | 5 | 4 |
NAND | 1 | 4 |
NOR | 4 | 1 |
Contributed by