32,652 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

1 votes
1 votes

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)

0 votes
0 votes
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
0 votes
0 votes
the only thing we have to notice here is that FAN IN is not given in question ,so we can take as we want. and then all the carry will be generated in equal amount of delay(C0,C1,C2,C3). therefore maximum delay will be because of S3 that is last sum ,s3=p3xor c3.
0 votes
0 votes

If nothing is mentioned take fan-in for a logic gate = 2 inputs and they will say in the question whether to take half adder or full adder for the 1st stage of LSB addition(ripple carry adder).

Propagation delay In carry look-ahead adder(n bit adder):-

Carry look-ahead adder works in three phases:-

In carry look-ahead adder all Pi, Gi terms are computed simultaneously after that all carry terms are computed simultaneously and after that all sum terms are computed simultaneously.

The first level will take 2 time unit to generate all Pi, Gi terms using AND-OR gate in 2 levels only if variables are given in both complemented and uncomplemented form.

similarly 2nd level will also take further 2 time unit for generating the all carry terms.

and after that to produce the sum terms it will take further 2 time unit. so total propagation delay is 6 time unit.

Note:- Any simple or complex logical function can be written in SUM OF PRODUCT form and can be realized using 2-levels of AND, OR gate only if both complemented and uncomplemented forms are given.
 

 

Now lets extend this question further for Ripple carry adder:-

In ripple carry adder(n bit adder):-              Assume Full adder is used for LSB computation, not half adder

Tpropagation =(n-1)* T.carry generation time by one full adder+ max(T.carry, T.sum)

                      = 3     *    2  (2 because C=AB+BC+AC can be implemented in 2 levels of AND, OR gate) + max(2, 4)

T.sum=4,       because A⊕B can be implemented using 2 levels of AND, OR gate only if variables are given in both complemented and uncomplemented form as mentioned above. then further one more XOR with C. so total 4 level of AND, OR gate.

Tpropagation for ripple carry adder = 10

for more-https://www.gatevidyalay.com/delay-in-ripple-carry-adder/

edited by
Answer:

Related questions

44 votes
44 votes
5 answers
9
Kathleen asked Sep 18, 2014
19,327 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
10
29 votes
29 votes
2 answers
11
Kathleen asked Sep 18, 2014
10,234 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'$