55,707 views
122 122 votes

A 4-bit carry look ahead adder, which adds two 4-bit numbers, is designed using AND, OR, NOT, NAND, NOR gates only. Assuming that all the inputs are available in both complemented and uncomplemented forms and the delay of each gate is one time unit, what is the overall propagation delay of the adder? Assume that the carry network has been implemented using two-level AND-OR logic.

  1. 4 time units
  2. 6 time units
  3. 10 time units
  4. 12 time units

23 Answers

4 4 votes

The answer is A) 4-time units.

Because even though we have Pi and Gi terms in carry,  these can be simplified into inputs so don't need to wait for 

'em to calculate the carry. For example -

C1 = G0 + P0C0

C1=A0B0 + (A0'B0+A0B0')C0

C1=A0B0 + A0'B0C0 + A0B0'C0

Similarly, we can write C2, C3, and C4 in terms of inputs so just 2-level AND-OR is enough to generate all the carries, therefore, 2-time units here.

Now for the sum, we have to wait for the carries and then sum will take 2-time units, therefore, total time units = 2+2 =4.

 

1 flag:
✌ Low quality (arbpass “wrong answer as he didn't calculated P&G using a&b”)
2 2 votes
Let the input carry to the first adder be denoted by C1.

Now, to calculate C2 we need = P1C1 + G1 = 4 gate levels (P1 takes 2 gate levels)
to calculate S1 we need = P1 XOR C1 = 2 + 2 = 4 gate levels.

Since it is a Carry look ahead adder, computing C3 , S2 doesn’t have to wait for carry output C2 from the previous adder as C2, C3 etc will get computed at the same time.

Now,

S2 is computed as = P2 XOR C2 = P2.C2′ + P2′.C2
= P2 (P1.C1 + G1 )’ + P2′ (P1.C1 + G1) [ notice that we are not using the output carry from first adder C2 anywhere here ]
which can be implemented using 4 gate levels.

also C3 can be computed by using 4 gate levels and so on…
so the overall propagation delay is 4 gate level as the outputs at Si , Ci are available at the respective full adders after 4 gate levels = 4 time units.

To understand it with more clarity draw the carry look ahead adder circuit and then check it.
1 1 vote
First step: for all Gi and Pi , need to implement xor as input are available in both normal and complement form,

               so it can be implement with one and level then or level. so 2 level delay.

Step 2: Carry Network delay its 2 gate levels as given in question.

 

Step3 : Now to generate sum , we again need to do xor operation that can be done in 2 gate level[Using NAND & OR in first level then AND in Second level as X XOR Y = (X'+Y').(X+Y)]

 

So, Total 6 gate level delay.
edited by
1 1 vote

Carry lookahead adder can be thought to be made in 3 levels as below

Level 1 : P & G Generator

$Gi=Ai.Bi$

$Pi=Ai⊕Bi$

$Gi$ uses AND gate which takes one unit time

$Pi$ uses EX-OR which can be implemented by AND-OR in two levels => it will take 2 unit time 

$Gi$ and $Pi$ work in parallel so they will take time = 2 units 

Level 2 : Carry Generator

$C1=G0+P0C0$

$C2=G1+P1G0+P1P0C0$

$C3=G2+P2G1+P2P1G0+P2P1P0C0$

$C4=G3+P3G2+P3P2G1+P3P2P1G0+P3P2P1P0C0$

This uses two levels of AND OR (see fig) so time =  2 units

Level 3 : Sum Generator

 

$Si=Pi⊕Ci$

it uses  EX-OR gate which can be implemented by AND OR so time= 2 units

Total time = 2 + 2 + 2 = 6 Units  

Option (B)

Answer:
Position:
Show:

Related questions

55 55 votes
5 answers 5 answers
27.2k
27.2k views
Kathleen asked Sep 18, 2014
27,218 views
Consider the partial implementation of a $2-bit$ counter using $T$ flip-flops following the sequence $0-2-3-1-0,$ as shown below.To complete the circuit, the input $X$ sh...
39 39 votes
4 answers 4 answers
12.1k
12.1k views
Kathleen asked Sep 18, 2014
12,124 views
Consider a multiplexer with $X$ and $Y$ as data inputs and $Z$ the as the control input. $Z=0$ selects input $X$, and $Z=1$ selects input $Y$. What are the connections re...
44 44 votes
2 answers 2 answers
16.3k
16.3k views
Kathleen asked Sep 18, 2014
16,346 views
Which are the essential prime implicants of the following Boolean function?$f(a, b, c)= a' c+ ac'+b' c$$a' c$ and $ac'$$a' c$ and $b' c$$a' c$ only.$ac'$ and $bc'$
46 46 votes
5 answers 5 answers
19.5k
19.5k views
Kathleen asked Sep 18, 2014
19,487 views
A circuit outputs a digit in the form of $4$ bits. $0$ is represented by $0000, 1$ by $0001, \ldots, 9$ by $1001$. A combinational circuit is to be designed which takes t...