Skip to content

M3. Past midterms: inverters, energy and devices

This page works every past-midterm problem on inverters: the inverter-chain question that every midterm has asked (switching energy, leakage energy, delay and the energy × delay optimum), the noise-margin questions, the single-gate delays in units of τinv\tau_{inv}, and the device short answers (a forward-biased well, subthreshold current against temperature, FO4 from the transit time). Together they carry 23% to 68% of each past midterm’s points: 23% of MT23, 40% of MT21, 45% of MT24 and 68% of MT17.

Every number below is re-solved here; none is copied from an answer key. Where a key disagrees, the folded note on the key at the end of the part explains why, and the table at the end lists them all.

After this page you can:

  1. write a chain’s energy per cycle or per transition, its leakage energy, and its delay as functions of NN and WW, in the exams’ units;
  2. find the width that minimizes energy × delay, and say why “minimize the delay” has no finite answer;
  3. find the PFET/NFET ratio that minimizes a chain’s delay (2\sqrt{2}, or 1 with equal strengths);
  4. answer the noise-margin questions for noise on every node or on one node, and say how a stronger PFET or a lower gain moves the curve;
  5. put an inverter’s or a NAND’s delay into units of τinv\tau_{inv} with equal-strength devices;
  6. answer the device short answers: FO4 from τtr\tau_{tr} and η\eta, a well tied to the wrong rail, leakage at two temperatures.

Before you start

How to use this page. Each section restates one exam question with its source page (MT23-1b, p3 is Fall 2023, question 1b, physical PDF page 3) and its points, and shows the exam’s own figure. Each family opens with a short How to approach section: how to recognize the question, the moves in order, why the formulas apply, and the traps. Then every part is worked the same way: what it asks, the idea behind the method, the solution in steps (each step gives its reason first), a check on the result, the answer, and one thing to remember. Try each part on your own first; open the Hint if you are stuck, and step through the solution before you press “Show all”. The answer key’s verdict is folded at the end of each part. The chapters teach each method in full, and every solution links the section.

FamilyQuestions (most recent first)PointsChapters
Inverter chain: energy, leakage, delay, optimumMT24-2, MT23-1, MT21-4, MT17-450, 34, 35, 384, 6, 7
Noise margins and the VTCMT24-1, MT17-2, MT17-1a (Section 9)40, 16, 86
Single-gate delays in τ_invMT17-3a, b, d247, 8
Device short answersMT21-2, MT17-1b–c (Section 9)25, 164, 5

MT17-3c (a dynamic gate’s evaluate delay) is on page M6, with the other dynamic-logic problems.

Conventions the exams use

State these at the top of your answer; the keys mix them, and so do the questions.

  • Delay model. A transistor of width WW driving CC takes (R/W) C(R/W)\,C, with RR in kΩ·µm and CC in fF; 1 kΩ × 1 fF = 1 ps (Chapter 7, Section 1). No 0.69 factor unless the question asks for one. MT24-2c’s key accepted answers with and without it.
  • τ_inv. The FO1 delay of the balanced inverter. With Rpfet=2RnfetR_{pfet} = 2R_{nfet} the inverter is 2W/W and τinv=3RnfetCg\tau_{inv} = 3R_{nfet}C_g; with equal-strength devices it is W/W and τinv=2RnfetCg\tau_{inv} = 2R_{nfet}C_g (Chapter 7, Section 7).
  • Energy. Each node that rises draws CVDD2CV_{DD}^2 from the supply (Chapter 6, Section 6). “Per transition” (one input edge: only every other node rises) is half of “per cycle” (every node rises once). MT17-4c and MT21-4b ask per transition; MT23-1a and MT24-2a ask per cycle.
  • Leakage. Only the device that is off leaks, with the full VDDV_{DD} across it: E=VDD Ileak TE = V_{DD}\,I_{leak}\,T. Currents are per µm of width (Chapter 4, Section 11).
  • Units. fF × V² = fJ. nA × V × ps = 10−2110^{-21} J = 10−610^{-6} fJ. Drain capacitance is ignored unless the question includes it.

How to approach an inverter-chain question

Every past midterm has asked this question, for 23–25% of its points. You get a chain of identical inverters, usually with a fixed capacitance on every output (a side load or a wire), driven by a square wave or a single edge. Then the parts build on each other: the switching energy, sometimes the leakage energy and its share of the total, the delay, and a best width (for energy × delay, for delay alone, or the best PFET width). Recognize it by the picture, a chain with a capacitor on every node, and by the phrase “as a function of N and W”.

The moves, in order.

  1. Find the capacitance on one node first. Every part uses it. A node carries the next inverter’s input, which is both of its gates (Wn+WpW_n + W_p µm of gate), plus the side load. Ignore drain capacitance unless the question includes it.
  2. Read the device strengths. With equal strengths (Rpfet=RnfetR_{pfet} = R_{nfet}) the balanced inverter is W/W; with Rpfet=2RnfetR_{pfet} = 2R_{nfet} it is 2W/W. In a balanced chain the rising and falling delays are equal, so one stage delay serves both edges.
  3. Switching energy. Count how many nodes rise in the interval the question names, and charge each one CnodeVDD2C_{node}V_{DD}^2. Per cycle, every node rises once; per transition, half of them do.
  4. Leakage energy. In each inverter exactly one device is off, with the full VDDV_{DD} across it. Get its current from the subthreshold slope, then multiply by VDDV_{DD}, its width and the time.
  5. Delay. One stage is (R/W) Cnode(R/W)\,C_{node}; the chain is NN stages.
  6. Optimum. Write the quantity as a function of WW and find where the part that grows with WW balances the part that shrinks.

Why these formulas.

  • Energy. Raising a node from 0 to VDDV_{DD} pulls the charge CVDDCV_{DD} out of the supply at the voltage VDDV_{DD}, so the supply delivers CVDD2CV_{DD}^2. Half is stored on the node and half burns in the PFET. When the node falls, the NFET burns the stored half and the supply delivers nothing (Chapter 6, Section 6).
  • Delay. The course models the conducting transistor as a resistor R/WR/W, with RR in kΩ·µm, that charges or discharges the node; 1 kΩ × 1 fF = 1 ps (Chapter 7, Section 1).
  • Leakage. Below threshold the current falls by one decade for every SS millivolts that the gate is below VTV_T (Chapter 4, Section 11).

Traps. Per cycle against per transition. 12CVDD2\tfrac12 CV_{DD}^2 (stored) against CVDD2CV_{DD}^2 (drawn). The off device’s width when the inverter isn’t W/W. nA, not pA. Leaving TcycleT_{cycle} in the answer when the question says it equals the chain’s delay.

1. MT24-2: a W/W chain, energy, leakage and the best width

A 1.2 V / 0 V square wave of period T_cycle drives a chain of N inverters labelled W:W, each output loaded by a 4 fF capacitor to ground; a brace marks N inverters.
MT24-2, p4 (source figure; the “W:W” and “N inverters” labels are handwritten on the key).

MT24-2, p4 (Fall 2024, 50 points). A chain of NN W/W inverters (both FETs of width WW), each loaded by an additional 4 fF of side-branch loading. Cg=1 fF/μmC_g = 1\,\mathrm{fF/\mu m}, Rnfet=Rpfet=1 kΩ⋅μmR_{nfet} = R_{pfet} = 1\,\mathrm{k\Omega\cdot\mu m}. Ignore drain capacitances. The input is a 50% duty-cycle square wave of period TcycleT_{cycle}; VDD=1.2 VV_{DD} = 1.2\,\mathrm{V}.

Before the parts: one node. Every part needs the capacitance on one node of the chain, so find it once. On the output of each inverter hang:

  • the next inverter’s input. An input is wired to both gates, the NFET’s (WW) and the PFET’s (WW), so it presents 2W Cg2W\,C_g;
  • the 4 fF side load;
  • the inverter’s own drains, which the question tells us to ignore.
Cnode=(2W+4) fF(W in μm).C_{node} = (2W + 4)\,\mathrm{fF}\quad(W\text{ in }\mu\text{m}).

The strengths are equal, so a W/W inverter pulls up exactly as hard as it pulls down: every stage has the same delay on both edges. Its fan-out-of-one delay is τinv=(R/W)(2W Cg)=2RCg=2 ps\tau_{inv} = (R/W)(2W\,C_g) = 2RC_g = 2\,\mathrm{ps}.

MT24-2a: supply energy per cycle

MT24-2a, p4 (10 points). What is the energy drawn from the supply for this chain of N inverters during TcycleT_{cycle}? Express it as a function of N and W. Ignore crowbar currents.

Hint
Which nodes take charge from the supply during one period of the input, and how much does each one take?

What it asks. The energy the supply delivers to the whole chain in one full period of the input: one rising edge and one falling edge. The words “during TcycleT_{cycle}” decide how many nodes you count. (Questions that say “per transition” mean one edge, and the answer is half as much.)

The idea. The supply delivers energy only when a node is charged up. Raising a node of capacitance CC from 0 to VDDV_{DD} pulls the charge Q=CVDDQ = CV_{DD} out of the supply at the voltage VDDV_{DD}, so the supply delivers QVDD=CVDD2QV_{DD} = CV_{DD}^2. Half of it is stored on the node and half burns in the PFET. When the node falls again, the NFET burns the stored half, and the supply delivers nothing (Chapter 6, Section 6). So the energy per cycle is (the number of nodes that rise in one cycle) × CnodeVDD2C_{node}V_{DD}^2. The tempting slip is 12CVDD2\tfrac12 CV_{DD}^2: that is the energy stored on a node, not the energy drawn from the supply.

Energy per cycle

  1. Count the rising nodes. An inverter’s output rises when its input falls. On the input’s rising edge nodes 2, 4, 6, … rise; on its falling edge nodes 1, 3, 5, … rise. Over one period, every one of the NN nodes rises exactly once.
  2. Price one rise. Each costs CnodeVDD2=(2W+4) fF×(1.2 V)2=1.44(2W+4) fJC_{node}V_{DD}^2 = (2W + 4)\,\mathrm{fF} \times (1.2\,\mathrm{V})^2 = 1.44(2W + 4)\,\mathrm{fJ}, since fF × V² = fJ.
  3. Add them up. NN rises: Ecycle=1.44N(2W+4) fJ=N(2.88W+5.76) fJE_{cycle} = 1.44N(2W + 4)\,\mathrm{fJ} = N(2.88W + 5.76)\,\mathrm{fJ}, with WW in µm.

Check. At W=1 μmW = 1\,\mu\mathrm{m} each node is 6 fF and costs 6×1.44=8.646 \times 1.44 = 8.64 fJ per cycle, and the formula gives 2.88+5.76=8.642.88 + 5.76 = 8.64 fJ per inverter. ✓ The 5.76 fJ per inverter that doesn’t depend on WW is the side load’s share (4 fF×1.44 V24\,\mathrm{fF} \times 1.44\,\mathrm{V^2}): no choice of WW removes it.

Answer: Ecycle=N(2.88W+5.76) fJE_{cycle} = N(2.88W + 5.76)\,\mathrm{fJ}.

Remember. Supply energy = (number of rising nodes) × CVDD2CV_{DD}^2. Per cycle every node rises once; per transition, half of them do.

The answer key agrees

It gives the same expression. A very faint ½ in front of its first line is not carried into its later lines, nor should it be: the ½ is the energy stored, not the energy drawn.

MT24-2b: leakage energy per cycle

MT24-2b, p5 (10 points). What is the total subthreshold leakage energy consumed by these N inverters at 300 K during a cycle? The nFET (pFET) draws 10 μA/μm10\,\mu\mathrm{A/\mu m} at its threshold voltage of 200 mV (−200 mV); the subthreshold slope is 90 mV/decade for both.

Hint
In each inverter one transistor is off. How far below its threshold is its gate, and what does the subthreshold slope say that costs in current?

What it asks. Part (a) was the energy spent switching. This part is the energy wasted while nothing switches: current through transistors that are meant to be off. Three things decide it: which transistor is off (and how wide it is), how much current it still passes, and for how long.

The idea. A MOSFET doesn’t shut off at its threshold. Below VTV_T its current falls exponentially, by one decade (a factor of 10) for every SS millivolts that the gate is below threshold, where SS is the subthreshold slope (Chapter 4, Section 11):

I=I(VT)⋅10−(VT−VGS)/SI = I(V_T) \cdot 10^{-(V_T - V_{GS})/S}

(for the PFET, in magnitudes). An “off” transistor has VGS=0V_{GS} = 0, so its gate sits a full VTV_T below threshold. That is the only device model this part needs; the rest is bookkeeping.

Leakage energy

  1. Which device is off, and what is across it? In a settled inverter one device is on and the other off. Output high: the NFET is off, with the output (VDDV_{DD}) on its drain and ground on its source. Output low: the PFET is off, with VDDV_{DD} on its source and the output (0 V) on its drain. Either way, each inverter always has exactly one leaking device, with the full VDDV_{DD} across it.
  2. How far below threshold? VGS=0V_{GS} = 0 and VT=200V_T = 200 mV (the PFET’s −200 mV in magnitude), so the gate is 200 mV below threshold. At 90 mV per decade that is 200/90=2.22200/90 = 2.22 decades (Chapter 4, Section 11).
  3. How much current? Ioff=10 μA/μm / 102.22=10/166.8=0.0599 μA/μm≈60 nA/μmI_{off} = 10\,\mu\mathrm{A/\mu m}\,/\,10^{2.22} = 10/166.8 = 0.0599\,\mu\mathrm{A/\mu m} \approx 60\,\mathrm{nA/\mu m}. (Two decades would divide by 100; a little more than two divides by 167.)
  4. How wide is the leaking device? Both devices are WW wide here, so whichever one is off, each inverter leaks 60W60W nA all the time. (In MT23-1b’s 2W/W inverter the width depends on the output; that is the one new idea there.)
  5. Energy is power × time. One inverter dissipates VDD⋅Ioff⋅WV_{DD} \cdot I_{off} \cdot W, and all NN do so for the whole cycle: Eleak=N⋅W⋅Tcycle×59.9 nA/μm×1.2 V=71.9 NWTcycleE_{leak} = N \cdot W \cdot T_{cycle} \times 59.9\,\mathrm{nA/\mu m} \times 1.2\,\mathrm{V} = 71.9\,NWT_{cycle} nW.
  6. Units. nW × s = nJ, so that is 71.9 NWTcycle71.9\,NWT_{cycle} nJ with TcycleT_{cycle} in seconds. With TcycleT_{cycle} in ps, nW × ps = 10−2110^{-21} J = 10−610^{-6} fJ, so it is 7.19×10−5 NWTcycle7.19\times10^{-5}\,NWT_{cycle} fJ. Part (c) needs this form.

Check. One 1 µm inverter leaking through a 100 ps cycle: 71.9 nW×100 ps=7.2 aJ71.9\,\mathrm{nW} \times 100\,\mathrm{ps} = 7.2\,\mathrm{aJ}, that is 7.2×10−37.2\times10^{-3} fJ, against the 8.64 fJ it spends switching in (a): about a thousandth. Part (c) makes this comparison exact.

Answer: Eleak≈72 N W TcycleE_{leak} \approx 72\,N\,W\,T_{cycle} nJ (WW in µm, TcycleT_{cycle} in s).

Remember. Leakage is always three questions: which device is off and how wide, how many decades below threshold, and for how long. Temperature changes only the slope SS (MT17-1c, Section 9).

The answer key agrees

It rounds the current to 60 nA/µm.

MT24-2c: the leakage share when the cycle equals the chain delay

MT24-2c, p5 (10 points). Assuming TcycleT_{cycle} equals the delay of the N-stage chain, what is the ratio of the leakage energy in (b) to the total energy consumed in a cycle, as a function of N and W?

Hint
Leakage grows with the length of the cycle; switching energy doesn’t. Replace TcycleT_{cycle} by the chain’s delay, and both energies become functions of NN and WW alone.

What it asks. The fraction of all the energy used in one cycle that is leakage, when the clock runs as fast as the chain allows: TcycleT_{cycle} equals the chain’s delay. “Total” means switching (a) plus leakage (b). Because TcycleT_{cycle} is now tied to the circuit, it has to be replaced by the delay before you divide.

The idea. The chain’s delay comes from the course’s delay model: the conducting transistor acts as a resistor R/WR/W that charges or discharges the node, so one stage takes (R/W) Cnode(R/W)\,C_{node} (Chapter 7, Section 1), and NN stages in a row take NN times as long. Put that into (b), then divide by (a).

Leakage share

  1. One stage. The driving device is WW wide with R=1 kΩ⋅μmR = 1\,\mathrm{k\Omega\cdot\mu m}, and it drives CnodeC_{node}: 1 kΩ⋅μmW(2W+4) fF=2(W+2)W ps\dfrac{1\,\mathrm{k\Omega\cdot\mu m}}{W}(2W + 4)\,\mathrm{fF} = \dfrac{2(W + 2)}{W}\,\mathrm{ps}. With equal strengths this holds on both edges (Chapter 7, Section 7).
  2. The whole chain. Tcycle=N⋅2(W+2)W psT_{cycle} = N \cdot \dfrac{2(W + 2)}{W}\,\mathrm{ps}.
  3. Leakage over that cycle. From (b), with TcycleT_{cycle} in ps: Eleak=7.19×10−5 NW⋅2N(W+2)W=1.44×10−4 N2(W+2) fJE_{leak} = 7.19\times10^{-5}\,NW \cdot \dfrac{2N(W + 2)}{W} = 1.44\times10^{-4}\,N^2(W + 2)\,\mathrm{fJ}. The WW in front cancels the 1/W1/W of the delay: wider devices leak more, but they shorten the cycle in the same proportion.
  4. Switching energy, from (a), written the same way: Ecycle=1.44N(2W+4)=2.88N(W+2) fJE_{cycle} = 1.44N(2W + 4) = 2.88N(W + 2)\,\mathrm{fJ}.
  5. Divide. Leakage ÷ switching =1.44×10−4N2(W+2)2.88N(W+2)=5.0×10−5N= \dfrac{1.44\times10^{-4}N^2(W + 2)}{2.88N(W + 2)} = 5.0\times10^{-5}N. The total is switching plus leakage, so leakage ÷ total =5.0×10−5N1+5.0×10−5N= \dfrac{5.0\times10^{-5}N}{1 + 5.0\times10^{-5}N}.
  6. Read the result. It doesn’t depend on WW, and it grows with NN: a longer chain needs a longer cycle, so each inverter leaks for longer while it still switches only once per cycle.

Check. A second route gives the coefficient directly added. Leakage is NWIoffVDDN W I_{off} V_{DD} for a time N(R/W)CnodeN(R/W)C_{node}, and switching is NCnodeVDD2NC_{node}V_{DD}^2, so their ratio is IoffRN/VDDI_{off}RN/V_{DD}: the capacitance and WW cancel, and a current times a resistance over a voltage has no units, as a ratio must. 59.9 nA×1 kΩ=59.9 μV59.9\,\mathrm{nA} \times 1\,\mathrm{k\Omega} = 59.9\,\mu\mathrm{V}, and 59.9 μV×N/1.2 V=5.0×10−5N59.9\,\mu\mathrm{V} \times N/1.2\,\mathrm{V} = 5.0\times10^{-5}N. ✓ For scale: N=10N = 10 gives a share of 5.0×10−45.0\times10^{-4}, N=100N = 100 gives 0.50%, and leakage would equal the switching energy only near N=20 000N = 20\,000.

Answer: EleakEleak+Ecycle=5.0×10−5N1+5.0×10−5N=10−4N2+10−4N\dfrac{E_{leak}}{E_{leak} + E_{cycle}} = \dfrac{5.0\times10^{-5}N}{1 + 5.0\times10^{-5}N} = \dfrac{10^{-4}N}{2 + 10^{-4}N}.

Remember. When TcycleT_{cycle} is tied to a delay, substitute the delay before you divide. The leakage share is then IoffRN/VDDI_{off}RN/V_{DD} in disguise: no WW, and proportional to NN.

The answer key agrees

It writes 10−4N2+10−4N\dfrac{10^{-4}N}{2 + 10^{-4}N}, the same expression. With the 0.69 factor in the delay, which the key also accepted, the coefficient becomes 3.4×10−53.4\times10^{-5}.

MT24-2d: the width that minimizes energy × delay

MT24-2d, p6 (10 points). If you can change the sizing of the inverters, what W minimizes the product of the energy in (a) and the delay of the N-stage chain?

Hint
Write energy × delay as a function of WW. The energy grows with WW and the delay shrinks; find where the two pulls balance.

What it asks. The width that makes (the energy per cycle of (a)) × (the chain’s delay) smallest. Why a product: energy alone is smallest for the smallest WW, and delay alone for the largest WW (part (e)). The product charges for both, so it has a best width in between.

The idea. Both factors contain W+2W + 2. The energy grows with WW (bigger gates to charge); the delay falls with WW (stronger devices, so the fixed 4 fF matters less). Their product is smallest where the two effects balance. Find that point by setting the derivative to zero added, or faster: write the product as a sum aW+b/WaW + b/W, which is smallest where its two terms are equal.

Energy × delay

  1. Multiply. E⋅D=1.44N(2W+4)×2N(W+2)W=5.76N2 (W+2)2W fJ⋅psE \cdot D = 1.44N(2W + 4) \times \dfrac{2N(W + 2)}{W} = 5.76N^2\,\dfrac{(W + 2)^2}{W}\,\mathrm{fJ\cdot ps}.
  2. Keep only what depends on W. 5.76N25.76N^2 is a constant factor, so minimize (W+2)2W=W+4+4W\dfrac{(W + 2)^2}{W} = W + 4 + \dfrac{4}{W}.
  3. Balance the two terms added. The 4 is constant. As WW grows, the term WW grows and 4/W4/W shrinks, and their sum is smallest where they are equal: W=4/WW = 4/W, so W=2 μmW = 2\,\mu\mathrm{m}. (If WW were larger than 4/W4/W, a smaller WW would lower the sum, and the other way round.) The derivative agrees: (W+2)(W−2)W2=0\dfrac{(W + 2)(W - 2)}{W^2} = 0.
  4. What it means. At W=2W = 2 each inverter’s own input, 2W Cg=4 fF2W\,C_g = 4\,\mathrm{fF}, equals the side load. Narrower, and the side load dominates every node, so the delay climbs; wider, and most of the energy goes into driving the inverters’ own gates.
  5. The numbers there. Each stage takes 2×4/2=4 ps=2τinv2 \times 4/2 = 4\,\mathrm{ps} = 2\tau_{inv} and the chain 4N4N ps; the energy is 11.52N11.52N fJ and E⋅D=46.1N2 fJ⋅psE \cdot D = 46.1N^2\,\mathrm{fJ\cdot ps}.

Check. Try the neighbours: (W+2)2/W(W + 2)^2/W is 9 at W=1W = 1, 8 at W=2W = 2 and 9 at W=4W = 4. The minimum is at 2, and it is shallow: a width off by a factor of 2 costs only 12.5%.

Answer: W=2 μmW = 2\,\mu\mathrm{m}, where the gates’ own load equals the 4 fF side load.

Remember. Energy × delay is least where the gates’ own load equals the fixed load. MT23-1d and MT17-4d ask the same thing with other numbers (Section 2, Section 4).

The answer key agrees

MT24-2e: the width that minimizes delay

MT24-2e, p6 (10 points). If the goal is simply to minimize the delay of this chain, what W is required? Think carefully about your answer.

Hint
Split one stage’s delay into a part that comes from driving the next inverter and a part that comes from the side load. What does each do as WW grows?

What it asks. The same chain, but now only the delay counts. “Think carefully” is the exam’s warning that the usual move, setting a derivative to zero, finds nothing here.

The idea. Split one stage’s delay into its two causes: RW(2W Cg+4 fF)=2RCg+4 fF⋅RW\dfrac{R}{W}(2W\,C_g + 4\,\mathrm{fF}) = 2RC_g + \dfrac{4\,\mathrm{fF} \cdot R}{W}. The first part is the stage driving the next inverter. A wider inverter is stronger by WW, but its load is larger by WW too, so this part is the fixed FO1 delay, τinv=2\tau_{inv} = 2 ps. The second part is the side load, driven by an ever stronger device: it shrinks as 1/W1/W and never turns around.

Delay alone

  1. The chain delay. N(2+4/W)=2N(1+2/W)N(2 + 4/W) = 2N(1 + 2/W) ps. It falls every time WW grows: there is no finite minimum.
  2. The floor. As W→∞W \to \infty the side-load part vanishes and each stage becomes a plain FO1: the chain approaches Nτinv=2NN\tau_{inv} = 2N ps but never reaches it.
  3. Diminishing returns. W=2W = 2 gives 4N4N ps, W=20W = 20 gives 2.2N2.2N ps and W=200W = 200 gives 2.02N2.02N ps, while the energy per cycle grows in proportion to 2W+42W + 4.
  4. So the answer is “as wide as possible”, and the careful part is to say why: the side load is fixed, so wider inverters only shrink its share, and the chain can never beat NτinvN\tau_{inv}.

Check. The other end: as W→0W \to 0 the delay grows without bound, because ever weaker devices drive a fixed 4 fF. From there the delay only falls toward its floor, so there is nothing in between to minimize.

Answer: W→∞W \to \infty (much larger than 2 µm); the delay approaches Nτinv=2NN\tau_{inv} = 2N ps but never reaches it. added Outside this question’s model the first inverter’s input, 2W Cg2W\,C_g, also grows, so whatever drives the chain slows down; the question leaves that driver out.

Remember. With a fixed side load and nothing else fixed, minimizing delay has no finite answer. A best width needs a cost on width: the energy, as in (d), or a fixed input capacitance, as in the path-sizing questions (M4).

The answer key agrees

2. MT23-1: the same chain with 2W/W inverters

A 1.2 V / 0 V square wave of period T_cycle drives a chain of inverters, each output loaded by a 4 fF capacitor; the chain continues with dots and ends in an inverter.
MT23-1, p2 (source figure).

MT23-1, p2 (Fall 2023, 34 points). A chain of NN 2W/W inverters, each loaded by an additional 4 fF of side-branch loading. Cg=1 fF/μmC_g = 1\,\mathrm{fF/\mu m}, Rnfet=1 kΩ⋅μmR_{nfet} = 1\,\mathrm{k\Omega\cdot\mu m}, Rpfet=2 kΩ⋅μmR_{pfet} = 2\,\mathrm{k\Omega\cdot\mu m}. Ignore drain capacitances. A 50% duty-cycle square wave of period TcycleT_{cycle}; VDD=1.2 VV_{DD} = 1.2\,\mathrm{V}.

Before the parts: what changes from MT24-2. This is the chain of Section 1 a year earlier, and every move is the same. Only the device strengths differ, and three things follow from them.

  • The inverter is 2W/W. Here Rpfet=2RnfetR_{pfet} = 2R_{nfet}: a PFET passes half the current of an NFET of the same width. To pull up as hard as the NFET pulls down, the PFET is made twice as wide, 2W2W. Its resistance is then Rpfet/2W=Rnfet/WR_{pfet}/2W = R_{nfet}/W, the same as the NFET’s, so a stage still has one delay for both edges.
  • The node is larger. An inverter’s input is wired to both gates, the NFET’s (WW) and the PFET’s (2W2W), so it presents 3W Cg3W\,C_g. With the 4 fF side load, and drains ignored as the question says,
Cnode=(3W+4) fF.C_{node} = (3W + 4)\,\mathrm{fF}.
  • The unit of delay is larger. The fan-out-of-one delay is τinv=(Rnfet/W)(3W Cg)=3RnfetCg=3 ps\tau_{inv} = (R_{nfet}/W)(3W\,C_g) = 3R_{nfet}C_g = 3\,\mathrm{ps} (Chapter 7, Section 7).

The one new idea is in (b): the two devices now have different widths, so the width of the device that leaks depends on whether the output is high or low.

