edited by
692 views
5 votes
5 votes

Let X be the number of AND gates required and Y be the number of OR gates required in 4-bit Carry lookahead adder . Then what is value of 2X+2Y?

My doubt here is they are just talking about AND and OR gate but usually we use AND,OR as well as XOR gate in CLA adder,

Do we need to expand XOR gate and consider the AND and OR gate?

Please Explain ?

edited by

1 Answer

Best answer
5 votes
5 votes

See there are 3 steps to this :

a) Before entering into CLA circuit , n AND gates and n XOR gates for generator and propogator functions required for aand boperand values..

b) In the CLA circuit , we have 2 level implementation of AND gates followed by OR gates :

So in that no of AND gates required  = n(n+1) / 2

And no of OR gates   =   n

Therefore for 4 bit carrylookahead adder ,

No of AND gates in total required = 4 + (4*5/2)

                                                = 14

No of OR gates                         =  4

Therefore   2X  = 2*14  = 28

   and        2Y  =  2*4   =  8

So 2X + 2Y  = 28 + 8  

                   = 36

Hence 36 is the correct answer..

selected by

Related questions

3 votes
3 votes
2 answers
1
3 votes
3 votes
2 answers
2
Ismail asked Jan 14, 2018
1,016 views
what should be A B and C for F = 1 ??
2 votes
2 votes
2 answers
4
Sandeep Singh asked Jan 15, 2016
3,215 views
All the logic gates in the circuit shown below have finite propagation delay. The circuit can be used as a clock generator, ifa) X = 0b) X = 1c) X = 0 or 1d) X = Y