TactivergeLite

Lite / Textbooks / Digital Logic and Computer Architecture / Chapter 10

10. Power, performance and the chip

Version 1 · Technically checked (automated checks only) · 4 source lessons · Full interactive version

Introduction

Every design decision in this book ends up on a die of silicon that costs money, uses energy and gets hot. This chapter brings the threads together: where a chip's power goes, why lowering the voltage helps so much, how designers trade power, performance and area, and how wafers, lithography and yield set what a chip costs.

Figure 10.1. The power, performance, area triangle (described in words)

A triangle with corners labelled Power, Performance and Area. Inside: dynamic power P = α·C·V²·f. A note shows that halving the supply voltage V at the same frequency cuts dynamic power to one quarter.

Explanation

Built from 4 School lessons. Each part is the lesson's own explanation.

10.1 Where a chip's power goes

Halve a processor's supply voltage and its switching power drops by three quarters. Why the square?

Static and dynamic

Static power is leakage: P_static = V·I_leak, small per transistor but significant with billions of them and rising with temperature. Dynamic power is the cost of switching: P ≈ αCV²f. In most busy logic, dynamic power dominates.

The four knobs

Lower α by not switching what you don't need (clock gating). Lower C with smaller transistors and shorter wires. Lower f when there is less work. Lower V for the biggest win, because it is squared, but transistors switch more slowly at low voltage, so f must fall too.

Voltage and frequency scaling

Since lower V forces lower f, reducing both together cuts power roughly with V³ while performance falls only with f. Phones run in a ladder of (V, f) operating points and jump between them many times per second. Energy per operation, CV², falls with V²: slow-and-low is efficient.

Derivation: Dynamic power P ≈ αCV²f
  1. A gate's output drives a load capacitance C. Charging it from 0 to V through the pMOS draws charge Q = CV from the supply at voltage V: energy taken = QV = CV².

  2. Half of that, ½CV², ends up stored on the capacitor; the other half is lost as heat in the pMOS.

  3. Discharging through the nMOS dumps the stored ½CV² as heat. So one full 0 → 1 → 0 cycle costs CV² from the supply.

  4. If the node completes such a cycle on a fraction α of clock cycles (the activity factor), at clock frequency f, cycles per second = αf.

  5. Power = energy per cycle × cycles per second: P = αCV²f. Summed over all nodes, C is the total switched capacitance.

Common mix-ups

Open the Lite lesson: Where a chip's power goes

10.2 Power, performance, area: the chip designer's triangle

Why would a chip designer use four slow cores instead of one fast one, when one fast core is simpler?

The three letters

Power: dynamic (switching) plus static (leakage, which flows even when nothing switches and grows with temperature and with the number of transistors). Performance: work per second, roughly cores × frequency × operations per cycle. Area: silicon used, which sets cost and yield. Improving one usually costs another.

Why parallelism saves energy

Two cores at half the clock deliver the same throughput as one core at full clock. Each can then run at a lower voltage, and power ∝ V²·f. Same work, less power, double the area. This is why phones use many slower cores and why GPUs have thousands. It only works if the task can be split: serial parts don't speed up.

Where it stops paying

Leakage scales with the amount of silicon and with V, not with f. Add many cores at very low voltage and leakage starts to dominate; area and cost grow too. Below a certain voltage the transistors become too slow and too variable. The best design is a sweet spot, and it moves with the workload and the process technology.

Dynamic voltage and frequency scaling

Chips change V and f on the fly: high when you need speed, low when idle. Because energy per operation ∝ V², 'race to idle' (run fast, then sleep) and 'run slow and low' compete; which wins depends on how much leakage the chip has while active and asleep.

Derivation: Where α·C·V²·f comes from
  1. A logic gate's output drives a load capacitance C. Charging it from 0 to V through the supply draws charge Q = C·V at voltage V: energy C·V² leaves the supply.

  2. Half of that, ½CV², is stored in the capacitor; the other half is dissipated as heat in the pull-up transistor. Discharging dumps the stored half as heat in the pull-down. So each full 0 → 1 → 0 cycle costs C·V².

  3. If a fraction α of the chip's capacitance switches each clock cycle (the activity factor), energy per cycle is α·C·V².

  4. At f cycles per second: P_dyn = α·C·V²·f.

  5. Higher f needs faster transistors, which need higher V (gate delay falls as V rises above the threshold voltage). So pushing f up drags V up, and power grows roughly like f³ near the top of the range.

  6. Energy per operation is P/throughput = α·C·V²·f/(f·ops per cycle) = α·C·V²/(ops per cycle): it depends on V², not on f. Lower voltage is the lever for energy efficiency.

Common mix-ups

Open the Lite lesson: Power, performance, area: the chip designer's triangle

10.3 Inside an integrated circuit

A processor die the size of a fingernail holds billions of transistors and kilometres of wire. How is something that complex designed at all?

Die, cells and rows