MT23-1a: supply energy per cycle

MT23-1a, p2 (10 points). What is the energy drawn from the supply for this chain during TcycleT_{cycle}, as a function of N and W? Ignore crowbar currents.

Hint
How many nodes rise during one period, and how much capacitance does each one carry now that the PFET is 2W2W?

What it asks. The energy the supply delivers to the whole chain in one full period of the input. “During TcycleT_{cycle}” means one rising and one falling input edge, so every node rises once, exactly as in MT24-2a. Only the node’s capacitance has changed.

The idea. Same principle as MT24-2a: the supply delivers energy only when a node is charged. Raising a node of capacitance CC to VDDV_{DD} draws the charge CVDDCV_{DD} from the supply at the voltage VDDV_{DD}, so it costs CVDD2CV_{DD}^2; a falling node draws nothing (Chapter 6, Section 6). The new part is Cnode=3W+4C_{node} = 3W + 4 fF, because the next inverter’s input now has 3W3W of gate.

Energy per cycle

  1. Count the rising nodes. An output rises when its input falls, so the odd nodes rise on one input edge and the even nodes on the other. Over one period each of the NN nodes rises once.
  2. Price one rise. CnodeVDD2=(3W+4) fF×(1.2 V)2=1.44(3W+4) fJC_{node}V_{DD}^2 = (3W + 4)\,\mathrm{fF} \times (1.2\,\mathrm{V})^2 = 1.44(3W + 4)\,\mathrm{fJ}, since fF × V² = fJ.
  3. Add them up. Ecycle=N(3W+4) fF×1.44 V2=N(4.32W+5.76) fJE_{cycle} = N(3W + 4)\,\mathrm{fF} \times 1.44\,\mathrm{V^2} = N(4.32W + 5.76)\,\mathrm{fJ}, with WW in µm.

Check. Against MT24-2a’s N(2.88W+5.76)N(2.88W + 5.76): the side load’s 5.76 fJ per inverter is the same, and only the WW term grew, by 4.32/2.88=1.54.32/2.88 = 1.5. That is 3W/2W3W/2W, the extra gate of the twice-as-wide PFET. ✓

Answer: Ecycle=N(4.32W+5.76) fJE_{cycle} = N(4.32W + 5.76)\,\mathrm{fJ}.

Remember. The energy per cycle is always N CnodeVDD2N\,C_{node}V_{DD}^2. The inverter’s sizing enters only through CnodeC_{node}, so count both gates of the next input: 2W2W for W/W, 3W3W for 2W/W.

The answer key agrees

MT23-1b: leakage energy per cycle

MT23-1b, p3 (8 points). What is the total subthreshold leakage energy of these N inverters at 300 K during a cycle? 10 μA/μm10\,\mu\mathrm{A/\mu m} at ∣VT∣=200 mV|V_T| = 200\,\mathrm{mV} for both devices; 90 mV/decade.

Hint
When the output is high, which device is off, and how wide is it? And when the output is low?

What it asks. The energy wasted in one cycle by current through the transistors that are off, with the same device numbers as MT24-2b. The difference is that this inverter’s two devices have different widths, so how wide the leaking device is depends on the output’s state.

The idea. Leakage energy is VDD×V_{DD} \times (the off current per µm) ×\times (the leaking width) ×\times (the time). The current per µm comes from the subthreshold slope, as in MT24-2b: below threshold the current falls one decade for every SS millivolts that the gate is below VTV_T, I=I(VT)⋅10−(VT−VGS)/SI = I(V_T)\cdot10^{-(V_T - V_{GS})/S}, and an off device has VGS=0V_{GS} = 0 (Chapter 4, Section 11). What is new is the width. With the output high, the NFET (WW) is off; with the output low, the PFET (2W2W) is. The input is a 50% duty-cycle square wave, so every node spends half of each cycle high and half low, and the leaking width averages 1.5W1.5W.

Leakage energy

  1. The current per µm. Both devices have ∣VT∣=200|V_T| = 200 mV and 90 mV/decade, so an off gate is 200/90=2.22200/90 = 2.22 decades below threshold, as in MT24-2b: Ioff=10 μA/μm/10200/90=59.9 nA/μmI_{off} = 10\,\mu\mathrm{A/\mu m}/10^{200/90} = 59.9\,\mathrm{nA/\mu m}.
  2. Which device leaks, and when. Because the off device has a different width in each half of the cycle, take the two halves separately. Output high (half the time): the NFET, width WW, is off, with VDDV_{DD} across it. Output low (the other half): the PFET, width 2W2W, is off, with VDDV_{DD} across it.
  3. Average the width over the cycle. Each state lasts half the cycle, so the average off width is (W+2W)/2=1.5W(W + 2W)/2 = 1.5W.
  4. Energy is power × time. All NN inverters leak for the whole cycle: Eleak=N⋅1.5W⋅Ioff⋅VDD⋅Tcycle=NWTcycle×1.5×59.9×1.2 nW=108 NWTcycleE_{leak} = N \cdot 1.5W \cdot I_{off} \cdot V_{DD} \cdot T_{cycle} = N W T_{cycle} \times 1.5 \times 59.9 \times 1.2\,\mathrm{nW} = 108\,NWT_{cycle} nW.
  5. Units. nW × s = nJ, so that is 108 NWTcycle108\,NWT_{cycle} nJ with TcycleT_{cycle} in seconds, or 1.08×10−4 NWTcycle1.08\times10^{-4}\,NWT_{cycle} fJ with TcycleT_{cycle} in ps (nW × ps = 10−610^{-6} fJ). Part (c) needs the second form.

Check. The current per µm is the same as in MT24-2b, because the devices are the same; only the width changed. So the result should be MT24-2b’s 71.9 NWTcycle71.9\,NWT_{cycle} times 1.5W/W1.5W/W: 71.9×1.5=10871.9 \times 1.5 = 108. ✓

Answer: Eleak≈108 N W TcycleE_{leak} \approx 108\,N\,W\,T_{cycle} nJ (WW in µm, TcycleT_{cycle} in s).

Remember. When the inverter isn’t W/W, ask which device is off in each output state, and average their widths over the time the output spends in each state.

The answer key differs

It gives 60 pA/µm and so 108 WTN108\,WTN pJ: a factor 1000 too small. 10 μA/166.810\,\mu\mathrm{A}/166.8 is 60 nA, and the MT24 key, on the same problem, has nA. Its 1.5W counting is right.

MT23-1c: the leakage share

MT23-1c, p3 (8 points). Assuming TcycleT_{cycle} equals the delay of the N-stage chain, what is the ratio of the leakage energy in (b) to the total energy consumed in a cycle, as a function of N and W?

Hint
Replace TcycleT_{cycle} by the chain’s delay before you divide. With a 2W2W PFET and Rpfet=2RnfetR_{pfet} = 2R_{nfet}, is a rising stage slower than a falling one?

What it asks. The fraction of the energy used in one cycle that is leakage, when the cycle is as short as the chain allows. “Total” is switching (a) plus leakage (b). “In a cycle” decides which switching energy to use: (a)‘s, with every node rising once.

The idea. The method is MT24-2c’s: one stage takes (R/W) Cnode(R/W)\,C_{node} in the course’s delay model, where the conducting transistor acts as a resistor R/WR/W (Chapter 7, Section 1); the chain takes NN stages; put that delay in for TcycleT_{cycle} in (b), then divide by (a). Two things differ. The stage delay uses Cnode=3W+4C_{node} = 3W + 4. And the leakage share comes out 1.5 times MT24’s, because the leaking width averages 1.5W1.5W while the driving width is still WW.

Leakage share

  1. One stage. Falling, the WW NFET drives the node: 1 kΩ⋅μmW(3W+4) fF=3+4W\dfrac{1\,\mathrm{k\Omega\cdot\mu m}}{W}(3W + 4)\,\mathrm{fF} = 3 + \dfrac{4}{W} ps. Rising, the 2W2W PFET has 2/2W=1/W2/2W = 1/W kΩ, the same resistance, so the same delay: the 2W/W inverter is balanced.
  2. The whole chain. Tcycle=N(3+4/W)T_{cycle} = N(3 + 4/W) ps =N(3W+4)/W= N(3W + 4)/W ps.
  3. Leakage over that cycle. From (b), with TcycleT_{cycle} in ps: Eleak=1.08×10−4 NW⋅N(3W+4)W=1.08×10−4 N2(3W+4) fJE_{leak} = 1.08\times10^{-4}\,NW \cdot \dfrac{N(3W + 4)}{W} = 1.08\times10^{-4}\,N^2(3W + 4)\,\mathrm{fJ}. The WW cancels: wider devices leak more, but they shorten the cycle in the same proportion.
  4. Switching energy, from (a), written the same way: Ecycle=1.44N(3W+4) fJE_{cycle} = 1.44N(3W + 4)\,\mathrm{fJ}.
  5. Divide. Leakage ÷ switching =1.08×10−4N2(3W+4)1.44N(3W+4)=7.5×10−5N= \dfrac{1.08\times10^{-4}N^2(3W + 4)}{1.44N(3W + 4)} = 7.5\times10^{-5}N. The total is switching plus leakage, so leakage ÷ total =7.5×10−5N1+7.5×10−5N= \dfrac{7.5\times10^{-5}N}{1 + 7.5\times10^{-5}N}.
  6. Read the result. Again no WW, and it grows with NN. For N=10N = 10: 7.5×10−47.5\times10^{-4}.

Check. The second route of MT24-2c’s check added gives the coefficient directly. Leakage ÷ switching is (the leaking width ÷ the driving width) × IoffRnfetN/VDDI_{off}R_{nfet}N/V_{DD}, and MT24-2c found IoffRnfet/VDD=5.0×10−5I_{off}R_{nfet}/V_{DD} = 5.0\times10^{-5}. Here the width ratio is 1.5W/W=1.51.5W/W = 1.5, so 1.5×5.0×10−5=7.5×10−51.5 \times 5.0\times10^{-5} = 7.5\times10^{-5}. ✓

Answer: 7.5×10−5N1+7.5×10−5N\dfrac{7.5\times10^{-5}N}{1 + 7.5\times10^{-5}N}, independent of WW.

Remember. Substitute the delay for TcycleT_{cycle} before you divide. The share is then (leaking width ÷ driving width) × IoffRN/VDDI_{off}RN/V_{DD}: no WW, and proportional to NN.

The answer key differs

It differs in three ways: it carries the pA slip from (b); it leaves TT in the answer instead of substituting the chain delay; and it takes the switching energy as N2(4.32W+5.76)\tfrac{N}{2}(4.32W + 5.76) fJ, reasoning that in one chain delay “all inverters have switched state once”. That is the energy of one input transition. The question asks for the energy in a cycle, which part (a) found to be twice as much, and the MT24 key uses the full cycle. If your exam asks this, use your part (a) and say so.

MT23-1d: the width that minimizes energy × delay

MT23-1d, p4 (8 points). If you can change the sizing, what W minimizes the product of the energy in (a) and the delay of the chain?

Hint
Write energy × delay as a function of WW. Which of its terms grows as WW grows, and which shrinks?

What it asks. The width that makes (the energy per cycle of (a)) × (the chain’s delay) smallest: MT24-2d with the 2W/W numbers.

The idea. Same balance as MT24-2d. Both factors contain 3W+43W + 4: the energy grows with WW (more gate to charge), and the delay (3W+4)/W(3W + 4)/W falls with WW (stronger devices, so the fixed 4 fF matters less). The product is smallest where the two pulls balance, and that happens where the inverters’ own gate load equals the side load. The only change is that the gate load is now 3W Cg3W\,C_g, so the best WW is smaller than MT24’s 2 µm.

Energy × delay

  1. Multiply (a) by the chain delay of (c): E⋅D=1.44N(3W+4)×N3W+4W=1.44N2 (3W+4)2W fJ⋅psE \cdot D = 1.44N(3W + 4) \times N\dfrac{3W + 4}{W} = 1.44N^2\,\dfrac{(3W + 4)^2}{W}\,\mathrm{fJ\cdot ps}.
  2. Keep only what depends on W. 1.44N21.44N^2 is a constant factor, so minimize (3W+4)2W=9W+24+16W\dfrac{(3W + 4)^2}{W} = 9W + 24 + \dfrac{16}{W}.
  3. Balance the two terms added. The 24 is constant; 9W9W grows and 16/W16/W shrinks, and their sum is smallest where they are equal: 9W=16/W9W = 16/W, so W=4/3=1.33 μmW = 4/3 = 1.33\,\mu\mathrm{m}. The derivative agrees: 6(3W+4)W−(3W+4)2W2=(3W+4)(3W−4)W2=0\dfrac{6(3W + 4)W - (3W + 4)^2}{W^2} = \dfrac{(3W + 4)(3W - 4)}{W^2} = 0.
  4. What it means. At W=4/3W = 4/3 the gate load 3W Cg=4 fF3W\,C_g = 4\,\mathrm{fF} equals the side load, as in MT24-2d.
  5. The numbers there. Each stage is 3+3=6 ps=2τinv3 + 3 = 6\,\mathrm{ps} = 2\tau_{inv} and the energy is 1.44×8=11.52N1.44 \times 8 = 11.52N fJ.

Check. Try the neighbours: (3W+4)2/W(3W + 4)^2/W is 49 at W=1W = 1, 48 at W=4/3W = 4/3 and 50 at W=2W = 2, so the minimum is at 4/3, and shallow. The energy at the optimum, 11.52N11.52N fJ, is the same as MT24-2d’s, and so is the stage delay in units of τinv\tau_{inv}: in both exams each node is then twice the side load, 8 fF.

Answer: W=4/3 μm≈1.33 μmW = 4/3\,\mu\mathrm{m} \approx 1.33\,\mu\mathrm{m}.

Remember. Energy × delay is least where the gates’ own load equals the fixed load, whatever the inverter’s ratio. Only the gate load per µm changes: 2W Cg2W\,C_g for W/W, 3W Cg3W\,C_g for 2W/W.

The answer key agrees

Try it

