Professional Documents
Culture Documents
Mealy Model
Outputs are only a function of the external inputs and the present state Z = g(X,Q)
Moore Model
Outputs are only a function of the present state
Z = g(Q)
D1 xQ2 Q1Q2
D2 xQ1 Q1Q2
z xQ1 xQ1 Q2
Transition Equations
From example
Transition Table
Present state (Q1Q2) Next state (Q1+Q2+) Output (z)
Input (x)
0 1
Input (x)
0 1
Transition Table
Present state (Q1Q2) Next state (Q1+Q2+) Output (z)
Input (x) 0 1
00 01 10 11
Input (x) 0 1
Transition Table
Present state (Q1Q2) Next state (Q1+Q2+) Output (z)
00 01 10 11
Input (x) 0 1 1
Input (x) 0 1
Transition Table
Present state (Q1Q2) Next state (Q1+Q2+) Output (z)
00 01 10 11
Input (x) 0 1 10
Input (x) 0 1
Transition Table
Present state (Q1Q2) Next state (Q1+Q2+) Output (z)
00 01 10 11
Input (x) 0 1 10 01 11 11 10 00 00 00
Input (x) 0 1 0 1 0 0 1 0 1 0
Excitation Table
Present state (Q1Q2) Excitation (D1D2) Output (z)
Input (x) 0 1
00 01 10 11
Input (x) 0 1
Excitation Table
Present state (Q1Q2) Excitation (D1D2) Output (z)
00 01 10 11
Input (x) 0 1 10 01 11 11 10 00 00 00
Input (x) 0 1 0 1 0 0 1 0 1 0
State Table
Present state Next state Output (z)
Input (x) 0 1
State Table
Present state Next state Output (z)
Input (x) 0 1 C
Input (x) 0 1
State Table
Present state Next state Output (z)
Input (x) 0 1 C B D D C A A A
Input (x) 0 1 0 1 0 0 1 0 1 0
State Table
Present state Next state, Output (z)
Input (x) 0 A B C D 1
State Table
Present state Next state, Output (z)
State Table
Present state Next state, Output (z)
State diagram
J1 y
J2 xQ1 xyQ1
z1 Q1Q2
K1 y xQ2
K 2 x y yQ1
z2 Q1 Q2
Transition Equations
From example
Transition Table
Present state (Q1Q2) Next state (Q1+Q2+) Output (z1z2)
00 01 10 11
00 00 01 10 11
Input (xy) 01 10 10 01 11 00 01 00 00 10
11 11 11 00 00
01 00 11 01
Excitation Table
Present state (Q1Q2) Excitation (J1K1,J2K2) Output (z1z2)
00 01 10 11
Input (xy) 01 10 11,00 01,11 11,00 00,11 11,11 01,01 11,11 00,01
01 00 11 01
State Table
Present state Next state Output (z1z2)
00 A B C D
Input (xy) 01 10 C B D A B A A C
11 D D A A
01 00 11 01
State diagram
Figure 7.11
State A no carry was generated from the previous order addition. State B carry was generated from the previous order addition.
A sequence recognizer
Figure 7.14
A sequence recognizer An output 1 is produced if the three input symbols following two consecutive input 0s consist of aleast one 1
x = 0100010010010010000000011
A sequence recognizer