GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A 32-bit carry-select adder is built from blocks. A block of n bits contains two ripple adders (carry-in 0 and 1) that have their carry-out at 2n gate delays and all their sums at 2n + 1, from inputs at t = 0. The first block uses the real carry-in (0) directly; every later block selects its carry-out and its sums with multiplexers that add 2 gate delays after both the incoming carry and the block's own results are ready. When is the final sum ready with four 8-bit blocks, and with blocks of 4, 4, 5, 6, 6 and 7 bits (least significant first)?

  1. A. 22 and 20
  2. B. 22 and 18
  3. C. 22 and 22
  4. D. 18 and 22

Correct answer: B. 22 and 18

Uniform: c₈ = 16, c₁₆ = max(16, 16) + 2 = 18, c₂₄ = 20, final sums max(17, 20) + 2 = 22. Growing blocks: c₄ = 8, then max(8, 8) + 2 = 10, max(10, 10) + 2 = 12, max(12, 12) + 2 = 14, max(12, 14) + 2 = 16, and the 7-bit block's sums max(15, 16) + 2 = 18. Block sizes that grow so each block finishes just as its carry arrives cut the delay; eight 4-bit blocks would need 22.

More Computer Organization and Architecture questions

Exams that ask this topic