Skip to content

M2. Formula sheet

Every past midterm is closed book and closed notes: five questions in 75 minutes. Nothing on this page will be in front of you in the exam; it is what to have in your head when you walk in. It collects the “formulas to remember” boxes of Chapters 3–12, and the few results from Chapters 0–2 that the midterms use, and arranges them by the question families of the four past midterms. Each formula comes with what it means, when it holds, and the chapter section that derives it and works examples. Every number on the page is recomputed in the guide’s checks.

After this page you can:

  1. state the conventions an answer must declare (device strength, the 0.69 factor, energy per cycle or per transition) and convert the exams’ units without slips;
  2. tell from what a question gives you which model it wants: square law, velocity saturation, transit time, RC with RR in kΩ·µm, logical effort or dynamic logical effort;
  3. write the formulas of each exam family from memory, with the conditions under which they hold;
  4. recognize the mistakes that cost points, including the ones in the past answer keys.

Before you start

How to use this page. Read the conventions first: most of the answer keys’ errors come from mixing them. Section 1 has the units and numbers, Section 2 the choice of model. Sections 3–9 are the formula tables, one per exam family, roughly in order of their weight on the past exams (page M1 has the counts). Section 10 collects the common mistakes. A row marked added is the guide’s addition, not something the lecture wrote on the board.

Practise recall. The button covers the formula column of every table (the value column in Section 1). Read the meaning, write the formula on scrap paper, then tap the cell to check.

The formula cells are visible. Cover them to practise recall.

Where the problems are worked. Inverter chains, noise margins, gate delays and the device short answers: M3. Path sizing: M4. Pass transistors and stick layouts: M5. Dynamic and domino logic: page M6. A practice exam: page M7. What to expect and a study plan: page M1.

Scope. The midterm covers historical Lectures 1–11 and Lecture 12 up to 23:15 (Chapters 1–12): domino precharge and evaluate and delayed-reset clocks are in; latches, flip-flops and sequential timing are out.

Conventions the exams use

State the ones that apply at the top of your answer. The questions mix them, and so do the keys.

ConventionThe choicesWhere the exams use each
Device strengthRpfet=2RnfetR_{pfet} = 2R_{nfet}: balanced inverter 2W/W, input 3W3W, τinv=3RnfetCg\tau_{inv} = 3R_{nfet}C_g, gNAND2=4/3g_{NAND2} = 4/3, gNOR2=5/3g_{NOR2} = 5/3. Equal strengths: W/W, input 2W2W, τinv=2RnfetCg\tau_{inv} = 2R_{nfet}C_g, gNAND2=gNOR2=3/2g_{NAND2} = g_{NOR2} = 3/2equal: MT17-3, MT21-2, MT21-5, MT23-5, MT24-2, MT24-5. Rpfet=2RnfetR_{pfet} = 2R_{nfet}: MT17-5, MT21-4, MT23-1, MT23-3
A device’s delay(R/W) C(R/W)\,C, with no ln⁡2\ln 2: RR is defined from the measured 50% delay. Use 0.69RC0.69RC only when a question asks for itMT23-3b’s key uses 0.69; MT24-2c’s key accepted both
Energyper cycle: every node rises once. Per transition: only the nodes that rise on that input edgeper cycle: MT23-1a, MT24-2a. Per transition: MT17-4c, MT21-4b
Currentsper µm of width; leakage only through the device that is off, with VDDV_{DD} across itMT23-1b, MT24-2b
Delay unitτinv\tau_{inv}, the FO1 delay: given in ps in path problems, built from RR and CgC_g in chain problems25 ps MT21-4; 50 ps MT23-5, MT24-5; 100 ps MT17-5, MT21-5
Loadsmicrons of gate, C/CgC/C_g1 fF/µm MT21-5, MT23, MT24; 2 fF/µm MT17-3, MT17-5, MT21-4 and the lecture’s examples
Logic levelssymbolic: VDD−VTnV_{DD} - V_{Tn}, 2∣VTp∣2\lvert V_{Tp}\rvert, not numbersMT21-1b, MT23-2c

1. Units and constants

The exams work in µm, fF, kΩ·µm, ps and V; device physics works in cm (Chapter 0, Section 1). Three products do most of the work: kΩ × fF is ps, fF × V² is fJ, and a load in fF divided by CgC_g is microns of gate.

