3.2.2CMOS Circuit Design

Pull-up and pull-down networks

2,065 words9 min readdifficulty · medium3 backlinks

A CMOS gate is a switch factory. Two teams of transistors fight over the output node: one team pulls it HIGH, the other pulls it LOW — and by design, never both at once.

Core Idea

Figure — Pull-up and pull-down networks

WHY PMOS pulls up, NMOS pulls down (from first principles)

HOW to build the networks: the duality rules

The PUN and PDN are duals. Build one from the Boolean function, then get the other by De Morgan.

Let gPDNg_{PDN} = "PDN conducts" and gPUNg_{PUN} = "PUN conducts". Correct design requires: gPDN=gPUN(complementary: never both, never neither)g_{PDN} = \overline{g_{PUN}} \quad\text{(complementary: never both, never neither)} and the output is Y=gPDNY = \overline{g_{PDN}} (output is high exactly when the PDN is OFF and the PUN is ON).

Worked Example 1 — the Inverter

Function: Y=AˉY = \bar A.

  • PDN: output must go LOW when A=1A=1. One NMOS, gate =A=A, between YY and GND. Why this step? f=Af = A, so a single series device controlled by AA.
  • PUN (dual): single PMOS, gate =A=A, between VDDV_{DD} and YY. Why? Dual of one series device is one device; PMOS turns on when A=0A=0, pulling output high.
  • Check: A=0A=0 \Rightarrow PMOS ON, NMOS OFF ⇒ Y=1Y=1. A=1A=1 \Rightarrow NMOS ON ⇒ Y=0Y=0. ✔ Complementary.

Worked Example 2 — 2-input NAND

Function: Y=ABY = \overline{A\cdot B}, so f=ABf = A\cdot B.

  • PDN: output LOW only when AB=1A\cdot B = 1 ⇒ need both ON ⇒ two NMOS in series, gates AA and BB. Why? AND ⇒ series.
  • PUN (dual): series→parallel ⇒ two PMOS in parallel, gates AA, BB. Why? AB=Aˉ+Bˉ\overline{A B}=\bar A+\bar B ⇒ output high if either input is low ⇒ PMOS in parallel each pull up.
  • Check A=B=1A=B=1: series NMOS conducts → Y=0Y=0; both PMOS off. Any other combo: at least one PMOS on → Y=1Y=1. ✔

Worked Example 3 — 2-input NOR

Function: Y=A+BY = \overline{A+B}, so f=A+Bf = A+B.

  • PDN: LOW when A+B=1A+B=1either ON pulls low ⇒ two NMOS in parallel. Why? OR ⇒ parallel.
  • PUN (dual): parallel→series ⇒ two PMOS in series. Why? A+B=AˉBˉ\overline{A+B}=\bar A\bar B ⇒ output high only when both inputs low ⇒ series PMOS.
  • Check A=B=0A=B=0: both PMOS on (series) → Y=1Y=1; both NMOS off. Else some NMOS on → Y=0Y=0. ✔

Worked Example 4 — Compound gate (AOI)

Function: Y=(AB)+CY = \overline{(A\cdot B) + C}.

  • PDN: f=(AB)+Cf=(AB)+C. ABAB ⇒ series pair (AA then BB); that whole branch in parallel with a single NMOS CC (the OR).
  • PUN (dual): OR→series, AND→parallel: PMOS CC in series with (PMOS AA ∥ PMOS BB).
  • Why one gate does this: CMOS compound gates implement any AND-OR\overline{\text{AND-OR}} (AOI) or OR-AND\overline{\text{OR-AND}} (OAI) form in a single stage — cheaper and faster than chaining NANDs.

Active Recall