Switch between the two exams’ technologies, move WW, the side load and NN, and watch the three curves. The minimum of energy × delay always sits where the inverters’ own gate load equals the side load, and the leakage share never depends on WW.

1.0 µm
4.0 fF
10
node capacitance
6.00 fF
stage delay (R/W)·C
6.00 ps = 3.00 τinv
chain delay = Tcycle
60.0 ps
switching energy per cycle
86.40 fJ
leakage per cycle (59.9 nA/µm)
4.32×10⁻² fJ
leakage share of the total
4.99×10⁻⁴
W for least energy × delay
2.00 µm
02468100123NFET width W (µm)relative to the value at W*W*delayenergyenergy × delay

Each curve is divided by its value at W*, where the inverters' own gate load equals the side load. Delay falls toward N·τinv as W grows, energy grows in a straight line, and their product has its minimum at W*. The leakage share uses Tcycle equal to the chain delay and a 50% duty cycle; W cancels from it, and it grows with N. Delay is (R/W)·C with no 0.69 factor; drain capacitance is ignored.

What to notice.

  • The delay curve flattens toward 1/2 of its value at W∗W^*: the NτinvN\tau_{inv} floor of MT24-2e.
  • Set the side load to 0: the delay no longer depends on WW (MT17-4a), and energy × delay is smallest at the smallest WW.
  • Raise NN: the leakage share grows in proportion; it is the only knob that moves it.

3. MT21-4: four inverters and the best PFET width

Four inverters in a chain from A to B, each labelled n um / 1 um; B is loaded by a capacitor labelled 2(n+1) fF.
MT21-4, p6 (source figure).

MT21-4, p6 (Fall 2021, 35 points). A chain of four identical inverters sized Wp/Wn=n μm/1 μmW_p/W_n = n\,\mu\mathrm{m}/1\,\mu\mathrm{m}. They would give equal rise and fall delays if sized 2 µm/1 µm. kgate=2 fF/μmk_{gate} = 2\,\mathrm{fF/\mu m}; τinv=25 ps\tau_{inv} = 25\,\mathrm{ps}; VDD=2.5 VV_{DD} = 2.5\,\mathrm{V}. The output B drives 2(n+1)2(n + 1) fF.

Before the parts: one node. This chain has no side load; what is new is that the PFET’s width nn is the unknown. Two facts set up every part.

  • The strengths. “Equal rise and fall delays if sized 2 µm/1 µm” says that a 2 µm PFET drives as hard as a 1 µm NFET, so Rpfet=2RnfetR_{pfet} = 2R_{nfet}. The balanced inverter is the 2/1, and τinv=25\tau_{inv} = 25 ps is its fan-out-of-one delay.
  • Every node is the same. An inner node carries the next inverter’s input, which is wired to both its gates: (n+1)(n + 1) µm of gate, or 2(n+1)2(n + 1) fF at 2 fF/µm. The last node, B, has no fifth inverter, but the question loads it with exactly 2(n+1)2(n + 1) fF, what a fifth inverter would present. So all four inverters drive the same load, a copy of themselves, whatever nn is. Drains are not counted.

MT21-4a: the delay for n = 2

MT21-4a, p6 (10 points). For n=2n = 2, what is the delay from A rising to B rising?

Hint
With n=2n = 2, what does each inverter drive, compared with itself?

What it asks. The time for a rising edge at A to come out as a rising edge at B, through four inverters, at n=2n = 2. Four inversions take a rise back to a rise; on the way two stages fall and two rise.

The idea. τinv\tau_{inv} is the fan-out-of-one delay: the balanced inverter driving one copy of itself. In the course’s delay model a stage takes (R/W) Cnode(R/W)\,C_{node}, and for an FO1 the widths cancel: (Rnfet/W)(3W kgate)=3Rnfetkgate=τinv(R_{nfet}/W)(3W\,k_{gate}) = 3R_{nfet}k_{gate} = \tau_{inv}. A wider inverter is stronger by WW, but its copy is larger by WW too (Chapter 7, Section 7). At n=2n = 2 each inverter is the balanced 2/1 and drives its own copy, so every stage is exactly one FO1, on either edge.

  1. Each stage is an FO1. With n=2n = 2 each inverter is the balanced 2/1 and drives one copy of itself (the intro’s equal nodes). Because it is balanced, the falling stages (through the NFET) and the rising ones (through the PFET) each take τinv\tau_{inv}.
  2. Count the stages. Four of them: 4τinv=4×25=100 ps4\tau_{inv} = 4 \times 25 = 100\,\mathrm{ps}.

Check. Price the two kinds of stage separately. A falling stage is the 1 µm NFET driving 3 µm of gate: (Rnfet/1)(3kgate)=3Rnfetkgate=τinv(R_{nfet}/1)(3k_{gate}) = 3R_{nfet}k_{gate} = \tau_{inv}. A rising stage is the 2 µm PFET, Rpfet/2=Rnfet/1R_{pfet}/2 = R_{nfet}/1, driving the same 3 µm: also τinv\tau_{inv}. So two falling and two rising stages give 2τinv+2τinv=4τinv=1002\tau_{inv} + 2\tau_{inv} = 4\tau_{inv} = 100 ps. ✓ RnfetR_{nfet} itself never appears, which is why part (c) can use this result to stand in for it.

Answer: 100 ps.

Remember. A balanced inverter driving its own copy takes τinv\tau_{inv} whatever its size; a chain of them takes NτinvN\tau_{inv}.

The answer key agrees

MT21-4b: energy of one transition

MT21-4b, p7 (10 points). For n=2n = 2, what is the energy dissipated by a single transition through this chain? Ignore leakage, crowbar currents and the energy from the source at A; consider only dynamic charging energy.

Hint
When A rises once, which of the four nodes rise, and what does each one draw from the supply?

What it asks. The energy of one input edge, at n=2n = 2. “A single transition” decides the count: A changes once, so only half of the nodes rise (compare MT24-2a, where “during TcycleT_{cycle}” made every node rise once). “Dissipated” asks for the heat, not the energy drawn; the two come to the same total here.

The idea. A rising node draws CVDD2CV_{DD}^2 from the supply: half is stored on the node and half burns in the PFET. A falling node draws nothing, and burns its stored 12CVDD2\tfrac12CV_{DD}^2 in the NFET (Chapter 6, Section 6). In one transition two nodes rise and two fall, so you can count either way.

Energy per transition

  1. One node. Each carries (2+1) μm×2 fF/μm=6 fF(2 + 1)\,\mu\mathrm{m} \times 2\,\mathrm{fF/\mu m} = 6\,\mathrm{fF}, and VDD2=6.25 V2V_{DD}^2 = 6.25\,\mathrm{V^2}.
  2. Which nodes rise. A rises, so node 1 falls, node 2 rises, node 3 falls and node 4 (B) rises: two of the four.
  3. Count the energy drawn. The two rising nodes each draw CVDD2=37.5 fJCV_{DD}^2 = 37.5\,\mathrm{fJ} from the supply: 75 fJ in all.
  4. Count what is dissipated instead (Chapter 6, Section 6), since that is the question’s word. Each rising node burns half of its 37.5 fJ in its PFET (2 × 18.75 fJ), and each falling node burns its stored 18.75 fJ in its NFET (2 × 18.75 fJ). Total 75 fJ, the same, because as many nodes fall as rise.

Check. The other edge: A falling makes nodes 1 and 3 rise, again two nodes, again 75 fJ. And the key’s form: half of all the capacitance, 12×24 fF×6.25 V2=75\tfrac12 \times 24\,\mathrm{fF} \times 6.25\,\mathrm{V^2} = 75 fJ. ✓

Answer: 75 fJ (for either edge).

Remember. Per transition, half the nodes rise: the energy is 12CtotalVDD2\tfrac12 C_{total}V_{DD}^2, whether you count what is drawn or what is dissipated.

The answer key agrees

It writes it as 12CtotalVDD2\tfrac12 C_{total}V_{DD}^2 with Ctotal=24C_{total} = 24 fF.

MT21-4c: the PFET width that minimizes the delay

MT21-4c, p7 (15 points). Find the nn that minimizes the delay from A rising to B rising. Why is it less than two? What nn would minimize the delay if the nFETs and pFETs had equal strength?

Hint
The PFET’s width loads every node, but it speeds up only the rising stages. Write the four stage delays with nn unknown and add them.

What it asks. The PFET width nn (in µm, with the NFET at 1 µm) that makes the A-rising-to-B-rising delay smallest; why that nn is below 2; and the best nn if the two devices had equal strength. “From A rising to B rising” fixes which stages fall (1 and 3) and which rise (2 and 4).

The idea. The tempting answer is n=2n = 2, the balanced inverter, because it makes the rising and falling delays equal. But equal delays are not the smallest sum. Each stage takes (R/W) Cnode(R/W)\,C_{node} (Chapter 7, Section 1), and nn appears in both factors: in Cnode=(n+1)kgateC_{node} = (n + 1)k_{gate} on every stage, and in the PFET’s resistance Rpfet/nR_{pfet}/n on the rising stages only. Write the total as a function of nn, and find where the part that grows with nn balances the part that shrinks. RnfetR_{nfet} isn’t given, so (a)‘s 100 ps has to stand in for it.

Best n

  1. The falling stages. Every node carries (n+1)(n + 1) µm of gate. Stages 1 and 3 fall through the 1 µm NFET: Rnfet(n+1)kgateR_{nfet}(n + 1)k_{gate} each.
  2. The rising stages. Stages 2 and 4 rise through the nn µm PFET, whose resistance is Rpfet/n=2Rnfet/nR_{pfet}/n = 2R_{nfet}/n: 2Rnfetn(n+1)kgate\dfrac{2R_{nfet}}{n}(n + 1)k_{gate} each (Chapter 7, the check on n µm/1 µm).
  3. Add the four. 2(n+1)kgateRnfet(1+2n)=2kgateRnfet(n+3+2n)2(n + 1)k_{gate}R_{nfet}\left(1 + \dfrac{2}{n}\right) = 2k_{gate}R_{nfet}\left(n + 3 + \dfrac{2}{n}\right).
  4. Calibrate with n = 2. The question gives τinv\tau_{inv} but not RnfetR_{nfet}, and part (a) says the chain takes 4τinv4\tau_{inv} at n=2n = 2. Setting n=2n = 2 in step 3: 2kgateRnfet×6=4τinv2k_{gate}R_{nfet} \times 6 = 4\tau_{inv}, so kgateRnfet=τinv/3k_{gate}R_{nfet} = \tau_{inv}/3 (the 2/1 inverter’s τinv=3Rnfetkgate\tau_{inv} = 3R_{nfet}k_{gate}). The delay is 23(n+3+2n)τinv\tfrac23\left(n + 3 + \tfrac{2}{n}\right)\tau_{inv}.
  5. Balance the two terms added, the move first explained in MT24-2d. The 3 is constant; nn (the PFET’s load on every node) grows and 2/n2/n (its resistance on the rising stages) shrinks. Their sum is smallest where they are equal: n=2/nn = 2/n, so n=2=1.41n = \sqrt{2} = 1.41. The derivative agrees: 1−2n2=01 - \dfrac{2}{n^2} = 0.
  6. The delay there. 23(3+22) τinv=3.89τinv=97.1 ps\tfrac23(3 + 2\sqrt{2})\,\tau_{inv} = 3.89\tau_{inv} = 97.1\,\mathrm{ps}, about 3% faster than at n=2n = 2.
  7. Equal strengths. Now the PFET’s resistance is Rnfet/nR_{nfet}/n, so the rising term becomes Rnfetn(n+1)kgate\dfrac{R_{nfet}}{n}(n + 1)k_{gate}, the total 2kgateRnfet(n+2+1n)2k_{gate}R_{nfet}\left(n + 2 + \dfrac{1}{n}\right), and n=1/nn = 1/n (or 1−1/n2=01 - 1/n^2 = 0) gives n=1n = 1.

Check. The sum n+2/nn + 2/n takes the same value at nn and at 2/n2/n, so n=1n = 1 gives the same 100 ps as n=2n = 2, and the minimum must sit between them at 1×2=2\sqrt{1 \times 2} = \sqrt{2}. ✓ The curve is flat there: the best nn saves only 3%.

Why less than two. The PFET’s width is load on every node, so it slows the falling stages too, but it speeds up only the rising ones. At n=2n = 2 the two edges are equal; shrinking the PFET a little saves more on the falling stages (lighter load) than it costs on the rising ones. The optimum trades a little rising speed for less load. added In general the best ratio is n=Rpfet/Rnfetn = \sqrt{R_{pfet}/R_{nfet}}: 2\sqrt{2} here, 1 with equal strengths.

Answer: n=2≈1.41n = \sqrt{2} \approx 1.41 (97.1 ps instead of 100 ps); n=1n = 1 with equal strengths.

Remember. Equal rise and fall is not the fastest chain. When the PFET’s width loads the same nodes it drives, the best ratio is Rpfet/Rnfet\sqrt{R_{pfet}/R_{nfet}}. Recognize the question by “find the nn (or the PFET width) that minimizes the delay”.

The answer key agrees

It drops a factor 2Rn2R_n in its last derivative, which does not change the root.

4. MT17-4: a chain with wiring capacitance

Four inverters labelled (2w/w) in a chain; a capacitor C_x hangs on every inverter output, and the last output also has a capacitor labelled 3*w*kgate.
MT17-4, p8 (source figure).

MT17-4, p8 (Fall 2017, 38 points). A chain of four identical inverters sized 2W/W2W/W with an additional wiring capacitance CxC_x between inverters. They give equal rise and fall delays at Wp/Wn=2W_p/W_n = 2. kgate=2 fF/μmk_{gate} = 2\,\mathrm{fF/\mu m}; τinv=25 ps\tau_{inv} = 25\,\mathrm{ps}; VDD=1.0 VV_{DD} = 1.0\,\mathrm{V}. The last output carries CxC_x and 3Wkgate3Wk_{gate}.