ProductValueUse
1 kΩ×1 fF1\,\mathrm{k\Omega} \times 1\,\mathrm{fF}1 psevery RC delay: (R/W) C(R/W)\,C with RR in kΩ·µm, WW in µm, CC in fF
1 fF×(1 V)21\,\mathrm{fF} \times (1\,\mathrm{V})^21 fJswitching energy CVDD2CV_{DD}^2
1 nA×1 V×1 ps1\,\mathrm{nA} \times 1\,\mathrm{V} \times 1\,\mathrm{ps}10−2110^{-21} J =10−6= 10^{-6} fJleakage energy VDDIoffTV_{DD}I_{off}T
1 μA×1 V×1 ns1\,\mu\mathrm{A} \times 1\,\mathrm{V} \times 1\,\mathrm{ns}1 fJthe same in larger units
1 mA×1 V1\,\mathrm{mA} \times 1\,\mathrm{V}1 mWstatic power VDDIV_{DD}I
C/CgC/C_gµm of gate1 pF is 1000 µm at 1 fF/µm; at 2 fF/µm, 1.2 pF is 600 µm and 50 fF is 25 µm
f=1/Tf = 1/T2 ns ↔ 500 MHza clock period and its frequency
1 µm, 1 nm10−410^{-4} cm, 10−710^{-7} cmdevice physics in cm
ConstantValueNotes
kT/qkT/q25.9 mV at 300 K (about 26 mV)proportional to the absolute temperature
kTqln⁡10\frac{kT}{q}\ln 1059.5 mV at 300 K (the “60 mV per decade”); 79.4 mV at 400 Kthe best subthreshold slope; the diode’s mV per decade
EgE_g, nin_i1.1 eV; 1010 cm−310^{10}\,\mathrm{cm^{-3}}silicon at 300 K
qq, ε0\varepsilon_01.6×10−191.6\times10^{-19} C; 8.85×10−148.85\times10^{-14} F/cm
κs\kappa_s, κox\kappa_{ox}11.7, 3.9silicon, oxide
vsatv_{sat}about 10710^7 cm/s (electrons), 5×1065\times10^6 cm/s (holes)
Ecrit\mathcal{E}_{crit}about 10410^4 V/cmthe velocity-saturation fit
ln⁡2\ln 20.69an RC’s 50% point; only if asked
ee2.72the best gain per stage of an inverter chain

The exams’ technology numbers. The questions give these, but recognizing them saves time and catches slips.

QuantityTypical valueExams
CgC_g1 fF/µm (2 fF/µm in the older exams and the lecture)MT21-5, MT23, MT24 (MT17, MT21-4)
RnfetR_{nfet}, RpfetR_{pfet}1 kΩ·µm; RpfetR_{pfet} = 2 kΩ·µm or equalMT23-1, MT23-3, MT24-2
VDDV_{DD}1.2 V (2.5 V in MT17 and MT21-4)MT23-1, MT24-2
Subthreshold10 µA/µm at ∣VT∣\lvert V_T\rvert = 200 mV, 90 mV/decade, so 59.9 nA/µm at VGS=0V_{GS} = 0MT23-1b, MT24-2b
Side load4 fF on every node of the chainMT23-1, MT24-2
τinv\tau_{inv}, CloadC_{load}, minimum width50 ps, 1 pF, 1.0 µmMT23-5, MT24-5 (MT17-5: 100 ps, 1.2 pF)
The lecture’s illustrationsVDDV_{DD} = 5 V, VTn=∣VTp∣V_{Tn} = \lvert V_{Tp}\rvert = 1 VChapters 6 and 10, and page M5’s levels
Transit timeτtr\tau_{tr} = 2.5 ps at LL = 0.25 µm (fTf_T = 63.7 GHz); η=Cg/Cd\eta = C_g/C_d about 1.5–2Chapter 5

2. Which model applies when

The course has several models for the same transistor. Each question is built for one of them, and what it gives you says which.

The question givesUseTaught in
RR in kΩ·µm, CgC_g in fF/µm and widthsRC: (R/W) C(R/W)\,CCh 7 §2
τinv\tau_{inv} in ps and a path of static gateslogical effort: τinv∑gihi\tau_{inv}\sum g_ih_iCh 8 §2
a dynamic or domino path and τinv\tau_{inv}dynamic logical effortCh 12 §2
τtr\tau_{tr} (or LL and vsatv_{sat}) and η=Cg/Cd\eta = C_g/C_dtransit-time estimatesCh 5 §13
a current at threshold and a slope in mV/decadethe subthreshold exponentialCh 4 §11
μ\mu, CoxC_{ox}, W/LW/L and a long channel; or a transfer curve to sketchthe square lawCh 4 §4, Ch 6 §2
vsatv_{sat} and a short channelthe velocity-saturated currentCh 4 §7
Check yourself One question gives Rnfet = 1 kΩ·µm, Cg = 1 fF/µm and a chain of W/W inverters with 4 fF side loads; another gives τinv = 50 ps and four static gates. Which model does each want, and how are they related?

The first is the RC model: each stage takes (Rnfet/W)(2W⋅1 fF/μm+4 fF)(R_{nfet}/W)(2W \cdot 1\,\mathrm{fF/\mu m} + 4\,\mathrm{fF}) ps. The second is logical effort: 50 ps×∑gihi50\,\mathrm{ps} \times \sum g_ih_i. They are the same model in different units: with equal strengths τinv=2RnfetCg=2\tau_{inv} = 2R_{nfet}C_g = 2 ps for the first technology, and a stage’s g⋅h⋅τinvg \cdot h \cdot \tau_{inv} is its (R/Weq) Cout(R/W_{eq})\,C_{out}.

Check yourself FO4 is 4τinv in one of the course's models and 3 FO1 in another (at η = 2). Which is which, and why do they differ?

With gate loading only (the RC model of Chapter 7), the load and so the delay scale with the fan-out: FO4 =4τinv= 4\tau_{inv}. The transit-time model of Chapter 5 also counts the driver’s own drain capacitance, which does not grow with the fan-out: FO4 =1+4η1+η= \frac{1 + 4\eta}{1 + \eta} FO1, which is 3 FO1 at η=2\eta = 2 (33.75 ps against 11.25 ps at τtr\tau_{tr} = 2.5 ps).

3. Inverter chains: energy, leakage and delay

