



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




ICE 2001 - Digital Logic
Spring 2018
Final Examination:
Jun. 19
th , 2018
Problem 1 [20 pts.]: Design a state graph for a Moore state machine that takes one input, “A” and generates two
outputs “X” and “Y”. X should be a 1 if and only if the most recent values of A have been “101”, Y should be a
1 if and only if the most recent values of A have been “110”.
Sol)
Problem 2 [ 10 pts.]: Construct a JK flip-flop using a D flip-flop, a 2-to-1 mux, and an inverter.
Sol)
The characteristic equation of J-K FF is Q
= JQ+KQ, 2 - to- 1 mux is given by Z = I0S + I1S
Problem 3 [ 30 pts.]: Fill the state table for the sequential circuit of the following figure. (Present state = 𝑄 1
0
Sol)
From the circuit we directly get
1
0
1
0
1
0
Therefore
1
0
1
J K 𝑄 0
1
0
1
𝑄 0
) Output Y
b) Design the system with two JK flip-flops and a minimal AND-OR-NOT network. Just compute the next
state equation for the two JK flip-flops (𝐽 1
1
0
0
) and output (Y) equation. (Do not draw the gate
schematics.) (25 pts.)
Sol)
1
0
1
𝑄 0
𝐽 1
1
0
0
Output Y
Problem 5 [ 30 pts.]: In the following circuit:
Each flip flop has: Setup time of 60ps, Hold time of 20ps, and clock-to-Q delay of 50 ~ 70ps.
Each XOR gate has: Propagation delay of 100ps.
a) If there is no clock skew, what is the maximum operating frequency of this circuit? (10 pts.)
Sol)
Tc ≥ Tpcq + Tpd + Tsetup
Longest path: Tc ≥ 70 + 3100 + 60 = 430 ps
Max clock freq. = 1 / Tc 2.33GHz
b) How much clock skew can the circuit tolerate before it might experience a hold time violation? (20 pts.)
Sol)
Tccq ≥ Thold + Tskew
Shortest path: 50 ≥ 20 + Tskew
Tskew 30 ps