Before the parts: one node. The same chain again, with two changes: the fixed load is a wire, CxC_x, given as a symbol instead of a number, and the energy in (c) is per transition. Every part uses the node, so find it once.

  • The strengths. Equal rise and fall at Wp/Wn=2W_p/W_n = 2 means Rpfet=2RnfetR_{pfet} = 2R_{nfet}, so the 2W/W inverter is balanced and τinv=3Rnfetkgate=25\tau_{inv} = 3R_{nfet}k_{gate} = 25 ps is its fan-out-of-one delay (Chapter 7, Section 7).
  • The node. Each output carries the next inverter’s input, both its gates, W+2W=3WW + 2W = 3W µm, so 3Wkgate3Wk_{gate}; plus the wire CxC_x. The last output has no fifth inverter, but the question loads it with 3Wkgate3Wk_{gate}, its stand-in. So every node carries 3Wkgate+Cx3Wk_{gate} + C_x.

MT17-4a: no wire

MT17-4a, p8 (8 points). For Cx=0C_x = 0, what is the delay from A rising to B rising (or falling to falling)? Does it depend on W? Why?

Hint
With no wire, what does each inverter drive, compared with itself? What happens to its strength and to its load as WW grows?

What it asks. The delay through the four inverters with no wire, and whether the size WW matters. “Why?” is where the points are: the answer has to name what cancels.

The idea. With Cx=0C_x = 0, each inverter drives exactly one copy of itself, so each stage is a fan-out-of-one delay, τinv\tau_{inv}. In the course’s delay model that is (Rnfet/W)(3W kgate)(R_{nfet}/W)(3W\,k_{gate}): the width appears once in the strength (underneath) and once in the load (on top), and cancels (Chapter 7, Section 7).

  1. One stage. With no wire the node is 3Wkgate3Wk_{gate}, the next inverter’s input. Falling, the WW NFET drives it: (Rnfet/W)(3Wkgate)=3Rnfetkgate=τinv(R_{nfet}/W)(3Wk_{gate}) = 3R_{nfet}k_{gate} = \tau_{inv}. Rising, the 2W2W PFET has Rpfet/2W=Rnfet/WR_{pfet}/2W = R_{nfet}/W, the same.
  2. Four stages: 4τinv=100 ps4\tau_{inv} = 100\,\mathrm{ps}.
  3. Why W drops out. A wider inverter is stronger by WW, but its load, the next inverter, is larger by WW too, and the two cancel. Only a load that doesn’t grow with WW, such as the wire of (b), makes the size matter.

Check. This is MT21-4a again: four balanced inverters with τinv=25\tau_{inv} = 25 ps, each driving its own copy, 100 ps. Neither question gives RnfetR_{nfet}, and neither needs it.

Answer: 100 ps, for any WW.

Remember. A chain that drives only copies of itself takes NτinvN\tau_{inv}, whatever its size. Size helps only against a fixed capacitance.

The answer key agrees

MT17-4b: with the wire

MT17-4b, p8 (10 points). For Cx>0C_x > 0, what is the delay as a function of W and CxC_x? What W minimizes it?

Hint
Split one stage’s delay into the part from driving the next inverter and the part from driving the wire. Which part depends on WW?

What it asks. The chain’s delay with the wire, as a formula in WW and CxC_x, and the WW that makes it smallest. It is MT24-2e with a wire in place of the side load, so expect the same “no finite answer”.

The idea. Split one stage: RnfetW(3Wkgate+Cx)=3Rnfetkgate+RnfetCxW\dfrac{R_{nfet}}{W}(3Wk_{gate} + C_x) = 3R_{nfet}k_{gate} + \dfrac{R_{nfet}C_x}{W}. The first part is (a)‘s τinv\tau_{inv}, fixed. The second is a fixed wire driven by an ever stronger device: it shrinks as 1/W1/W and never turns around. RnfetR_{nfet} isn’t given, so write it through τinv=3Rnfetkgate\tau_{inv} = 3R_{nfet}k_{gate}.

  1. One stage, with Rnfet=τinv/(3kgate)R_{nfet} = \tau_{inv}/(3k_{gate}): RnfetW(3Wkgate+Cx)=τinv 3Wkgate+Cx3Wkgate\dfrac{R_{nfet}}{W}(3Wk_{gate} + C_x) = \tau_{inv}\,\dfrac{3Wk_{gate} + C_x}{3Wk_{gate}}, since τinv=3Rnfetkgate\tau_{inv} = 3R_{nfet}k_{gate}.
  2. Four stages: D=4τinv(1+Cx3Wkgate)=100 ps(1+Cx6W)D = 4\tau_{inv}\left(1 + \dfrac{C_x}{3Wk_{gate}}\right) = 100\,\mathrm{ps}\left(1 + \dfrac{C_x}{6W}\right) with CxC_x in fF and WW in µm.
  3. Which W. Because only the wire term depends on WW, and it falls every time WW grows, the delay falls monotonically: it is smallest for W→∞W \to \infty, where it approaches 100 ps. For example Cx=6C_x = 6 fF and W=1 μmW = 1\,\mu\mathrm{m} give 200 ps: the wire equals the gates’ load and doubles the delay.

Check. Cx=0C_x = 0 gives back (a)‘s 100 ps for every WW. ✓ And as W→0W \to 0 the delay grows without bound, because ever weaker devices drive a fixed wire.

Answer: D=4τinv(3Wkgate+Cx)/(3Wkgate)D = 4\tau_{inv}(3Wk_{gate} + C_x)/(3Wk_{gate}); minimized by W→∞W \to \infty.

Remember. With a fixed load and nothing else fixed, delay alone wants infinitely wide inverters, and the floor is NτinvN\tau_{inv}. A finite best width needs a cost on width, such as the energy in (d).

The answer key agrees

MT17-4c: energy of one transition

MT17-4c, p9 (10 points). What energy is dissipated by a single transition through this chain, as a function of W and CxC_x? Ignore leakage, crowbar current and the source at A; consider only dynamic charging energy.

Hint
One input edge: how many of the four nodes rise, and what does each one carry?

What it asks. The energy of one input edge, as a formula in WW and CxC_x, counting only the charging of the nodes. “A single transition” decides the count, as in MT21-4b: half of the nodes rise.

The idea. A rising node draws CVDD2CV_{DD}^2 from the supply, half stored and half burnt in the PFET; a falling node draws nothing and burns its stored half in the NFET (Chapter 6, Section 6). So count the rising nodes and charge each one CnodeVDD2C_{node}V_{DD}^2, with this question’s node, 3Wkgate+Cx3Wk_{gate} + C_x.

  1. One node. C=Cx+3WkgateC = C_x + 3Wk_{gate}, from the intro: the next inverter’s input plus the wire.
  2. Which nodes rise. One input edge makes two nodes rise and two fall: nodes 2 and 4 when A rises, 1 and 3 when it falls.
  3. Price them. The rising pair draws 2CVDD22CV_{DD}^2 from the supply; counting dissipation instead gives the same 4×12CVDD24 \times \tfrac12 CV_{DD}^2, because as many nodes fall as rise.
  4. Put in the numbers. With VDD=1 VV_{DD} = 1\,\mathrm{V} and kgate=2 fF/μmk_{gate} = 2\,\mathrm{fF/\mu m}: E=2(Cx+3Wkgate)×1 V2=2(Cx+6W)E = 2(C_x + 3Wk_{gate}) \times 1\,\mathrm{V^2} = 2(C_x + 6W) fJ.

Check. Units: fF × V² = fJ. ✓ And the trap: per cycle every node would rise once, 4(Cx+6W)4(C_x + 6W) fJ, twice as much. The question says “a single transition”.

Answer: E=2(Cx+3Wkgate)VDD2=2(Cx+6W)E = 2(C_x + 3Wk_{gate})V_{DD}^2 = 2(C_x + 6W) fJ, with CxC_x in fF and WW in µm.

Remember. “Per transition” is one input edge: half of the nodes rise, 12CtotalVDD2\tfrac12 C_{total}V_{DD}^2.

The answer key agrees

It writes J, with the capacitances in farads.

MT17-4d: the width that minimizes energy × delay

MT17-4d, p9 (10 points). Find the W that minimizes the product of the energy in (c) and the delay in (b).

Hint
Multiply (c) by (b) and call the gates’ own load xx. As xx grows, which part of the product grows and which shrinks?

What it asks. The width that makes (c)‘s energy × (b)‘s delay smallest. The answer is a formula in CxC_x, because the wire is a symbol.

The idea. The same optimum as MT24-2d. The energy grows with the gate load 3Wkgate3Wk_{gate}; the delay falls with WW because the fixed wire matters less. Their product is smallest where the gates’ own load equals the fixed load. Two differences change nothing: the fixed load is a wire, and the energy is per transition. Per transition is half of per cycle, a constant factor: it scales the product but doesn’t move its minimum.

  1. Multiply (c) by (b): E⋅D=2(3Wkgate+Cx)VDD2×4τinv3Wkgate+Cx3Wkgate=8τinvVDD2 (3Wkgate+Cx)23WkgateE \cdot D = 2(3Wk_{gate} + C_x)V_{DD}^2 \times 4\tau_{inv}\dfrac{3Wk_{gate} + C_x}{3Wk_{gate}} = 8\tau_{inv}V_{DD}^2\,\dfrac{(3Wk_{gate} + C_x)^2}{3Wk_{gate}}.
  2. Name the gates’ load. Write x=3Wkgatex = 3Wk_{gate}, the gates’ own load, and drop the constant 8τinvVDD28\tau_{inv}V_{DD}^2: minimize (x+Cx)2x=x+2Cx+Cx2x\dfrac{(x + C_x)^2}{x} = x + 2C_x + \dfrac{C_x^2}{x}.
  3. Balance the two terms added. xx grows and Cx2/xC_x^2/x shrinks; their sum is smallest where they are equal, x=Cx2/xx = C_x^2/x, so x=Cxx = C_x. The derivative agrees: 2(x+Cx)x−(x+Cx)2x2=(x+Cx)(x−Cx)x2=0\dfrac{2(x + C_x)x - (x + C_x)^2}{x^2} = \dfrac{(x + C_x)(x - C_x)}{x^2} = 0.
  4. Back to W. x=Cxx = C_x: 3Wkgate=Cx3Wk_{gate} = C_x, so W=Cx/(3kgate)=Cx/(6 fF/μm)W = C_x/(3k_{gate}) = C_x/(6\,\mathrm{fF/\mu m}).
  5. The numbers there. Each node is 2Cx2C_x, so each stage takes 2τinv2\tau_{inv}, as in MT24-2d: the delay is 8τinv=200 ps8\tau_{inv} = 200\,\mathrm{ps} and the energy 4CxVDD24C_xV_{DD}^2.

Check. Put x=Cxx = C_x into (b): D=4τinv(1+Cx/Cx)=8τinvD = 4\tau_{inv}(1 + C_x/C_x) = 8\tau_{inv}. ✓ And into (c): 2(Cx+Cx)VDD2=4CxVDD22(C_x + C_x)V_{DD}^2 = 4C_xV_{DD}^2. ✓

Answer: Cx=3WkgateC_x = 3Wk_{gate}, that is W=Cx/(6 fF/μm)W = C_x/(6\,\mathrm{fF/\mu m}).

Remember. The third time the same result: make the gate load equal to the fixed load (MT24-2d, MT23-1d, MT17-4d). At that width every stage takes 2τinv2\tau_{inv}.

The answer key agrees

How to approach a noise-margin question

Noise-margin questions are explanation questions. They show an inverter’s voltage transfer curve (VTC: the output voltage against the input voltage) and ask how much DC noise a node can take, or which way the curve and the margins move when the inverter changes. They carry real points (MT24-1 was 40 of 200) but almost no arithmetic: the points are for the reasoning.

The one idea behind every part. A gate amplifies noise only where its VTC is steep. Mark the two points where the slope is −1 (Chapter 6, Section 4):

  • between them the gain is larger than 1 in size: a disturbance at the input comes out larger at the output, and down a chain it grows until a logic value flips;
  • outside them the gain is smaller than 1: a disturbance comes out smaller, and the chain cleans it up.

The upper point is (VIL,VOH)(V_{IL}, V_{OH}) and the lower one (VIH,VOL)(V_{IH}, V_{OL}). So an input is safely low up to VILV_{IL} and safely high down to VIHV_{IH}.

The moves.

  1. Where does the node sit before its noise? That depends on whether the node before it is noisy too: at VOLV_{OL} or VOHV_{OH} if every node is noisy, at the rail if only this one is (MT24-1a and b).
  2. Where does the next gate start to amplify? At VILV_{IL} for a low node, at VIHV_{IH} for a high node.
  3. The margin is the distance between the two. With noise everywhere, NML=VIL−VOLNM_L = V_{IL} - V_{OL} and NMH=VOH−VIHNM_H = V_{OH} - V_{IH}.
  4. “How does the curve change?” Decide first whether the change moves the curve sideways (the PFET’s strength against the NFET’s) or changes its steepness (the gain). Then say which of the four points move and which way; the margins follow from step 3.

Traps. Pairing VILV_{IL} with VOHV_{OH} in a margin: they are the same point, but a margin compares one gate’s output with the next gate’s input, so NMLNM_L pairs VILV_{IL} with VOLV_{OL}. Using the switching point (where Vout=VinV_{out} = V_{in}) as the limit instead of the −1 points. Giving firm directions for VOHV_{OH} and VOLV_{OL}, which sit on the flat ends and barely move. Thinking that fanout changes a DC margin (MT17-1a).

5. MT24-1: noise on every node or on one node

A falling VTC from V_DD to 0 with the two slope −1 points marked; V_OH and V_OL on the V_out axis and V_IL and V_IH on the V_in axis; handwritten construction lines and a mirrored curve added by the key.
MT24-1, p2: the question’s VTC (the faint mirrored curve and construction lines are handwritten on the key).
A chain of seven inverters.
MT24-1a, p2: the inverter chain (source figure).

MT24-1, p2 (Fall 2024, 40 points). The VTC of a CMOS inverter, with VOHV_{OH}, VILV_{IL}, VOLV_{OL} and VIHV_{IH} defined by the points where the slope is −1.

