What is Clock gating?
A low-power design technique that stops the clock to idle circuit blocks, avoiding wasted switching power.
Japanese name: クロックゲーティング
A low-power design technique that stops the clock to idle circuit blocks, avoiding wasted switching power.
Japanese name: クロックゲーティング
Dynamic power is roughly activity factor times capacitance times voltage squared times frequency. The clock net toggles every cycle and drives every flip-flop's clock pin through a large buffered tree, so the clock network is often one of the biggest single consumers of dynamic power. When a register's contents will not change, because its enable is inactive, clocking it wastes energy in the flip-flops and in the clock branch feeding them. Clock gating stops the clock to such registers or blocks, eliminating that switching while keeping their stored state.
Simply ANDing the clock with an enable is risky: if the enable changes while the clock is high, the gated clock can be truncated or produce a glitch. Static timing analysis checks that the enable settles before the clock rises and stays stable until it falls, which in a 2.0 ns, 50% duty cycle clock leaves only the 1.0 ns low phase. Designs therefore use integrated clock gating (ICG) cells, which contain a latch that is transparent only while the clock is low, so the enable is frozen during the high phase. ICGs also include a test-enable input so gated flip-flops are clocked during scan testing.
In register-transfer level code, a register written only when an enable is true is normally implemented with a multiplexer that feeds the old value back. Synthesis tools recognize this pattern and replace the feedback multiplexers of a group of flip-flops with one ICG, saving both power and multiplexer area. This fine-grained gating is automatic. Coarse-grained gating, controlled by a power manager or software, stops the clock to entire blocks such as an idle accelerator. Gating cells placed nearer the clock root save more power but complicate clock tree timing.
Clock gating removes dynamic power but not leakage, since the block stays powered; in exchange, state is retained and the block resumes on the very next clock edge. Power gating turns off a large switch transistor between the block and its supply, removing nearly all leakage too, but state must be saved or held in retention registers, outputs need isolation cells, and waking up takes time while the supply stabilizes. Chips combine both: clock gating for idle periods of a few cycles, power gating for long ones.
Answer: C. That the enable signal does not change while the clock is 1 and finishes changing while the clock is 0
With an AND gate, if the enable changes while the clock is 1, the output clock can be cut short or a short pulse (glitch) can appear. STA therefore checks that the enable is stable before the rising clock edge (gating setup) and held until after the falling edge (gating hold). With a 2.0 ns period and 50% duty cycle, enable changes must fit within the 1.0 ns from the falling edge to the next rising edge. Using a clock gating cell with a built-in latch makes this easier to satisfy.
Answer: B. Clock gating cuts dynamic power and resumes instantly; power gating also cuts leakage but takes time to resume
Clock gating only stops the clock, so state is retained and operation resumes on the next clock, but leakage continues. Power gating cuts power and so also reduces leakage, but needs time to save and restore state and for the supply to stabilize. They are combined: clock gating for idle periods of a few cycles, power gating for long ones.
Clock gating stops the clock to cut dynamic power while keeping the block powered, so it resumes instantly but still leaks. Power gating cuts the supply, removing leakage as well, but requires state saving and a longer wake-up.
If the enable changes while the clock is high, the AND output can produce a shortened pulse or glitch that may clock flip-flops incorrectly. An integrated clock gating cell latches the enable during the low phase to prevent this.
No. It only removes switching power in the gated flip-flops and clock wiring; leakage continues as long as the block is powered.
Clock gating appears in 5 practice questions across 4 topics, including Power Management, Timing analysis and CDC, Logic circuits.
As an Amazon Associate I earn from qualifying purchases.
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.