Every past midterm has this question: MT24-2, MT23-1, MT21-4 and MT17-4, worked in M3, Sections 1–4. Write the node capacitance first; every part uses it.

FormulaMeaning, and when it holdsTaught in
Cnode=Cg(Wn+Wp)+CsideC_{node} = C_g(W_n + W_p) + C_{side}the next inverter’s input plus any side load or wire; drain capacitance only if the question includes itCh 7 §2
tpHL=RnfetWnCnodet_{pHL} = \dfrac{R_{nfet}}{W_n}C_{node}, tpLH=RpfetWpCnodet_{pLH} = \dfrac{R_{pfet}}{W_p}C_{node}each stage’s delay; a chain alternates falling and rising edges, and a balanced inverter makes them equalCh 7 §2
τinv=3RnfetCg\tau_{inv} = 3R_{nfet}C_g (2W/W); 2RnfetCg2R_{nfet}C_g (W/W)the FO1 delay; the same for every WW; FO4 = 4τinv4\tau_{inv} in this modelCh 7 §7
E=CVDD2E = CV_{DD}^2 per rising nodedrawn from the supply: half stored, half heat; a falling node draws nothingCh 6 §6
Ecycle=N CnodeVDD2E_{cycle} = N\,C_{node}V_{DD}^2every node rises once per cycle; per transition only the nodes that rise on that edge count (about half)Ch 6 §6
P=CVDD2fP = CV_{DD}^2 fdynamic power; ff counts full cycles, not edgesCh 6 §6
Ioff=I(VT)/10VT/SI_{off} = I(V_T)/10^{V_T/S}leakage per µm at VGS=0V_{GS} = 0: 10 µA/µm, 200 mV and 90 mV/decade give 59.9 nA/µmCh 4 §11
Eleak=N VDD Ioff Wˉoff TE_{leak} = N\,V_{DD}\,I_{off}\,\bar W_{off}\,Tonly the off device leaks, with VDDV_{DD} across it; at a 50% duty cycle the average off width Wˉoff\bar W_{off} is 1.5W1.5W (2W/W) or WW (W/W)Ch 6 §6, M3 §1
EleakEdyn=WˉoffW⋅N IoffRnfetVDD\dfrac{E_{leak}}{E_{dyn}} = \dfrac{\bar W_{off}}{W}\cdot\dfrac{N\,I_{off}R_{nfet}}{V_{DD}}with TT equal to the chain delay of balanced inverters; WW and the side load cancel: 5.0×10−5N5.0\times10^{-5}N (W/W), 7.5×10−5N7.5\times10^{-5}N (2W/W) at the exam numbers. The share of the total is x/(1+x)x/(1 + x) addedM3 §1–2
(1+p) W∗Cg=Cside(1 + p)\,W^*C_g = C_{side}energy × delay is least where the gates’ load equals the fixed load: W∗W^* = 2 µm (W/W) and 4/3 µm (2W/W) with 4 fF at 1 fF/µm addedM3 §1
delay →Nτinv\to N\tau_{inv} as W→∞W \to \inftythe delay alone has no finite optimum; at W∗W^* it is twice that floorM3 §1
Wp/Wn=Rpfet/RnfetW_p/W_n = \sqrt{R_{pfet}/R_{nfet}}the PFET ratio that minimizes a chain’s rise plus fall delay, each inverter driving a copy: 2\sqrt2 for Rpfet=2RnfetR_{pfet} = 2R_{nfet}, 1 at equal strengths addedM3 §3

4. Gate delays and path sizing

Paths: MT23-5, MT21-5 and MT17-5, worked in M4. Single gates in units of τinv\tau_{inv}: MT17-3, worked in M3 §7. MT24 moved its sizing into a dynamic path (Section 6).