The tools are all in Chapter 6, Sections 4–5. The numbers below come from Chapter 6’s illustrative inverter (5 V, VT=±1 VV_T = \pm1\,\mathrm{V}, square law, equal strengths); the exam wants the reasoning, not numbers.

MT24-1a: noise on every node

MT24-1a, p2 (10 points). If DC noise is present on every logic node in the chain, what is the maximum DC noise a low node can tolerate (raising it), and a high node (lowering it)?

Hint
If every node is noisy, the node before this one is noisy too. Where does that leave this node before its own noise is added?

What it asks. A chain of inverters with DC noise on every node, each as large as it can be without breaking the chain. How far can the noise raise a low node, and lower a high node? The words “every logic node” decide the answer: the input of each inverter is itself degraded.

The idea. Picture the lecture’s chain, with a DC noise source between every pair of inverters (Chapter 6, Section 4). With the largest noise everywhere, every inverter is pushed exactly to the edge of amplifying: its input sits at one of the −1 points, and so does its output. The noise on a node may then move it from where its driver leaves it to where the next inverter starts to amplify, and no further.

Noise on every node

  1. Where a low node starts. Its driver has a high input. With the largest noise, that input has been pulled down from VOHV_{OH} to VIHV_{IH}, the lowest input still read as high, and at VIHV_{IH} the VTC gives the output VOLV_{OL}. So the low node already sits at VOLV_{OL}, not at 0 V.
  2. Where it must stop. The next inverter starts to amplify when its input rises to VILV_{IL}. So the noise can add at most VIL−VOL=NMLV_{IL} - V_{OL} = NM_L.
  3. A high node, the same way. Its driver’s input has been pushed up to VILV_{IL}, so it starts at VOHV_{OH}, below VDDV_{DD}. The next inverter amplifies once its input falls to VIHV_{IH}. The noise can take away at most VOH−VIH=NMHV_{OH} - V_{IH} = NM_H.
  4. In Chapter 6’s inverter. NML=2.046−0.374=1.672 VNM_L = 2.046 - 0.374 = 1.672\,\mathrm{V} and NMH=4.626−2.954=1.672 VNM_H = 4.626 - 2.954 = 1.672\,\mathrm{V}: equal, because that inverter is symmetric.

Check. The answer has to hold all along the chain, and it does. A low node pushed up to VILV_{IL} drives the next inverter to VOHV_{OH} (the upper −1 point), which is exactly where step 3 starts the next, high node; that one, pushed down to VIHV_{IH}, drives the one after it to VOLV_{OL}, where step 1 starts. Every inverter sits at a −1 point, alternating, as the lecture draws it.

Answer: a low node can take NML=VIL−VOLNM_L = V_{IL} - V_{OL} (raising it); a high node NMH=VOH−VIHNM_H = V_{OH} - V_{IH} (lowering it).

Remember. A noise margin is the distance from where the node sits to where the next gate starts to amplify. With noise everywhere, the node starts at VOLV_{OL} or VOHV_{OH}, not at the rail.

The answer key agrees

MT24-1b: noise on one node

MT24-1b, p3 (10 points). If DC noise is present only at a single node, what is the maximum DC noise it can tolerate when low, and when high?

Hint
Only this node is noisy, so the inverter driving it has a clean input. Where is that inverter’s output?

What it asks. The same two numbers, but now only one node in the chain is noisy.

The idea. The rule of (a) still holds: the margin runs from where the node sits to where the next gate starts to amplify. Only the starting point changes. The driving inverter now has a clean input, at 0 V or VDDV_{DD}, so its output is at the opposite rail: a static CMOS output reaches the rail when its input is clean (Chapter 6, Section 5).

Noise on one node

  1. A low node starts at 0 V, and the next inverter amplifies at VILV_{IL}: the noise can raise it by up to VILV_{IL}.
  2. A high node starts at VDDV_{DD}, and the next inverter amplifies at VIHV_{IH}: the noise can lower it by up to VDD−VIHV_{DD} - V_{IH}.
  3. In Chapter 6’s inverter. 2.046 V for a low node, and 5−2.954=2.046 V5 - 2.954 = 2.046\,\mathrm{V} for a high one.

Check. Each is larger than in (a) by exactly the head start that the clean driver gives: VOL=0.374V_{OL} = 0.374 V on the low side (2.046−1.6722.046 - 1.672) and VDD−VOH=0.374V_{DD} - V_{OH} = 0.374 V on the high side. That is why the lecture calls the every-node margins “extremely conservative”.

Answer: a low node can take VILV_{IL}; a high node VDD−VIHV_{DD} - V_{IH}.

Remember. Same rule, different starting point: a clean driver leaves the node at the rail, so a single noisy node can take more than the textbook margin.

The answer key agrees

MT24-1c: a stronger PFET

MT24-1c, p3 (10 points). If the pFET is made stronger relative to the nFET, how does the VTC change? What happens to VOHV_{OH}, VILV_{IL}, VOLV_{OL}, VIHV_{IH} and the values in (a)?

Hint
The output switches where the NFET’s current matches the PFET’s. How high must the input go for that, once the PFET is stronger?

What it asks. Make the PFET stronger relative to the NFET (wider, for example). How does the VTC change, which way do the four voltages move, and what happens to the two margins of (a)?

The idea. This change moves the curve sideways; it doesn’t change how steep it is. The output switches where the NFET’s pull-down current matches the PFET’s pull-up current. Make the PFET stronger, and the NFET needs a higher input before it can match it: the switching point, and the whole steep part with it, moves right (Chapter 6, Section 4). Read the four points off the moved curve, then apply the margin formulas.

A stronger PFET

  1. The steep part moves right, and both −1 points move with it: VILV_{IL} and VIHV_{IH} increase.
  2. The flat ends barely move. VOHV_{OH} and VOLV_{OL} sit on the nearly flat parts close to the rails, so they change little.
  3. The margins follow. NML=VIL−VOLNM_L = V_{IL} - V_{OL} increases, because its first term rose. NMH=VOH−VIHNM_H = V_{OH} - V_{IH} decreases, because the term it subtracts rose.
  4. In Chapter 6’s inverter, with the PFET twice as strong. VILV_{IL} 2.046 → 2.389 V and VIHV_{IH} 2.954 → 3.282 V, while VOHV_{OH} 4.626 → 4.587 V and VOLV_{OL} 0.374 → 0.294 V. So NMLNM_L 1.672 → 2.094 V and NMHNM_H 1.672 → 1.305 V.

Check. In words: a strong PFET holds the output high against a rising input for longer, so a low input can take more noise (NMLNM_L up). The same strength makes a high input harder to act on: it has to rise further before the NFET wins (NMHNM_H down). And “barely move” is fair: VILV_{IL} and VIHV_{IH} move by more than 0.3 V, VOHV_{OH} and VOLV_{OL} by less than 0.1 V.

Answer: the curve shifts right; VILV_{IL} and VIHV_{IH} rise, VOHV_{OH} and VOLV_{OL} stay about the same; NMLNM_L grows and NMHNM_H shrinks.

Remember. Changing the strength ratio slides the curve, and trades one margin for the other. MT17-2 asks the same thing with three drawn curves (Section 6).

The answer key agrees

It says that VOHV_{OH} and VOLV_{OL} “stay the same”. That is an approximation: in Chapter 6’s model VOLV_{OL} falls by 0.08 V, small next to the 0.3 V moves of VILV_{IL} and VIHV_{IH}.

MT24-1d: a lower gain

MT24-1d, p3 (10 points). If the maximum small-signal gain of the inverter decreases with technology scaling, what effect does that have on VOHV_{OH}, VILV_{IL}, VOLV_{OL}, VIHV_{IH} and the values in (a)?

Hint
The output still has to fall from near VDDV_{DD} to near 0. If the middle of the curve is less steep, over how wide a range of inputs does that fall happen?

What it asks. As technology scales, an inverter’s largest small-signal gain (the steepest slope of its VTC) falls. What happens to the four voltages and to the margins of (a)?

The idea. This change makes the curve less steep instead of moving it sideways. The output still has to fall from near VDDV_{DD} to near 0. With a gentler middle, that fall is spread over a wider range of inputs, so the band where the slope is steeper than −1, between the two −1 points, gets wider on both sides.

A lower gain

  1. The −1 points spread apart. VILV_{IL} decreases and VIHV_{IH} increases.
  2. Both margins shrink. NML=VIL−VOLNM_L = V_{IL} - V_{OL} loses through its first term and NMH=VOH−VIHNM_H = V_{OH} - V_{IH} through its second, as long as VOLV_{OL} and VOHV_{OH} stay put. The band where noise is amplified has grown on both sides.
  3. In Chapter 6’s inverter. Raising the output slope λ from 0.05 to 0.2 V⁻¹ lowers the peak gain from 30 to 10: VILV_{IL} 2.046 → 1.885 V, VIHV_{IH} 2.954 → 3.115 V, and both margins 1.672 → 1.521 V.
  4. VOHV_{OH} and VOLV_{OL} move little, and which way depends on the model. The key’s sketch draws a curve that is shallower everywhere, rounding off sooner at both ends; on that curve VOHV_{OH} falls and VOLV_{OL} rises. In Chapter 6’s square-law model they move by about 0.01 V the other way (4.626 → 4.636 V, 0.374 → 0.364 V).

Check. With the numbers of step 3, the band between the −1 points widens from 0.908 V to 1.230 V, and each margin loses about 0.15 V. The margins’ directions don’t depend on which curve you draw; only those of VOHV_{OH} and VOLV_{OL} do.

Answer: VILV_{IL} down, VIHV_{IH} up, NMLNM_L and NMHNM_H both down. For VOHV_{OH} and VOLV_{OL}, give the key’s picture (a curve that sags at both ends: VOHV_{OH} down, VOLV_{OL} up, each worth 2 points in its rubric), and say that it is your sketch’s assumption and that the change is small.

Remember. A sideways move (the strength ratio) trades one margin for the other; a flatter curve (a lower gain) costs both.

The answer key differs

It gives VOHV_{OH} decreasing and VOLV_{OL} increasing as firm directions, worth 2 points each. They depend on how the lower-gain curve is drawn (step 4); the margins’ directions are firm either way.

6. MT17-2: three transfer curves

An inverter with W_p and W_n, and three VTCs from 2.5 V to 0 switching at three different inputs; handwritten labels name the left curve 1 µm/1 µm, the middle 2 µm/1 µm and the right 4 µm/1 µm.
MT17-2, p4. The source figure; the three handwritten labels are the key’s answer.

MT17-2, p4 (Fall 2017, 16 points). Three VTCs correspond to Wp/WnW_p/W_n = 4 µm/1 µm, 2 µm/1 µm and 1 µm/1 µm. Label the curves and explain. Which gives the largest NMHNM_H? Explain.

Hint
As the input rises, the NFET has to out-pull the PFET before the output can fall. For which inverter must the input rise furthest?

What it asks. Three VTCs, drawn with the same shape but switching at three different inputs, belong to three inverters that differ only in the PFET’s width. Match each curve to its sizing and say why; then say which inverter has the largest NMHNM_H, and why. It is MT24-1c with three drawn curves; the moves are in How to approach a noise-margin question.

The idea. Changing Wp/WnW_p/W_n changes the strength ratio, and that moves the curve sideways without changing its steepness. The output switches where the NFET’s pull-down current matches the PFET’s pull-up current. A wider PFET pulls up harder, so the NFET needs a higher input before it can match it: the switching point and the whole steep part move right (Chapter 6, Section 4). The margin then follows from where the −1 points sit: NMH=VOH−VIHNM_H = V_{OH} - V_{IH}, the distance from the high output to the lowest input still read as high.

  1. Order by strength. The wider the PFET, the stronger its pull-up, and the higher the input must go before the NFET can pull the output down. So the switching point moves right as WpW_p grows.
  2. Label the curves. From left to right: 1/1, 2/1, 4/1.
  3. Read NM_H off each curve. NMH=VOH−VIHNM_H = V_{OH} - V_{IH}. VOHV_{OH} sits on the flat top, close to 2.5 V on all three curves. VIHV_{IH}, the lower −1 point, moves with the steep part, so it is smallest on the left-most curve.
  4. Pick the largest. So the 1 µm/1 µm inverter has the largest NMHNM_H. It pays with the smallest NMLNM_L: a weak PFET lets a low input that is pushed up start pulling the output down sooner (the trade-off of MT24-1c, in reverse).
  5. Illustration in Chapter 6’s model (5 V; PFET half as strong per µm, so the three are 0.5×, 1× and 2× the NFET’s strength): NMHNM_H = 2.094, 1.672 and 1.305 V.

Check. Against MT24-1c: there, doubling the PFET’s strength took NMHNM_H from 1.672 to 1.305 V. Here 4/1 is twice as strong as 2/1, and the illustration gives the same two numbers, in the same direction. ✓

Answer: left 1/1, middle 2/1, right 4/1; the largest NMHNM_H is the 1/1 inverter’s, because it has the lowest VIHV_{IH}.

Remember. Label VTCs by their switching point: the stronger the PFET, the further right. A weak PFET favours NMHNM_H, a strong one NMLNM_L.

The answer key agrees

How to approach a gate-delay question

Recognize it by the picture: one gate, an inverter or a NAND, with every transistor labelled with its width, driving a fixed capacitor, and the words “estimate the delays as multiples of the fanout-of-one delay τinv\tau_{inv}”. It asks for both edges (input rising to output falling, and the reverse), and, for a stacked gate, how another input’s delay compares. It has appeared once, MT17-3a, b and d, for 24 points. The same conversion is the first move of every path-sizing question (M4’s approach).

The moves, in order.

  1. Read the strength convention. It sets the unit. Equal strengths: the balanced inverter is W/W and τinv=2RCg\tau_{inv} = 2RC_g. Rpfet=2RnfetR_{pfet} = 2R_{nfet}: it is 2W/W and τinv=3RnfetCg\tau_{inv} = 3R_{nfet}C_g.
  2. Convert the load to µm of gate: CL/CgC_L/C_g.
  3. For each edge, find the conducting path. Output falling: the pull-down NFETs that are on. Output rising: the pull-up PFETs that are on. Then find the path’s effective width WeffW_{eff}.
  4. Divide. The delay is (R/Weff) CL(R/W_{eff})\,C_L; divide it by τinv\tau_{inv}. With equal strengths that is CL/Cg2Weff τinv\dfrac{C_L/C_g}{2W_{eff}}\,\tau_{inv}.
  5. “How does another input compare?” Argue it from the stack’s internal nodes. The model can’t compute it.

