- 2067 Chaitra · 3 marks
Why NOR and NAND are universal gates
Short answer
NAND and NOR gates are universal because NOT, AND, and OR—hence any logic function—can be built using only one gate type. For example, a NOT is made by tying both inputs of a NAND (or NOR); AND is NAND followed by NOT; OR is NOR followed by NOT.
Why NOR and NAND gates are called universal gates? Explain with examples.
NAND and NOR gates are called universal gates because any logic function (AND, OR, NOT, and hence any combination) can be built using only NAND gates, or only NOR gates.
NAND gate as universal gate
| Function | Using NAND only |
|---|---|
| NOT | A' = (A·A)' (tie both inputs) |
| AND | AB = ((AB)')' (NAND followed by NAND as NOT) |
| OR | A + B = (A'·B')' (NAND of A' and B') |
NOT: A --[NAND, inputs tied]-- A'
AND: A,B --[NAND]--[NAND tied]-- AB
OR: A --[NAND tied]--+
B --[NAND tied]--[NAND]-- A+B
NOR gate as universal gate
| Function | Using NOR only |
|---|---|
| NOT | A' = (A + A)' |
| OR | A + B = ((A + B)')' (NOR followed by NOR as NOT) |
| AND | AB = (A' + B')' (NOR of A' and B') |
Example: to make an OR gate from NOR gates, connect the output of a NOR gate to a second NOR gate with tied inputs.
Because NOT, AND and OR are enough to build every logic circuit, NAND and NOR are universal. They are also cheaper and smaller in ICs, which is why they are widely used.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- X-OR gate using NAND gates only · Basic Electronics Engineering, chapter 6
- Encoder; NAND and XOR truth tables · Basic Electronics Engineering, chapter 6
- 2's complement subtraction; AND using NOR · Basic Electronics Engineering, chapter 6
- Why NAND and NOR are universal gates · Digital Logic, chapter 2
- Universal gates; Ex-OR using NAND · Digital Logic, chapter 2
- De Morgan; NOR gate from NAND gates · Digital Logic, chapter 2
- Universal motor and why so called · Electrical Machine, chapter 7