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.
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 (α eff = α ) → 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 t idle = t BE
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 V dd and f at once
Ex 8
Every numeric answer on this page is machine-checked in the Verify block.
A register file toggles with α = 0.5 normally. Clock gating enables it only 20% of cycles. By what percentage does dynamic power in that block drop?
Forecast: Guess the drop before reading — is it 20%, 80%, or something else?
Find the effective activity. When the clock only runs 20% of cycles, the block only switches 20% as often:
α eff = α × 0.20 = 0.5 × 0.20 = 0.1
Why this step? Dynamic power is linear in α (look at the formula — α sits out front, not squared). Cutting how often the clock ticks cuts α by the same fraction.
Take the ratio of powers. All other terms (C , V dd 2 , f ) are identical gated vs ungated, so they cancel:
P ungated P gated = α α eff = 0.5 0.1 = 0.2
Why this step? We only care about the change , so dividing kills every unchanged factor — no need to know C or V dd .
Convert to a saving.
saving = 1 − 0.2 = 0.8 = 80%
Why this step? "Saving" is the fraction we removed, which is one minus what remains.
Verify: 80% saving means 20% remains; 20% of the original activity is exactly the 0.1 we computed. Units: all dimensionless ratios — consistent. ✓
A memory controller is accessed every single cycle (enable is always 1). What dynamic-power saving does clock gating give here?
Forecast: Zero? Negative? Small?
Set the enable fraction. "Every cycle" means the clock runs 100% of the time:
α eff = α × 1.0 = α
Why this step? Clock gating can only ever withhold clock edges. If none are withheld, nothing changes.
Ratio.
P ungated P gated = α α = 1 ⇒ saving = 1 − 1 = 0%
Why this step? This is the degenerate boundary of Ex 1: as the active fraction → 100% , saving → 0 .
Verify: Sanity — gating a block that never idles is pure overhead (you added an AND gate that switches too). The ideal saving is 0% ; the real saving is slightly negative. Our clean-model answer 0% is the correct upper edge. ✓
Common mistake Do not confuse "enable = 1 always" with "clock gate broken"
A permanently-enabled block is a design choice , not a bug. The lesson: only gate blocks that are actually idle sometimes.
An idle ALU is clock-gated. It has I leak = 2 mA at V dd = 0.9 V . How much static power still burns while it "sleeps" under clock gating alone?
Forecast: Should clock gating drive this to zero?
Recall what clock gating touches. It freezes the clock, so α → 0 and P dyn → 0 . But V dd is still connected .
Why this step? The leakage path exists whenever voltage sits across a transistor — the clock is irrelevant to it (see Subthreshold Leakage ).
Compute the surviving static power.
P static = I leak V dd = 2 × 1 0 − 3 A × 0.9 V = 1.8 × 1 0 − 3 W = 1.8 mW
Why this step? This is exactly the number clock gating cannot remove — the argument for Multi-Threshold CMOS and power gating.
Verify: Units A × V = W . ✓ The block still leaks 1.8 mW ; only power gating (cutting V dd ) kills it.
This is the most important calculation on the page: when is power gating worth it? It gets a figure.
Powering a block down saves leakage power P save every second it stays off. But waking it up costs a fixed energy E wake (charging the switch, restoring retention state ). You only win if the idle time is long enough that the steady saving repays the one-time cost.
A block leaks P save = 50 mW . Waking it costs E wake = 5 μ J . Find the break-even idle time.
Forecast: microseconds? milliseconds?
Identify the two competing quantities. Saving rate = 50 mW ; fixed wake cost = 5 μ J .
Why this step? One is power (per second), one is energy (a lump). To compare, divide energy by power → time.
Apply the formula.
t BE = 50 × 1 0 − 3 W 5 × 1 0 − 6 J = 1 × 1 0 − 4 s = 100 μ s
Why this step? J / W = J / ( J/s ) = s — the units force a time to fall out.
Verify: In 100 μ s , leakage saved = 50 mW × 100 μ s = 5 μ J , which exactly repays the 5 μ J wake cost. Break-even confirmed. ✓
Same block as Ex 4 (t BE = 100 μ s ). The OS predicts an idle window of only 40 μ s . What is the net energy change if we power-gate?
Forecast: Save or waste? By how much?
Energy saved during the idle window.
E saved = P save × t idle = 50 mW × 40 μ s = 2 μ J
Why this step? Saving accrues only while the block is actually off.
Subtract the fixed wake cost.
E net = E saved − E wake = 2 μ J − 5 μ J = − 3 μ J
Why this step? A negative result means we spent more than we saved — power gating was a mistake here.
Verify: 40 μ s < 100 μ s , so we are on the losing side of Ex 4's crossover — the sign of E net must be negative, and it is. Correct action: clock-gate this short idle instead (0-cost, instant wake). ✓
A GPU has 32 shader cores; a game uses 8, leaving 24 idle . Each core leaks 50 mW at 0.9 V ; power-gated switch leakage is ≈ 0.4 mW per core. Idle windows are 5 ms between frames, and each wake costs 8 μ J . (a) Leakage saved? (b) Is 5 ms past break-even?
Forecast: Roughly how many watts, and comfortably past break-even?
Leakage before gating (24 cores).
P before = 24 × 50 mW = 1200 mW = 1.2 W
Why this step? Idle cores leak independently, so total = per-core × count.
Leakage after gating.
P after = 24 × 0.4 mW = 9.6 mW
Why this step? Cutting V dd leaves only tiny switch leakage — not exactly zero, so we keep the residual term.
Saved power.
P save = 1200 − 9.6 = 1190.4 mW ≈ 1.19 W
Per-core break-even, then compare 5 ms.
t BE = P save,core E wake = ( 50 − 0.4 ) × 1 0 − 3 W 8 × 1 0 − 6 J = 1.613 × 1 0 − 4 s ≈ 161 μ s
Why this step? Break-even is per core (each wakes independently). 5 ms = 5000 μ s ≫ 161 μ s , so gate them .
Verify: 1.19 W matches the parent note's GPU figure. 5000/161 ≈ 31 × the break-even — deep in the winning region. ✓ A Power Management IC (PMIC) plus the driver schedules this.
A block runs at α = 0.4 , C = 2 nF , V dd = 1.0 V , f = 1 GHz , and leaks I leak = 3 mA . Compare total power in three states: (i) active, (ii) clock-gated, (iii) power-gated (assume leakage → 0 ).
Forecast: Which state wins, and does clock gating remove all the idle power?
Active dynamic power.
P dyn = α C V dd 2 f = 0.4 × 2 × 1 0 − 9 × 1. 0 2 × 1 × 1 0 9 = 0.8 W
Active static power.
P static = I leak V dd = 3 × 1 0 − 3 × 1.0 = 3 × 1 0 − 3 W = 3 mW
Active total = 0.8 + 0.003 = 0.803 W .
Clock-gated: P dyn → 0 , but leakage stays.
P clk-gated = 0 + 3 mW = 3 mW
Why this step? Cell C's lesson in action — clock gating cannot touch the 3 mW .
Power-gated: both terms vanish.
P pwr-gated ≈ 0 W
Verify: Ordering 0.803 W > 3 mW > 0 . Clock gating removes the 0.8 W dynamic part (the big one), power gating removes the last 3 mW . For a long idle, power-gate; for a short one, clock-gate. ✓
A block runs at V dd = 1.0 V , f = 1 GHz . DVFS scales it to V dd = 0.8 V , f = 0.7 GHz (same α , C ). By what fraction does dynamic power drop?
Forecast: The trap: does power scale like 0.8 × 0.7 ? Careful — voltage is squared .
Write the ratio, keep only what changed.
P old P new = V old 2 f old V new 2 f new
Why this step? α and C are unchanged, so they cancel; only V 2 and f survive.
Plug in — and square the voltage.
= 1. 0 2 × 1.0 0. 8 2 × 0.7 = 1 0.64 × 0.7 = 0.448
Why this step? The squared voltage is why DVFS is so powerful: a 20% voltage cut alone gives 0. 8 2 = 0.64 , a 36% power drop before frequency even helps.
Saving.
1 − 0.448 = 0.552 = 55.2%
Verify: Naive (un-squared) guess would be 0.8 × 0.7 = 0.56 ⇒ 44% saving — wrong. The correct 55.2% is larger precisely because voltage enters squared . This is the exam trap. ✓
Recall Quick self-test
Power gating on a 30 μ s idle when t BE = 100 μ s — good idea? ::: No — idle is below break-even; use clock gating (Cell E).
Clock gating drops leakage to zero? ::: No — leakage needs V dd cut, i.e. power gating (Cell C).
DVFS from 1.0 V to 0.8 V (same f ) — dynamic power ratio? ::: 0. 8 2 = 0.64 .