S355 of 55
0 XP
  1. Hook
  2. Problems

S3 · Final exam

Final exam: digital design with HDL

Twelve problems from the whole course: RTL and datapaths, floating point, timing, sizing, wires and power, pipelines and clock crossings, verification and FPGAs, high-level synthesis and the ASIC flow, DSP hardware, interfaces, test and error-correcting codes, processors and caches, clocks and physical design. Give yourself three hours and work without the lessons open. "Another set" deals a different exam.

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, T0 = 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?

Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.

Practice

Keep practicing

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