S3 Digital design with HDL · Practice
Final exam
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 controller with 11 states, clocked at 25 MHz, generating a 60 kHz tick.
(a)
Binary state flip-flops?
(b)
One-hot flip-flops?
(c)
Divider counter bits?
Check
A 16-bit adder at 20 ps per level, and a 24 × 24 multiplier reduced by a Dadda tree.
(a)
How much faster is Kogge–Stone than ripple?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Dadda reduction stages (heights 2, 3, 4, 6, 9, 13, 19, 28)?
Check
An IEEE single with exponent field 120 and fraction 0.25; and a 1500-word burst at 200 MHz into a FIFO read at 60 MHz.
(a)
The float's value?
(b)
FIFO depth?
Check
A path: 800 ps clock, 40 ps clock-to-Q, logic 70 to 850 ps, 25 ps setup, 20 ps hold, −25 ps skew and 20 ps of clock uncertainty on setup.
(a)
Setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Hold slack?
Check
A path with logical effort 1.33, branching 1 and electrical effort 250; and a 1.5 mm wire at 0.8 Ω/µm, 0.2 fF/µm.
(a)
Best number of stages?
(b)
Wire delay, unrepeated?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A block switching 3 nF at activity 0.1, plus a 150 pF clock tree, at 0.85 V and 2.5 GHz.
(a)
Total dynamic power?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
Saving from gating 0.5 of the clock tree's load?
Check
A 4 ns block pipelined into 4 stages with 0.2 ns of register overhead; elsewhere, a loop with 5 ns of logic and 2 registers.
(a)
Pipeline clock period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
Pipeline latency?
(c)
Loop's iteration bound?
Check
A synchronizer: τ = 20 ps, = 20 ps, 1600 MHz clock, data at 200 MHz.
(a)
MTBF with 500 ps of settling?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
Settling time for an MTBF of 10 years?
Check
A coverpoint of 100 bins after 200 random tests; and an 18-bit adder tested exhaustively at 100 million tests per second.
(a)
Coverage?
(b)
Exhaustive test time?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A 20-input AND on 5-LUTs; and a 3500 × 50 memory in 1024 × 36 block RAMs.
(a)
LUTs?
(b)
Block RAMs?
Check
A 100 mm² ASIC on 14000-dollar wafers with 0.1 defects/cm² and 3 million dollars of NRE, against a 40-dollar FPGA. The ASIC's unit cost is 5 dollars.
(a)
Die cost, in dollars?
(b)
Break-even volume?
Check
A symmetric 63-tap FIR at 10 MHz on a 500 MHz clock; and a CIC decimator with 5 stages, R = 16, 12-bit input.
(a)
Time-shared multipliers, using symmetry?
(b)
CIC register width?
Check
Scan test of 150000 flip-flops in 50 chains with 20000 patterns at 100 MHz; yield 0.8 and coverage 0.98.
(a)
Test time?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
Defect level?
Check
The store sw x5, 700(x1), and a five-stage pipeline with forwarding running 0.3 loads (0.3 used at once) and 0.1 branches mispredicted 0.1 of the time (2-cycle penalty).
(a)
Encoding, in hex?
(b)
CPI?
Check
A 32 KB, 4-way cache with 64-byte lines and 48-bit addresses, hitting in 4 cycles; misses (0.02) wait 40 cycles and move the line over a 16-byte bus.
(a)
Tag bits?
(b)
AMAT, in cycles?
Check
A PLL (20 MHz reference, N = 80, M = 2, P = 4); a 3 Ω rail carrying 50 mA spread along it, fed from both ends; and a path with a 900 ps clock, launch clock 420 ps, data 650 ps, capture clock 330 ps, 25 ps setup, derates 1.05 and 0.92.
(a)
PLL output?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
Worst IR drop?
(c)
OCV setup slack?
Check
A floating-point format has a 24-bit significand; x lies between and , with e = −10.
(a)
What is the ULP at x?
(b)
What is the largest rounding error there, rounding to nearest?
Check
An HLS loop of 512 iterations is 10 cycles deep and reaches II = 1; unrolled by 8 with partitioned arrays it reaches II = 1.
(a)
How many cycles does the rolled loop take?
(b)
And the unrolled one?
Check
An SRAM stores 64-bit words with SECDED; strikes flip up to 2 adjacent cells.
(a)
How wide is each stored word?
(b)
What interleaving keeps every word correctable?
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