S3 Digital design with HDL · Practice
Midterm 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 9-state controller whose worst path is 20 gates of 35 ps, with 40 ps clock-to-Q and 20 ps setup.
(a)
Binary state flip-flops?
(b)
Unused codes?
(c)
Maximum clock?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
Selecting one of 12 inputs (25 ps per mux level), and a Moore detector for a 9-bit pattern.
(a)
Extra delay of a priority chain over a balanced tree?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Detector states?
Check
A 20 MHz clock divided down to a 1.7 kHz tick, and a 19-bit LFSR.
(a)
Divider bits?
(b)
LFSR period?
Check
A 32-bit adder at 20 ps per level.
(a)
How much faster is Kogge–Stone (prefix levels + 2) than ripple?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
How many more prefix cells does Kogge–Stone use than Brent–Kung?
Check
A 16 × 16 multiplier with Booth recoding, and a Newton–Raphson divider from an 8-bit seed to 24 bits.
(a)
Dadda stages after Booth (M/2 rows)?
(b)
Iterations?
Check
Q1.15 samples and coefficients, accumulated over 128 terms.
(a)
Product width?
(b)
Accumulator width?
Check
An IEEE single: exponent field 126, fraction 0.375.
(a)
Value?
(b)
ULP?
Check
A burst of 200 words at 100 MHz into a FIFO read at 90 MHz; and a 9000-word memory.
(a)
FIFO depth?
(b)
Memory address bits?
Check
A path: 900 ps clock, 45 ps clock-to-Q, logic 20 to 1100 ps, setup 35, hold 20, skew −30 ps.
(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.5, no branching, electrical effort 50, parasitic delay 8.
(a)
Best stage count?
(b)
Delay with 3 stages?
Check
A 1.5 mm wire at 0.3 Ω/µm and 0.2 fF/µm.
(a)
Distributed delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Wire delay alone if split into 4 equal segments by ideal repeaters?
Check
A block switching 1 nF at activity 0.1, 0.9 V, 2 GHz.
(a)
Dynamic power?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
After DVFS to 0.6 V at 0.5 of the clock?
Check
Registers a = 2, b = 1, c = 8.
(a)
a after a <= b; b <= c; c <= a;?
(b)
a after the blocking a = b; b = c; a = b;?
Check
An 8-bit two's complement adder with saturation adds 90 and 60.
(a)
Largest representable value?
(b)
Saturated result?
Check
A 3-input NOR and a 3-input NAND, each with electrical effort 2.
(a)
How much slower is the NOR, in τ?
(b)
Ratio of their logical efforts?
Check
A design's logic splits into blocks of 0.7 and 0.2 ns. A two-phase latch version uses latches with 60 ps from D to Q; a flip-flop version puts each block in its own stage, with 180 ps of clock-to-Q plus setup.
(a)
What period does the latch version need?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How long do the two flip-flop stages take together, at a period set by the slower one?
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