3.2.6 · D1CMOS Circuit Design

Foundations — Noise margins (NMH, NML)

1,827 words8 min readBack to topic

This page builds every symbol the parent note leans on, starting from "what is a voltage?" and ending at the four letters . Nothing is assumed. If the parent uses it, we earn it here first.


0. Voltage — the height of a signal

The ceiling and floor have names:

Figure — Noise margins (NMH, NML)

Look at the figure: the vertical bar is our ruler. A "1" wants to sit near the top rail; a "0" near the floor. The whole story of noise margins is about how much wiggle room a dot has before we can no longer tell which half it belongs to.

Why the topic needs it: noise margins are measured in volts. Without a ruler and two rails there is nothing to measure a cushion against.


1. Logic levels are RANGES, not points

Here is the single most important shift in thinking.

Figure — Noise margins (NMH, NML)

Look at the figure: the ruler is split into three coloured bands.

  • The top mint band = "definitely a 1".
  • The bottom lavender band = "definitely a 0".
  • The coral band in the middle = the forbidden / undefined region — voltages here are neither a clean 1 nor a clean 0.

Why the topic needs it: the noise margin is literally the width of the safe bands. If logic values were single points, there would be no cushion and no margin to speak of.


2. Input side vs Output side — the letters I and O

Two gates in a row: gate A drives, gate B receives. A voltage is an output at A and an input at B — the same wire, two viewpoints.

Why the topic needs it: the parent's mistake box warns "you must cross a gate boundary." That boundary is exactly the jump from an voltage on one gate to an threshold on the next.


3. Subscript H (high) vs L (low) — the four voltages

Combine each of with each of and you get the four numbers the whole topic runs on.

Figure — Noise margins (NMH, NML)

Look at the figure: four horizontal ticks on the ruler.

  • Near the top: (driver's high promise) sits above (receiver's high demand). The green gap between them is .
  • Near the bottom: (receiver's low demand) sits above (driver's low promise). The green gap between them is .

Notice the pattern that guarantees positive cushions:

Why the topic needs it: these four numbers are the topic. Every formula, every worked example, plugs into these four.


4. The VTC — where these four come from

The four voltages are not invented; they are read off a curve called the Voltage Transfer Characteristic.

Figure — Noise margins (NMH, NML)

The curve is built in detail in CMOS Inverter VTC. Here we only need to know two features of it.

4a. Slope — how steep the curve is

Why the minus sign? An inverter turns high into low, so raising the input lowers the output — the curve slopes downward, giving a negative slope everywhere.

4b. The slope points define and

Why does the parent insist are the points where slope ? Because that is the exact boundary between shrinking noise and growing noise.

  • Where : a small input wiggle produces an even smaller output wiggle → noise dies as it passes through the gate.
  • Where : a small wiggle produces a bigger one → noise grows (amplified).
  • Where : the gate breaks even — the crossover line.

Look at figure s04: the two coral dots mark where the tangent line has slope . Drop a vertical line from each dot to the input axis → those landing points are (left) and (right). Read the output at those same points → and .

The reason near the middle restores clean levels is developed in Static Gain and Regenerative Property.

Why the topic needs it: without the VTC and its slope, the four voltages would be arbitrary. The slope rule derives them from the transistor physics.


5. Minimum, and why "both must be positive"


Prerequisite map

Voltage on a wire

Supply rails VDD and ground

Logic levels are ranges not points

Input side I vs Output side O

High H vs Low L bands

Four voltages VOH VOL VIH VIL

VTC curve Vout of Vin

Slope dVout over dVin

Slope minus one unity gain points

Noise margins NMH and NML


Equipment checklist

Test yourself — you should be able to answer each before moving to the derivation page.

What does a voltage represent on our vertical ruler?
The height of a signal, in volts, between the ground floor and the ceiling.
What are the two supply rails?
(top rail, highest available voltage) and V ground (floor).
Why are logic "0" and "1" ranges rather than exact numbers?
Real drivers and receivers cannot hit an exact voltage, so each logic value is a band of voltages with a forbidden gap between them.
What does subscript mean vs subscript ?
= output voltage a gate produces (a promise); = input threshold a gate requires (a demand).
What does subscript mean vs subscript ?
= the HIGH (near-top-rail) case; = the LOW (near-floor) case.
Name the four critical voltages.
(output high), (output low), (input high threshold), (input low threshold).
What ordering makes the margins positive?
and .
What is the VTC?
The graph showing the output voltage for every input voltage of the gate.
What does measure, and why is it negative here?
The slope (steepness) of the VTC; negative because an inverter lowers the output as the input rises.
Why are and taken at slope ?
They mark the boundary between the gate attenuating noise () and amplifying it ().
What does tell you?
The overall robustness — the weaker of the two cushions limits the gate.

Connections

  • Noise margins (NMH, NML) — the parent this page prepares you for.
  • CMOS Inverter VTC — the full derivation of the curve these four voltages come from.
  • Static Gain and Regenerative Property — why near the middle restores clean levels.
  • Fan-out and Loading — how loading degrades .
  • Power Supply Scaling — how shrinking shrinks the bands.
  • Static Noise Margin (SRAM butterfly curve) — the same cushion idea inside a bit-cell.
  • 🇮🇳 Yeh note Hinglish mein padho →