32,760 views
80 votes
80 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

17 Answers

5 votes
5 votes

The answer varies with the way we implement the gates. IF anyone has the official GATE key they must share it.
Answer is (b) 6 time units if we necessarily implement the Gi & Pi terms (which is no where mentioned in the question as mandatory).
Answer is (a) 4 time units if we write the carry terms directly and without separately implementing Gi & Pi terms

Heres the explanation of answer (a). Credits : GeeksForGeeks
https://www.geeksforgeeks.org/gate-gate-cs-2004-question-62/

Explanation: 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.

4 votes
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.

 

2 votes
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.
2 votes
2 votes

In addition to the Best answer for this question , i am adding diagramatical representation for Ripple carry Adder for ease of understanding.

We know that:

Gi=AiBi,

Pi=Ai⊕Bi and 

Si=Pi⊕Ci

Also 

C1=G0+P0C0

C2=G1+P1G0+P1P0C0

C3=G2+P2G1+P2P1G0+P2P1P0C0

C4=G3+P3G2+P3P2G1+P3P2P1G0+P3P2P1P0C0

XOR can be implemented in 2 levels; level-1 ANDs and Level-2 OR.

Fig 1:

Hence it would take 2 time units to calculate Pi and Si

The 4-bit addition will be calculated in 3 stages:

Fig 2:

1. (2 time units) In 2 time units we can compute Gi and Pi in parallel. 2 time units for  Pi since its an XOR operation and 1 time unit for Gi since its an AND operation.(Refer Fig 2)

2. (2 time units) Once Gi and Pi are available, we can calculate the caries, Ci, in 2 time units.(Refer Fig 3)

Fig 3:

Level-1 we compute all the conjunctions (AND). Example P3G2,P3P2G1,P3P2P1G0P3G2,P3P2G1,P3P2P1G0 and P3P2P1P0C0P3P2P1P0C0 which are required for C4.

Level-2 we get the carries by computing the disjunction (OR).

3. (2 time units) Finally we compute the Sum in 2 time units, as its an XOR operation.(Refer Fig 2)

Hence, the total  propagation delay is 2 + 2 + 2 = 6 time units.

Answer:

Related questions

44 votes
44 votes
5 answers
1
Kathleen asked Sep 18, 2014
19,357 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...
24 votes
24 votes
2 answers
2
29 votes
29 votes
2 answers
3
Kathleen asked Sep 18, 2014
10,252 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'$