3.2.6 · D4CMOS Circuit Design

Exercises — Noise margins (NMH, NML)

2,605 words12 min readBack to topic

Before we start, the two facts everything rests on — copy them onto scrap paper:

Here is the picture we will keep pointing back to — the "voltage stack" that shows where the two cushions live:

Figure — Noise margins (NMH, NML)

Level 1 — Recognition

L1.1

Given the labels V, V. Which formula gives the HIGH noise margin, and what is its value?

Recall Solution

WHAT: we need . WHY that formula: a HIGH travels driver→receiver; the driver sits at least at and the receiver needs at least , so the room for noise is the drop from ceiling to floor. On the stack (figure s01) this is the blue gap. Positive → valid.

L1.2

Given V, V. Write the LOW noise margin formula and compute it.

Recall Solution

WHY this order: a LOW is threatened by noise pushing it up, so the limit is (the larger number) and the start is . Pink gap on the stack. Positive → valid.

L1.3

True or false: overall robustness of a gate is .

Recall Solution

False. Robustness is , not the sum. WHY: a chain fails at its weakest link. If the LOW cushion is tiny, a big HIGH cushion cannot save you — noise that flips a 0 still breaks the logic. So the gate is only as safe as its smaller margin.


Level 2 — Application

L2.1

A logic family specifies V, V, V, V. Compute , , and the robustness.

Recall Solution

Robustness — the LOW side is weaker, so this gate tolerates only V of noise in the worst case. Both positive → valid logic.

L2.2

An ideal symmetric CMOS inverter runs at V with rail-to-rail output ( V, V) and a sharp threshold, so V. Find both margins.

Recall Solution

Both equal V. This balanced pair is why CMOS dominates — rail-to-rail swing plus a centred threshold. See CMOS Inverter VTC for where the V threshold comes from.

L2.3

Same family as L2.1 but the supply noise erodes the driver's high output to V (everything else unchanged). New ? Did robustness change?

Recall Solution

is untouched: still V. Robustness unchanged, because the weak link was already the LOW side. The HIGH degradation hurt but not yet enough to become the worst case. (See Fan-out and Loading for what erodes .)


Level 3 — Analysis

L3.1

A designer weakens the PMOS, moving the switching threshold down to V while keeping rails at V, V. Using the sharp-VTC approximation , predict before computing which margin grows and which shrinks. Then compute.

Recall Solution

Predict: lowering lowers both input thresholds. has its ceiling drop → shrinks. has the subtracted term drop → grows. Compute (): Confirmed. Robustness V — worse than the balanced V. Skew trades one margin for the other; it never gives both for free.

L3.2

Refer to the tilt diagram below. It shows the symmetric case and the PMOS-weakened case side by side.

Figure — Noise margins (NMH, NML)

Using the figure, explain in one sentence why the minimum margin can only stay equal or get worse when you skew away from symmetry.

Recall Solution

As slides off-centre, one cushion opens and the other closes by the same amount (the threshold moves the same distance from both rails combined). The smaller cushion is what reads, and moving off-centre can only make the smaller one smaller — so is maximised exactly at symmetry (). This is the design rule: centre the threshold to maximise the worst-case margin.

L3.3

A gate has V and V. A neighbouring aggressor wire couples a downward noise spike of V onto a HIGH line and, separately at another time, an upward spike of V onto a LOW line. Which event (if any) causes a logic failure?

Recall Solution

A HIGH survives downward noise up to V. The V downward spike V → HIGH survives. A LOW survives upward noise up to V. The V upward spike V → LOW fails: the level is pushed above into the forbidden region and may be misread as a 1. Only the LOW event breaks the logic.


Level 4 — Synthesis

L4.1

Two supplies are compared. Assume ideal symmetric CMOS: , , threshold at . Compute robustness at V and at V. Express the ratio and comment (link to Power Supply Scaling).

Recall Solution

