Module 7: Advanced RTL Design Techniques · 7.6 Low-Power Design Techniques

Power Gating

Clock gating stops clock tree toggling to eliminate dynamic switching power. However, inactive transistors connected to active power rails continue to consume static leakage current. In advanced sub-micron process nodes, static leakage power accounts for a large fraction of the total power budget. Power gating physically disconnects idle circuits from power supply rails to eliminate static leakage current.

Power Switch Architecture

Power gating places high-threshold sleep transistors between the global power grid and the local logic domain. A header switch disconnects the positive power supply rail (VDD), creating a virtual VDD rail. A footer switch disconnects the ground rail (VSS), creating a virtual VSS rail:

Power switch between the supply and a gated block
Figure 1: A header switch and the virtual supply rail it controls

When the power management unit asserts sleep_en, the power switch opens. The virtual supply rail collapses, cutting current flow through the gated logic block.

Floating Outputs and Isolation Cells

When a power domain shuts down, its output drivers lose power. The output wires float at indeterminate analog voltage levels. If a floating wire connects to an active, powered downstream gate, the intermediate voltage causes crowbar currents or logic oscillations.

To prevent corruption, place isolation cells at all boundary signals leaving power-gated domains. An isolation cell clamps unpowered output signals to a known, stable binary value (typically logic zero):

// Conceptual representation of isolation cell functionality
// Physical cells are inserted automatically by synthesis tools using UPF specifications
assign isolated_output = power_domain_on ? raw_block_output : 1'b0;

Every signal crossing from a power-gated domain into an always-on domain requires an isolation cell.

State Retention Registers

Powering down a logic block erases the contents of standard volatile flip-flops. Certain blocks must preserve configuration registers or operational state across sleep cycles.

Retention registers incorporate a shadow storage latch connected to an uninterrupted, always-on power rail:

Retention register with an always-on shadow latch
Figure 2: A retention register keeps its value through a sleep cycle

Before entering sleep mode, a save strobe transfers register data into the shadow latch. Upon waking, a restore strobe copies data back into the main flip-flop. Retention registers consume extra silicon area and are applied selectively to critical architectural state registers.

Safe Power-Down and Power-Up Sequencing

Power-management finite state machines execute strict control sequences:

  1. Disable Activity: Gate clocks and stop incoming transaction traffic.
  2. Save Architectural State: Transfer critical data into retention shadow latches.
  3. Assert Isolation: Clamp domain boundary outputs to stable logic levels.
  4. Open Power Switches: Assert sleep_en to disconnect power rails.
  5. Power-Up Sequence: Close power switches, wait for rail voltages to stabilize, restore retained state, release isolation clamps, and re-enable clocks.

Industry workflows specify power domains, isolation strategies, and retention rules using the Unified Power Format (UPF) (IEEE 1801). Automated EDA toolchains read UPF intent files to insert isolation cells, retention latches, and power switches during synthesis.

Verification Exercise

An unpowered video processing block drives a single-bit interrupt status flag into an always-on interrupt controller. Explain what circuit failure occurs if an isolation cell is omitted. State the required clamp value for the isolation cell.

View Solution

Without an isolation cell, the unpowered interrupt line floats at an indeterminate voltage. The receiving gate in the always-on domain can interpret floating voltages as valid logic ones. This causes false interrupt triggers. The isolation cell must clamp the interrupt line to logic zero (1'b0) while the domain is powered off. Clamping to zero ensures the controller sees an inactive interrupt state.

Power gating eliminates static leakage currents but requires isolation cells and retention registers to preserve system integrity. The next article explores operand isolation to prevent unnecessary combinational switching activity.

← Clock Gating and the ICG Cell Operand Isolation →