6.4.4 · D3Power, Thermal & Reliability

Worked examples — Power gating and clock gating

2,180 words10 min readBack to topic

This page is a workbook. We take the ideas from the parent note and grind them through every kind of number you could meet: normal cases, zero/degenerate inputs, the break-even limit, a word problem, and an exam twist. Guess first, then check.

Everything here rests on three formulas the parent built. Before we use any symbol, here it is in plain words:

See Dynamic and Static Power and Subthreshold Leakage for where these come from.


The scenario matrix

Every worked example below is tagged with the matrix cell it lands in. Read this table first — it is the map.

Cell Case class What makes it tricky Example
A Ordinary clock-gate saving plug-and-chug reduction Ex 1
B Zero / degenerate input block always active () → savings = 0 Ex 2
C Static vs dynamic split clock gating leaves leakage untouched Ex 3
D Power-gate energy break-even the wake-up limit Ex 4
E Below the limit (idle too short) power gating loses — negative saving Ex 5
F Real-world word problem multi-core GPU, combine leakage + wake-up Ex 6
G Combined clock+power gating two techniques stacked Ex 7
H Exam-style twist DVFS changes and at once Ex 8

Every numeric answer on this page is machine-checked in the Verify block.


Ex 1 — Cell A: the ordinary clock-gate saving


Ex 2 — Cell B: the degenerate case (nothing to gate)


Ex 3 — Cell C: clock gating does nothing for leakage


Ex 4 — Cell D: the power-gate break-even limit

This is the most important calculation on the page: when is power gating worth it? It gets a figure.

Figure — Power gating and clock gating

Ex 5 — Cell E: below the limit — power gating LOSES


Ex 6 — Cell F: the GPU word problem


Ex 7 — Cell G: stacking clock + power gating


Ex 8 — Cell H: the exam twist (DVFS changes V and f together)

Recall Quick self-test

Power gating on a idle when — good idea? ::: No — idle is below break-even; use clock gating (Cell E). Clock gating drops leakage to zero? ::: No — leakage needs cut, i.e. power gating (Cell C). DVFS from to (same ) — dynamic power ratio? ::: .