Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Problem1 The logic for a Full-Adder (FA) (from the lecture notes) is shown in th

ID: 3723292 • Letter: P

Question

Problem1 The logic for a Full-Adder (FA) (from the lecture notes) is shown in the figure below. Three logic gates are used in the implementation: INV, 2-input NAND, and OAI (OR-AND-INV - push the bubbles will reveal the reason for the name). INV delay is 1ns and NAND delay is 2ns for either input. The OAl gate has 2 possible delays, for the NAND input, the delay is 1.5ns (note the difference with a 2-input NAND logic gate), and for the OR input, the delay is 3ns. OAl Gate (a) Determine the contamination delay (min) for te a2cout, tc a2s- (b) Determine the propagation delay (max) for td a2cout, td a2s. (c) For a ripple carry adder of 4 bits, determine the contamination and propagation delay for te cin(op2coutsy and to cin(op2coutsy where cin(O] is the carry in of the oth bit and cout 3] is the carry (d) If the ripple carry adder of (c) is used in a datapath for one stage of a pipeline, what is the (e) If instead of the design in (d), each bit adder is in its own stage of a pipeline, what is the (f) For the design in (e), what is the hold-time requirement to not violate timing. Note that the out of the 3rd bit. minimum cycle time? Assume that the DFF has a tsetup of 0.5ns and td_co of 1ns. minimum cycle time. DFF has a te co of 0.5ns.

Explanation / Answer

A ) Contamination delay:

Identifying the shortest path of contamination delays from input to the output determines the contamination dalay of the path.

Here, contamination delay and propagation delay are not given seperately so,we consider for each gate,

contamination delay (tcd) = propagation delay (tpd)

for INV = tcd = tpd = 1 ns

for NAND = tcd = tpd = 2 ns

in OAI , NAND = tcd =tpd = 1.5 ns and OR= tcd =tpd = 3 ns

A) # Calculation of Contamination delay:

a) tc_a2cout = the path is = a -NAND- g' - OR - Cout ... minimum path

= 2 ns + 3 ns = 5 ns

b) tc_a2s = There are two paths, we will decide with minimum dalay path

path 1 = a - OAI gate - p' - NAND - OR - s = 1.5 + 3 + 2 + 3 = 9.5 ns

path 2 = a - g' - OR - p' - NAND - OR - s = 2 + 3 + 2 + 3 = 10 ns

so the contamination delay is the minimum path delay so

tc_a2s = 9.5 ns

B) # Calculation of propagation delay:

Identifying the longest path of propagation from input to the output determines the propagation

dalay of the path.

a) td_a2cout

path1 = a - NAND - OR with inverted inputs - AND with inverted inputs - OR ....is the longest one

= 2 + 3 + 1.5 + 3 = 9.5 ns

path2 = a - AND with inverted inputs - OR with inverted inputs - AND with inverted inputs - OR with inverted inputs

= 1.5 + 3 + 1.5 + 3 = 9 ns

so the longest path delay is the propagation delay hence,

td_ a2cout = 9.5 ns

b) td_ a2s

there are four paths and we have to find maximum delay path here,

path1 = a - NAND-OR with inverted inputs-NAND-OR with inverted inputs = 2 + 3 + 2 + 3 =10 ns

path2 = a-NAND-OR with inverted inputs-AND with inverted inputs-OR with inverted inputs=2+ 3 + 1.5 + 3 = 9.5 ns

path3 = a-AND with inverted inputs-OR with inverted inputs- NAND- OR with inverted inputs = 1.5 +3+2 +3 =9.5 ns

path4 = a-AND with inverted inputs-OR with inverted inputs-AND with inverted inputs-OR with inverted inputs

= 1.5+3+1.5+3 =9 ns

Hence,The propagation delay td_a2s = 10 ns

C) # 4-Bits Ripple carry adder contamination and propagation delay:

In 4-bit ripple carry adder , carry passes from first adder to the last adder and as there are 4 adders

The total contamination delay will be the sum of 4 adders = 4 x  tc_a2cout = 4 x 5 ns = 20 ns

hence, tc_cin(0)2cout(3) = 20 ns

The total propagation delay will be summation of all 4 adders = 4 x td_ a2cout = 4 x 9.5 ns = 38 ns

hence, td_cin(0)2cout(3) = 38 ns

D) The minimum cycle time will be the propagation delay of one adder

Here, D-ffs are added in the design to make efficient pipeline structure so tcq from the previous one and tset-up of the next D-ff is added to this delay to find the minimum path to determine the clock period

So , the minimum cycle time is = tc-q + td_a2s + tset-up = 1 ns + 10ns + 0.5 = 11.5 ns

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote