Worked examples — Pull-up and pull-down networks
This page is the drill-ground for Pull-up and pull-down networks. The parent taught the rules; here we exercise them against every kind of case a gate can throw at you — simple, degenerate, compound, and exam-twisted. Guess before you read the steps.
The scenario matrix
Before any example, here is the full grid of case-classes this topic can present. Every cell is covered by at least one worked example below.
| Cell | Case class | What makes it tricky | Covered by |
|---|---|---|---|
| C1 | Single input (degenerate) | one transistor per network — no series/parallel choice | Ex 1 |
| C2 | Pure AND-term (series PDN) | series↔parallel flip must be applied | Ex 2 |
| C3 | Pure OR-term (parallel PDN) | the mirror of C2 | Ex 3 |
| C4 | Mixed AND-of-OR / OR-of-AND (compound AOI/OAI) | nesting series inside parallel and vice-versa | Ex 4, Ex 5 |
| C5 | Non-inverting target (AND / OR gate) | static CMOS can only invert → needs an extra inverter stage | Ex 6 |
| C6 | Degenerate / illegal design | series↔series copy shorts the rails or floats output | Ex 7 |
| C7 | Limiting/electrical case | threshold drop, series stacking slows things — the analog limit | Ex 8 |
| C8 | Real-world word problem | translate English → Boolean → transistors | Ex 9 |
| C9 | Exam twist (count transistors / recognise a mystery gate) | reverse-engineer the function from a netlist | Ex 10 |
Ex 1 — Inverter (Cell C1: single input, degenerate)
Forecast: guess the transistor count and which type sits on top before reading on.
- Read . so . Why this step? The PDN must conduct when , i.e. when .
- PDN. One NMOS, gate , between and ground. Why? A single variable needs a single switch — no AND/OR, so no series/parallel to decide.
- PUN (dual of one device = one device). One PMOS, gate , between and . Why? A PMOS conducts when its gate is low, so at it pulls high — exactly the complement.
Figure 1 (below): the PMOS (red, the key pull-up device) sits on top tied to ; the black NMOS sits below tied to ground; the output node is the shared wire between them. Notice both devices share the same gate label .

Verify: PMOS ON, NMOS OFF . NMOS ON, PMOS OFF . Exactly one network conducts per input. Total transistors . ✔ (See CMOS Inverter — the single-input base case whose sizing sets the switching threshold.)
Ex 2 — 2-input NAND (Cell C2: series PDN)
Forecast: series or parallel in the PDN? And in the PUN?
- Read . Why? Output goes low only when both AND are 1.
- PDN = two NMOS in series (gates , ). Why? Series = AND: current reaches ground only if both switches are closed.
- PUN = dual = two PMOS in parallel (gates , ), written PMOS PMOS . Why? Series↔parallel flip. Boolean check: , so output is high if either input is low → each PMOS can pull up alone → parallel.
Figure 2 (below): the two red PMOS on top are wired between the same two nodes ( and ) — that side-by-side wiring is what "parallel" looks like. Below, the two black NMOS are stacked end-to-end (series) between and ground.