FormulaMeaning, and when it holdsTaught in
Cg/W=Lκoxε0/tox≈2C_g/W = L\kappa_{ox}\varepsilon_0/t_{ox} \approx 2 fF/µmgate capacitance per micron of width; roughly constant from one generation to the nextCh 7 §2
bench 1: Cg=CL/(8(16+8) μm)C_g = C_L/(8(16 + 8)\,\mu\mathrm{m}); bench 2: Rnfet=tpHLCL4(8 μm)R_{nfet} = \dfrac{t_{pHL}}{C_L}4(8\,\mu\mathrm{m}), Rpfet=tpLHCL4(16 μm)R_{pfet} = \dfrac{t_{pLH}}{C_L}4(16\,\mu\mathrm{m})extracting CgC_g and RR in simulation: CLC_L that matches an 8(16/8) input; then CL=Cg⋅16(16+8)C_L = C_g \cdot 16(16 + 8) µm with AS = AD = PS = PD = 0Ch 7 §3
A+B‾\overline{A + B}, AB‾\overline{AB}, AB+CD‾\overline{AB + CD}NOR, NAND, AOI22: complementary static gates, the PUN the dual of the PDNCh 7 §4–5
stack of nn: each device n×n\times widerthe same drive as the inverter; parallel devices are sized for one of them on aloneCh 7 §8
g=Cin, gate/Cin, invg = C_{in,\,gate}/C_{in,\,inv}logical effort: one input’s capacitance over the input of the inverter with the same driveCh 7 §8
gNAND2=4/3g_{NAND2} = 4/3, gNOR2=5/3g_{NOR2} = 5/3Rpfet=2RnfetR_{pfet} = 2R_{nfet}: NAND NFETs 2W2W and PFETs 2W2W; NOR NFETs WW and PFETs 4W4W; inverter input 3W3WCh 7 §8
gNAND2=gNOR2=3/2g_{NAND2} = g_{NOR2} = 3/2equal strengths: inverter W/W, input 2W2WM4
gAOI22=gOAI22=2g_{AOI22} = g_{OAI22} = 2either conventionM4
gNANDn=n+23g_{NANDn} = \frac{n + 2}{3}, gNORn=2n+13g_{NORn} = \frac{2n + 1}{3}; equal strengths n+12\frac{n + 1}{2}nn inputs, from the stack rule addedCh 7 §8
gain =g⋅h=CoutCin, norm. inv.= g \cdot h = \dfrac{C_{out}}{C_{in,\,\text{norm. inv.}}}one stage’s delay in τinv\tau_{inv}; h=Cout/Cinh = C_{out}/C_{in} uses the gate’s own input, the quick way divides by its normalized inverter’s inputCh 7 §9, Ch 8 §1
t=CloadCref τinvt = \dfrac{C_{load}}{C_{ref}}\,\tau_{inv}one gate on one edge: CrefC_{ref} is the input of the balanced inverter with the same drive on that edge, (1+r)Wn,eqCg(1 + r)W_{n,eq}C_g falling or (1+1/r)Wp,eqCg(1 + 1/r)W_{p,eq}C_g rising, r=Rpfet/Rnfetr = R_{pfet}/R_{nfet}; MT17-3d: 12.5 and 3.125 τinv\tau_{inv} addedM3 §7
Delay=τinv∑igihi\text{Delay} = \tau_{inv}\sum_i g_ih_ia path’s delay is the sum of its gainsCh 8 §2
F=∏igihi=GHBF = \prod_i g_ih_i = GHB, H=CL/CinH = C_L/C_{in}path effort; HH uses the first gate’s input; FF is fixed only if nothing branchesCh 8 §2
f=F1/Nf = F^{1/N}, Delaymin=NF1/Nτinv\text{Delay}_{min} = NF^{1/N}\tau_{inv}equal gains minimize the delay when FF is fixedCh 8 §3
best gain per stage ee (3–4 in practice), N≈ln⁡FN \approx \ln Fhow many stages; add inverters in pairs, next to the loadCh 8 §4, §7
Wn=Cout/(3f)W_n = C_{out}/(3f), or Cout/(2f)C_{out}/(2f) at equal strengthssizing back from the load, CoutC_{out} in µm of gate; then multiply stacked devices; the first gate stays fixedCh 8 §6
b=(Con+Coff)/Conb = (C_{on} + C_{off})/C_{on}branching effort; it changes with the sizesCh 8 §8
two neighbours with a fixed product PP: each P\sqrt Pthe pair rule for retuning, when only the gate between them changes; then enlarge the gate after a heavy branch and rebalanceCh 8 §9, M4 §4
bottom of a stack: delay ∼n2\sim n^2its internal nodes, at about VDD−VTV_{DD} - V_T, discharge first; put the late signal nearest the outputCh 8 §10, Ch 7 §5

5. Pass-transistor and ratioed logic

MT24-3, MT23-2, MT21-1 and MT21-3, worked in M5, Sections 1–4. The questions come in a fixed order: is it static, what does it compute, what are the worst levels or what do the restoring devices do, and what is the static CMOS equivalent.

FormulaMeaning, and when it holdsTaught in
exactly one path to VDDV_{DD} or ground, for every allowed inputstatic: correct for any sizing, however slowCh 7 §4, Ch 10 §9
both networks connected: ratioed; neither: dynamicratioed means correct only for some sizings (a fight); dynamic means the node holds its chargeCh 10 §9, Ch 11 §1
NFET: 0 and VDD−VTnV_{DD} - V_{Tn}; PFET: VDDV_{DD} and ∣VTp∣\lvert V_{Tp}\rvertthe levels a fully-on pass transistor passes; each device stops when its own VGSV_{GS} reaches thresholdCh 10 §5
series NFETs, gates at VDDV_{DD}: still VDD−VTnV_{DD} - V_{Tn}drops add only through a gate: a degraded node driving a gate gives VDD−2VTnV_{DD} - 2V_{Tn}, and 2∣VTp∣2\lvert V_{Tp}\rvert for lowsCh 10 §5, M5
NFET ∥ PFET on complementary gatescomplementary pass transistor: full rail both ways, more areaCh 10 §5
inverter plus weak PFET feedbackhalf latch: restores the high, slows the fall, and makes the circuit ratioedCh 10 §6
selects one-hota pass-transistor multiplexer is static only with exactly one select on: none floats, two fightCh 10 §7
delay of a channel-connected componenta pass transistor’s delay includes the gate that drives itCh 10 §8
equal widths: R∥4R=0.8RR \parallel 4R = 0.8R down, 2R∥2R=R2R \parallel 2R = R upthe lecture’s pass-transistor model: size the pass PFET equal to the pass NFETCh 11 §2
V=VDDRdownRup+RdownV = V_{DD}\dfrac{R_{down}}{R_{up} + R_{down}}the level of a fight, each device R/WR/W (a PFET 2R/W2R/W); the 6T XOR fails once its inverter NFET is narrower than 1/3 µm addedCh 10 §9
VOL=(VDD−VT)(1−1−r/n)V_{OL} = (V_{DD} - V_T)\bigl(1 - \sqrt{1 - r/n}\bigr)pseudo-NMOS low with nn NFETs on, r=βp/βnr = \beta_p/\beta_n; square law, load PFET saturated; 0.536 V at 5 V, 1 V and r=1/4r = 1/4 addedCh 10 §10
I=βp2(VDD−VT)2I = \frac{\beta_p}{2}(V_{DD} - V_T)^2pseudo-NMOS static current while the output is low (0.5 mA, 2.5 mW in Chapter 10’s example); IDDQ testing turns the load off addedCh 10 §10, Ch 11 §1
PUN = dual of PDN (series ↔ parallel)the complementary static CMOS equivalent; keep stacks to 2, at most 3Ch 7 §4–5

