Module 1: Foundations of Digital Logic · 1.3 Logic Gates & Truth Tables

CMOS Transistor Operation and Power Dissipation

Digital logic gates are implemented using complementary MOSFET transistors. This article describes MOSFET switching operation, CMOS inverter and NAND circuits, power dissipation mechanisms, and low-power Register-Transfer Level (RTL) design techniques.

MOSFET Switching Operation

A Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) contains three primary terminals: gate, drain, and source. The voltage applied to the gate terminal controls electrical conduction between drain and source. An insulated dielectric oxide layer prevents direct current conduction into the gate.

Digital CMOS logic uses two complementary transistor types:

NMOS and PMOS
Figure 1: NMOS and PMOS transistor operational conduction states

  • NMOS Transistors: Conduct when gate voltage is HIGH. Electrons act as charge carriers. Because electron mobility in silicon exceeds hole mobility, NMOS transistors switch faster than equivalent PMOS transistors. NMOS networks form the pull-down network connected to ground.
  • PMOS Transistors: Conduct when gate voltage is LOW. Holes act as charge carriers. PMOS transistors require wider channel geometries to match the current capacity of NMOS devices. PMOS networks form the pull-up network connected to $V_{DD}$.

In steady state, only one network conducts. This complementary operation eliminates static DC current flow from $V_{DD}$ to ground.

CMOS Inverter Circuit

The CMOS inverter contains one PMOS pull-up transistor and one NMOS pull-down transistor:

CMOS inverter
Figure 2: Transistor schematic of a CMOS logic inverter

  • When input voltage is HIGH ($V_{DD}$), the NMOS transistor conducts and the PMOS transistor isolates. The output connects to ground (logic 0).
  • When input voltage is LOW (0 V), the PMOS transistor conducts and the NMOS transistor isolates. The output connects to $V_{DD}$ (logic 1).

During input voltage transitions, both transistors conduct simultaneously for a brief duration. This momentary conduction creates a short-circuit current pulse from $V_{DD}$ to ground (crowbar current).

CMOS NAND Gate Circuit

A 2-input CMOS NAND gate evaluates logic function $Y = \overline{A \cdot B}$:

CMOS NAND gate
Figure 3: Transistor schematic of a 2-input CMOS NAND gate

  • Pull-Down Network: Two NMOS transistors connected in series. Both inputs must be HIGH to establish a conduction path to ground.
  • Pull-Up Network: Two PMOS transistors connected in parallel. If either input is LOW, at least one PMOS transistor conducts and connects the output to $V_{DD}$.
Input $A$ Input $B$ PMOS A PMOS B NMOS A NMOS B Output $Y$ Conduction Path
0 0 On On Off Off 1 Pull-up to $V_{DD}$
0 1 On Off Off On 1 Pull-up to $V_{DD}$
1 0 Off On On Off 1 Pull-up to $V_{DD}$
1 1 Off Off On On 0 Pull-down to Ground

Design Principle: Where the NMOS pull-down network uses series connections, the PMOS pull-up network uses parallel connections. A NOR gate uses series PMOS transistors, which increases pull-up resistance. Therefore, CMOS NAND gates switch faster than equivalent NOR gates.

Semiconductor Power Dissipation

Total power dissipation in CMOS circuits comprises static power and dynamic power:

$$P_{total} = P_{static} + P_{dynamic}$$

Static Power Dissipation

Ideal CMOS circuits consume zero static current. In physical nanoscale transistors, static power results from physical leakage mechanisms:

  • Subthreshold Leakage: Residual current conducting through the channel when the gate voltage is below threshold voltage.
  • Gate Oxide Tunneling: Quantum tunneling of electrons through thin silicon dioxide dielectric barriers.

At process nodes below 28 nm, static leakage represents a significant portion of total chip power consumption.

Dynamic Power Dissipation

Dynamic power is dissipated when logic nodes switch states. When an output transitions from LOW to HIGH, the pull-up network charges load capacitance $C_L$ to supply voltage $V_{DD}$. Half of the energy dissipates as heat in the PMOS transistor, and half is stored on capacitor $C_L$. When the output transitions from HIGH to LOW, the NMOS network dissipates the stored energy to ground.

Dynamic power evaluates according to the formula:

$$P_{dynamic} = \alpha \cdot C_L \cdot V_{DD}^2 \cdot f$$

Where:

  • $\alpha$: Switching activity factor (probability of a transition occurring per clock cycle)
  • $C_L$: Total capacitive load (gate input capacitances and interconnect wire capacitance)
  • $V_{DD}$: Power supply voltage
  • $f$: System clock frequency

