CMOS NAND and NOR gate design
WHY does CMOS work this way?
WHY complementary? Because if both networks conducted at once we'd get a short-circuit () burning static power; if neither conducted the output would float and hold garbage. Making PUN and PDN logical duals guarantees exactly-one-conducts.
HOW to build the NAND gate
We want .
Step 1 — PDN: only when , i.e. when AND are both HIGH. Why this step? AND ⇒ series NMOS. So put two NMOS in series between and .
Step 2 — PUN (dual): swap series→parallel and NMOS→PMOS. Why this step? , an OR of the complements → parallel PMOS. Two PMOS in parallel between and .
Step 3 — verify one input: . NMOS series broken (B off) ⇒ PDN off. PMOS parallel: the -PMOS is ON (gate=0) ⇒ PUN pulls . ✓ Matches .

HOW to build the NOR gate
We want .
Step 1 — PDN: when , i.e. OR HIGH. Why? OR ⇒ parallel NMOS between and .
Step 2 — PUN (dual): ⇒ AND of complements ⇒ series PMOS between and .
Sizing: WHY NAND is preferred over NOR
Recall Feynman: explain to a 12-year-old
Imagine two water pipes. On top, pipes bring water down (that's "1"); on the bottom, drains let water out (that's "0"). Each pipe has a valve controlled by a switch. In a NAND gate, the drain side has two valves in a line — water only escapes if you open both switches. So the output stays "full" (1) unless both inputs are on. The top pipes are arranged the opposite way (side-by-side) so that whenever the drain is blocked, one top pipe is always open to keep it full. It's designed so the tank is never both filling and draining, and never left empty-and-open.
Active Recall
Which transistor type forms the pull-up network and why?
In a PDN, series NMOS implement which logic operation?
In a PDN, parallel NMOS implement which logic?
Give the transistor topology of a 2-input NAND.
Give the transistor topology of a 2-input NOR.
Why is NAND preferred over NOR in CMOS?
State the duality rule for building the PUN from the PDN.
For NAND with A=1,B=0, which network conducts and what is Y?
Why must PUN and PDN be logical duals?
Which De Morgan identity underlies the NOR PUN being series PMOS?
Connections
- CMOS Inverter — the 1-input base case of this PUN/PDN principle.
- De Morgan's Theorem — the algebra that guarantees PUN/PDN duality.
- MOSFET as a Switch — why NMOS pass strong 0, PMOS strong 1.
- Static Power and Short-Circuit Current — what the complementary structure prevents.
- Logical Effort — quantifies the NAND vs NOR sizing penalty.
- Complex Gates (AOI/OAI) — generalizes series/parallel to arbitrary functions.
Concept Map
Hinglish (regional understanding)
Intuition Hinglish mein samjho
CMOS gate ka fundamental idea simple hai: har gate ke do parts hote hain — upar pull-up network (PUN) jo sirf PMOS se banta hai, aur neeche pull-down network (PDN) jo sirf NMOS se banta hai. NMOS tab ON hota hai jab gate HIGH ho aur woh clean 0 pass karta hai, isliye woh neeche (pull-down) rakha jata hai. PMOS tab ON hota hai jab gate LOW ho aur clean 1 pass karta hai, isliye woh upar (pull-up). Design ka rule ye hai ki PUN aur PDN ek dusre ke dual hone chahiye — taaki har input ke liye exactly ek network conduct kare: output kabhi float na ho aur –GND short kabhi na ho.
Yaad rakhne ka trick: series NMOS = AND, parallel NMOS = OR. NAND banana hai () — output 0 tabhi jab dono input 1, yaani AND, yaani do NMOS series mein. Iska dual — PMOS parallel upar. NOR () mein ulta: NMOS parallel neeche, PMOS series upar. Bas De Morgan () silicon mein apply ho raha hai.
Practical baat: electrons holes se ~2-3 guna fast hote hain, isliye PMOS naturally slow hote hain. Series transistors aur bhi slow hote hain (resistance add). NAND mein PMOS parallel hote hain (achha), par NOR mein PMOS series hote hain (bura) — unhe bahut wide banana padta hai. Isiliye industry mein NAND preferred hota hai — chhota aur fast. Exam aur interview dono mein ye "NAND vs NOR kaun better" wala point pucha jata hai, toh yahi mobility + series-PMOS wali reasoning bolna.