Module 13 · 12 min read · Free chapter
CMOS design basics: inverter sizing, delay, power, scaling and logic styles
The PMOS is made 2–3 times wider than the NMOS because holes are slower, putting the switching threshold at V_DD/2. Gate delay is about 0.69 R C_L and grows with fan-out. Dynamic power is αCV²f, so voltage matters most. NMOS passes a weak 1, transmission gates pass both levels, and domino logic is fast but non-inverting.
Start from zero: designing with CMOS
Almost every digital chip today, from a smartphone processor to a car controller, is built in CMOS, using NMOS and PMOS transistors in complementary pairs. A modern processor packs tens of billions of them.
The basics were met in the MOS capacitor and MOSFET and combinational circuits and CMOS logic: static CMOS gates, the inverter's transfer curve and noise margins. This chapter is about designing with them: how to size transistors, how fast a gate switches, where the power goes, what happens as transistors shrink, and other logic styles beyond static CMOS.
India's Semiconductor Mission is funding chip design and fabrication, and design centres in Bengaluru, Hyderabad and Noida already employ a large share of the world's chip designers.
Why it matters. Inverter sizing, delay and power numericals, transmission gates and domino logic are asked in ESE and other engineering papers; ESE 2024 asked a domino-logic design.
Sizing the CMOS inverter
In saturation, a MOSFET's drain current is
so the current drive depends on mobility and the width-to-length ratio .
The inverter's switching threshold is the input at which output equals input; both transistors are then in saturation with equal currents. Solving gives
Electrons are about 2–3 times more mobile than holes, so with equal sizes the NMOS is stronger, , and sits below . Making the PMOS 2–3 times wider equalises and , giving and, when the thresholds match, . This gives equal noise margins and equal rise and fall times.
Designers sometimes skew deliberately, for example to make a gate react earlier to a rising input.
Worked example. With V, V and equal-sized transistors with : , so V. Widening the PMOS 2.5 times gives and V.
Why it matters. calculations and the reason PMOS devices are made wider are standard CMOS questions.
Gate delay and fan-out
When a gate switches, its output node must charge or discharge the load capacitance : the gate capacitances of the inputs it drives (its fan-out), the wiring and its own drain capacitance. A conducting transistor behaves roughly like a resistor , so the output follows an RC curve. The propagation delay, from 50% of the input swing to 50% of the output swing, is
The high-to-low delay depends on the NMOS resistance and the low-to-high delay on the PMOS resistance; the average is .
Delay can be reduced in several ways:
- Wider transistors lower , but present more input capacitance to the previous stage.
- Lower fan-out or shorter wires reduce .
- Higher supply voltage gives more drive current, but raises power.
- For a large load such as a long bus or an output pad, a chain of inverters, each a few times larger than the last (about 3–4 times is near optimum), drives it faster than one inverter could.
In series stacks, resistances add. A NAND with series NMOS transistors has times the pull-down resistance unless they are widened, which is why NAND gates are preferred to NOR gates in CMOS: NOR puts the slow PMOS devices in series.
Worked example. An inverter with kΩ drives 20 fF. Then ps. Doubling the fan-out to 40 fF doubles the delay to about 276 ps.
Why it matters. RC delay, the effect of fan-out and the preference for NAND over NOR are common questions.
Power and scaling
A CMOS gate draws almost no current when its inputs are steady, which is why CMOS replaced earlier logic families. Power has three parts.
Dynamic power is used to charge and discharge load capacitances. Each full charge–discharge cycle draws energy from the supply, so for a clock frequency and an activity factor , the fraction of cycles in which a node switches,
The square law makes the supply voltage the most powerful lever: halving cuts dynamic power to a quarter.
Short-circuit power flows during the brief time when both transistors are on as the input crosses the middle; it is kept small with sharp input edges.
Static (leakage) power comes from sub-threshold current, gate-oxide tunnelling and junction leakage. In modern nanometre processes it can be a third or more of total power, so idle blocks are switched off (power gating) and high-threshold transistors are used where speed is not critical.
Other techniques are clock gating (stopping the clock to idle blocks, cutting ) and dynamic voltage and frequency scaling, which lowers and when full speed is not needed.
Chips improved for decades through scaling. Under constant-field (Dennard) scaling by a factor :
| Quantity | Scales by |
|---|---|
| Dimensions , , and voltage | |
| Gate capacitance and delay | |
| Power per gate | |
| Gates per unit area | |
| Power density | constant |
Around 2005 threshold and supply voltages could no longer fall without leakage rising sharply. Voltage scaling stalled, power density rose, clock speeds levelled off near a few gigahertz, and designers moved to multi-core chips and new transistor shapes such as FinFETs.
Worked example. A block with total switched capacitance 2 nF, , V and GHz uses W. At 0.8 V the same block uses W.
Why it matters. Dynamic power, the dependence and Dennard scaling rules are frequent numericals and short-answer questions.
Pass transistors and transmission gates
A MOSFET can be used as a simple switch between two nodes rather than as part of a pull-up or pull-down network. This is pass-transistor logic.
An NMOS switch passes a strong 0: it can pull its output all the way to ground. But when passing a 1, it turns off once its output rises to within of its gate voltage, so the output reaches only , a weak 1. A PMOS switch does the opposite: strong 1, weak 0 (stuck at ). A weak level wastes noise margin and can leave the next gate's transistors partly on, drawing static current.
A transmission gate (TG) places an NMOS and a PMOS in parallel, driven by complementary signals and . When both conduct: the NMOS handles the low end and the PMOS the high end, so the TG passes both levels fully. When both are off and the TG isolates the nodes.
Transmission gates build compact circuits:
- A 2-to-1 multiplexer needs just two TGs, one passing when and the other passing when , instead of a dozen transistors in static CMOS.
- An XOR gate can be built with a few TGs.
- Latches and flip-flops use TGs to connect a storage loop or break it on alternate clock phases.
Long chains of TGs are slow because their resistances and capacitances add, so buffers are inserted every few stages.
Why it matters. Weak and strong levels of pass transistors and the TG multiplexer are standard questions; this is the full treatment promised in the CMOS logic chapter.
Dynamic and domino logic, layout and latch-up
A static CMOS gate with inputs needs transistors. Dynamic logic needs only : an NMOS logic network, a clocked PMOS precharge transistor on top and a clocked NMOS evaluate (foot) transistor at the bottom.
- In the precharge phase (clock low), the PMOS charges the output node high, and the foot transistor is off.
- In the evaluate phase (clock high), the PMOS turns off and the foot turns on. If the NMOS network conducts for the present inputs, the output discharges to 0; otherwise it stays high, held only by its capacitance.
Dynamic gates are fast and small, but the stored charge can be lost. Charge sharing with internal nodes, leakage and noise can corrupt the output, so a weak keeper PMOS is often added. Dynamic outputs also cannot directly drive another dynamic gate, because during precharge the first output is high and would wrongly discharge the next stage at the start of evaluation.
Domino logic solves the cascading problem by placing a static inverter after each dynamic stage. During precharge all domino outputs are low; during evaluation they can only rise, once, like a row of falling dominoes, so each stage evaluates safely after the one before. The price is that each domino stage gives only non-inverting functions, AND and OR forms, so inverted signals must be generated separately, for example by dual-rail logic.
A domino 4-to-1 multiplexer, as asked in ESE 2024, uses four parallel NMOS branches between the dynamic node and the foot. Each branch has two series transistors: one driven by a data input and one by a decoded select line (, , , ). Precharge sets the node high; in evaluation only the selected branch can conduct, and if its data is 1 the node falls and the output inverter gives .
At the layout level, chips follow λ-based design rules that set minimum widths, spacings and overlaps in units of λ, about half the minimum feature size, so a design can move between processes. Stick diagrams sketch the arrangement of transistors and wires before full layout.
Bulk CMOS has a hidden p-n-p-n structure formed by the PMOS source, n-well, p-substrate and NMOS source. A noise spike can trigger it like a thyristor, shorting to ground until power is removed. This latch-up is prevented by guard rings, frequent well and substrate contacts, epitaxial wafers and silicon-on-insulator processes.
Why it matters. Precharge and evaluate, why domino needs an inverter, charge sharing and latch-up are standard ESE questions, and domino designs appear as descriptive problems.
Descriptive lens
Written papers ask about this topic in four ways:
- Derive the inverter switching threshold and explain transistor sizing.
- Explain and calculate propagation delay and dynamic power, and discuss scaling.
- Compare static CMOS, pass-transistor, transmission-gate and dynamic logic.
- Design a function in domino or transmission-gate logic and explain its timing.
Practice questions (our own, not previous-year questions).
- Derive the switching threshold of a CMOS inverter. Why is the PMOS usually made wider than the NMOS? (12 marks)
- Explain the components of power dissipation in CMOS. A chip has 1 nF of switched capacitance, activity factor 0.2, supply 1.2 V and clock 2 GHz; find its dynamic power. (10 marks)
- Explain the precharge and evaluate phases of dynamic logic. Why is an inverter needed in domino logic, and what limitation does it bring? (10 marks)
Answer plan for question 2.
- Name dynamic, short-circuit and leakage power and what causes each.
- W.
- Note that lowering to 1 V cuts this to 0.4 W.
- Mention clock gating, power gating and voltage–frequency scaling as remedies.
Quick revision
- , ; PMOS 2–3 times wider for .
- Delay ; grows with fan-out; NAND preferred over NOR.
- Dynamic power ; also short-circuit and leakage power.
- Dennard scaling by : delay , power per gate , density , power density constant.
- NMOS pass: strong 0, weak 1; PMOS pass: strong 1, weak 0; TG passes both.
- TG 2-to-1 multiplexer needs only two TGs.
- Dynamic logic: transistors, precharge then evaluate; charge sharing, leakage, keeper.
- Domino: dynamic stage plus inverter, cascadable, non-inverting only.
- λ design rules, stick diagrams; latch-up prevented by guard rings and SOI.