GATE / CS ARCHIVE

SIMILAR QUESTIONS / DIGITAL LOGIC

Analyze arithmetic carry critical-path delay

4 questions solved the same way, newest first. Back to Digital Logic

How these are solved

Trace the longest sensitizable carry/sum path with the stated gate delays and topology, include final sum generation, and derive total/asymptotic delay or the operand pattern that activates that path.

1 mark · NAT
Report issue

Combinational Circuits

Question 7, GATE 2016: An eight-bit ripple-carry adder adds two’s-complement integers A and B. With A=1, give the decimal B causing the longest latency for the sum to stabilize.
Tap to enlarge
Answer & solution

Official answer: -1.0 : -1.0

Our answer: −1; sum-only timing may also tie at 127

With A=00000001 and B=11111111 (−1), the low-order 1+1 generates a carry that propagates through all seven higher positions, giving the standard full-ripple worst case and official−1. If only the eight sum outputs matter and final carry-out is excluded, B=01111111 (127) also propagates the carry into the sign position and can tie the longest sum-settling delay under a conventional equal-delay full-adder model. Thus uniqueness depends on the precise output/timing model; −1 is a valid worst-case operand but need not be the only one.

At bit 0, 1+1 creates carry c1. At every higher bit of B=−1, A has 0 and B has 1, so the carry-propagate signal Ai XOR Bi is 1. Thus each carry waits on the previous stage. Binary 11111111 denotes −1, not 255, in the specified signed representation.

Original paper, page 27 · Answer key

2 marks · NAT
Report issue

Combinational Circuits

Question 65, GATE 2015: Construct a full adder from two half adders and an OR gate, and a four-bit ripple-carry adder from four such full adders. Each AND/OR gate delay is 1.2 microseconds; each XOR gate delay is 2.4 microseconds. Determine propagation delay, distinguishing a lumped full-adder timing model from gate-level overlapping propagation.
Tap to enlarge
Answer & solution

Official answer: 19.2

Our answer: Official19.2 uses lumped full-adder delays; gate-aware model gives 12

Each XOR delay is 2.4 microseconds and each AND/OR delay 1.2. A full adder made from two half adders has P=A XOR B, sum=P XOR Cin and Cout=AB+P*Cin. Its worst input-to-output delay is 4.8. Multiplying this black-box delay by four gives the published 19.2. However in a gate-aware ripple circuit all four P signals are computed in parallel. The first carry settles by 4.8, and each later carry needs only AND+OR=2.4 more, giving carry delays 4.8, 7.2, 9.6, 12; the last sum also settles by 9.6+2.4=12. Thus 19.2 is a conservative lumped-stage estimate, not the tight standard gate-level propagation bound under simultaneous operand arrival. A fixed zero initial carry or different arrival assumptions can further change sensitized timing. The intended timing model is not explicit.

At gate level all bit propagate signals P=A XOR B become ready after 2.4 microseconds, and generates G=AB after 1.2. The first carry using P·Cin followed by OR is ready after 4.8. Later carries traverse only an AND and OR using already-ready P, adding 2.4 each: 7.2, 9.6 and 12.0. The last sum is also ready at 9.6+2.4=12.0. By contrast, treating each full adder as a black box with worst-case delay 4.8 and multiplying by four gives the published 19.2. These calculations use different overlap assumptions; the source/key discrepancy must remain visible rather than silently selecting a timing model.

Original paper, page 51 · Answer key

2 marks · MCQ
Report issue

Carry lookahead propagation depth

Combinational Circuits

Question 62, GATE 2004: A 4-bit carry-lookahead adder is built only from AND,OR,NOT,NAND,NOR gates. Inputs are supplied in true and complemented forms. Each gate has unit delay, and the carry network is a two-level AND–OR implementation. What is the overall propagation delay? The exact complement-generation/netlist convention is not specified.
Options:
(A) 4 time units
(B) 6 time units
(C) 10 time units
(D) 12 time units
Tap to enlarge
Your answer
Answer & solution

Answer: B under conventional parallel complemented-signal implementation (no official key was published)

1. With input complements supplied, pi=ai XOR bi and its complement can each be formed in two gate levels, while gi=ai bi needs one. Expanding each carry as an OR of generate/propagate products adds two levels after the propagate signals, so carries and their complements can be ready at time 4 (parallel OR/NOR outputs).

2. A sum si=pi XOR ci can then be realized in two further AND–OR levels using these true/complement signals, giving time 6. This is the conventional gate-delay model behind B; it assumes sufficient fan-in for the stipulated two-level carry network and parallel generation of needed complements.

3. The wording does not specify a unique netlist or minimum-area implementation; adding serial inversion or a three-level XOR implementation can produce a different delay, so 6 is not a delay guaranteed for every allowed circuit.

4. Teaching check: The critical path goes through propagate formation, the expanded carry network and sum formation. Under the conventional parallel true/complement implementation these cost 2+2+2 levels. A statement about this implementation is different from a universal claim about every legal gate netlist.

Original paper, page 9

1 mark · MCQ
Report issue

Array-multiplier propagation depth

Combinational Circuits

Question 11, GATE 2003: An array multiplier multiplies two n-bit numbers. Every gate has unit delay. What is its total propagation delay? A. Θ(1); B. Θ(log n); C. Θ(n); D. Θ(n²).
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

1. The relevant quantity is longest input-to-output path, not total gate count. Partial-product generation occurs in parallel, after which a regular array has a number of dependent addition levels proportional to operand width. Unit gate delay therefore makes the critical delay linear even though there are quadratically many partial-product cells.

2. A conventional array multiplier forms partial products in parallel and propagates carries/sums through a linear number of adder stages. With constant delay per gate/stage, its critical path is Θ(n), C. Its Θ(n²) hardware area does not imply quadratic propagation delay; a tree multiplier is a different architecture.

Original paper, page 2