S3 Digital design with HDL · Practice
Problem set 9: timing, clocks and physical design
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
Check
A slow path with 2600 ps of logic, 50 ps clock-to-Q and 30 ps setup is declared a 2-cycle multicycle path on a 1000 ps clock.
(a)
What is its setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
What is the shortest period at which it still passes?
Check
Two pipeline stages share a middle register; stage 1 has 1050 ps of logic and stage 2 has 600 ps, on a 1000 ps clock with 80 ps of register overhead. The middle register's clock can be delayed by s.
(a)
What is the least s that lets stage 1 pass?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
What is the most s that still lets stage 2 pass?
(c)
What slack does each stage keep with s in the middle of that window?
Check
A 1 kΩ driver feeds a trunk of 200 Ω ending at a node with 50 fF; from there two branches of 600 Ω each reach a 10 fF load.
(a)
What is the Elmore delay (the sum of each resistance times the capacitance downstream of it) to one load?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A wire 2000 µm long has 0.05 fF/µm to ground and 0.05 fF/µm to each of two neighbors.
(a)
What capacitance does its driver see when both neighbors switch the opposite way?
Write units the way you normally would: 1.5 fF and 0.0015 pF are the same answer.
(b)
And when both switch the same way?
Check
A block leaks 5 mW and is idle 0.5 of the time. Power gating stops the leakage while idle, but each wake-up costs 100 µJ, 50 times a second.
(a)
How much power does gating save?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
(b)
At what wake-up rate would it save nothing?
Check
A clock network of 100 pF runs at 0.8 V and 2 GHz. Clock gating stops it to a fraction 0.8 of the flip-flops' clock pins, while the gating cells add 5 pF that always toggles.
(a)
What does the ungated clock burn?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
(b)
How much does gating save?
Check
A path launches on the rising edge and captures on the falling edge of an 800 ps clock with a nominal 50% duty cycle; duty-cycle distortion can shorten the high phase by 0.02 of the period. The path takes 350 ps including setup.
(a)
What is its slack at 50%?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
And with the worst distortion?
Check
A reset synchronizer (two flip-flops, async assert, sync deassert) runs on a 2 ns clock with 0.1 ns clock-to-Q. Its output reaches the farthest flip-flop's reset pin through 0.5 ns of routing, and that flip-flop needs 0.1 ns of recovery time.
(a)
What is the longest delay from releasing reset to the design leaving it?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
What is the recovery check's slack?
Check
A power rail 500 µm long in metal of 0.02 Ω per square carries 50 mA drawn evenly along it, fed from both ends; the drop must stay within 5% of 1 V.
(a)
How wide must the rail be?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
Check
A hold check: launch clock path 300 ps, shortest data path 150 ps, capture clock path 300 ps, hold 20 ps; derates 0.92 early (launch and data) and 1.08 late (capture). The clock paths share 250 ps.
(a)
What is the hold slack before pessimism removal?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
And after crediting the common path?
Check
An inverter drives a 2-input NAND, which drives an inverter loaded with 64 times the first inverter's input capacitance (no branching).
(a)
What effort should each stage bear?
(b)
What is the path's delay?
(c)
How large is the last inverter's input, in units of the first inverter's?
Check
A block's dynamic energy per operation must fall by a factor of 2 through voltage alone, from 0.9 V.
(a)
What supply does that take?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A net has pins at (0, 0), (20, 80) and (60, 20) µm.
(a)
What is 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.
(b)
About how much wire capacitance is that, at 0.2 fF/µm?
Check
A 500 ps clock has 1 ps rms random jitter; the budget also reserves 50 ps for skew and 40 ps of margin. Use Q = 7.03 for a error rate.
(a)
What peak-to-peak jitter must it allow?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
How much of the period is left for logic and flip-flops?
Check
A wire must carry 5 mA continuously in metal rated 1 mA per µm of width at 105 °C; at 125 °C the rating falls to 0.7 of that.
(a)
How wide must it be at 105 °C?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
(b)
And at 125 °C?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S3