Docsity

Digital Logic Final Examination - Spring 2018, Exams of Engineering

Toggle sidebar
bg1
1
ICE 2001- Digital Logic
Spring 2018 Final Examination:
Jun. 19th, 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
pf3
pf4
pf5

Partial preview of the text

Download Digital Logic Final Examination - Spring 2018 and more Exams Engineering in PDF only on Docsity!

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+KQ, 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

T = X, J = 𝑄

1

0

′, K =𝑄

1

0

′, Y = 𝑄

1

0

Therefore

1

0

T 𝑄

1

J K 𝑄 0

PS

1

0

NS (𝑄

1

𝑄 0

) Output Y

X = 0 X = 1 X = 0 X = 1

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)

X 𝑄

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 + 3100 + 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