6. Dynamic and domino logic

MT17-3c, MT23-3 and MT24-5, worked on page M6. Chapters 11 and 12 teach the method.

FormulaMeaning, and when it holdsTaught in
clk = 0 precharge, clk = 1 evaluatethe dynamic gate; the node is precharged to VDDV_{DD}, and a floating 1 is held only by chargeCh 11 §4
footer: a clocked NFET in series at the footprevents collisions during precharge; it counts in the evaluate stackCh 11 §4
node =f‾= \overline f, domino output =f= f; a p-type node =f= fff is the evaluate network’s conduction function; domino is non-invertingCh 11 §4, Ch 12 §6
t=RnfetWeq Cloadt = \dfrac{R_{nfet}}{W_{eq}}\,C_{load}, footer includedthe evaluate delay; the precharge device is off and doesn’t countCh 11 §4
dynamic into dynamic on one clock: a racethe domino inverter removes it (precharged outputs are 0); NP domino alternates n and p stages insteadCh 11 §5, Ch 12 §5
NP domino: n stage on clk; p stage with header and pre-discharge NFET on clk‾\overline{\text{clk}}a resting 1 turns PFETs off and a resting 0 turns NFETs off, so alternating stages need no inverters and have no race; both evaluate while clk is highCh 12 §5
skewed inverter (strong PFET)switches at a higher input: a faster rising output, a smaller NMHNM_H for the dynamic nodeCh 11 §7
half latch ≈ 1/10 of the pull-down’s strengtha PFET of 2×0.1 Weq2 \times 0.1\,W_{eq} for Rpfet=2RnfetR_{pfet} = 2R_{nfet}: 0.2 µm for three 3 µm NFETs in series; weaken it with a series device and keep the output-driven one at minimum sizeCh 11 §8–9
V=VDDCXCX+CintV = V_{DD}\dfrac{C_X}{C_X + C_{int}}charge sharing; internal nodes rise at most to VDD−VTV_{DD} - V_T; 1.2 V × 40/64 = 0.75 V addedCh 11 §10
noise =VDD−VDD′= V_{DD} - V_{DD}'supply noise: precharged at VDD′V_{DD}', read against VDDV_{DD}; the half latch makes the node track the supplyCh 11 §12
n-type: g=k/3g = k/3; equal strengths k/2k/2dynamic logical effort of a kk-high evaluate path, footer counted: footed 2-high 2/3, footless 1/3Ch 12 §2
p-type: g=2k/3g = 2k/3; equal strengths k/2k/2header counted; twice the n-type’s with Rpfet=2RnfetR_{pfet} = 2R_{nfet}Ch 12 §6
skewed 8:1 inverter: g=3/4g = 3/4 rising, 3 fallinglogical effort on each edge, Rpfet=2RnfetR_{pfet} = 2R_{nfet}Ch 12 §3
inverter PFET =2 CL/Cg3f= \dfrac{2\,C_L/C_g}{3f}, NFET = PFET/8domino sizing from the load, Rpfet=2RnfetR_{pfet} = 2R_{nfet}, PFET four times stronger: 5.56 and 0.69 µm for 50 fF at 2 fF/µm and f=3f = 3Ch 12 §3
stack device =k(Wp+Wn)3f= \dfrac{k(W_p + W_n)}{3f}each device of the kk-high stack: 2.08 µm for the lecture’s footed AND (board 2.1)Ch 12 §3
domino AND 6 τinv6\,\tau_{inv}, static 8 τinv8\,\tau_{inv}the same 25 µm load and input capacitance; FF = 9 against 16Ch 12 §4
clk′ falls at least tpt_p after clk; kΔ+tp≤TPk\Delta + t_p \le T_Pdelayed reset: footless stages without collisions, only behind a domino inverter; about three, then a footed stageCh 12 §7

7. Noise margins and the transfer curve

MT24-1, MT17-2 and MT17-1a, worked in M3, Sections 5, 6 and 9. These are explanation questions: two or three sentences and a sketch per part.

