Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
-i-
Table of Contents Page
- ii -
List of Figures Page
Figure 10.1: General model of a sequential network ............................................................. 4
Figure 10.2: Mealy model of synchronous network ............................................................... 5
Figure 10.3: Moore model of synchronous network .............................................................. 5
Figure 10.4: A state diagram of a Mealy machine ................................................................. 6
Figure 10.5: A state diagram of Moore machine .................................................................... 6
Figure 10.6: A synchronous sequential circuit designed with JK flip-flop ............................ 8
Figure 10.7: Flip-flop input state of synchronous sequential circuit shown in Fig. 10.6 ....... 8
Figure 10.8: Excitation function table of JK flip-flop ............................................................ 9
Figure 10.9: Final state table of synchronous sequential circuit shown in Fig. 10.6 ............. 9
Figure 10.10: State diagram of counter circuit shown in Fig. 10.6 ........................................ 10
- iii -
Chapter 10
In the chapter the design of synchronous networks both Mealy and Moore
models are discussed in detail with examples as illustration. Sequential network
is sometime called as Finite State Machine FSM because its sequential logic has
a fixed number of possible states. We will also discuss two optimization
technique for sequential network.
One can see that the next state output Qn+1 of flip-flop is a function of present
state Qn and input value X. Thus,
Y = f(Qn, x) (10.2)
As it shown in the figure, the output Y is a function of present state Qn and input
value X, while the next state Qn+1 of flip-flop is a function of present state Qn
and value of input X.
-5-
10 Synchronous Sequential Network
As it shown in the figure, the output Y is a function of present state Qn while the
next state Qn+1 of flip-flop is a function of present state Qn and value of input X.
The state diagrams of a Mealy and Moore models are shown respectively in Fig.
10.4 and 10.5 respectively.
-6-
10 Synchronous Sequential Network
J1 = Q0; K1 = Q0 X
J0 = X ; K0 = Q1 X
Y = Q1 X
-7-
10 Synchronous Sequential Network
From the output equations, the input states of flip-flop and output Y shall be
established as shown in Fig. 10.7.
State Table
Next Flip-flop Inputs Output
Present State Input
State
Q1 Q0 X Q1+ Q0+ J1 K1 J0 K0 Y
0 0 0 0 0 1 0 0
0 1 0 1 1 1 0 0
1 0 0 0 0 1 1 1
1 1 0 1 1 1 1 1
0 0 1 0 0 0 1 1
0 1 1 1 0 0 1 1
1 0 1 0 0 0 0 0
1 1 1 1 0 0 0 0
Figure 10.7: Flip-flop input state of synchronous sequential circuit shown in Fig. 10.6
Either from the JK characteristic table as shown in Fig. 10.8 or the function
equation for next state output Qn+1 = Q n J+Qn K , the next state logic values of
-8-
10 Synchronous Sequential Network
Output of JK
Input
Flip-Flop
J K Qn Qn+1
0 0 0 0
0 1 0 0
1 0 0 1
1 1 0 1
0 0 1 1
0 1 1 0
1 0 1 1
1 1 1 0
Figure 10.8: Excitation function table of JK flip-flop
State Table
Input State of Flip-flop Output
Present State Input Next State
Q1 Q0 X Q1+ Q0+ J1 K1 J0 K0 Y
0 0 0 0 1 0 0 1 0 0
0 1 0 1 1 1 1 1 0 0
1 0 0 1 1 0 0 1 1 1
1 1 0 0 0 1 1 1 1 1
0 0 1 0 0 0 0 0 1 1
0 1 1 1 0 1 0 0 1 1
1 0 1 1 0 0 0 0 0 0
1 1 1 1 1 1 0 0 0 0
Figure 10.9: Final state table of synchronous sequential circuit shown in Fig. 10.6
Based on the finalized state table shown in Fig. 10.9, the state diagram of Mealy
model synchronous sequential network circuitry is drawn and shown in Fig.
10.10.
The excitation table of the JK flip-flop can also be put in Karnaugh map
format for easier reference such as what is shown in Fig. 10.11.
-9-
10 Synchronous Sequential Network
Example 10.1
Write the state table from this state diagram.
Solution
The state table shall be as follow:
Example 10.2
Design the logic circuit for the state diagram shown below using D flip-flop.
Solution
Based on the state diagram, the input of D flip-flop need to be determined is
shown.
- 11 -
10 Synchronous Sequential Network
- 12 -
10 Synchronous Sequential Network
Tutorials
10.1. Draw the state diagrams for a JK flip-flop and SR flip-flop.
- 13 -
10 Synchronous Sequential Network
10.3. Design the the logic circuit for the state diagram shown in question 2
using D flip-flop.
10.4. Design a synchronous sequential circuit based on the state diagram shown
below using D flip-flop.
10.5. Design a synchronous sequential circuit based on the state diagram shown
below using JK flip-flop.
- 14 -
10 Synchronous Sequential Network
References
1. Charles H Roth, Jr., "Fundamentals of Logic Design", Third Edition, West
Publishing Company, 1985.
2. Donald D. Givone, "Digital Principles and Designs", McGraw- Hill 2003.
3. Alan B. Marcovitz, “Introduction to Logic Design”, McGraw- Hill 2002.
- 15 -