CMOS Circuit Design
Level 3 — Production (from-scratch derivations, design-from-memory, explain-out-loud) Time limit: 45 minutes Total marks: 60
Answer all questions. Show every derivation step. Sketches must be labelled. Where asked to "explain out loud", write a coherent verbal-style explanation as you would to a peer.
Question 1 — CMOS Inverter & VTC from scratch (12 marks)
(a) Draw the CMOS inverter schematic, labelling PMOS/NMOS, supply, input and output. State which transistor forms the pull-up and which the pull-down network, and explain why the output has no static DC path to ground in either logic state. (4)
(b) The five operating regions of the VTC correspond to different combinations of transistor operating modes as sweeps . List the five regions in order and state the mode (cutoff / triode / saturation) of each transistor in each region. (5)
(c) Derive an expression for the switching threshold voltage (where , both transistors in saturation) in terms of , , , and the ratio where . (3)
Question 2 — Compound gate synthesis (10 marks)
Design a static CMOS complex gate that realises
(a) Derive the pull-down network (PDN) from the expression and draw it. (3) (b) Derive the dual pull-up network (PUN) and draw it. (3) (c) State the total transistor count and identify the worst-case (slowest) input transition path through the PDN, justifying your choice. (4)
Question 3 — Static vs Dynamic Power (10 marks)
(a) Derive the dynamic (switching) power dissipation expression from the energy drawn per output transition. Explain the origin of the activity factor . (5)
(b) A CMOS block has , , , activity factor . Static leakage current is . Compute the dynamic power, the static power, and the total power. (5)
Question 4 — Noise Margins (10 marks)
For an inverter the DC transfer parameters are measured as: , , , .
(a) Define and and explain out loud what physical margin against noise each represents. (4) (b) Compute and . (3) (c) The unfriendly gate has asymmetric margins. State which noise polarity this circuit is more vulnerable to, and name one design change to the transistor sizing that would shift to rebalance the margins. (3)
Question 5 — Propagation delay & Power-Delay Product (10 marks)
(a) Using the simple RC model, derive the propagation delay for an inverter output driven from a step, starting from the discharge equation . (4)
(b) For an inverter with , , driven at , , : compute , the dynamic energy per transition , and the power-delay product . Comment on what the PDP measures. (6)
Question 6 — Dynamic & Domino Logic (8 marks)
(a) Explain the two phases of operation of a dynamic CMOS gate (precharge and evaluate), naming the clock transistors. (3) (b) Explain out loud the charge-sharing and cascading problems of plain dynamic gates, and describe how domino logic (adding a static inverter at each dynamic node) solves the cascading problem. State the one logic restriction domino imposes. (5)
Answer keyMark scheme & solutions
Question 1
(a) (4 marks)
- Schematic: PMOS (source→, drain→output) on top, NMOS (source→GND, drain→output) on bottom, gates tied to , output between drains. (2)
- PMOS = pull-up network (PUN); NMOS = pull-down network (PDN). (1)
- Why no static path: for any static input one transistor is ON and the other OFF (complementary). When : NMOS off, PMOS on → output high with no path to GND. When : PMOS off, NMOS on → output low with no path to . Only during switching are both briefly ON → hence ideally zero static current. (1)
(b) (5 marks) — 1 mark per correct region row.
| Region | range | NMOS | PMOS |
|---|---|---|---|
| A | cutoff | triode | |
| B | rising | saturation | triode |
| C | near | saturation | saturation |
| D | rising | triode | saturation |
| E | $V_{in} > V_{DD}- | V_{Tp} | $ |
(c) (3 marks) Both in saturation, currents equal: . (1) Take root: . Solve: (2)
Question 2
(a) PDN (3): PDN conducts when , i.e. when . So NMOS: transistor in series with the parallel combination of and . (A–[B∥C] series stack to GND.) (3)
(b) PUN (3): Dual of PDN: series→parallel, parallel→series. PMOS: transistor in parallel with the series combination of and . (A ∥ [B–C series] to .) (3)
(c) (4):
- Transistor count: 3 NMOS + 3 PMOS = 6 transistors. (2)
- Worst-case path: the longest series chain in the PDN is in series with (or –) = 2 transistors in series → highest resistance, hence slowest fall. The parallel B∥C halves that leg's resistance but the A–B (or A–C) series path of length 2 sets worst-case pull-down delay. (2)
Question 3
(a) (5): Per output rising transition, charge is drawn from supply; energy from supply , of which half stored on (), half dissipated in PMOS. On falling transition the stored dissipates in NMOS. So a full cycle dissipates . (3) If transitions occur at effective rate (α = probability of a switching event per clock cycle = activity factor), then . α accounts for the fact that not every node toggles every cycle. (2)
(b) (5): . (2) . (2) . (1)
Question 4
(a) (4): = margin by which a driven HIGH exceeds the max input still read as HIGH → tolerable negative noise on a logic-1. = margin by which max input read as LOW exceeds a driven LOW → tolerable positive noise on a logic-0. Larger margins → more noise immunity. (4)
(b) (3): . (1.5) . (1.5)
(Note: with these numbers margins are equal at 0.40 V.)
(c) (3): Margins are equal here (0.40 V each) so the gate is balanced; if asymmetry existed, the smaller margin identifies the weaker polarity. To shift (and rebalance): change the PMOS/NMOS width ratio — increasing PMOS width (larger ) raises (improves ); increasing NMOS width lowers (improves ). (3) (Full marks for correct reasoning + one valid sizing change.)
Question 5
(a) (4): Output falls from : . defined at : . (4)
(b) (6): . (2) . (2) (energy per switching event). (1) Comment: PDP measures the energy cost per operation — a figure of merit trading speed against power; lower PDP = more efficient technology. (1)
Question 6
(a) (3): Precharge phase (clk=0): PMOS precharge transistor pulls dynamic node to ; the clocked evaluate NMOS (foot) is off so no discharge. Evaluate phase (clk=1): precharge PMOS off, foot NMOS on; the PDN either discharges the node (output→0) or holds it high depending on inputs. (3)
(b) (5):
- Charge sharing: during evaluate, charge on the precharged node redistributes onto internal parasitic capacitances of the PDN if intermediate nodes were low, dropping the output voltage possibly below threshold → false 0. (1.5)
- Cascading problem: a dynamic gate output is only valid HIGH at start of evaluate; if it feeds another dynamic gate, a momentary high (glitch) during evaluation can incorrectly discharge the next stage before the driving gate settles low → cannot cascade dynamic gates directly. (1.5)
- Domino fix: insert a static inverter after each dynamic node. The dynamic node is precharged HIGH, so the buffered output is LOW at start of evaluate; it can only make a monotonic low→high transition, which cannot falsely discharge the following gate — so gates cascade "like dominoes". (1.5)
- Restriction: domino gates are non-inverting only (the static inverter fixes polarity), so inverting functions require alternative structures/logic restructuring. (0.5)
[
{"claim":"Q3 dynamic power = 16.2 uW","code":"P=0.15*150e-15*(1.2**2)*500e6; result = abs(P-16.2e-6)<1e-9"},
{"claim":"Q3 static power = 24 nW","code":"Ps=20e-9*1.2; result = abs(Ps-24e-9)<1e-12"},
{"claim":"Q5 tp = 165.6 ps","code":"tp=0.69*8000*30e-15; result = abs(tp-165.6e-12)<1e-13"},
{"claim":"Q5 energy PDP = 30 fJ","code":"E=30e-15*(1.0**2); result = abs(E-30e-15)<1e-18"},
{"claim":"Q4 noise margins both 0.40 V","code":"NMH=1.15-0.75; NML=0.45-0.05; result = abs(NMH-0.40)<1e-9 and abs(NML-0.40)<1e-9"}
]