Q&A-10Compare integrated clock gating (ICG) and power gating across power reduction, latency, and area, and explain how an ICG prevents output glitches.
Answer
Clock gating and power gating target fundamentally different power dissipation components and impose vastly different latency, area, and state retention overheads.
Architectural Trade-offs
-
Power Reduction Mechanism:
- Clock Gating (ICG): Eliminates dynamic power ($P_{dyn} = Α C V^2 f$) by suppressing toggling along downstream clock trees and flip-flop inputs. Static leakage power ($P_{leak} = I_{leak} V_{dd}$) remains unchanged because the logic domain remains fully powered.
- Power Gating: Cuts off both dynamic power and static leakage by inserting high-threshold sleep transistors (header PMOS or footer NMOS) that disconnect power rails ($V_{dd}$ or $V_{ss}$). Leakage drops by 95% to >99% depending on the off-state subthreshold conduction of the sleep switches.
-
Latency & Energy Overhead:
- ICG: Enters and exits gating in 0 to 1 clock cycles with negligible energy penalty (no inrush charging).
- Power Gating: Wakeup incurs dozens to thousands of clock cycles (microseconds) to sequence daisy-chained sleep switches, manage rail inrush current ($di/dt$), unclamp isolation cells, restore retention registers or re-initialize register state, and reset PLLs.
-
Area and Physical Implementation Overhead:
- ICG: Standard cell overhead is localized to the gating cell itself.
- Power Gating: Requires dedicated power switches, isolation cells (ISO) at power-domain boundaries to prevent floating inputs from causing crowbar current in always-on domains, level shifters (LS), retention flip-flops (RFF), and an active Power Management Unit (PMU) sequence controller.
| Attribute | Integrated Clock Gating (ICG) | Power Gating (MTCMOS) |
|---|---|---|
| Targeted Power | Dynamic power only ($P_{dyn}$) | Dynamic and static leakage ($P_{dyn} + P_{leak}$) |
| Exit Latency | 0 to 1 clock cycle | 10 to 10,000+ clock cycles (state restoration + rail settle) |
| Break-Even Time | Sub-cycle to single cycle | Tens of microseconds to milliseconds |
| Required Cells | Latch-based ICG cell | Sleep transistors, isolation cells, level shifters, retention flops |
| State Retention | Inherent (supply voltage maintained) | Requires balloon latches / retention flops or memory save/restore |
Glitch Prevention in Clock Gating Logic
Directly AND-ing an unsynchronized enable signal with a clock signal causes clock truncation and spurious output pulses (glitches) whenever the enable changes while the clock is high.
Naïve AND Gating (Hazardous):
CLK : __/‾\__/‾\__/‾\__
EN : _____/‾‾‾\______ (Transitions during CLK high)
GCLK : ________/\________ (Runt pulse / glitch triggers false latching!)An Integrated Clock Gating (ICG) cell solves this by placing an active-low transparent latch ahead of the AND gate:
+--------------+
| Latch |
EN ------>| D Q |---> EN_LATCHED --+
| | | +-----+
| LE_n (ENB) | +--| |
CLK ---+------>| (Active-Low) | | AND |---> GCLK
| +--------------+ | |
+--------------------------------------------| |
+-----+- Latch Behavior: When
CLKis low, the latch is transparent (LE_nis active), allowingENto propagate toEN_LATCHED. - Setup and Hold Window: When
CLKtransitions from low to high, the latch closes (holds state). Any subsequent transition onENwhileCLKis high cannot propagate to the AND gate input. - Glitch Immunity: Because
EN_LATCHEDis guaranteed stable wheneverCLKis high, the outputGCLK = CLK & EN_LATCHEDcannot produce runt pulses or false edges.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.