GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A 16-bit carry-select adder is built from ripple-carry blocks. Every full adder produces its carry 2 gate delays after its inputs/carry-in are ready, every block except the first computes both carry-in versions in parallel, and a 2:1 multiplexer adds 2 gate delays to select a block's carry-out once its carry-in is known. Operands and C0 arrive at time 0. When is C16 ready with block sizes (from the LSB) 2, 2, 3, 4, 5, and with four blocks of 4?
- A. 12 and 14 gate delays
- B. 12 and 16 gate delays
- C. 14 and 14 gate delays
- D. 10 and 14 gate delays
Correct answer: A. 12 and 14 gate delays
Uniform 4-bit blocks: the first block's carry is ready at 8; the other blocks finished both versions at 8 too, so each mux stage adds 2: 8 + 3 × 2 = 14. Growing blocks 2, 2, 3, 4, 5: carry out of block 1 at 4; block 2 (ready at 4) at 6; block 3 (ready at 6) at 8; block 4 (ready at 8) at 10; block 5 (ready at 10) at 12. Each block finishes exactly when its carry-in arrives, so nothing waits: 12.
More Digital Logic questions
- A rising-edge D flip-flop has D = 1 permanently and an active-low asynchronous clear. The flip-flop starts at Q = 0. Rising clock edges…
- A Mealy machine has states A (start), B, C and one input X; entries are next state / output. A: X=0 → A/0, X=1 → B/0. B: X=0 → C/0, X=1 →…
- A 3-bit register Q2Q1Q0 is clocked synchronously with D2 = Q1, D1 = Q0 and D0 = (Q2 + Q1)' (NOR). Starting at 000 it follows a repeating…
- A Moore machine has states A to H, start state A and one input X. Each row lists: state, next state for X=0, next state for X=1, output. A…
- A Moore machine outputs 1 exactly when the last four serial input bits are 0101 or 1010 (overlapping allowed) and 0 otherwise, including…
- A circuit receives a BCD digit ABCD (A is the MSB; inputs 1010 to 1111 never occur and may be treated as don't-cares) and outputs F = 1…