2,685 views

1 Answer

6 votes
6 votes
A and B are input bits

(Assumption: Nothing mentioned ,so any number of inputs are possible in and gate)

Generator function G = A.B

Propagation function P = A xor B

general equation for carry is C(i+1) = G(i) + P(i)C(i)

Therefore for C(0+1) = G(0) + P(0)C(0)                         requires 1 AND gate

                   C(1+1) = G(1) + P(1)C(1)

                             = G(1) + P(1)[G(0) + P(0)C(0)]

                             = G(1) + P(1)G(0) + P(1)P(0)C(0)    requires 2 AND gate

Similarly 3 AND gate for C(1+ 2)

Therefore, for 8 bit no. of and gates required = 1+2+3...+8 = 36  (Hence  n*(n+1)/2)

Related questions

0 votes
0 votes
1 answer
2
1 votes
1 votes
2 answers
4
Puja Mishra asked Dec 18, 2017
735 views
can anyone tell me wat is the right equation for carry generator in carry lookahead adder ?? Confused ..$ C_{i} = G_{i}+P_{i}C_{i-1}$$ C_{i+1}=G_{}i+P_{}iC_{}i$