3.2.2 · D4CMOS Circuit Design

Exercises — Pull-up and pull-down networks

2,496 words11 min readBack to topic

Before we start, three symbols we will lean on constantly — defined in plain words:


Level 1 — Recognition

L1.1 Which transistor type builds the PUN, and to which power rail does the PUN connect the output?

L1.2 In a PDN, two NMOS transistors are wired in series. What Boolean operation of their inputs does this branch implement?

L1.3 The golden design rule says "for every input, exactly one network conducts." Written with = "PDN conducts" and = "PUN conducts," complete: .

Recall Solution — L1

L1.1 The PUN is built from PMOS transistors and connects the output to ==== (the logic-1 rail). Why PMOS up top: a PMOS passes a strong 1 (no threshold drop when pulling toward ), so it restores a clean HIGH. See CMOS Inverter.

L1.2 Series = AND. Current only flows if both NMOS are ON, i.e. input AND input are both 1. (Mnemonic SAPO: Series-AND, Parallel-OR.)

L1.3 — the two networks are logical complements: never both conduct (that would short to ground), never neither (that would leave the output floating).


Level 2 — Application

L2.1 Design the static-CMOS transistor network for a 3-input NAND: . Describe the PDN and PUN (series/parallel and count), then verify the input and one other input.

L2.2 Design a 3-input NOR: . Describe PDN and PUN.

L2.3 How many transistors total does each of the two gates above use, and why is it always for an -input NAND or NOR?

Recall Solution — L2

L2.1 — 3-input NAND. Here and .

  • PDN: output must go LOW only when ⇒ we need all three NMOS ON ⇒ AND ⇒ three NMOS in series (gates ) between and ground.
  • PUN (dual): swap series→parallel ⇒ three PMOS in parallel (gates ) between and . This matches De Morgan: , so the output is HIGH if any input is low — exactly "any parallel PMOS turns on."
  • Check : the series NMOS chain is a complete wire → . Every PMOS has gate 1 → all OFF. Exactly one network conducts. ✔
  • Check : NMOS chain broken (the switch is open) → PDN OFF. PMOS with gate is ON → PUN pulls . ✔ (.)

L2.2 — 3-input NOR. .

  • PDN: LOW when any input is 1 ⇒ OR ⇒ three NMOS in parallel.
  • PUN (dual): parallel→series ⇒ three PMOS in series. Output is HIGH only when all inputs are 0 (all series PMOS ON) — matches . See NAND and NOR gates.

L2.3 Each gate uses transistors: one NMOS and one PMOS per input. Every input drives exactly one NMOS (in the PDN) and exactly one PMOS (in the PUN), because the PUN is the dual of the PDN with the same set of inputs. So inputs → NMOS + PMOS .


Level 3 — Analysis

You are handed schematics; reverse-engineer the logic.

L3.1 A PDN has: NMOS in series with a parallel pair (NMOS ∥ NMOS ), the whole thing between and ground. What Boolean function does the PDN conduct on, and what is ?

L3.2 Draw (describe) the correct PUN for the L3.1 gate by dualising, and confirm it computes the same .

L3.3 Figure problem. Look at the network in the figure below. Read off , then state whether it is an AOI (AND-OR-Invert) or OAI (OR-AND-Invert) gate.

Figure — Pull-up and pull-down networks
Recall Solution — L3

L3.1 Trace current from to ground. First it must pass through (series) — that's an AND with whatever follows. After , the current can go through or (parallel) — that's an OR. So the PDN conducts when The output is the inversion: .

L3.2 Dualise branch by branch:

  • in series with the rest (PDN) → in parallel with the rest (PUN).
  • The parallel pair (PDN) → series pair (PUN).

So the PUN = PMOS in parallel with [PMOS in series with PMOS ]. Confirm by De Morgan: . Read the PUN: it conducts (pulls HIGH) when OR when and — i.e. . Identical. ✔