Because power scales quadratically with supply voltage ($V_{DD}^2$), voltage scaling provides the most effective method to reduce dynamic power.

Dennard Scaling and the Power Density Limit

Gordon Moore observed in 1965 that transistor density doubles approximately every two years. In 1974, Robert Dennard showed that as transistor dimensions decrease by factor $k$, voltage and capacitance scale proportionally, maintaining constant power density.

Dennard scaling failed around 2005 below the 90 nm node. Supply voltages could not be reduced further without causing severe subthreshold leakage. Mainstream single-core processor clock frequencies stalled between 3 GHz and 4 GHz. Semiconductor architectures shifted toward multi-core parallel processing rather than single-core frequency scaling.

Moore’s law and the power wall
Figure 4: Historical trends in transistor count, power density limits, and clock frequencies

Low-Power RTL Design Techniques

RTL designers directly control switching activity factor $\alpha$ using low-power coding architectures:

1. Clock Gating

Clock gating disables clock propagation to register banks during idle cycles:

always_ff @(posedge clk) begin
    if (multiplier_enable) begin
        result <= operand_a * operand_b;
    end
end

Synthesis tools infer clock-gating integrated cells (CGCs) from the enable condition, reducing clock tree switching power by 30 to 50 percent.

2. Operand Isolation

Even if an output register clock is gated, upstream combinational logic can consume power if inputs toggle continuously. Operand isolation holds combinational inputs constant during idle cycles:

assign a_gated = multiplier_enable ? operand_a : '0;
assign b_gated = multiplier_enable ? operand_b : '0;
assign result  = a_gated * b_gated;

3. Pipeline Register Enables

Multi-stage pipelines should hold intermediate registers during pipeline stalls to prevent invalid data propagation:

always_ff @(posedge clk) begin
    if (stage_enable) begin
        pipe_data <= stage_in;
    end
end

Manufacturing Process Corners

Foundries characterize transistor manufacturing variations using process corners:

  • SS (Slow-Slow): Both NMOS and PMOS operate slower than nominal; defines worst-case setup timing signoff.
  • FF (Fast-Fast): Both NMOS and PMOS operate faster than nominal; defines worst-case hold timing and peak leakage power.
  • TT (Typical-Typical): Nominal manufacturing specifications.
  • FS and SF: Asymmetric device speeds; defines worst-case operational balance in ratioed circuits.

Practice Exercises

Exercise 1: Describe the electrical conduction state of a CMOS inverter when the input voltage equals $V_{DD} / 2$.

View Solution

When the input voltage reaches the switching threshold ($V_{DD} / 2$), both the NMOS pull-down and PMOS pull-up transistors conduct simultaneously in saturation. A short-circuit current pulse conducts directly from $V_{DD}$ to ground. This crowbar current increases dynamic power dissipation during signal transitions.

Exercise 2: A digital block operates at 2.0 GHz with clock activity factor $\alpha = 0.3$, total switched capacitance $C_L = 500\text{ pF}$, and supply voltage $V_{DD} = 1.0\text{ V}$. Calculate the dynamic power dissipation. Determine the power savings if clock gating reduces the activity factor to $\alpha = 0.06$.

View Solution

Calculate initial dynamic power:

$$P_{initial} = 0.3 \times (500 \times 10^{-12}\text{ F}) \times (1.0\text{ V})^2 \times (2.0 \times 10^9\text{ Hz}) = 0.30\text{ W} = 300\text{ mW}$$

Calculate clock-gated dynamic power:

$$P_{gated} = 0.06 \times (500 \times 10^{-12}\text{ F}) \times (1.0\text{ V})^2 \times (2.0 \times 10^9\text{ Hz}) = 0.06\text{ W} = 60\text{ mW}$$

Clock gating reduces dynamic power consumption by 240 mW (an 80 percent reduction).

Exercise 3: Explain why a 2-input CMOS NAND cell achieves lower propagation delay than an equivalent 2-input CMOS NOR cell.

View Solution

A 2-input NAND gate uses series NMOS transistors in the pull-down path and parallel PMOS transistors in the pull-up path. A 2-input NOR gate uses series PMOS transistors in the pull-up path. Because electron mobility in NMOS exceeds hole mobility in PMOS by a factor of two to three, series PMOS transistors exhibit higher channel resistance, making NOR transition times slower than NAND transition times.

← Universal Logic Gates: NAND and NOR Implementations Principles of Karnaugh Maps →