At : both margins V → robustness V. At : both margins V → robustness V. Ratio . Comment: absolute noise margin scales linearly with ; halving the supply halves the cushion. Since coupled noise does not shrink as fast, low- chips are inherently more fragile — the core worry of supply scaling.

L4.2

A driver feeds a receiver from a different logic family. Driver guarantees V, V. Receiver demands V, V. Are the two families compatible (both margins positive)? Compute both.

Recall Solution

The margin formulas span the gate boundary, so we mix the driver's outputs with the receiver's inputs directly: Both positive → the families are compatible, with a balanced V of tolerance on each side.

L4.3

A gate has V. Loading (fan-out) raises the driver's low output from V to V while V stays fixed. What is the new , and how much LOW-side headroom was consumed by loading?

Recall Solution

New margin: Headroom consumed V — exactly the V rise in (from to ). WHY it maps 1:1: depends on with a coefficient of , so every millivolt climbs eats one millivolt of LOW margin. This is precisely how Fan-out and Loading erodes robustness.


Level 5 — Mastery

L5.1

Prove that for the sharp-VTC symmetric model (, , ), the robustness is maximised at , and state the maximum.

Recall Solution

Set up: (a decreasing line in ) and (an increasing line). of the two. Where do they cross? Set them equal: . Why the crossing is the max: for , the smaller line is , which rises as increases → push up. For , the smaller line is , which falls as increases → push down. Both pressures point to the crossing. So the peaks exactly where the two lines meet. Maximum value: . This is the analytic backbone of "symmetric design maximises the minimum margin." The two-line picture is figure s03 below.

Figure — Noise margins (NMH, NML)

L5.2

Design task. You must ship a gate with robustness V at V, rail-to-rail (, ). Using the sharp symmetric model, what range of satisfies the spec?

Recall Solution

Need , i.e. both: So V. The centre V gives the best margin ( V); anywhere in still meets the V spec. (Compare against the SRAM-cell version of this reasoning in Static Noise Margin (SRAM butterfly curve).)

L5.3

Synthesis + physics. The reason the slope points define is that between them the inverter has (gain magnitude above unity), which regenerates levels. A weak inverter with peak gain (never exceeds 1) is proposed. Explain what happens to the noise margins and whether valid logic is possible.

Recall Solution

If the VTC slope magnitude never reaches , there are no points → and are not well-defined by the usual rule; the "valid" HIGH and LOW regions never fully separate. WHY it fails: with everywhere, the gate attenuates the swing instead of restoring it, so noise is never fully rejected and levels degrade down the chain. Effectively the margins collapse (they can go to zero or negative), and reliable digital logic is impossible. This is exactly the Static Gain and Regenerative Property: you need somewhere to snap a noisy input back to a clean rail. The points, and hence the margins, only exist because the gain crosses unity.


Wrap-up recall

Recall One-line answers to the whole ladder

L1: pick the right formula (H with H, L with L), robustness is not . L2: , ; symmetric CMOS gives each. L3: skew trades margins, lowering the ; noise fails whichever cushion it exceeds. L4: formulas cross the gate boundary (mixed families fine); margins scale with ; loading eats 1:1 with . L5: peaks at giving ; you need for margins to exist at all.


Connections

  • Noise margins (NMH, NML) (index 3.2.6) — the parent theory these drills exercise.
  • CMOS Inverter VTC — origin of .
  • Static Gain and Regenerative Property — why is required (L5.3).
  • Fan-out and Loading — erodes (L2.3, L4.3).
  • Power Supply Scaling — margins scale with (L4.1).
  • Static Noise Margin (SRAM butterfly curve) — same -of-two-cushions idea in bit-cells.
Robustness of a gate is the sum or the min of the two margins?
The — a chain fails at its weakest link.
For mismatched families, does the margin formula change?
No — ; just use each family's own levels.
At what is worst-case margin maximised (symmetric model)?
, giving robustness .
If rises by V, how much is lost?
Exactly V — falls 1:1 with .
Can a gate with peak gain give valid logic?
No — without there are no points, levels are not regenerated, margins collapse.