FormulaMeaning, and when it holdsTaught in
ID,n=ID,pI_{D,n} = I_{D,p}, VDS,n=VoutV_{DS,n} = V_{out}, VSD,p=VDD−VoutV_{SD,p} = V_{DD} - V_{out}the transfer curve (VTC) is where the two I–V curves cross; no load currentCh 6 §2
cutoff/triode → sat/triode → sat/sat → triode/sat → triode/cutoffNFET/PFET regions as VinV_{in} rises; the gain is high where both are saturatedCh 6 §2
slope −1-1 at (VIL,VOH)(V_{IL}, V_{OH}) and (VIH,VOL)(V_{IH}, V_{OL})the edges of the high-gain regionCh 6 §4
NML=VIL−VOLNM_L = V_{IL} - V_{OL}, NMH=VOH−VIHNM_H = V_{OH} - V_{IH}DC noise on every node, each at its largestCh 6 §4
one noisy node: low up to VILV_{IL}, high down by VDD−VIHV_{DD} - V_{IH}the gate driving it has a clean input, so its output is at the railCh 6 §5
stronger PFET: VILV_{IL}, VIHV_{IH} up; NMLNM_L up, NMHNM_H downthe switching point moves right; VOHV_{OH} and VOLV_{OL} barely move. Chapter 6’s model with the PFET doubled: NMLNM_L 1.672 → 2.094 V, NMHNM_H 1.672 → 1.305 VCh 6 §4, M3 §5
lower peak gain: VILV_{IL} down, VIHV_{IH} up, both margins downVOHV_{OH} and VOLV_{OL} move little, in a direction that depends on the modelM3 §5
fanout: no change in a DC margina CMOS input draws no DC current; fanout only slows the edgesM3 §9
delay 50% to 50%; slews 10–90 or 20–80 (extrapolated ÷0.8, ÷0.6)the conventions; always ask which slew; a delay can be negativeCh 6 §10
crowbar ≈ 10–20% of dynamic powerworse with slow slewsCh 6 §7
TT, SS, FF, SF, FS at 3σ3\sigma; PVTprocess corners; for timing, SS with low VDDV_{DD} and hotCh 6 §8

8. Device physics and the short answers

MT21-2 and MT17-1b–c, worked in M3, Sections 8–9. Since 2021, device physics appears mainly inside the inverter-chain question, as the subthreshold leakage. Chapter 3’s junction and threshold formulas have not been asked on a past midterm, but they are in scope.

FormulaMeaning, and when it holdsTaught in
Vbi=kTqln⁡NANDni2V_{bi} = \dfrac{kT}{q}\ln\dfrac{N_AN_D}{n_i^2}built-in voltage of a pn junction, at most about Eg/qE_g/qCh 3 §2
qNAxp=qNDxnqN_Ax_p = qN_Dx_n; 12W∣Emax∣=Vbi+VR\tfrac12 W\lvert\mathcal{E}_{max}\rvert = V_{bi} + V_Rcharge balance across the junction; the field triangle’s area is the voltage across itCh 3 §1
W=2κsε0(Vbi+VR)qNW = \sqrt{\dfrac{2\kappa_s\varepsilon_0(V_{bi} + V_R)}{qN}}, N=NANDNA+NDN = \dfrac{N_AN_D}{N_A + N_D}depletion width; it grows with reverse bias VRV_RCh 3 §3
Cj=κsε0/WC_j = \kappa_s\varepsilon_0/Wjunction capacitance per area; it falls with reverse biasCh 3 §5
ϕF=kTqln⁡NAni\phi_F = \dfrac{kT}{q}\ln\dfrac{N_A}{n_i}; threshold at ϕs=2ϕF\phi_s = 2\phi_Fthe band bending that inverts the surfaceCh 3 §7
VT=VFB+2ϕF+Qbulk/CoxV_T = V_{FB} + 2\phi_F + Q_{bulk}/C_{ox}, Cox=κoxε0/toxC_{ox} = \kappa_{ox}\varepsilon_0/t_{ox}threshold voltageCh 3 §8
Qbulk=2qNAκsε0(2ϕF+VSB)Q_{bulk} = \sqrt{2qN_A\kappa_s\varepsilon_0(2\phi_F + V_{SB})}body effect: VTV_T rises with VSB≥0V_{SB} \ge 0Ch 5 §1
I∝eqVA/kTI \propto e^{qV_A/kT}forward diode current: 60 mV per decade at 300 KCh 2 §10
n well to VDDV_{DD}, substrate to groundotherwise a junction is forward-biased: a PFET’s well at 0 V under its source at VDDV_{DD} draws a large static current (MT17-1b)Ch 5 §8
vdrift=μEv_{drift} = \mu\mathcal{E}, or μE1+E/Ecrit\dfrac{\mu\mathcal{E}}{1 + \mathcal{E}/\mathcal{E}_{crit}} with vsat=μEcritv_{sat} = \mu\mathcal{E}_{crit}low-field drift; the velocity-saturation fit (a curve fit, not physics)Ch 4 §1, §6
ID=WQi(x) vdriftI_D = WQ_i(x)\,v_{drift}, Qi(x)=Cox(VGS−VT−V(x))Q_i(x) = C_{ox}\bigl(V_{GS} - V_T - V(x)\bigr)current = charge × velocity, the same at every point of the channel; strong inversionCh 4 §2–3
ID=μCoxWL[(VGS−VT)VDS−VDS2/2]I_D = \mu C_{ox}\frac{W}{L}\bigl[(V_{GS} - V_T)V_{DS} - V_{DS}^2/2\bigr]long-channel triode, for VDSV_{DS} below VDSAT=VGS−VTV_{DSAT} = V_{GS} - V_TCh 4 §4
ID=ID,long/(1+μVDS/vsatL)I_D = I_{D,long}/(1 + \mu V_{DS}/v_{sat}L)velocity-saturated triodeCh 4 §7
PMOS: VDS→VSDV_{DS} \to V_{SD}, VGS→VSGV_{GS} \to V_{SG}, VT<0V_T < 0the signsCh 4 §9
W,L,tox,V→1/κW, L, t_{ox}, V \to 1/\kappa, N→κNN \to \kappa Nconstant-field (Dennard) scaling: delay 1/κ1/\kappa, power 1/κ21/\kappa^2, power density unchangedCh 4 §10
S=mkTqln⁡10≥60S = m\frac{kT}{q}\ln 10 \ge 60 mV/decadesubthreshold slope at 300 K; smaller is better; it scales with TTCh 4 §11
cutoff Cgb=CoxWLC_{gb} = C_{ox}WL; triode Cgs=Cgd=12CoxWLC_{gs} = C_{gd} = \tfrac12C_{ox}WL; saturation Cgs=23CoxWLC_{gs} = \tfrac23C_{ox}WLintrinsic capacitance by region (rules of thumb; the lecture’s fTf_T uses CoxWLC_{ox}WL)Ch 5 §3
Cwire≈0.1C_{wire} \approx 0.1 fF/µma minimum-width wireCh 5 §2
gm=WCoxvsatg_m = WC_{ox}v_{sat}transconductance of a velocity-saturated deviceCh 5 §9
fT=gm2πCgs=vsat2πL=12πτtrf_T = \dfrac{g_m}{2\pi C_{gs}} = \dfrac{v_{sat}}{2\pi L} = \dfrac{1}{2\pi\tau_{tr}}unity-gain frequency; independent of WW; 63.7 GHz at 0.25 µmCh 5 §10
t=τtr(1+1/η)t = \tau_{tr}(1 + 1/\eta), η=Cg/Cd\eta = C_g/C_dan NFET discharging an equal NFETCh 5 §11
FO1 =3τtr(1+1/η)= 3\tau_{tr}(1 + 1/\eta), FO4 =3τtr(4+1/η)= 3\tau_{tr}(4 + 1/\eta)PFET 2W2W; a W/W inverter at equal strengths has 2 in place of 3 (MT21-2)Ch 5 §12–13