PUN is made of which transistor type and connects output to what?
PMOS transistors, connecting output to VDDV_{DD}.
PDN is made of which transistor type and connects output to what?
NMOS transistors, connecting output to ground.
Why use PMOS for pull-up and NMOS for pull-down?
PMOS passes a strong 1, NMOS passes a strong 0; placing each where it excels gives rail-to-rail output.
Series NMOS in the PDN implements which Boolean operation?
AND (both must be ON to conduct).
Parallel NMOS in the PDN implements which Boolean operation?
OR (either ON conducts).
How is the PUN topology obtained from the PDN?
It is the dual — swap series↔parallel, same input on the matching PMOS.
What is the golden design rule for PUN/PDN?
For every input, exactly one network conducts: gPDN=gPUNg_{PDN}=\overline{g_{PUN}}.
For a 2-input NAND, describe PDN and PUN.
PDN: 2 NMOS in series; PUN: 2 PMOS in parallel.
For a 2-input NOR, describe PDN and PUN.
PDN: 2 NMOS in parallel; PUN: 2 PMOS in series.
Why is a degraded '1' from NMOS bad?
Output caps at VDDVtnV_{DD}-V_{tn}, cutting noise margin and possibly leaking static current in the next stage.
What logic form does a static CMOS gate always compute?
An inverting function Y=fY=\overline{f} (AOI/OAI, inherently inverting).
Why no static power in static CMOS?
The complementary networks never conduct simultaneously, so there's no continuous VDDV_{DD}-to-GND path.

Connections

Concept Map

needs both levels

PMOS to VDD

NMOS to ground

threshold drop on HIGH

threshold drop on LOW

forces

forces

exactly one conducts

logical complement

builds

topological dual

swap series/parallel

CMOS Gate

Two Complementary Networks

Pull-Up Network PUN

Pull-Down Network PDN

NMOS passes strong 0

PMOS passes strong 1

Output = 1

Output = 0

Golden Rule

Series ⟷ AND, Parallel ⟷ OR

De Morgan Duality

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, CMOS gate ke andar do teams hoti hain jo output wire pe control karti hain. Ek team PUN (Pull-Up Network) hai jo PMOS transistors se bani hoti hai aur output ko VDDV_{DD} tak, yaani logic 1 tak, kheench ke le jaati hai. Doosri team PDN (Pull-Down Network) hai jo NMOS transistors se bani hoti hai aur output ko ground, yaani 0 tak, kheenchti hai. Rule bilkul simple hai: kisi bhi input combination pe sirf ek hi network ON hoga — kabhi dono nahi, kabhi koi nahi.

Ab sawaal — PMOS upar kyun aur NMOS neeche kyun? Kyunki NMOS ek strong 0 pass karta hai par ek weak 1 (output VDDVtnV_{DD}-V_{tn} tak hi jaata hai, poora nahi). PMOS ulta — strong 1, weak 0. Toh har transistor ko wahi kaam do jismein woh best hai: NMOS ko pull-down, PMOS ko pull-up. Isse output hamesha clean full 1 ya full 0 milta hai, aur beech mein koi degraded value nahi.

Networks banane ka trick duality hai. PDN mein series NMOS = AND, parallel NMOS = OR. PUN uska ulta hota hai — series ko parallel bana do, parallel ko series. Yeh actually De Morgan ka law hi hai chhupa hua. Jaise NAND (AB\overline{AB}): PDN mein do NMOS series, PUN mein do PMOS parallel. NOR (A+B\overline{A+B}): PDN mein do NMOS parallel, PUN mein do PMOS series. Bas ulta ho gaya!

Yeh cheez matter kyun karti hai? Kyunki jab ek hi network conduct karta hai, tab VDDV_{DD} se ground tak koi seedha current path nahi banta — matlab static power almost zero. Isiliye CMOS ne baaki technologies ko peeche chhod diya. Exam aur design dono mein: pehle function likho, PDN banao (AND=series, OR=parallel), phir dual leke PUN banao. Ho gaya kaam.

Go deeper — visual, from zero

Test yourself — CMOS Circuit Design

Connections