The die is the rectangle of silicon that becomes one chip. Digital logic is built from a standard-cell library: pre-designed, pre-characterised gates and flip-flops (NAND2, INV, DFF, …) of equal height, placed in rows like bricks so their power rails line up. Memories (SRAM macros), analogue blocks and I/O pads around the edge complete the floorplan.

Interconnect

Cells are joined by many layers of metal interconnect (often 10 or more) separated by insulator and linked by vias. Lower layers are thin and dense for short local wires; upper layers are thick for long routes, power and clock. Wire delay grows roughly with the square of length for an unbuffered RC wire, so long nets are split with repeater buffers.

Clock distribution

Every flip-flop must see the clock edge at nearly the same moment. A clock tree (or mesh) of buffers fans the clock out from one source to millions of flip-flops. The difference in arrival times is skew; it eats into the time available for logic. The clock network switches every cycle, so it can take a large share of dynamic power, which is why designers clock-gate idle blocks.

The design flow

Engineers write RTL (register-transfer level code), simulate it, synthesise it into a netlist of standard cells, then place and route it, check timing (every path must fit in the clock period), power and manufacturing rules, and finally send the layout to the fab. Each step trades power, performance and area (PPA).

Common mix-ups

Open the Lite lesson: Inside an integrated circuit

10.4 Wafers, lithography and yield

A wafer full of chips comes out of the fab. Some dies work and some don't, and the bigger the chip, the worse the odds. Why?

From sand to wafer

Ultra-pure silicon is grown as a single crystal ingot and sliced into polished wafers, today usually 300 mm across. Each wafer carries hundreds of copies of the chip, called dies, side by side.

Photolithography, layer by layer

A light-sensitive photoresist is spun on, exposed through a patterned mask (reticle) with deep-ultraviolet or extreme-ultraviolet light, and developed. The exposed pattern then guides etching, deposition of new material, or doping (implanting atoms to change conductivity). Repeating this for dozens of layers builds transistors at the bottom and metal wiring above. A process node (for example '7 nm' or '3 nm') names a technology generation; the number no longer equals any single physical dimension.

Test, dice, package

Finished wafers are probed: each die is tested electrically and failures are marked. The wafer is diced, good dies are packaged (bonded to a substrate with pins or balls) and tested again. Defects (a particle, a lithography error) kill dies at random, which is what the yield model captures.

Why area is expensive

Bigger dies mean fewer per wafer and lower yield, so cost per good die grows faster than area. Edge loss adds to it: square dies can't tile a circle. That is why designers fight for area, why the same design gets cheaper as a process matures and D falls, and why chiplets split a big design into several small, high-yield dies.

Derivation: Where e^(−D·A) comes from
  1. Assume killer defects land independently and uniformly on the wafer, D per cm² on average.

  2. Then the number of defects k on one die of area A follows a Poisson distribution with mean λ = D·A.

  3. P(k) = λ^k e^(−λ) / k!. A die works only if k = 0, so Y = P(0) = e^(−D·A).

  4. Example: D = 0.1 /cm², A = 100 mm² = 1 cm²: Y = e^(−0.1) ≈ 90.5%. At 4 cm², Y = e^(−0.4) ≈ 67%.

  5. Good dies per wafer = DPW × Y, with DPW ≈ π(d/2)²/A − πd/√(2A). Cost per good die = wafer cost ÷ (DPW × Y).

  6. Real defects cluster, so fabs often use the negative-binomial model, which gives higher yield for large dies than Poisson. The trend is the same.

Common mix-ups

Open the Lite lesson: Wafers, lithography and yield

Worked examples

Where a chip's power goes: example 1

A block has C = 2 nF switched capacitance, α = 0.15, V = 1.2 V, f = 500 MHz. Find P, then P at 0.9 V and 375 MHz.

Solution

P = 0.15 × 2×10⁻⁹ × 1.44 × 5×10⁸ = 0.216 W. New: 0.15 × 2×10⁻⁹ × 0.81 × 3.75×10⁸ ≈ 0.091 W, a 58 % cut for a 25 % slowdown.

Power, performance, area: the chip designer's triangle: example 1

A core uses 2 W at 1.0 V and 1.5 GHz. Estimate the dynamic power at 0.8 V and 1.0 GHz (if timing allows).

Solution

P₂ = 2 × (0.8/1.0)² × (1.0/1.5) = 2 × 0.64 × 0.667 ≈ 0.85 W. The clock fell by a third, but power fell by more than half.

Inside an integrated circuit: example 1

A register-to-register path has clock-to-Q 50 ps, logic 600 ps, wire 150 ps, setup 40 ps and skew 30 ps. What is the maximum clock frequency?

Solution

t_clk ≥ 50 + 600 + 150 + 40 + 30 = 870 ps, so f_max = 1/870 ps ≈ 1.15 GHz. Shortening the wire with better placement directly raises f.

Wafers, lithography and yield: example 1

300 mm wafer, 100 mm² dies, D = 0.1 /cm², wafer cost $10,000 (illustrative). Cost per good die?

Solution

