The CMOS Inverter: VTC, Noise Margins, Delay & Power

The inverter is the atom of digital CMOS. Learn its operation, the voltage-transfer characteristic (VTC), switching threshold and PMOS/NMOS sizing, noise margins, propagation delay from R·C, rise/fall times, fan-out, and the three kinds of power — dynamic, short-circuit and leakage. Every other gate is analysed the same way.

A CMOS inverter is just one PMOS (pull-up to VDD) and one NMOS (pull-down to ground) with joined gates and joined drains. When the input is low the PMOS conducts and the output is VDD; when high, the NMOS conducts and the output is 0. In either steady state one transistor is off, so almost no current flows — the reason CMOS won.

Delay, power and noise immunity of billions of gates follow from the same few equations you learn here: the switching threshold, the RC time constant of the driving transistor and the load, and αCV²f.

An analogy

Picture a seesaw with a spring to the ceiling (PMOS) and a spring to the floor (NMOS). The input decides which spring is engaged. If both springs are equally strong, the seesaw flips exactly at the midpoint; make one stronger and the flip point shifts.

How it switches

Input 0: NMOS off, PMOS on → output pulled to VDD. Input 1: PMOS off, NMOS on → output pulled to 0. The output is a full rail-to-rail swing (V_OH = VDD, V_OL = 0) and there is no static path from VDD to ground.

VTC, V_M and noise margins

Sweeping V_in traces an S-shaped curve. V_M is where it crosses V_out = V_in. V_IL and V_IH are the points where the slope is −1; inputs between them are 'undefined'. Noise margins tell you how much noise a signal can pick up and still be read correctly. Equal-strength devices (PMOS ≈ 2–3× wider, since holes are slower) put V_M near VDD/2 and balance the margins.

Delay

Switching charges or discharges C_L through the on-transistor, like an RC circuit: t_p ≈ 0.69·R·C. To go faster: reduce C_L (smaller fan-out, shorter wires), reduce R (wider transistors, higher VDD), or both. Wider transistors also load the previous stage — the trade-off logical effort optimises.

Power components

Dynamic power αCV²f dominates in active logic — quadratic in V_DD, which is why voltage scaling is so effective. Short-circuit power flows briefly while both transistors conduct during slow input edges (keep rise times comparable to output). Leakage (subthreshold, gate, junction) flows all the time and grows as V_t shrinks — managed with multi-V_t libraries and power gating.

Formulas

Worked example: Switching threshold

Given: V_DD = 1.2 V, V_tn = |V_tp| = 0.4 V, k_p = k_n

Find: V_M.

Answer: V_M = 0.6 V = V_DD/2

Worked example: Propagation delay

Given: R_eff = 5 kΩ, C_L = 10 fF

Find: t_p.

Answer: 34.5 ps

Worked example: Dynamic power

Given: Chip: switched C = 1 nF total, α = 0.1, V_DD = 1.0 V, f = 1 GHz

Find: P_dyn.

Answer: 0.1 W

SPICE: transient and DC analysis of an inverter

* CMOS inverter characterisation
.include models.lib
VDD vdd 0 DC 1.0
VIN in  0 PULSE(0 1.0 100p 20p 20p 480p 1n)
MP  out in vdd vdd pmos W=0.4u L=50n     ; ~2x wider than NMOS
MN  out in 0   0   nmos W=0.2u L=50n
CL  out 0 5f                             ; fan-out + wire load

.dc  VIN 0 1.0 0.005                     ; voltage-transfer characteristic
.tran 1p 2n                              ; delay measurement
.measure tran tpHL TRIG V(in) VAL=0.5 RISE=1 TARG V(out) VAL=0.5 FALL=1
.measure tran tpLH TRIG V(in) VAL=0.5 FALL=1 TARG V(out) VAL=0.5 RISE=1
.end

The .dc sweep gives the VTC (V_M and noise margins); the .measure statements report propagation delays directly. This is how standard-cell libraries are characterised — thousands of such runs per cell.

Common mistakes

Applications

Key takeaways

Going further