6.4.4 · D1Power, Thermal & Reliability

Foundations — Power gating and clock gating

1,797 words8 min readBack to topic

Before you can understand power and clock gating, you must be able to read every symbol the parent note throws at you. This page builds each one from nothing — plain words first, then a picture, then why the topic needs it. Read top to bottom; each idea rests on the one above it.


1. Voltage, current, and power — the three words everything else is built on

Figure — Power gating and clock gating

Look at the picture: a tank (voltage/pressure) drives water (current) through a pipe. Widen the flow or raise the pressure and the wheel spins faster — that spinning is power. This single idea, , is the ancestor of every power formula in the parent note.

Why the topic needs it: every technique on the parent page is judged by one number — how many watts it saves. If you can't read , you can't read the savings.


2. The transistor — the tiny switch, and where "leakage" hides

PMOS and NMOS — two flavours

You need these two names because the parent note's header switch is a PMOS (sits between and the block) and the footer switch is an NMOS (sits between the block and ground). See Multi-Threshold CMOS for why the fat, low-leakage variety is chosen for those switches.


3. Capacitance — why switching costs energy

Figure — Power gating and clock gating

Look at the two buckets in the figure. Charging the bucket to voltage stores energy proportional to . Every time a signal toggles, one bucket-fill of energy is spent. This is exactly why toggling burns power — and why stopping the toggles (clock gating) saves it.


4. Frequency and the clock

Each clock beat is when flip-flops sample new data — and each beat can trigger toggles that fill buckets. So more beats per second = more bucket-fills per second = more power. That is why appears in the dynamic-power formula, and why the Hierarchical Clock Distribution tree that carries this clock everywhere is itself a power hog worth gating.


5. The activity factor — the "how busy" knob

Why the topic needs it: clock gating works by forcing for an idle block. Freeze the clock and no bucket gets filled, so the block's collapses to zero even though the frequency of the global clock is unchanged. is the exact dial that gating turns.


6. Putting them together — the dynamic power formula

Each factor is now a symbol you defined:

  • — fraction toggling (§5),
  • — the buckets (§3),
  • — the push, squared because filling to voltage costs (§3),
  • — beats per second (§4).

See Dynamic and Static Power for the full breakdown. This is the formula clock gating minimises (by killing ).


7. Leakage — the current that flows when nothing happens

Figure — Power gating and clock gating

The figure contrasts the two power types on a timeline. Dynamic power spikes only on toggles (the tall bars). Static/leakage power is the flat baseline that never goes away as long as is connected — even between toggles, even with the clock frozen.


8. Logic gates and the enable signal


9. The prerequisite map

Voltage V and Current I

Power P equals V times I

Transistor as a switch

Leakage current I_leak

Capacitance C the bucket

Dynamic power alpha C V squared f

Clock and frequency f

Activity factor alpha

Static power I_leak times V

Clock Gating kills alpha

Power Gating cuts V_dd

AND gate and enable

Power and Clock Gating

Every arrow is a dependency: you cannot understand the box it points to until you own the box it points from.


Equipment checklist

Self-test — cover the right side and answer before revealing.

What does mean in one sentence?
Power (watts) is the electrical push (voltage) multiplied by the flow (current).
What does capacitance physically represent on a wire?
A tiny "bucket" of charge that must be filled/emptied every time the wire toggles, costing energy each time.
Why is squared in the dynamic power formula?
Filling a capacitor to voltage stores energy proportional to , so the toggle cost scales with the square of the supply.
What is the activity factor , and what value does clock gating drive it to?
The fraction of nodes toggling per clock beat; clock gating forces for an idle block.
Why doesn't clock gating stop leakage power?
Leakage flows as long as is connected; clock gating only freezes toggling, it does not disconnect the supply.
What is the difference between an NMOS and a PMOS switch?
NMOS turns ON with a HIGH gate (connects to ground); PMOS turns ON with a LOW gate (connects to ).
Which formula does clock gating minimise, and which does power gating minimise?
Clock gating minimises ; power gating minimises both that and .
What does the AND-gate equation do when enable = 0?
The output is stuck LOW, blocking the clock so downstream flip-flops stop toggling.