S3 · Problem set 11
Problem set 11: designing digital systems
These problems size whole systems the way an architecture review does: from a throughput or latency requirement to the number of units, the clock, the memory and bus bandwidth, the area, the power and the verification effort. Each is a short chain of estimates; keep the units straight and round counts up.
Check
A block must perform 10 G operations a second; each unit does one per cycle at 250 MHz and takes 80 thousand gates.
(a)
How many units does it need?
(b)
How many million gates is that?
Check
A design has 50 million NAND2-equivalent gates, in a process with 2 million gates per mm² of cell area, placed at 0.75 utilization.
(a)
How much cell area is that?
(b)
How big is the core?
Check
A chip has 10 million gates, each switching 1 fF at activity 0.2, at 0.9 V and 0.5 GHz; each gate leaks 1 nW.
(a)
What dynamic power does it burn?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
What leakage?
Check
A video pipeline reads and writes each 1920 × 1080 frame 3 times in total, 4 bytes per pixel, 60 frames a second; DRAM channels give 12.8 GB/s each at 70% efficiency.
(a)
What memory bandwidth does it need?
(b)
How many channels?
Check
A design puts 16 FO4 delays of logic in each pipeline stage plus 3 FO4 of register and clock overhead; the process's FO4 delay is 25 ps.
(a)
What clock can it reach?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
What fraction of each cycle is overhead?
Check
A packet processor must handle 100 Gb/s of minimum-size Ethernet frames (64 bytes plus 20 bytes of preamble and gap), on a 300 MHz clock.
(a)
How many packets a second is that, in millions?
(b)
How many clock cycles does it get per packet?
Check
An FPGA filters 4 channel(s), each with a symmetric 127-tap FIR at 10 MS/s, on a 400 MHz clock with time-shared DSP slices.
(a)
How many DSP slices does it need?
Check
An image filter keeps 5 lines of 1920 pixels, 24 bits each, in 36 Kb block RAMs (36 864 bits each).
(a)
How much storage do the line buffers need?
(b)
How many block RAMs, if the bits pack perfectly?
Check
A request passes a 12-stage pipeline at 500 MHz and one 80 ns memory access; 10000 requests are issued back to back.
(a)
What is one request's latency?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How long until all 10000 have finished, if the memory is pipelined too?
Check
An inference runs 1 G multiply-accumulates at 2 pJ each and moves 50 MB to and from DRAM at 100 pJ per byte.
(a)
How much energy does it take?
Write units the way you normally would: 1.5 mJ, 1500 µJ and 0.0015 J are the same answer.
(b)
What fraction is data movement?
Check
A bus must sustain 16 GB/s at 250 MHz with 0.9 efficiency.
(a)
How wide must it be?
(b)
What power-of-two width would you build?
Check
An ASIC needs 50 million dollars of NRE and costs 2 dollars a unit; the FPGA that would do the same job costs 26 dollars a unit.
(a)
What is the break-even volume?
(b)
What does each ASIC cost, NRE included, at 100000 units, in dollars?
Check
A cross coverpoint of 16 × 4 bins must be filled by random tests that take 2 s each.
(a)
About how many tests are expected?
(b)
How long is that on one machine?
Check
A DRAM channel delivers 25.6 GB/s of raw transfers; each 64-bit data word is stored with SECDED check bits.
(a)
How wide is each stored word?
(b)
What data bandwidth remains, if the checks ride on the same pins?
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
14 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.