DPW = 70,686/100 − 942.5/14.14 ≈ 706.9 − 66.6 = 640. Y = e^(−0.1) = 0.905. Good dies ≈ 579. Cost ≈ $10,000/579 ≈ $17.3.

Wafers, lithography and yield: example 2

Same wafer, 400 mm² dies?

Solution

DPW ≈ 176.7 − 33.3 = 143. Y = e^(−0.4) = 0.670. Good dies ≈ 96. Cost ≈ $104: 4× the area, about 6× the cost.

Interactive figures, in words

Figure 10.2 from Power, performance, area: the chip designer's triangle

Meet the brief (≥ 3 GOPS, ≤ 0.6 W, ≤ 10 mm²). Start with one core and push the clock: what stops you? Then try 2, 4 and 8 cores, lowering f and V each time. Which core count gives the lowest energy per operation, and why does 8 cores lose?

The explorer uses a simplified CMOS model with sliders for supply voltage, clock frequency, core count and activity factor. It reports dynamic power, leakage, throughput, area and energy per operation, and checks a brief of at least 3 GOPS within 0.6 W and 10 mm². One core can't reach 3 GOPS because the maximum clock at 1.3 V is about 1.9 GHz. Two cores need about 1.0 V and use about 0.76 W, failing the power cap. Four cores at about 0.65 V and 0.75 GHz pass with about 0.46 W and 8.4 mm². Eight cores fail on area, and leakage dominates their power.

Figure 10.3 from Wafers, lithography and yield

Fix the defect density at 0.1 per cm² and sweep die area from 20 to 600 mm². Watch yield and cost per good die. Then fix the area at 400 mm² and halve the defect density: how much cheaper does each die get?

The explorer draws a circular wafer tiled with square dies, defects as random dots, and dies with a defect shown in red (also counted in text). For 300 mm, 100 mm² dies and 0.1 defects/cm², the formula gives 640 dies, yield 90.5% and about 579 good dies.

The interactive versions are in the full chapter.

Laboratory

These run in a browser on the full site (they need a faster connection). Simulations are simplified educational models.

Practice

Each question links to its Lite lesson, where your answer is checked on our server and a wrong answer gets a hint. Answers are never sent to your device.

  1. α = 0.1, C = 1 nF, V = 1.0 V, f = 1 GHz. What is P = αCV²f, in watts?
    Answer it in “Where a chip's power goes”
  2. Halving V (with α, C, f unchanged) changes dynamic power by a factor of…
    Answer it in “Where a chip's power goes”
  3. A chip's dynamic power is P = α·C·V²·f. At 1 V and 1500 MHz it uses 5 W. The designers change the supply to 0.9 V and the clock to 3000 MHz (same α and C). What is the new dynamic power, in watts? (3 significant figures.)
    Answer it in “Power, performance, area: the chip designer's triangle”
  4. In the PPA explorer, 8 cores at 0.5 V use more total power than 4 cores at 0.65 V for the same throughput. Why?
    Answer it in “Power, performance, area: the chip designer's triangle”
  5. Why are standard cells all the same height?
    Answer it in “Inside an integrated circuit”
  6. An unbuffered wire 1 mm long has 20 ps delay. Using the RC model (delay ∝ L²), what is the delay of a 3 mm wire?
    Answer it in “Inside an integrated circuit”
  7. With a Poisson yield model Y = e^(−D·A), what percentage of 20 mm² dies work when the defect density is 0.3 defects per cm²?
    Answer it in “Wafers, lithography and yield”
  8. With D = 0.2 /cm², what is the yield (as a percentage) of one 6 cm² monolithic die? (Four 1.5 cm² chiplets would each yield 74%.)
    Answer it in “Wafers, lithography and yield”

Engineering applications

Phones and laptops

Dynamic voltage and frequency scaling lowers V and f when the workload is light. Because dynamic power scales with V², a modest voltage drop saves a large share of power.

Why big chips cost more

Defects land on a wafer at random, so a larger die is more likely to contain one. Fewer dies fit and a larger share of them fail, which is one reason designers split big systems into smaller chiplets.

Watch (optional)

Streaming video uses a lot of data. Everything you need is in the text.

Summary

Glossary

Electrical power
The power transferred in a component is the voltage across it multiplied by the current through it. For a resistor this can also be written I²R or V²/R. Field Guide
Propagation delay
Propagation delay is the time a gate's output takes to respond to a change at its input. The slowest path between flip-flops, the critical path, sets the fastest safe clock. Field Guide
Clock speed, cycles and CPI
Execution time equals the number of instructions times the average cycles per instruction (CPI) divided by the clock frequency. Field Guide

Project: A battery budget for a sensor chip

A sensor chip's logic switches C = 100 pF effectively (α·C) at 1.2 V and 10 MHz. Compute its dynamic power, then compute it again at 0.9 V and 5 MHz. Decide whether the slower setting still meets a task that needs 2 million cycles every second, and state what you have ignored.

Deliverables

Write it up on paper or in your own notes. Lite never stores what you write.

References

← 9. The memory hierarchyContents →