Week 2 Assignment 2 with solution final
Week 2 Assignment 2 with solution final
Assignment -2
Qns 1 to 2: Question Label: Comprehension
Consider the following logic circuit. Delays of logic gates are t NOR = 1.5ns, tNOT = 1ns,
tOR = 2ns, tAND= 1.5ns and tMUX = 2.5ns.
The critical path delay in the logic circuit given above is ______
a. 14 ns
b. 13.5 ns
c. 13 ns
d. 12.5 ns
Ans: (d) 12.5
Z = D + C.D.E = D (1 + C.E) = D
The value at point Z in the circuit does not depend on C and E, So the inverters
doesn’t need to be considered in the critical path delay.
Tcritical = tand + tand + tor + tnot + tmux + tnor + tmux
Tcritical = 1.5+1.5+2+1+2.5+1.5+2.5
Tcritical = 12.5 ns
Qns 2: Find the delay of the false path in the logic circuit given in question 1.
a. 11 ns
b. 12 ns
c. 13 ns
d. 14 ns
Ans: (d) 14ns
What is the Unateness of output pin Z with respect to the input pin A?
a. Negative unate
b. Positive unate
c. Non-unate
d. Can’t determined
Ans: (b)
A B C Z
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
Case – 1: keep B = 0, C = 0 and A is changing from 0 → 1. You see no change in the output Z from
truth table.
Case – 2: keep B = 0, C = 0 and A is changing from 1 → 0. You see no change in the output Z from
truth table.
Case – 3: keep B = 1, C = 1 and A is changing from 0 → 1. You see 0 → 1 in the output Z from truth table.
Case – 4: keep B = 1, C = 1 and A is changing from 1 → 0. You see 1 → 0 in the output Z from truth table.
Similarly, you can check for four other cases and find that output pin Z is of positive unate with respect to pin A.
Delays of gates are: tINV = 0.5ns, tBUF = 0.8ns, tTX = 1ns , tcomb = 1ns
Given master-slave flipflop is _________ triggered.
a. Positive edge
b. Negative edge
c. Level
d. Can’t determined
Ans: (a)
Data is captured by master during negative clock cycle and slave becomes
transparent during positive cycle. So, it is a Positive edge triggered flipflop.
Qns 6: The setup time of the master-slave flipflop in given main question is ______ns.
a. 3.5 ns
b. 3.8 ns
c. 2.8 ns
d. 2.5 ns
Ans: (b) 3.8 ns
Delay values of Flipflop and Combinational circuit are: tsetup = 2.5 ns and thold = 3 ns
Ans: 50MHz
TCLK ≥ tclk-q (max) + tcomb (max) + tsetup
TCLK ≥ 7 + 10.5 + 2.5
TCLK ≥ 20ns
FMAX = 1 / TCLK (min)
FMAX = = 50 MHz
Qns 9: Choose the correct hold constraint equation for the circuit given in main
question.
a. 3ns ≤ 10.5ns + 7ns
b. 3ns ≤ 4.5ns + 3ns
c. 3ns ≤ 4.5ns + 7ns
d. 3ns ≤ 7ns + 3ns
Ans: (b)
tHOLD ≤ tclk-q (min) + tcomb (min)
3ns ≤ 4.5ns + 3ns
Qns 10: Consider the given logic circuit. Find the rise and fall delay of timing path
from input to output.
a. trise=14ns, tfall=16ns
b. trise=11ns, tfall=10ns
c. trise=10ns, tfall=11ns
d. trise=16ns, tfall=14ns
Ans: (c)
trise= trise(nand)+tfall(nor)+ trise(inv)
trise=3+4+3
trise=10ns