S347 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S3 · Lesson 47 · Physical design and timing closure

Placement and wire length, power grids and IR drop, electromigration, on-chip variation and closing timing

After synthesis, a design is a netlist that meets timing on paper, with wire delays estimated. Physical design makes it real: cells get places, wires get lengths, and the power grid has to carry amps of current to every cell without letting the supply sag. Timing that looked fine often fails once real wires appear, and the last weeks of a chip project are spent on timing closure: resizing gates, adding buffers, swapping threshold voltages, nudging clocks and rerouting, corner by corner, until every path at every process, voltage and temperature corner has positive slack.

  • The voltage drop along a power rail of total resistance R carrying a total current I drawn evenly along its length, against position. Solid: fed from one end. Dashed: fed from both ends.
  • Fed from one end, the far end sags by IR/2. Fed from both, the worst point is the middle, at only IR/8: a quarter of the drop for the same metal.
  • Real power grids are meshes fed from hundreds of bumps across the die, for the same reason.

Predict

A rail of total resistance 10 Ω feeds 50 mA drawn evenly along it. It's fed from one end and the far end sags 250 mV. If it's fed from both ends instead, what's the worst drop?

Name it

Placement and wire length

Placement tools minimize total wire length, estimated per net by the half-perimeter wire length (HPWL): the width plus height of the box around the net's pins. For three pins at x coordinates a, b and c, the width is |a−b|+|b−c|+|a−c|2. They also spread cells to avoid congestion, regions where nets need more routing tracks than exist.

Power delivery

  • A rail of resistance R with current I drawn evenly drops IR/2 fed from one end and IR/8 fed from both.
  • Static IR drop budgets are typically 5% or less of VDD; dynamic drop (from simultaneous switching) is handled with decoupling capacitance near the cells.
  • Electromigration: sustained current pushes metal atoms along a wire until it opens. Each layer has a maximum current density, so a wire of width w carries at most Jmaxw (quoted per µm of width).

Variation and sign-off timing

  • Corners: timing is checked at slow, typical and fast process, at low and high voltage and temperature, and in each mode of operation (MCMM).
  • On-chip variation (OCV): within one die, a path can be a little slower or faster than its neighbors. Setup analysis derates the launch clock and data paths late (×dlate, such as 1.08) and the capture clock early (×dearly, such as 0.92):
slack=T+dearlytcap−dlate(tlaunch+tdata)−tsu
  • Common path pessimism removal (CRPR): the clock path shared by launch and capture can't be both slow and fast at once, so tcommon(dlate−dearly) is credited back.

Closing timing

Upsize gates on critical paths, add buffers or split fanout, swap cells to low-threshold (faster, leakier) versions, move registers (retiming) or clocks (useful skew), and fix hold by adding delay on short paths. Late changes are made as small ECOs (engineering change orders) to avoid re-running the whole flow.

Worked example

A launch clock path of 400 ps, a data path of 600 ps and a capture clock path of 380 ps, with a 1000 ps clock and 30 ps setup. What's the setup slack without derating, and with derates of 1.08 late and 0.92 early? The two clock paths share their first 300 ps.

Show the solution
  1. Without derating. S=1000+380−400−600−30=350ps
  2. Derated arrival. The launch side is late: ta=(400+600)×1.08=1080ps
  3. Derated required time. The capture side is early: tr=1000+380×0.92−30=1319.6ps so the slack is 1319.6−1080=239.6 ps.
  4. CRPR. Removing the pessimism on the shared 300 ps credits back 300×(1.08−0.92)=48ps for 287.6 ps of slack.

Answer 350 ps without derating, 239.6 ps with the derates, and 287.6 ps after CRPR.

Worked example

A block draws 1.2 W at 0.75 V. How much current is that, and how wide must a single feeding wire be if its layer allows 2 mA per µm of width?

Show the solution
  1. Current. I=1.2W0.75V=1.6A
  2. Wire width. At 2 mA/µm: 1600mA2mA/µm=800µm of total wire width.
  3. What designs do. That's why power comes in through many wide straps on the thick top metal layers and hundreds of bumps.

Answer 1.6 A, which would need a wire 800 µm wide.

Worked example

A net connects pins at (0, 0), (30, 10), (10, 40) and (50, 20) µm. What half-perimeter wire length does the placer estimate, and what if the last pin moves to (20, 20)?

Show the solution
  1. Bounding box. It spans 0 to 50 in x and 0 to 40 in y: HPWL=50+40=90µm
  2. After the move. With the last pin at (20, 20), x spans only 0 to 30: HPWL=30+40=70µm
  3. How placers use it. Moving one cell shortened the estimate by 20 µm; placers make millions of such moves, guided by HPWL because it's quick to update.

Answer 90 µm, and 70 µm after the move.

Check

A net connects pins at (40, 30), (25, 15) and (55, 50) µm. What's its half-perimeter wire length?

Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.

Check

A rail of 2 Ω carries 20 mA drawn evenly along it, fed from one end. What's the drop at the far end?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

Check

The same kind of rail, 2 Ω with 20 mA drawn evenly, is fed from both ends. What's the worst drop?

Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.

Check

A block draws 2 W at 0.7 V. If the metal allows 2.5 mA per µm of width, how much total wire width must carry its current?

Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.

Check

With an 800 ps clock, a launch clock path of 300 ps, a data path of 700 ps, a capture clock path of 420 ps and 25 ps setup, what's the setup slack under OCV derates of 1.05 late and 0.9 early?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

Check

Launch and capture clock paths share their first 150 ps. With derates 1.05 late and 0.95 early, how much pessimism does CRPR remove?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

Check

A launch clock path of 350 ps feeds a 400 ps data path; the capture clock path is 380 ps, with the first 150 ps shared with the launch path. The clock is 800 ps and setup is 30 ps.

(a)

What is the setup slack without derating?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

(b)

With OCV derates of 1.08 late and 0.92 early?

(c)

And after common path pessimism removal?

Check

A power rail of resistance R carries a current I drawn evenly along it; the layer allows a current density J per µm of width.

Step 1

What does it drop if fed from one end?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why are power grids fed from many points across the die instead of from the edges?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.