In a carry-lookahead adder with generate Gi = Ai·Bi and propagate Pi = Ai ⊕ Bi, which expression gives the carry into the next stage?
Correct answer A. C(i+1) = Gi + Pi·Ci
Explanation
A stage produces a carry if it generates one itself (both inputs 1) or propagates an incoming carry (exactly one input 1). Expanding this recurrence lets all carries be computed in parallel from the G and P signals instead of rippling, cutting delay from linear to logarithmic in the word size. Ai ⊕ Bi ⊕ Ci is the sum bit, not the carry.
Answer checked How we write and check questions
Discussion