Why these formulas.

  • The delay model. The conducting transistor acts as a resistor R/WR/W that charges or discharges the load, so a stage takes (R/W) CL(R/W)\,C_L (Chapter 7, Section 1).
  • The unit. τinv\tau_{inv} is the balanced inverter driving its own copy. With equal strengths that is (R/W)(2W Cg)=2RCg(R/W)(2W\,C_g) = 2RC_g: the width cancels (Chapter 7, Section 7). So a delay in units of τinv\tau_{inv} is the load in µm of gate divided by 2Weff2W_{eff}, the input of a W/W inverter as strong as the path: how many such inverters the load is worth.
  • The stack rule. Transistors in series add their resistances, so nn devices of width WW in series act as one of width W/nW/n, and in general Weff=1/∑(1/Wi)W_{eff} = 1/\sum(1/W_i). Of devices in parallel, only those that are on count; when a single input switches, that is one (Chapter 7, Section 8).
  • The bottom of a stack. A device low in a stack must first discharge the internal nodes above it, so it is slower than the model says; the lecture puts the penalty at roughly the square of the stack height (Chapter 8, Section 10).

Decisions to make on the way. Which convention the question states (MT17-3 puts “same strength” in bold italics). Which network carries each edge. Which devices are on for the stated inputs.

Traps. Using 3RnfetCg3R_{nfet}C_g when the question says equal strengths. Counting all the parallel PFETs when only one input switches. Forgetting that a stack of nn acts as 1/n1/n of the width. Trying to compute the bottom-input penalty instead of explaining it.

7. MT17-3: gate delays in units of the FO1 delay

MT17-3, p5 (Fall 2017). Estimate the delays as multiples of the fanout-of-one delay τinv\tau_{inv}. Assume that the nFET and pFET have the same strength. Handwritten on the exam: assume 2 fF/µm of gate capacitance.

Set up once. Every part divides a delay by τinv\tau_{inv}, so put both in the same terms first.

  • The unit. The question says the two devices have the same strength: an NFET and a PFET of the same width drive the same current. So the balanced inverter is W/W, and its fan-out-of-one delay is τinv=RW(2W Cg)=2RCg\tau_{inv} = \dfrac{R}{W}(2W\,C_g) = 2RC_g (Chapter 7, Section 7).
  • The load. 50 fF at 2 fF/µm is 25 µm of gate.
  • The ratio. A device (or stack) of effective width WeffW_{eff} driving the load takes (R/Weff)(25 μm) Cg(R/W_{eff})(25\,\mu\mathrm{m})\,C_g. Dividing by τinv=2RCg\tau_{inv} = 2RC_g, the unknown RR and CgC_g cancel:
RWeff (25 μm) Cg=252Weff τinv\frac{R}{W_{eff}}\,(25\,\mu\mathrm{m})\,C_g = \frac{25}{2W_{eff}}\,\tau_{inv}

with WeffW_{eff} in µm. In words: the load in µm of gate over 2Weff2W_{eff}, the input of a W/W inverter as strong as the path.

MT17-3a and b: two inverters

Inverter with a 2 µm PFET and a 1 µm NFET, input A, output Y loaded by 50 fF.
MT17-3a, p5.
Inverter with an 8 µm PFET and a 1 µm NFET, input A, output Y loaded by 50 fF.
MT17-3b, p5.

MT17-3a, p5 (8 points). Calculate the A-rising-to-Y-falling and A-falling-to-Y-rising delays of the inverter with a 2 µm PFET and a 1 µm NFET driving 50 fF.

MT17-3b, p5 (8 points). The same with an 8 µm PFET.

Hint
For each edge, which one transistor carries the current, and how wide is it?

What it asks. For each inverter, two delays in units of τinv\tau_{inv}: A rising to Y falling, where the NFET discharges the 50 fF, and A falling to Y rising, where the PFET charges it. The two circuits differ only in the PFET’s width, 2 µm in (a) and 8 µm in (b). The bold italics of the question, “the same strength”, decide the unit.

The idea. Each edge has its own conducting path, here a single transistor: the one that is on while the other is off. Its delay is the set-up’s 252Weff τinv\dfrac{25}{2W_{eff}}\,\tau_{inv} with WeffW_{eff} its width. With equal strengths a PFET counts like an NFET of the same width, so no factor of 2 enters. The tempting slip is the lectures’ default convention, Rpfet=2RnfetR_{pfet} = 2R_{nfet} with τinv=3RnfetCg\tau_{inv} = 3R_{nfet}C_g, as in Chapter 7’s check: the answers would differ. Read which convention the question states.

  1. Y falling, both circuits. A rises, so the NFET turns on and the PFET off; the 1 µm NFET discharges the load: 252×1τinv=12.5τinv\dfrac{25}{2 \times 1}\tau_{inv} = 12.5\tau_{inv}, in both circuits.
  2. (a) Y rising. A falls, so the PFET turns on; with equal strengths the 2 µm PFET drives like a 2 µm NFET: 252×2τinv=6.25τinv\dfrac{25}{2 \times 2}\tau_{inv} = 6.25\tau_{inv}.
  3. (b) Y rising. The same, through the 8 µm PFET: 252×8τinv=1.5625≈1.56τinv\dfrac{25}{2 \times 8}\tau_{inv} = 1.5625 \approx 1.56\tau_{inv}.
  4. Why (b)‘s falling delay doesn’t change. The PFET is off while Y falls, so its width doesn’t help, and with a fixed 50 fF load it adds nothing to Y. (Its larger gate loads A, which is the previous stage’s concern.)

Check. The rising delay goes as 1/Wp1/W_p: the 8 µm PFET is 4 times the 2 µm one, and 6.25/4=1.56256.25/4 = 1.5625. ✓ Note also that under equal strengths (a)‘s 2/1 inverter is not balanced: it rises twice as fast as it falls.

Answers: (a) 12.5 τinv\tau_{inv} falling, 6.25 τinv\tau_{inv} rising; (b) 12.5 τinv\tau_{inv} falling, 1.56 τinv\tau_{inv} rising.

Remember. One edge, one conducting path. With equal strengths the delay in τinv\tau_{inv} is the load in µm of gate divided by twice the path’s width. Read the strength convention before you write τinv\tau_{inv}.

The answer key differs

It gives 6.75 τinv\tau_{inv} for (a)‘s rising delay, although its own fraction is 25/4=6.2525/4 = 6.25: a slip. Its other numbers agree.

MT17-3d: a four-input NAND

A four-input NAND: four 4 µm PFETs in parallel from V_dd to Y with gates A, B, C, D, and four 4 µm NFETs in series from Y to ground, A at the top and D at the bottom; Y loaded by 50 fF.
MT17-3d, p7 (source figure).

MT17-3d, p7 (8 points). Calculate the delays from A rising to Y falling and A falling to Y rising, with B = C = D = 1. How will the delay from D rising to Y falling (with A = B = C = 1) compare with the A-rising delay? Explain.

Hint
For Y to fall, which NFETs must conduct, and how does a stack of four in series compare with one transistor?

What it asks. The NAND4’s two delays when A switches with B = C = D = 1, in units of τinv\tau_{inv}, and then a comparison: is D rising (with A = B = C = 1) faster or slower than A rising? “Explain” means the comparison is argued, not computed.

The idea. Two rules from the chapters set the widths. In series, resistances add, so four 4 µm NFETs act like one of 4/4=14/4 = 1 µm (Chapter 7, Section 8). In parallel, only the devices that are on count: with B, C and D high, their PFETs are off, and only A’s pulls up. The comparison needs a third idea, the internal nodes between the stacked NFETs (Chapter 8, Section 10). The delay model ignores their capacitance, so it gives every input the same 12.5 τinv\tau_{inv}; the difference has to be argued from what those nodes hold before the input switches.

  1. Y falling: the whole stack. A rises with B, C and D already on, so all four 4 µm NFETs conduct in series. Their resistances add, 4×R/4=R4 \times R/4 = R, so they act like one device a quarter as wide: Weff=4/4=1 μmW_{eff} = 4/4 = 1\,\mu\mathrm{m}, and 252×1τinv=12.5τinv\dfrac{25}{2 \times 1}\tau_{inv} = 12.5\tau_{inv}.
  2. Y rising: one PFET. A falls; B, C and D are high, so their PFETs are off and only A’s 4 µm PFET turns on: 252×4τinv=3.125τinv\dfrac{25}{2 \times 4}\tau_{inv} = 3.125\tau_{inv}.
  3. What D finds when it rises. Before the edge A, B and C are on and D is off. So the three internal nodes above D are connected through A, B and C to Y, which is high, and they charge to about VDD−VTV_{DD} - V_T: an NFET stops passing charge once its gate is only VTV_T above its source.
  4. Why that is slower. When D turns on it must discharge those three nodes, as well as Y, through the same stack before Y can fall. More charge through the same current takes longer: D rising is slower.
  5. Why A is the fast case. When A switches last, B, C and D have been on, so the nodes below A are already at ground and only Y moves. That is the case the model describes, and the lecture says the penalty for a lower input grows about as the square of the stack height.

Check. The stack’s pull-down equals (a)‘s 1 µm NFET, and so does its falling delay, 12.5 τinv\tau_{inv}: four series devices are sized four times as wide to keep one device’s strength. ✓

Answers: 12.5 τinv\tau_{inv} falling and 3.125 τinv\tau_{inv} rising; the D input is slower, because it must first discharge the internal nodes of the stack.

Remember. Series widths combine as 1/∑(1/Wi)1/\sum(1/W_i); of parallel devices, only the one that switches counts. The input at the bottom of a stack is the slowest, so a late-arriving signal goes to the input nearest the output.

The answer key agrees

How to approach a device short-answer question

Recognize it by its size: one device or one inverter, few numbers or none, and a request to calculate or explain one thing. The exams’ phrases: “calculate the fanout-of-four delay as a function of the transit time and η\eta”, “is there static DC current? Think carefully about the complete structure of the devices”, “what is IDI_D at VGS=0V_{GS} = 0 at 300 K? At 400 K?”. MT21-2 carried 25 points and MT17-1b–c 16. (MT17-1a, fanout and the noise margin, belongs to the noise-margin family.)

The moves, in order.

  1. Name the physics the question tests: a delay (charge over current), a junction (which way it is biased), or subthreshold leakage (decades below threshold).
  2. Draw what matters. For a delay, the node and every capacitance on it. For a junction, the device’s cross-section: which p and n regions touch, and at what voltages. For leakage, how far the gate is below threshold.
  3. Write the one relation, with its conditions.
  4. Put in the numbers or the symbols, keep the units, and say in one sentence what the result means.

Why these formulas.

  • Charge over current. A node of capacitance CC at VDDV_{DD} holds the charge VDDCV_{DD}C, and a saturated transistor removes it at the current IDSATI_{DSAT}, so the delay is t≈VDDC/IDSATt \approx V_{DD}C/I_{DSAT}. With a velocity-saturated current and VDD≫VTV_{DD} \gg V_T, one device’s VDDCg/IDSATV_{DD}C_g/I_{DSAT} is L/vsatL/v_{sat}, the transit time τtr\tau_{tr} (Chapter 5, Section 11).
  • Junctions. A MOSFET’s source and drain form p–n junctions with its body. Tying the n well to VDDV_{DD} and the p substrate to ground keeps every one of them reverse-biased; a body tied anywhere else can forward-bias one, and a forward-biased junction conducts heavily (Chapter 5, Section 8).
  • Subthreshold current. Below threshold the current falls one decade for every SS millivolts below VTV_T, and S=m (kT/q)ln⁡10S = m\,(kT/q)\ln 10 is proportional to the absolute temperature added (Chapter 4, Section 11).

Decisions to make on the way. The strength convention (a W/W inverter gives a factor 2, a 2W/W one a factor 3). Which rail each body is tied to. What the question holds fixed when the temperature changes (MT17-1c keeps VTV_T and the current at threshold).

Traps. Taking FO4 as four times FO1: only the gate load grows with the fanout, not the driver’s drains. Reading the transistor symbol instead of the structure. Keeping 60 mV/decade at 400 K.

8. MT21-2: FO4 from the transit time

Hand sketch: an inverter whose PFET and NFET are both labelled R, driving an inverter labelled 4x.
MT21-2, p4: the key’s sketch (the question has no figure).

MT21-2, p4 (Fall 2021, 25 points). Calculate the fanout-of-four delay as a function of the transit time τtr\tau_{tr} and η=Cg/Cd\eta = C_g/C_d. Assume the pFET has exactly the same drive current as an nFET of the same size.

Hint
The delay is the charge on the output node divided by the current that removes it. Which capacitances sit on that node when the inverter drives four copies of itself?

What it asks. The fan-out-of-four delay, an inverter driving four copies of itself, as a formula in the transit time τtr\tau_{tr} and η=Cg/Cd\eta = C_g/C_d, the ratio of a device’s gate capacitance to its drain capacitance. “Exactly the same drive current as an nFET of the same size” decides the sizing: the inverter is W/W, not the lecture’s 2W/W.

The idea. Delay is charge over current. The output node at VDDV_{DD} holds the charge VDDCnodeV_{DD}C_{node}, and the one transistor that switches removes it at its saturated current IDSATI_{DSAT}, so t≈VDDCnode/IDSATt \approx V_{DD}C_{node}/I_{DSAT} (Chapter 5, Section 11). For one device with a velocity-saturated current, IDSAT=WCoxvsat(VDD−VT)I_{DSAT} = WC_{ox}v_{sat}(V_{DD} - V_T), and with VDD≫VTV_{DD} \gg V_T the ratio VDDCg/IDSATV_{DD}C_g/I_{DSAT} becomes L/vsat=τtrL/v_{sat} = \tau_{tr}: WW and CoxC_{ox} cancel. So the whole question is to count the capacitance on the node in units of CgC_g. Count what hangs on the driver’s output node: the input gates of the four loads, and the driver’s own drains, since both of its transistors connect their drains to that node. Each load’s drains sit on the next node, which this delay doesn’t charge, so they are not counted. The tempting slip is FO4 = 4 × FO1, which counts four drivers’ drains.