Verify: at : series NMOS conducts , both PMOS OFF. Every other row: at least one input is 0 that PMOS ON , series NMOS broken. Truth table matches NAND. ✔ (See NAND and NOR gates — NAND is the universal gate every other function can be built from; and De Morgan's Theorem, which is exactly the algebra that turns the series AND into the parallel OR here.)
Ex 3 — 2-input NOR (Cell C3: parallel PDN)
Forecast: this is the mirror of Ex 2 — predict both networks.
- Read . Why? Output goes low when OR is 1.
- PDN = two NMOS in parallel, i.e. NMOS NMOS . Why? Parallel = OR: either switch alone completes a path to ground.
- PUN = dual = two PMOS in series. Why? We flip parallel→series (the dual rule). Boolean confirmation: , so output is high only when both inputs are low → both PMOS must conduct → series.
Verify: at : series PMOS conducts , both NMOS OFF. Any input high: that NMOS ON . Matches NOR truth table. ✔ (Compare with NAND and NOR gates: NOR is NAND's structural mirror image.)
Ex 4 — AOI compound gate (Cell C4: OR-of-AND nesting)
Forecast: guess where sits relative to the pair — series or parallel?
- Read . Why? This tells us the PDN structure directly.
- PDN. ⇒ NMOS in series with NMOS ; that whole branch in parallel with NMOS . Why? Inner AND → series; outer OR → parallel.
- PUN (dual). Flip every connection: OR→series, AND→parallel. So PMOS in series with the group (PMOS PMOS ). Why? Duality maps the outer OR to a series link and the inner AND to a parallel pair.
Figure 3 (below): in the PDN the red – pair is stacked (series) and that stack sits alongside the lone device (parallel) — read the shape straight off the picture: stacked = AND, side-by-side = OR.

Verify: transistor count NMOS PMOS . Force : need , e.g. (series branch conducts) OR . Force : e.g. and ( or ) → PMOS ON and one of the parallel PMOS ON → full series path from . Complementary for all 8 rows. ✔
Ex 5 — OAI compound gate (Cell C4: AND-of-OR nesting)
Forecast: this is Ex 4 with AND/OR swapped — predict the PDN before reading.
- Read . Why? Output low when ( OR ) AND both true.
- PDN. ⇒ NMOS NMOS ; that group in series with NMOS . Why? Inner OR → parallel; outer AND → series.
- PUN (dual). AND→parallel, OR→series: (PMOS series PMOS ) in parallel with PMOS . Why? Flip both levels of nesting.
Verify: needs and ( or ). Set : parallel NMOS branch + series NMOS conduct → ; on the PUN side PMOS (gate 1) OFF and the series path broken by → PUN OFF. Complementary. ✔
Ex 6 — Building an AND gate (Cell C5: non-inverting target)
Forecast: yes or no? And if no, what's the fix?
- Recognise the constraint. A static CMOS gate can only compute — it is inherently inverting. Why? The PDN pulls down when ; there's no way for a pull-down to raise the output, so the output is always the complement of "PDN conducts".
- Nearest single stage. Build (the NAND from Ex 2). Why? It's the closest inverting relative of AND.
- Add an inverter. Feed NAND's output through an inverter (Ex 1): . Why? Two inversions cancel, restoring the non-inverting AND.
Verify: transistor count (NAND) (inverter) . Truth table: only gives . Matches AND. ✔ (Same trick makes OR NOR inverter; the added stage is exactly the CMOS Inverter.)
Ex 7 — The illegal "copy the PDN" design (Cell C6: degenerate)
Forecast: does it short the rails, float the output, or work fine?
- Write both conduction conditions. PDN (series NMOS): conducts when , i.e. . PUN (series PMOS): conducts when , i.e. (needs ). Why? Series PMOS needs both gates low. (Recall / from the definition box: they are
1when that network has a closed path.) - Test the golden rule — "PDN conducts exactly when the PUN does not". At : (PDN off) and (PUN off). Neither conducts → output floats. Why bad? A floating node holds no defined logic level and leaks.
- Correct it. The PUN must be the dual: two PMOS in parallel (PMOS PMOS ), which conducts when — the exact complement of . Why? Only the dual makes hold, guaranteeing "exactly one network conducts, always".
Figure 4 (below): the red output node is drawn dangling — for neither the top (series PMOS) nor bottom (series NMOS) has a complete path, so nothing drives .

Verify: wrong design leaves and floating (2 of 4 rows broken). The dual (parallel PMOS) covers all four rows with exactly-one-conducts. ✔
Ex 8 — Series stacking, the electrical limit (Cell C7: limiting case)
Forecast: guess whether wide stacks get faster or slower.
- Count. 4-input NAND: PDN NMOS series, PUN PMOS parallel transistors. Why? One NMOS + one PMOS per input, always.
- Series resistance adds. Four ON-NMOS in series have roughly the single-device resistance, so pulling low is slower. Why? Series resistors sum; the RC discharge time grows. (Related: Threshold Voltage and Body Effect — a stacked device sits above ground, so body effect raises its , making it weaker still.)
- Limiting behaviour. As stack height large, delay grows roughly linearly, which is why real designs cap fan-in (typically ) and split wide functions across stages. Why? Beyond that the AOI advantage is lost to sluggish series paths.
Verify: transistor count for -input NAND ; at that is . Pull-down resistance scales as ; at it is . ✔ (This resistance-vs-speed trade feeds directly into Static vs Dynamic Power, which separates leakage from switching energy.)
Ex 9 — Word problem: a safety interlock (Cell C8: real-world)
Forecast: what's (the pull-down condition)?
- English → Boolean. Lamp on: . Why? "OR" between the guard term and the " AND " term.
- It's non-inverting (like Ex 6), so build the inverting core first, then invert. Why? Static CMOS gives ; here .
- PDN of the core. NMOS (NMOS series NMOS ). Why? Outer OR → parallel; inner AND → series. PUN (dual): PMOS in series with (PMOS PMOS ).
- Add an inverter so the final lamp signal is . Why? We wanted the non-inverted meaning.
Verify: core has NMOS + PMOS , plus for the inverter . Check : series NMOS conducts → core output → after inverter (lamp ON). : neither PDN branch complete → core → (lamp off). Matches spec. ✔
Ex 10 — Reverse-engineer a mystery netlist (Cell C9: exam twist)
Forecast: guess before working the algebra.
- Translate the PDN to . Series with (parallel ) . Why? Series = AND, parallel = OR — read the topology straight off.
- Apply the inversion. . Why? Every static CMOS stage outputs .
- Sanity via De Morgan (predicts PUN). . So the PUN is PMOS (PMOS series PMOS ) — dual of the PDN, as expected. Why? Confirms the design is complementary. (This is De Morgan's Theorem doing the topology flip for us.)
Verify: transistor count NMOS PMOS . Truth check: only when and ( or ). E.g. ; . Consistent with . ✔
Active Recall
Recall Did every matrix cell get covered?
Single input (C1) ::: Ex 1 Series PDN / pure AND (C2) ::: Ex 2 Parallel PDN / pure OR (C3) ::: Ex 3 Compound AOI and OAI (C4) ::: Ex 4, Ex 5 Non-inverting target needing extra inverter (C5) ::: Ex 6, Ex 9 Illegal same-topology design (C6) ::: Ex 7 Electrical limiting case / series stacking (C7) ::: Ex 8 Real-world word problem (C8) ::: Ex 9 Exam reverse-engineering twist (C9) ::: Ex 10