9. Stick layouts

MT24-4 and MT23-4, worked in M5, Sections 5–6: draw the schematic, then name the function. About five minutes.

RuleMeaning, and when it holdsTaught in
poly crossing diffusion = a transistora poly line across both rows is two devices, a PFET and an NFET with the same inputCh 9 §10
only a contact (X) connects layersmetal crossing a poly or a diffusion without one is not connectedCh 9 §10
uncontacted shared diffusion = series; the same two nets = parallelname each diffusion piece by its contact’s net, then read the networksCh 9 §10, Ch 5 §6
PUN = dual of PDNthe check on your reading; a poly with no input label is an internal net, so there is a second stageCh 9 §10, M5 §5
PC over RX = transistor; PC over STI = wirepoly; keep poly wires shortCh 9 §2
RX active, NW n well, PC poly, BP p⁺ implant, CA contact to M1the five front-end (FEOL) layers: FEOL makes the transistors, the back end (BEOL) the wires; shapes on layers become masks (GDS, tape-out)Ch 9 §2
RX under BP = p⁺, otherwise n⁺the implant decides the diffusion typeCh 9 §2
n⁺ outside NW: NFET; p⁺ in NW: PFET; p⁺ outside NW: substrate plug (ground); n⁺ in NW: well plug (VDDV_{DD})device or tieCh 9 §2
one gate order that is an Euler path of both networksshared diffusions, unbroken rows, straight polysCh 10 §1
contact a diffusion if its net leaves the row or recursan uncontacted shared diffusion is a series internal nodeCh 10 §1
share the drain on the switching nodeone shared diffusion carries less junction capacitance than twoCh 5 §6
b bordered, a abutted, s sharedthe layout-dependent letters of a device’s two diffusions, source then drainCh 10 §2
WW over 10–15 µm: fingers of at most 10–15 µma wide device split for its aspect ratio and the gate’s RC delayCh 10 §3
DRC, LVS, extractiongeometry against the rules; layout against the schematic; wire R and CCh 9 §6
resolution, alignment, miscellaneouskinds of design rule: width and spacing on one layer; between two layers; fill, antenna, ERCCh 9 §7
5-2-2 metal stack; CMP → metal fill and antenna rulesthe class’s back end; alternate routing directions up the stackCh 9 §3, §5
n=⌊(W−2e+s)/(a+s)⌋n = \lfloor (W - 2e + s)/(a + s)\rfloorcontacts of size aa, spacing ss and enclosure ee in a row of width WW addedCh 9 §7

10. Common mistakes

Collected from the chapters’ “common mistakes” lists and from the errors found in the past answer keys while re-solving them. Where a key made the mistake, its part is named; the full lists are in M3, M4 and M5.

Conventions and units

  • Mixing device strengths. With equal strengths the balanced inverter is W/W, its input 2W2W and τinv=2RnfetCg\tau_{inv} = 2R_{nfet}C_g; using 3W3W or 3RnfetCg3R_{nfet}C_g there is wrong (Ch 7 §7).
  • Multiplying by 0.69. RR is defined from the 50% delay, so (R/W)C(R/W)C already is the delay. Use 0.69 only if the question asks, and say which you used (Ch 7 §1).
  • Units of the result. τinv\tau_{inv} in ps times a sum of gains near 25 is about a nanosecond, not 1000 ns (MT23-5b–d’s keys write “1244.7 ns”); MT23-3b’s key writes ns for ps.
  • pA for nA. 10 µA/µm divided by 102.2210^{2.22} is 59.9 nA/µm (MT23-1b’s key).
  • Arithmetic under time pressure. 25/4=6.2525/4 = 6.25, not 6.75 (MT17-3a’s key); a NAND’s stage gain “3/2 = 1” should be 3/3 (MT17-5a’s key).