FO4 of a W/W inverter

  1. The sizes. Equal currents mean the PFET needs no extra width, so the inverter is W/W: its input is Cg+Cg=2CgC_g + C_g = 2C_g and its own drains are Cd+Cd=2CdC_d + C_d = 2C_d (Chapter 5, Section 12, with a WW PFET instead of 2W2W).
  2. Charge over current. t=VDD Cnode/IDSATt = V_{DD}\,C_{node}/I_{DSAT}, and VDDCg/IDSAT=τtrV_{DD}C_g/I_{DSAT} = \tau_{tr} for one device. On either edge one device of width WW does the work (the NFET falling, the PFET rising, with the same current), so this IDSATI_{DSAT} is the right one.
  3. FO1 first, as a reference. One load: VDD(2Cg+2Cd)IDSAT=2τtr(1+1η)\dfrac{V_{DD}(2C_g + 2C_d)}{I_{DSAT}} = 2\tau_{tr}\left(1 + \dfrac{1}{\eta}\right), using Cd=Cg/ηC_d = C_g/\eta.
  4. FO4. Four loads’ gates but one driver’s drains: VDD(8Cg+2Cd)IDSAT=2τtr(4+1η)\dfrac{V_{DD}(8C_g + 2C_d)}{I_{DSAT}} = 2\tau_{tr}\left(4 + \dfrac{1}{\eta}\right).

Check. Against Chapter 5, Section 13: FO4/FO1=(4η+1)/(η+1)\mathrm{FO4}/\mathrm{FO1} = (4\eta + 1)/(\eta + 1), the same ratio as for the 2W/W inverter; only the factor 3 becomes 2. For scale: τtr=2.5 ps\tau_{tr} = 2.5\,\mathrm{ps} and η=2\eta = 2 give FO1 = 7.5 ps and FO4 = 22.5 ps, three times FO1, not four.

Answer: FO4=2τtr(4+1η)\mathrm{FO4} = 2\tau_{tr}\left(4 + \dfrac{1}{\eta}\right).

Remember. Count the loads’ gates times the fanout, and the driver’s drains once. The strength convention sets the factor: 2 for W/W, 3 for 2W/W.

The answer key agrees

9. MT17-1: short answers (fanout, a grounded well, leakage and temperature)

MT17-1a: fanout and the static noise margin

MT17-1a, p2 (8 points). What effect does fanout have on the static DC noise margin of a CMOS gate? Explain.

Hint
The margins are read off the DC transfer curve. Does a capacitor on the output change where the output settles?

What it asks. Whether driving more gates (a larger fanout) changes a gate’s static DC noise margins, and why. The words “static DC” decide it: the margins belong to the settled, DC behaviour. This is a noise-margin question; its moves are in How to approach a noise-margin question.

The idea. The margins come from the two −1 points of the VTC (Chapter 6, Section 4), and the VTC is the settled output for each input: the output voltage at which the PFET’s current equals the NFET’s. Anything that doesn’t change that balance doesn’t change the margins. A CMOS input is a gate on an oxide, a capacitor, and at DC a capacitor carries no current.

  1. What sets the margins. The static DC margins come from the DC transfer curve: where the settled output lies for each input (Chapter 6, Section 5).
  2. What fanout adds. More gates on the output. Each is a capacitor: a CMOS gate input draws no DC current, and a capacitor carries none once it has charged.
  3. So the balance is unchanged. With no DC current into the loads, the output still settles where the pull-up current equals the pull-down current, for any input. The VTC, VILV_{IL}, VIHV_{IH}, VOHV_{OH}, VOLV_{OL} and both margins are unchanged.
  4. What fanout does change. The capacitance to charge, so it only slows the switching.

Check. The limiting case: with a huge fanout the output takes a very long time to settle, but it settles at the same voltage. Speed and level are separate.

Answer: none; the margins are a DC property, and capacitive loading carries no DC current.

Remember. A DC margin comes from the DC curve. A capacitive load changes the timing, never the curve.

The answer key agrees

MT17-1b: a well tied to ground

An inverter driven by V_in, output V_out on a capacitor; both the PFET's and the NFET's body terminals are drawn to ground; the PFET's source is at V_DD.
MT17-1b, p2 (source figure): the PFET’s body (its n well) goes to ground.

MT17-1b, p2 (8 points). The n well of the pFET is tied to ground. VDD=2.5 VV_{DD} = 2.5\,\mathrm{V} and Vin=0V_{in} = 0. Is there static DC current? Explain. Hint: think carefully about the complete structure of the devices.

Hint
The PFET’s source is a p+p^+ region inside its n well. With the source at VDDV_{DD} and the well at ground, which way is that junction biased?

What it asks. An inverter whose PFET has its n well (its body) tied to ground instead of VDDV_{DD}, with Vin=0V_{in} = 0: does a DC current flow, and why? The exam’s hint, “the complete structure of the devices”, says to look past the transistor symbol to the junctions inside it.

The idea. A MOSFET is also a set of p–n junctions: its source and its drain each form one with the body. The usual ties, the n well to VDDV_{DD} and the p substrate to ground, are chosen so that every one of those junctions stays reverse-biased, whatever the circuit does (Chapter 5, Section 8). Tie a body anywhere else and you have to check each junction. A junction whose p side is well above its n side is forward-biased, and a forward-biased junction conducts heavily. That is the whole argument: the transistor’s on or off state doesn’t enter.

  1. Look at the structure, not the symbol. The PFET’s source and drain are p+p^+ regions inside the n well, and the well reaches ground through its n+n^+ well contact.
  2. Bias the source junction. The source is at VDD=2.5 VV_{DD} = 2.5\,\mathrm{V} and the well at 0 V: the p side is 2.5 V above the n side, so that p+p^+/n junction is forward-biased by 2.5 V.
  3. Follow the current. A forward-biased junction conducts heavily, so current flows from VDDV_{DD} through the source junction into the well and out of the well contact to ground. It never passes through the channel, so it flows whatever the transistors do.
  4. The drain as well. With Vin=0V_{in} = 0 the PFET is on and pulls the output up toward VDDV_{DD}, so the drain junction, in the same grounded well, is forward-biased too.

Check. Put the well back at VDDV_{DD}: the source junction then has 0 V across it and the drain junction is reverse-biased (the output can’t rise above VDDV_{DD}), so no current flows. Only the tie changed, so the tie causes the current.

Answer: yes, a large static current through the forward-biased source junction (and the drain’s).

Remember. The n well goes to the highest voltage and the p substrate to the lowest. When a question ties a body anywhere else, check every source and drain junction for forward bias. The Fall 2026 instructor calls this kind of circuit “a classic exam problem that I often give” (Fall 2026 Lecture 4, 30:09).

The answer key agrees

It names only the source junction; the drain junction, in the same well, is forward-biased too.

MT17-1c: subthreshold current at two temperatures

MT17-1c, p3 (8 points). If ID=10 μAI_D = 10\,\mu\mathrm{A} at VGS=VT=1 VV_{GS} = V_T = 1\,\mathrm{V} for an nFET, what is IDI_D at VGS=0V_{GS} = 0 at 300 K, with a 60 mV/decade subthreshold slope? What is it at 400 K?

Hint
How many decades below threshold is VGS=0V_{GS} = 0 at each temperature, given that the subthreshold slope is proportional to TT?

What it asks. The current of an off NFET (VGS=0V_{GS} = 0, a full volt below its threshold) at 300 K, with a 60 mV/decade slope, and again at 400 K. The words “at 400 K” carry the points: the slope changes with temperature. The problem keeps VTV_T and the 10 µA at threshold fixed.

The idea. Below threshold the current falls by one decade for every SS millivolts that the gate is below VTV_T, ID=I(VT)⋅10−(VT−VGS)/SI_D = I(V_T)\cdot10^{-(V_T - V_{GS})/S}, as in MT24-2b (Chapter 4, Section 11). The slope is S=m (kT/q)ln⁡10S = m\,(kT/q)\ln 10: carriers cross the barrier by thermal energy, so it is proportional to the absolute temperature added. A hotter device needs more millivolts per decade, so the same 1 V below threshold buys fewer decades of turn-off. Scaling the slope with TT is the step the exam tests.

  1. Decades at 300 K. 1000 mV below threshold at 60 mV per decade is 1000/60=16.71000/60 = 16.7 decades.
  2. The current at 300 K. ID=10 μA×10−16.67=10−5×2.15×10−17=2.15×10−22 AI_D = 10\,\mu\mathrm{A} \times 10^{-16.67} = 10^{-5} \times 2.15\times10^{-17} = 2.15\times10^{-22}\,\mathrm{A}.
  3. The slope at 400 K. Because SS is proportional to the absolute temperature added, at 400 K it is 60×400/300=80 mV/decade60 \times 400/300 = 80\,\mathrm{mV/decade}.
  4. Decades and current at 400 K. Now 1000/80=12.51000/80 = 12.5 decades: ID=10−5×10−12.5=3.16×10−18 AI_D = 10^{-5} \times 10^{-12.5} = 3.16\times10^{-18}\,\mathrm{A}.
  5. Compare. The leakage grows by 1016.67−12.5=1.47×10410^{16.67 - 12.5} = 1.47\times10^4: four decades from a third more temperature.

Check. The 300 K slope is the ideal one (m=1m = 1, about 60 mV/decade), as it should be at room temperature. And the size of the effect: the number of decades falls by only a quarter (12.5/16.7=0.7512.5/16.7 = 0.75), but the current is an exponential of that number, so a quarter of 16.7 decades is four decades of current.

Answer: 2.15×10−222.15\times10^{-22} A at 300 K and 3.16×10−183.16\times10^{-18} A at 400 K.

Remember. Leakage is counted in decades below threshold, and the slope grows in proportion to the absolute temperature. A modest temperature rise costs orders of magnitude of leakage.

The answer key agrees

Patterns

Inverter chain (every midterm, 23–25% of the points; the approach).

  • Moves: the node capacitance first (both gates of the next input plus the fixed load); the strengths; energy = rising nodes × CnodeVDD2C_{node}V_{DD}^2; leakage = VDDIoff×V_{DD}I_{off}\times off width × time; delay N(R/W)CnodeN(R/W)C_{node}; the optimum where the growing and shrinking parts balance.
  • Results that come back: energy × delay is least where the gates’ load equals the fixed load; delay alone has no finite optimum; the best PFET ratio is Rpfet/Rnfet\sqrt{R_{pfet}/R_{nfet}}; WW cancels from the leakage share.
  • Traps: per cycle against per transition; the off width in a 2W/W inverter (1.5W on average); nA, not pA; TcycleT_{cycle} left in.
  • Time: about 15–20 minutes for the full 34–50 points.

Noise margins (MT24-1, MT17-2, MT17-1a; the approach).

  • Moves: where the node sits before its noise (VOLV_{OL}/VOHV_{OH} if every node is noisy, the rail if one is); where the next gate starts to amplify (VILV_{IL}, VIHV_{IH}); the margin is the distance; for a change, sideways (strength) or flatter (gain).
  • Traps: pairing VILV_{IL} with VOHV_{OH} in a margin; firm directions for VOHV_{OH} and VOLV_{OL}; thinking fanout changes a DC margin.
  • Time: explanation questions. Two or three sentences and a sketch per part, about 3 minutes each.

Gate delays in τ_inv (MT17-3; the approach).

  • Moves: the strength convention (τinv=2RCg\tau_{inv} = 2RC_g or 3RnfetCg3R_{nfet}C_g); the load in µm of gate; the conducting path and its effective width for each edge; divide.
  • Traps: 3RnfetCg3R_{nfet}C_g under equal strengths; all the parallel PFETs counted; a stack of nn not taken as 1/n1/n of the width; computing the bottom-input penalty instead of explaining it.
  • Time: one division per delay, a few minutes per part; spend the rest on the stack explanation.

Device short answers (MT21-2, MT17-1b–c; the approach).

  • Moves: name the physics; draw the node, the cross-section or the decades; one relation with its conditions.
  • Delay is charge over current: loads’ gates times the fanout, the driver’s drains once; factor 2 for W/W, 3 for 2W/W.
  • A body tied to the wrong rail forward-biases a junction: large static current. The subthreshold slope scales with the absolute temperature added; count decades.
  • Traps: FO4 = 4 × FO1; reading the symbol instead of the structure; 60 mV/decade at 400 K. Time: a few minutes each, most of it on the explanation.

What the keys get wrong

Re-solving every part found these disagreements; all are recorded in this page’s review/decisions.md.

PartThe keyHere
MT17-3a6.75 τinv\tau_{inv} rising25/4=6.25 τinv25/4 = 6.25\,\tau_{inv}
MT23-1b60 pA/µm, 108 WTN108\,WTN pJ60 nA/µm, 108 NWT108\,NWT nJ (TT in s)
MT23-1cdynamic energy N2(4.32W+5.76)\tfrac N2(4.32W + 5.76) fJ (one transition), TT left in, pA carried overper-cycle energy from (a), TT = chain delay: 7.5×10−5N/(1+7.5×10−5N)7.5\times10^{-5}N/(1 + 7.5\times10^{-5}N)
MT24-1cVOHV_{OH}, VOLV_{OL} “stay the same”about the same (they move by under 0.1 V in Chapter 6’s model)
MT24-1dVOHV_{OH} decreases, VOLV_{OL} increasesdepends on how the lower-gain curve is drawn; the margins’ directions are firm

Every other part (MT17-1a–c, MT17-2, MT17-3b, d, MT17-4a–d, MT21-2, MT21-4a–c, MT23-1a, d, MT24-1a–b, MT24-2a–e) agrees with its key after re-solving.