Definitionintro
Dynamic power dissipation
Also called switching power, CV^2f power.
The power a CMOS gate spends charging and discharging its load, P = alpha C V^2 f, with alpha the switching activity, C the capacitance, V the supply and f the clock.
Dynamic power dissipation is the power that a CMOS circuit spends to charge and discharge the capacitances of its nodes when they switch. For a node with load capacitance , supply voltage and clock frequency ,
where is the mean number of rising transitions of the node per clock cycle. The formula follows from conservation of energy alone: each charge from 0 to draws from the supply, and half of it is lost in the pull-up network whatever its resistance. It is the main part of the power of most digital circuits, and the reason why low-power design lowers the supply voltage, the capacitance and the number of transitions. The activity is the hard part to know; the switching activity page defines it, and estimators such as transition density compute it. When the circuit does not switch, the power that remains is leakage power.
Definition
Model. A gate drives an output node . All capacitance that must charge (the drain junctions of the gate, the wire, and the gate inputs of the fanout) is lumped into one capacitor from to ground. A static CMOS gate connects to the supply through its pull-up network or to ground through its pull-down network. The model assumes:
- The supply is an ideal source at constant voltage .
- Each transition is a full swing, from 0 to or back.
- The two networks never conduct at the same time, so no current flows straight from the supply to ground (no short-circuit current).
- No charge is shared with other nodes, the capacitance is constant, and leakage is ignored.
Definition. The dynamic power of node is the average rate at which the supply delivers energy to charge :
For a synchronous circuit with clock frequency , let be the mean number of rising transitions of per clock cycle. The dynamic power of the circuit is the sum over its nodes.
Theorem. Under assumptions 1 to 4, each rising transition of draws exactly from the supply, so
Proof. During a rising transition the pull-up network carries a current from the supply into the capacitor, and the node voltage goes from 0 to . The charge that enters the capacitor is , so the energy that the supply delivers is
The energy stored in the capacitor at the end is
using . The difference is dissipated in the pull-up network. Only the initial and final voltages enter, so this holds for any resistance, linear or not, and any speed of the transition. During a falling transition the supply delivers nothing, and the pull-down network dissipates the stored . So a rising transition costs from the supply, a falling one costs 0, and a full cycle up and down dissipates in the gate. In seconds there are clock cycles and on average rising transitions, so the supply delivers , and dividing by gives the formula.
Conventions. Rising and falling transitions alternate, so in the long run each is half of all transitions. If counts all transitions per cycle (the toggle rate), the same power is . Texts use both forms, and a factor of 2 is a common error when numbers are taken from one text to another. Glitches are transitions too and are included in ; see glitch power.
What is exact and what is fitted. The formula is exact under the four assumptions. The numbers that enter it are not exact. The wire part of comes from parasitic extraction, and the pin capacitances and the internal power of each cell, which covers the short-circuit current and the charging of nodes inside the cell, come from the characterization of the cell library, as tables fitted to circuit simulation over input slew and output load. The activity is measured by simulation or estimated.
Examples and non-examples
A gate at 1 GHz. A node with fF at V, GHz and dissipates µW. A million such nodes dissipate 1 W.
A clock net. A clock rises once per cycle, so , the largest value for a signal without glitches. A clock tree with 1 pF of total capacitance at 0.8 V and 2 GHz dissipates mW. This is why clock gating, which stops the clock of idle registers, is a main low-power technique.
Random data. If a bit is a fresh fair coin in each cycle, it rises when it is 0 in one cycle and 1 in the next, so , and its toggle rate is .
Lowering the supply. The power is quadratic in . Halving at the same frequency divides the dynamic power by 4. Since gates are slower at a lower voltage, the frequency must often drop too, which gives about a factor of 8 in power but only 4 in energy per operation. This is the basis of voltage and frequency scaling and of clustered voltage scaling.
Non-example: a node that does not switch. A node held at 1 has and no dynamic power, but its gate still draws leakage power.
Non-example: short-circuit power. While the input of a gate moves through the middle of its range, both networks conduct briefly and a current flows from the supply to ground without charging . This violates assumption 3. It grows with the input slew, and models such as Veendrick's (1984) estimate it; in a cell library it is part of the fitted internal power.
Non-example: adiabatic charging. If the supply itself ramps slowly from 0 to over a time much longer than , the energy lost in a resistance is about for a ramp of length , much less than . This violates assumption 1, and the formula does not apply to such circuits.
Non-example: partial swing. A node that swings only to while the supply stays at draws per rising transition, not . Low-swing buses use this.
Related definitions
- Switching activity. The factor of the formula; the switching activity page defines it per cycle and per transition type, and transition density is the same idea per second.
- Leakage power. The static part of the power, which flows without switching; see leakage power. The total power of a CMOS circuit is the sum of the dynamic, the short-circuit and the leakage power.
- Glitch power. The part of the dynamic power that comes from transitions that the final logic values do not need; see glitch power.
- Energy per operation. For a computation that takes a fixed number of cycles, the energy is times the cycle count, so it does not depend on but still on .
- Effective capacitance. The product summed over all nodes, often called the switched capacitance. RTL power macromodels estimate it per block from input statistics.
References
- Anantha P. Chandrakasan, Samuel Sheng and Robert W. Brodersen, Low-power CMOS digital design, IEEE Journal of Solid-State Circuits 27(4), 473 to 484, April 1992, the section on the sources of power dissipation in CMOS, with the switching component written as the activity times the load capacitance, the square of the supply voltage and the clock frequency
- Farid N. Najm, A survey of power estimation techniques in VLSI circuits, IEEE Transactions on VLSI Systems 2(4), 446 to 455, December 1994, the introduction, which states the average power of a node in terms of its transitions per unit time and its capacitance
- Neil H. E. Weste and David Money Harris, CMOS VLSI Design, A Circuits and Systems Perspective, 4th edition, Addison-Wesley, 2011, the chapter on power (dynamic power, the activity factor, short-circuit current and static power)
- Harry J. M. Veendrick, Short-circuit dissipation of static CMOS circuitry and its impact on the design of buffer circuits, IEEE Journal of Solid-State Circuits 19(4), 468 to 473, August 1984, the model of the short-circuit current that flows while both networks of a gate conduct
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag BSHG1C Edit this page History Report an error Markdown