





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!






We know the characteristic equation of a J-K flip-flop is
Q (next )====JQ'++++K' Q
And that the characteristic equation of a D flip-flop is Q (next)==== D
(a) Design a D flip-flop using a J-K flip-flop and some other logic gate(s) if necessary. [ points] Answer:
(b) Design a J-K flip-flop using a D flip-flop and some other logic gate(s) if necessary. [ points] Answer:
Minimize the number of operators in the following Boolean expression and implement it using a single 2-input logic gate (choose from AND, OR, NAND, NOR, XOR, XNOR). Answer:
zx
z x
z x y
z x x y
z x z z x y
z x y xz
z y y x y xz
F yz x y xz yz
a single NAND gate will do.
From the sequential circuit given below,
(1) Derive the next state expression (3 points)
1 2 1
' 2
' Q 2 ( next)====Q 2 Q 1 ++++QQ ====Q โโโโQ
' Q 1 ( next)====Q 1
Q 1 (next)==== 1
(2) Construct the next-state table. (3 points)
Q2 Q1 Q0 Q2(next) Q1(next) Q0(next) 0 0 0 0 1 1 0 0 1 0 1 1 0 1 0 1 0 1 0 1 1 1 0 1 1 0 0 1 1 1 1 0 1 1 1 1 1 1 0 0 0 1 1 1 1 0 0 1
Given the following state diagram:
(1) Construct the next-state table. [3 points]
Q2 Q1 Q0 Q2(next) Q1(next) Q0(next) 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 1 0 0 1 1 1 1 1 1 1 1
(2) Derive the next state expressions [3 points]
1 0
' 2 2
2 2 1 0
2 1 0
' 1 0 2 1 0
' 2
' 0
' 2 1 0 2 1
' 1 0
' 0 2
' 1
' 2 2
Q next QXNORQ Q
or
Q next QXNORQXNORQ
or
Q next QQQ QQQ QQQ QQQ
Q 1 ( next)====Q 2
Q 0 ( next)====Q 1 (3) Based on the next state table you have derived, construct a sequential circuit using only three D flip-flops and two 2-input gates (choose from AND, OR, NAND, NOR, XOR, XNOR). [4 points] Answer:
Q
Q SET
CLR
D
Q
Q SET
CLR
D
Q
Q SET
CLR
D
or two XNOR gates in stead. Or one XOR gate connecting Q 1 and Q 0 and another XNOR gate connecting ' Q 2 and Q 1 โโโโ Q 0.