L3.3 In the figure the PDN is a series pair (A then B) in parallel with a single NMOS C. So it conducts when , giving Inside the bar we do AND then OR then invert → this is an AOI (AND-OR-Invert) gate.


Level 4 — Synthesis

Design from a bare Boolean spec.

L4.1 Design a single static-CMOS gate for . Give the PDN and the PUN, and count transistors.

L4.2 Design (an OAI gate). Give PDN and PUN.

L4.3 Can (a non-inverting AND) be built as a single static-CMOS gate? Explain, and give the smallest correct realisation.

Recall Solution — L4

L4.1 .

  • PDN: the OR () → parallel; the AND () → series. So: NMOS in parallel with (NMOS in series with NMOS ).
  • PUN (dual): OR→series, AND→parallel: PMOS in series with (PMOS ∥ PMOS ). Check via De Morgan: — pulls HIGH when AND ( OR ): in series (the AND) with the pair (the OR). ✔
  • Transistors: 3 inputs ⇒ 3 NMOS + 3 PMOS = 6.

L4.2 .

  • PDN: outer AND → series of two branches; each inner OR → parallel pair. So: (NMOS ∥ NMOS ) in series with (NMOS ∥ NMOS ).
  • PUN (dual): swap everything: (PMOS series PMOS ) in parallel with (PMOS series PMOS ). Check: — HIGH when ( both 0) OR ( both 0) → two series PMOS branches in parallel. ✔ 4 inputs ⇒ 8 transistors.

L4.3 No — not as a single static-CMOS gate. Every static-CMOS gate is inherently inverting (), because the PDN can only pull down and the PUN only up, and they are complements. A bare AND is non-inverting. Smallest correct realisation: a NAND (, 4 transistors) followed by an inverter (, 2 transistors) = 6 transistors. The inverter restores the missing inversion. (A Pass Transistor Logic AND can be smaller but doesn't give full rail-to-rail restoration.)


Level 5 — Mastery

L5.1 (Worst-case sizing). In a 3-input NAND, the PDN is 3 NMOS in series. If a single NMOS has "on-resistance" , what is the pull-down resistance in the worst case? For the PUN (3 PMOS in parallel), what is the best-case pull-up resistance if one PMOS has resistance ? Why does the series stack, not the parallel one, set the gate's slow edge? (Links: Threshold Voltage and Body Effect.)

L5.2 (Static power). For a properly designed static CMOS gate, what is the ideal DC current from to ground in steady state, and why? Name the one moment current does flow. (Link: Static vs Dynamic Power.)

L5.3 (Degenerate input). In the AOI gate , tie permanently. What does reduce to, and which transistors become "don't-care"?

Recall Solution — L5

L5.1 Series resistances add: three NMOS in series give worst-case pull-down resistance Three PMOS in parallel give conductances that add; the best case (any one ON, but if all three are ON) is The series stack () is large and it charges/discharges the output slowly ⇒ it sets the slow (falling) edge. That's why designers make series-stacked transistors wider (lower ) to compensate — and why deep series stacks are avoided. (Threshold and body effect, from Threshold Voltage and Body Effect, make stacked devices even weaker, worsening this.)

L5.2 Ideal steady-state DC current . Why: by the golden rule exactly one network conducts at a time, so there is never a complete wire from to ground while inputs are stable — no static path, hence (ideally) no static power. Current flows only during switching, when the input crosses the threshold and both networks are briefly partly-ON (short-circuit current) plus the current charging the load capacitance — this is dynamic power. See Static vs Dynamic Power.

L5.3 With : the -NMOS in the PDN is permanently ON, so the PDN conducts regardless of ⇒ output is dragged LOW always ⇒ The output is a constant 0. The and transistors (both PDN NMOS and the PUN PMOS ) become don't-care — their inputs no longer affect . (In the PUN, turns the series PMOS OFF, guaranteeing the PUN cannot pull HIGH — consistent.)


Wrap-up self-test