Electronics and Communication Engineering‹›⌂ 0:00 studied

Module 13 · 12 min read · Free chapter

CMOS design basics: inverter sizing, delay, power, scaling and logic styles

In short

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.

See it in 3DA CMOS inverter switching, inside the silicon. Turn it, cut it open, or just press Watch.
What are you preparing for? We show the practice and previous year questions of your exam.

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

ID=k2(VGS−VT)2,k=μCoxWLI_D = \frac{k}{2}(V_{GS} - V_T)^2, \qquad k = \mu C_{ox}\frac{W}{L}

so the current drive depends on mobility μ\mu and the width-to-length ratio WL\dfrac{W}{L}.

The inverter's switching threshold VMV_M is the input at which output equals input; both transistors are then in saturation with equal currents. Solving gives

VM=VTn+r(VDD−∣VTp∣)1+r,r=kpknV_M = \frac{V_{Tn} + r\left(V_{DD} - \lvert V_{Tp}\rvert\right)}{1 + r}, \qquad r = \sqrt{\frac{k_p}{k_n}}

Electrons are about 2–3 times more mobile than holes, so with equal sizes the NMOS is stronger, r<1r < 1, and VMV_M sits below VDD2\dfrac{V_{DD}}{2}. Making the PMOS 2–3 times wider equalises kpk_p and knk_n, giving r=1r = 1 and, when the thresholds match, VM=VDD2V_M = \dfrac{V_{DD}}{2}. This gives equal noise margins and equal rise and fall times.

Designers sometimes skew VMV_M deliberately, for example to make a gate react earlier to a rising input.

Worked example. With VDD=3.3V_{DD} = 3.3 V, VTn=∣VTp∣=0.6V_{Tn} = \lvert V_{Tp}\rvert = 0.6 V and equal-sized transistors with μn=2.5μp\mu_n = 2.5\mu_p: r=0.4≈0.63r = \sqrt{0.4} \approx 0.63, so VM=0.6+0.63×2.71.63≈1.41V_M = \dfrac{0.6 + 0.63 \times 2.7}{1.63} \approx 1.41 V. Widening the PMOS 2.5 times gives r=1r = 1 and VM=1.65V_M = 1.65 V.

Why it matters. VMV_M 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 CLC_L: 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 ReqR_{\text{eq}}, so the output follows an RC curve. The propagation delay, from 50% of the input swing to 50% of the output swing, is

tp≈0.69 ReqCLt_p \approx 0.69\,R_{\text{eq}}C_L

The high-to-low delay tpHLt_{pHL} depends on the NMOS resistance and the low-to-high delay tpLHt_{pLH} on the PMOS resistance; the average is tp=tpHL+tpLH2t_p = \dfrac{t_{pHL} + t_{pLH}}{2}.

Delay can be reduced in several ways:

  • Wider transistors lower ReqR_{\text{eq}}, but present more input capacitance to the previous stage.
  • Lower fan-out or shorter wires reduce CLC_L.
  • 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 nn series NMOS transistors has nn 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 Req=10R_{\text{eq}} = 10 kΩ drives 20 fF. Then tp≈0.69×104×20×10−15≈138t_p \approx 0.69 \times 10^4 \times 20 \times 10^{-15} \approx 138 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 CLVDD2C_LV_{DD}^2 from the supply, so for a clock frequency ff and an activity factor α\alpha, the fraction of cycles in which a node switches,

Pdyn=α CLVDD2fP_{\text{dyn}} = \alpha\,C_L V_{DD}^2 f

The square law makes the supply voltage the most powerful lever: halving VDDV_{DD} 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 α\alpha) and dynamic voltage and frequency scaling, which lowers VDDV_{DD} and ff when full speed is not needed.

Chips improved for decades through scaling. Under constant-field (Dennard) scaling by a factor S>1S > 1:

Quantity Scales by
Dimensions WW, LL, toxt_{ox} and voltage 1S\dfrac{1}{S}
Gate capacitance and delay 1S\dfrac{1}{S}
Power per gate 1S2\dfrac{1}{S^2}
Gates per unit area S2S^2
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, α=0.1\alpha = 0.1, VDD=1V_{DD} = 1 V and f=1f = 1 GHz uses P=0.1×2×10−9×12×109=0.2P = 0.1 \times 2 \times 10^{-9} \times 1^2 \times 10^9 = 0.2 W. At 0.8 V the same block uses 0.2×0.64=0.1280.2 \times 0.64 = 0.128 W.

