675 views

1 Answer

0 0 votes

In carry lookahead adder, the carry is calculated based on initial carry and hence it is not dependent on previous carry.So here we have 4 bit carry lookahead adder , we calculate C4 in terms of C0 without involvement of C3 using the carry lookahead equations .To use the carry looahead equations , we need the generator functions Gi and propogator functions Pi for each bit pair of operands ai and bi.They are calculated as :

Gi   =  ai . bi

Pi =  ai  ⊕ bi

So all these operations(calculation of Gi 's and Pi 's takes place simulatnoeusly.After that :

we calculate C4 from the C0 using the carrylookahead equations :

Ci+1   =  Gi   +  Pi . Ci

So calculating C1 in terms Co  , we get :

C1   =  G0  +  P0. C0

Similarly calculating C2 in terms C1  , we get :

C2   =  G1 +  P1. C1

Having calculated the C1 earlier , we can find C2 in terms of C0 by substitution :

C2  =  G1 + G0 . P1 + C0 . P0 . P1

Proceeding in the same manner , substituting repeatedly , we get :

C4   =  G3 + G2 . P3 + G1 . P2 . P3 + G0 . P1 . P2 . P3  + C0 . P0 . P1 . P2 . P3

Thus we can see final carry C4 is caluclated in terms of C0 by using generator and propogator functions

As we can see for C4 , no of product terms containing more than 1 literal = 4

So no of AND gates required  = 4 for C4 

and to combine them i.e.to find C4 , we need to OR them , so we 

No of OR gates for C4 = 1

Similarly we require 3 AND gates and 1 OR gate for C3

                            2 AND gates and 1 OR gate for C2   and 

                            1 AND  and  1 OR gate for C1

This carry lookaheads C1 , C2 , C3 and C4 that we have calculated in terms of C0 are stored in carry lookahead circuit.But prior to calculating them as we mentioned earlier , we calculate Gi and Pi where i ranges from 0 to 3 here since it is a 4 bit adder.

So in calculating Gi , we saw Gi  = ai . bi  so here 1 AND gate is required as well .As i ranges from 0 to 3 , so need 4 AND gates.

Therefore, total number of AND gates = 4 + 3 + 2 + 1(from carry lookahead circuit) + 4(in calculating Gi)

                                                      =  14

Total no of OR gates                        =  4 [For finding C1 to  C4]

Therefore , x = 14 and y = 4

Hence , 2x + 2y  =  28 + 8

                         =  36

Hence the correct option is B

Position:
Show:

Related questions

2 2 votes
1 1 answer
376
376 views
Anil Khatri asked Oct 10, 2016
376 views
Both option C and D is correctOption C , self dual of option C is (x+y).(y+z).(z+x)=xy+yz+zxOption D , self dual of option D is xy+yz+zx=(x+y).(y+z).(z+x)Both hold the pr...
1 1 vote
1 1 answer
597
597 views
Anil Khatri asked Oct 10, 2016
597 views
my sol to truth table is Y=A'B+AB=Bboth opyion B and C satisfied itoption B , AB+B=(A+1)B=Boption C, A'B+B=(A'+1)B=B