Energy and leakage

  • Per cycle or per transition. Per transition only the nodes that rise draw energy; per cycle every node does. MT23-1c’s key divides by one transition’s energy where the cycle’s belongs (Ch 6 §6).
  • Counting both edges in ff. P=CVDD2fP = CV_{DD}^2f counts full cycles.
  • Leaving TT unsubstituted. When the cycle equals the chain delay, substitute it: WW cancels from the leakage share.
  • The off width. In a 2W/W inverter the off device is WW half the time and 2W2W the other half: 1.5W1.5W on average.

Delay and sizing

  • Counting every transistor of the receiving gate. One input drives one NFET and one PFET; only those load the stage (Ch 7 §8).
  • Dividing by the gate’s own input. That gives hh, not the gain; the gain divides by the normalized inverter’s input (Ch 8 §1).
  • Resizing the first gate. Its input is the constraint; size back from the load (Ch 8 §6).
  • An odd number of added inverters flips the logic function (Ch 8 §7).
  • The wrong node for a side load. Add it only to the stage that drives that node (MT23-5c’s key loads stage 3 instead of stage 2).
  • Resizing only the stage that drives a branch. Its larger input moves the excess gain to the stage before it; the delay doesn’t fall (MT17-5d’s key). Rebalance the pair instead (Ch 8 §9).
  • Treating a recomputed FF as fixed once a branch is present: FF moves as you resize (MT23-5d’s key).
  • FO4 = 4 FO1 in the transit-time model. Only the gate load scales with the fan-out; FO4 =1+4η1+η= \frac{1 + 4\eta}{1 + \eta} FO1 (Ch 5 §13).
  • Leaving devices out of a series path. Every device in the conducting stack counts, footer included (MT23-3b’s key counts one PFET of a three-high path; Ch 11 §4).

Pass-transistor logic

  • One threshold per series device. Two series NFETs with gates at VDDV_{DD} pass VDD−VTnV_{DD} - V_{Tn}; the second drop needs a degraded node on a gate (Ch 10 §5).
  • An example input that gives a full level. Check the example you quote: at A = B = C = 1 MT23-2’s carry is a full VDDV_{DD} (its key’s example).
  • “Only one select.” It must be exactly one: with none on, the output floats (MT21-1a’s key).
  • The cut-off condition. An NFET pass transistor stops when VGS=VTnV_{GS} = V_{Tn}, so its output is VDD−VTnV_{DD} - V_{Tn} (MT21-1b’s key writes VGS=VDD−VTnV_{GS} = V_{DD} - V_{Tn}).
  • Judging “static” from the settled states. A half latch fights on transitions, so the circuit is ratioed (MT24-3a’s key says static; its own rubric says not).
  • Dual-rail is not complementary pass transistors. Full rail needs a PFET in parallel on the same path (Ch 10 §5).

Dynamic and domino logic

  • Counting the precharge device in the evaluate delay or in CinC_{in}. It is off, and its gate is on the clock (Ch 12 §2).
  • Four times stronger is eight times wider when Rpfet=2RnfetR_{pfet} = 2R_{nfet} (Ch 12 §3).
  • Driving the half latch from the dynamic node, or making it as strong as the pull-down (Ch 11 §8).
  • The charge-sharing fraction is Cint/(CX+Cint)C_{int}/(C_X + C_{int}), not Cint/CXC_{int}/C_X; and no path to ground is needed (Ch 11 §10).
  • Delayed reset without the domino inverter. A bare dynamic node rises during precharge, so delaying the next stage’s reset guarantees the collision (Ch 12 §7).

Noise margins and devices

  • Pairing the wrong points. NMLNM_L pairs VILV_{IL} with VOLV_{OL}, from different points of the curve (Ch 6 §4).
  • Firm directions for VOHV_{OH} and VOLV_{OL}. They move little; say which picture you assume (MT24-1c–d). The firm directions are VILV_{IL}, VIHV_{IH} and the margins.
  • Fanout and DC margins. Capacitive loading changes no DC level.
  • The slope backwards. A smaller mV/decade is better, and it grows with temperature (Ch 4 §11).
  • The square law in a short channel. At 0.25 µm it overestimates the current about 3.5 times (Ch 4 §7).
  • A body at the wrong rail. The body of an NMOS must stay at or below its source, the n well of a PMOS at or above (Ch 5 §1, §8).
Check yourself Without looking: the three conventions you should state at the top of an inverter-chain answer, and the three of a path-sizing answer.

Chain: the device strength (2W/W with Rpfet=2RnfetR_{pfet} = 2R_{nfet}, or W/W with equal strengths, which sets τinv\tau_{inv} and the node capacitance); whether delays carry the 0.69 factor; and whether the energy is per cycle or per transition. Path: the device strength (which sets the normalized inverter’s input, 3W3W or 2W2W, and the logical efforts); the load in µm of gate at the given CgC_g; and that only gate capacitance counts, with τinv\tau_{inv} as the unit.