S354 of 55
0 XP
  1. Hook
  2. Problems

S3 · Problem set 12

Problem set 12: problems that combine the whole course

These problems each combine several parts of the course: a datapath and its timing, a pipeline and its cache, a clock crossing and its FIFO, a chip's cost and its test. Work them as a designer would, carrying numbers from one step to the next.

Check

A 32-bit adder at 25 ps per logic level, between flip-flops with 50 ps clock-to-Q and 30 ps setup.

(a)

Maximum clock with a ripple-carry adder?

Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.

(b)

With Kogge–Stone (log2⁡N+2 levels)?

(c)

With the ripple adder pipelined into 4 equal stages?

Check

A 200-tap FIR with Q1.14 data and coefficients filters a 200 MHz stream on a 300 MHz clock.

(a)

Accumulator width?

(b)

Multipliers, time-shared?

Check

A burst of 300 words at 200 MHz crosses into a 150 MHz domain through an asynchronous FIFO; the synchronizers use flip-flops with τ = 25 ps and T0 = 20 ps, and the reader's clock samples data changing at up to 200 MHz.

(a)

FIFO depth to absorb the burst?

(b)

Smallest power-of-two depth that absorbs it?

(c)

Settling time the read domain's synchronizer needs for an MTBF of 1000 years?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

Check

A pipelined core: 0.25 loads (0.4 used at once), 0.2 branches mispredicted 0.2 of the time with a 2-cycle penalty. Its data cache hits in 1 cycle(s) (already in the pipeline) and misses 0.02 of the time with a 60-cycle penalty; 0.3 of instructions access data.

(a)

CPI with a perfect cache?

(b)

CPI with the cache's misses?

Check

A 32 KB, 4-way, 64-byte-line write-back cache with 40-bit addresses; misses wait 120 cycles and move lines over a 16-byte bus.

(a)

Tag bits?

(b)

Tag, valid and dirty overhead, as a percentage of the data bits?

(c)

Miss penalty?

Check

A path with 50 ps clock-to-Q, logic 60 to 700 ps, 30 ps setup and 25 ps hold, 60 ps of capture skew, a 1000 ps clock and 2 ps rms jitter (Q = 7.03, peak-to-peak taken as uncertainty).

(a)

Setup slack?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

(b)

Hold slack (jitter ignored, since both edges are the same edge)?

(c)

15 ps buffers needed to fix hold, if any?

Check

A gate path with logical effort 1.67, electrical effort 60 and parasitic delay 7, driving a 2 mm wire at 1 Ω/µm and 0.2 fF/µm.

(a)

Best number of stages?

(b)

Unrepeated wire delay?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

Check

A block switching 2 nF at activity 0.1, 0.9 V and 2 GHz, fed by a 4 Ω rail from both ends carrying 30 mA spread along it.

(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 lowering the supply to 0.65 V and the clock in proportion to the voltage?

(c)

Worst IR drop on the rail?

Check

An 80 mm² chip (0.1 defects/cm², 12000-dollar wafers) with 600000 flip-flops tested through 32 scan chains with 4000 patterns at 50 MHz.

(a)

Cost per good die, in dollars?

(b)

Scan test time per chip?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

(c)

Defect level at 99% coverage?

Check

A 24-input XOR on 4-input LUTs, with 0.15 ns per LUT and 0.5 ns of routing per level, between flip-flops with 0.3 ns of combined overhead.

(a)

Levels?

(b)

Maximum clock?

Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.

Check

A coverpoint with 64 bins, and a corner case of probability 0.0002 per random test.

(a)

Expected tests to fill the coverpoint?

(b)

Tests to hit the corner with confidence 0.999?

Check

A 32-bit memory word with SECDED, a TMR block whose copies each work with probability 0.9, and a 128-bit bus at 400 MHz moving 16-beat bursts with 4 overhead cycles.

(a)

Check bits?

(b)

TMR reliability?

(c)

Sustained bus bandwidth?

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

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