GATE Computer ScienceHardGATE CS (PYQ pattern)
A Wallace-tree multiplier of 16 × 16 bits must add 16 partial products using layers of 3:2 carry-save adders (each group of 3 rows becomes 2 rows; leftover rows pass through), followed by one carry-propagate adder. How many carry-save layers are needed to reduce 16 rows to 2?
- A. 5
- B. 6
- C. 8
- D. 7
Correct answer: B. 6
16 → 11 → 8 → 6 → 4 → 3 → 2 rows: six layers. A linear array of 3:2 adders would need 14.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Instruction frequencies are 0.5, 0.25, 0.125, 0.0625 and 0.0625. What is the minimum average opcode length with a prefix code, and how…
- A cache line holds 8 words. Memory returns the first word 20 cycles after the request and then one word per cycle. Without…
- A physically indexed, physically tagged cache needs the TLB first: a TLB hit takes 1 ns and the cache hit then takes 2 ns. A VIPT cache…
- A physically tagged L1 data cache is 32 KB, 8-way set-associative with 64-byte blocks. Physical addresses are 40 bits and pages are 4 KB…
- A pipeline (ideal CPI 1) can predict branches not-taken (a taken branch costs 3 cycles, a not-taken one 0) or predict taken (a taken…
- A direct-mapped cache with 32-byte blocks and 32-bit addresses stores, for every line, only a tag and a valid bit as metadata. The total…