Why it matters. Dynamic power, the VDD2V_{DD}^2 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 VTnV_{Tn} of its gate voltage, so the output reaches only VDD−VTnV_{DD} - V_{Tn}, a weak 1. A PMOS switch does the opposite: strong 1, weak 0 (stuck at ∣VTp∣\lvert V_{Tp}\rvert). 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 CC and C‾\overline{C}. When C=1C = 1 both conduct: the NMOS handles the low end and the PMOS the high end, so the TG passes both levels fully. When C=0C = 0 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 AA when S=0S = 0 and the other passing BB when S=1S = 1, 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 NN inputs needs 2N2N transistors. Dynamic logic needs only N+2N + 2: 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 (S1‾ S0‾\overline{S_1}\,\overline{S_0}, S1‾S0\overline{S_1}S_0, S1S0‾S_1\overline{S_0}, S1S0S_1S_0). 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 Y=1Y = 1.

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 VDDV_{DD} 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:

  1. Derive the inverter switching threshold and explain transistor sizing.
  2. Explain and calculate propagation delay and dynamic power, and discuss scaling.
  3. Compare static CMOS, pass-transistor, transmission-gate and dynamic logic.
  4. Design a function in domino or transmission-gate logic and explain its timing.

Practice questions (our own, not previous-year questions).

  1. Derive the switching threshold of a CMOS inverter. Why is the PMOS usually made wider than the NMOS? (12 marks)
  2. 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)
  3. 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.
  • P=αCVDD2f=0.2×10−9×1.44×2×109≈0.58P = \alpha C V_{DD}^2 f = 0.2 \times 10^{-9} \times 1.44 \times 2 \times 10^9 \approx 0.58 W.
  • Note that lowering VDDV_{DD} to 1 V cuts this to 0.4 W.
  • Mention clock gating, power gating and voltage–frequency scaling as remedies.

Quick revision

  • VM=VTn+r(VDD−∣VTp∣)1+rV_M = \dfrac{V_{Tn} + r(V_{DD} - \lvert V_{Tp}\rvert)}{1 + r}, r=kpknr = \sqrt{\frac{k_p}{k_n}}; PMOS 2–3 times wider for VM=VDD2V_M = \dfrac{V_{DD}}{2}.
  • Delay tp≈0.69ReqCLt_p \approx 0.69 R_{\text{eq}} C_L; grows with fan-out; NAND preferred over NOR.
  • Dynamic power P=αCLVDD2fP = \alpha C_L V_{DD}^2 f; also short-circuit and leakage power.
  • Dennard scaling by SS: delay 1S\dfrac{1}{S}, power per gate 1S2\dfrac{1}{S^2}, density S2S^2, 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: N+2N + 2 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.

Check yourself

Exam-style questions on this chapter. Pick an answer to see the explanation. 0 of 12 answered

  1. In a CMOS inverter the PMOS is usually made wider than the NMOS mainly because:

  2. A CMOS inverter has VDD=2V_{DD} = 2 V, VTn=∣VTp∣=0.4V_{Tn} = \lvert V_{Tp}\rvert = 0.4 V and kp=knk_p = k_n. Its switching threshold VMV_M is:

  3. A gate with on-resistance 5 kΩ drives a 40 fF load. Its propagation delay is about:

  4. In CMOS, NAND gates are generally preferred over NOR gates because:

  5. If the supply voltage of a CMOS circuit is halved with everything else unchanged, its dynamic power becomes:

  6. A block has switched capacitance 1 nF, activity factor 0.25, VDD=1V_{DD} = 1 V and f=2f = 2 GHz. Its dynamic power is:

  7. Under ideal constant-field scaling by a factor S, which quantity stays constant?

  8. An NMOS pass transistor with its gate at VDDV_{DD} passes a logic 1 as:

  9. A transmission gate consists of:

  10. A dynamic CMOS gate with N inputs needs how many transistors?

  11. The main limitation of domino logic is that:

  12. Latch-up in bulk CMOS is caused by:

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

Why is the PMOS wider than the NMOS in a CMOS inverter?

Hole mobility is 2–3 times lower than electron mobility, so a wider PMOS gives equal drive, a switching threshold near V_DD/2 and equal rise and fall times.

What is the formula for CMOS dynamic power?

P = α C_L V_DD² f, where α is the activity factor; halving the supply cuts dynamic power to a quarter.

Why does an NMOS pass transistor give a weak 1?

It turns off when its output rises to within one threshold voltage of its gate, so the output stops at V_DD − V_Tn.

Why does domino logic need an inverter?

The inverter makes each output low during precharge and able only to rise during evaluation, so stages can be cascaded safely; the cost is non-inverting logic only.

More in this module: VLSI basics

Official sources

Facts in this chapter were checked against these official sources.

  1. UPSC Engineering Services (Main) 2024, Electronics and Telecommunication Engineering Paper II, question 1(e): design a 4-to-1 multiplexer using domino logic
  2. MPSC syllabus, Deputy Superintendent of Police / Assistant Commissioner of Police, Communication and Information Technology Department: advanced electronics topics (VLSI technology and design)
  3. NPTEL Introduction to Semiconductor Devices (IIT Hyderabad, 108106181): MOS capacitor and MOSFET weeks