GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A fully pipelined floating-point adder has latency 4 cycles and can start one addition every cycle; a dependent addition starts only when its inputs have finished. Eight numbers are summed (a) as a serial chain and (b) as a balanced tree whose four first-level additions start in consecutive cycles 1-4. Counting from the start of cycle 1, after how many cycles is each final sum available, as (chain, tree)?

  1. A. (16, 28)
  2. B. (28, 16)
  3. C. (28, 20)
  4. D. (28, 17)

Correct answer: B. (28, 16)

Chain: 7 dependent adds × 4 = 28 cycles. Tree: level-1 adds start in cycles 1-4 (finish at 5-8); level 2 starts at 6 and 8 (finish at 10, 12); the root starts at 12 and finishes at 16.

More Computer Organization and Architecture questions

Exams that ask this topic