S3 Digital design with HDL · Practice
Problem set 2: datapaths and memories
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 32-bit adder with 25 ps per level.
(a)
Ripple-carry delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Kogge–Stone delay (prefix levels plus 2)?
(c)
Kogge–Stone prefix cells?
Check
A carry-select adder of 32 bits in 4 equal blocks, against Brent–Kung.
(a)
Carry-select delay, in carry delays?
(b)
Brent–Kung prefix levels?
(c)
Brent–Kung prefix cells?
Check
A 16 × 16 multiplier.
(a)
Partial-product bits?
(b)
Product width?
(c)
Dadda stages after radix-4 Booth recoding of the 16-bit multiplier?
Check
Division: Newton–Raphson from a 4-bit seed to 24 bits, or a restoring divider for 64 bits at 500 MHz.
(a)
Newton–Raphson iterations?
(b)
Restoring divider time?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A Q1.11 sample times a Q2.17 coefficient, summed over 16 taps.
(a)
Exact product width?
(b)
Accumulator width with guard bits?
Check
Formats: signed Q1.9, and an IEEE single with exponent field 133 and fraction 0.5.
(a)
Q1.9 resolution?
(b)
The single's value?
(c)
Its ULP?
Check
An 8-bit two's complement adder with saturation adds 70 and 60.
(a)
Largest representable value?
(b)
The sum with saturation?
Check
A burst of 128 words at 100 MHz into a FIFO read at 90 MHz.
(a)
Depth needed?
(b)
Time to drain afterward?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A 1024 × 16 memory.
(a)
Address bits?
(b)
32 Kb block RAMs needed?
(c)
Pointer bits if used as a FIFO?
Check
A filter accumulates 8 products, each Q1.23 × Q1.23.
(a)
Accumulator bits to never overflow?
(b)
SQNR if the output is rounded back to Q1.23?
Check
13 rows of partial products.
(a)
Dadda stages?
(b)
Stages for a linear array?
Check
A binary floating-point format has 8 exponent bits and 7 fraction bits.
(a)
What is its exponent bias?
(b)
What is its smallest normal value?
(c)
What is its unit roundoff?
Check
A floating-point adder aligns 24-bit significands, keeping guard, round and sticky bits.
(a)
How wide is the aligned significand?
(b)
How many levels does a barrel shifter for shifts up to p + 2 need?
Check
An SRAM bitline serves 256 cells of 0.15 fF plus 40 fF of wire, with 25 µA of cell current; the sense amplifier needs 80 mV.
(a)
How long does a read take to develop?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How much energy do 64 such bitlines take per read at 1 V?
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