Department of Electrical and Electronic Engineering
EIE2105 Digital and Computer Systems
Tutorial 5: Sequential Logic II
Q1. Derive the input equations, the output equation, the state table and the state diagram of the following circuit.
Q2. You are requested to design a sequential logic circuit with D flip-flops for a system whose state diagram is given as below.
(a) Determine the following parameters of the system to be realized: number of states, number of system inputs, and number of system outputs.
(b) Derive the corresponding state table for the system.
(c) How many Flip Flops are required to construct this system?
(d) Derive the input equations and the output equations of the system.
(e) Design the circuit and draw a circuit diagram to show your design. You can only use D Flip-Flops, AND, OR and NOT gates in your design.
(f) How many unused states are there in the system?
(g) Theoretically, the system output values and the next state values for unused states are don’t care. Is it really true that we can assign any binary value (0 or 1) to the output values and the next-state values of these unused states? Why?
(h) State 10 is an unused state of the system. Suppose I assign its next-state values as follows. Is it acceptable?
p.state
|
i/p
|
n. state
|
o/p
|
A B
|
X
|
DA D B
|
Q
|
1
1
|
0
0
|
0
1
|
1
1
|
0
0
|
1
1
|
Value assignment for an unused state