- 2068 Chaitra · 2+2 marks
Universal gates; Ex-OR using NAND
Short answer
NAND and NOR are universal because they can realize NOT, AND, OR. An XOR gate using only NANDs: G1 = (AB)', G2 = (A G1)', G3 = (B G1)', Y = (G2 G3)'. Four NAND gates are needed.
List out the name of universal gates and why they are called universal gate? Realise Ex-OR Gate using only NAND gates.
Universal gates
The universal gates are NAND and NOR. They are called universal because any Boolean function, and every other gate (NOT, AND, OR, XOR, XNOR), can be built using only NAND gates or only NOR gates. For example, with NAND only: NOT A = , AND = NAND followed by NOT, OR = . This lets a whole circuit be made from one type of IC (e.g. 7400), which simplifies manufacture and reduces cost.
XOR using only NAND gates
needs four 2-input NAND gates.
Gates: , , , .
A --+---------------[NAND G2]--+
| | |
+--[NAND G1]--G1--+ +--[NAND G4]-- Y
| | |
B --+---------------[NAND G3]--+
| A | B | Y | |||
|---|---|---|---|---|---|
| 0 | 0 | 1 | 1 | 1 | 0 |
| 0 | 1 | 1 | 1 | 0 | 1 |
| 1 | 0 | 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 | 1 | 0 |
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Why NAND and NOR are universal gates · Digital Logic, chapter 2
- XOR gate using minimum NAND gates · Digital Logic, chapter 2 · asked 2×
- 3-input XOR using NAND gates only · Digital Logic, chapter 2 · asked 2×
- De Morgan; NOR gate from NAND gates · Digital Logic, chapter 2
- Minterms/maxterms; K-map Σm(2,4,5,13,14)+d, universal gates · Digital Logic, chapter 3
- K-map Σ(0,1,4,8,10,11,12)+d, NAND-only · Digital Logic, chapter 3
- X-OR gate using NAND gates only · Basic Electronics Engineering, chapter 6
- Why NOR and NAND are universal gates · Basic Electronics Engineering, chapter 6
- Universal motor and why so called · Electrical Machine, chapter 7
- Short note: Ex-OR and Ex-NOR gate · Basic Electrical and Electronics Engineering, chapter 3