S322 of 55
0 XP
  1. Hook
  2. Problems

S3 · Midterm exam

Midterm exam: RTL, datapaths, timing and power

Twelve problems from lessons 1 to 20: RTL and state machines, datapath arithmetic and number formats, memories and FIFOs, static timing and latches, logical effort, wires and power. Give yourself two and a half hours and work without the lessons open. Dadda heights: 2, 3, 4, 6, 9, 13, 19, 28, 42. "Another set" deals a different exam.

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?

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

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