GATE Computer ScienceHardGATE CS
Twenty-eight 32-bit numbers are added with a tree of carry-save adders (3:2 compressors) that reduces every group of three operands to two, passing leftover operands through, until two operands remain for a final carry-propagate adder. How many levels of carry-save adders does the tree have?
- A. 6
- B. 7
- C. 8
- D. 9
Correct answer: B. 7
The operand count evolves 28 → 19 → 13 → 9 → 6 → 4 → 3 → 2, each step replacing every triple by two operands (n → 2⌊n/3⌋ + n mod 3). That is 7 levels.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A direct-mapped write-back cache of 8 KB has 64-byte blocks and each block is divided into 4 sub-blocks of 16 bytes with their own valid…
- A loop body occupies the 160 bytes from address 0x1000 to 0x109F and runs 100 iterations. The instruction cache is direct mapped, 128…
- The 16-bit multiplier 0x6DB6 (0110 1101 1011 0110) is used by a Booth multiplier. Radix-2 Booth recoding performs one add or subtract for…
- Machines A and B run four benchmarks with execution times (in seconds) A: 12, 30, 8, 50 and B: 24, 15, 16, 25. Which statement is correct?
- A 32 KB direct-mapped cache has 64-byte blocks and the processor issues 32-bit byte addresses. How many tag bits does each cache line store?
- A program of 2×10⁹ instructions runs on a 1.5 GHz processor. The mix is 40% instructions of CPI 1, 30% of CPI 2, 20% of CPI 3 and 10% of…