S314 of 55
0 XP
  1. Hook
  2. Problems

S3 · Problem set 2

Problem set 2: adders, multipliers, number formats and memories

These problems cover lessons 8 to 13: adder architectures and overflow, multiplier reduction and division, fixed- and floating-point formats, floating-point units, memories and FIFOs, and SRAM arrays. Dadda heights: 2, 3, 4, 6, 9, 13, 19, 28, 42, 63.

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

Write the two's complement overflow flag from the sign bits A, B of the addends and S of the sum.

Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.

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?

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.