Professional Documents
Culture Documents
Machine
Minimization
Advanced
Methods based on triangular
table and binate covering
Example 1. Minimize the following Mealy Finite State Machine
Input state or
x combination of
A X 1 X 2 X 3 X 4 input signals
3 4 2
1 1 1 1
4
2 0
6 6
3 0 1
6 1 5 Output states or
4 0 0 1 signal
Internal
2
state or 5 1 combinations
combination 3 2 3
of memory 6 0 0 1
signals
Fig 5.17bcd
b)
x Triangular Table
2
A X1 X2 X3 X4
3 4 2
1 1 1 1 3 3, 6 4, 6
4
2 0
4
6 6
3 0 1
6 1 5 5 2, 4
4 0 0 1
2 1, 2
5 1 6 3, 4
3, 5
3 2 3
6 0 0 1 1 2 3 4 5
c) Group {1,2,3,5}
2
Compatibility Graph 1 3
obtained from the 4 Maximum
Triangular Table 66 44 cliques
5
Fig 3.16 Max cliques are:1235,36,24,46
b )
x 2
A X1 X2 X3 X4 Can I take {1,2,3,5} and {4,6}??
3 4 2 3 3 , 6 4 , 6
1 1 1 1
2 4
4
No, because {1,2,3,5} implies states
0
6 6 {3,6} to be in one group.
3 0 1 5 2 , 4
6 1 5
4 0 0 1 1 , 2
6 3 , 4
2 3 , 5
5 1
3 2 3 1 2 3 4 5
6 0 0 1
c)
2
Solution is to split {1,2,3,5} to
I can take all 1 3
{1,2} and {3,5}
max cliques but 66 44
solution will be 5
{1,2} implies nothing, {3,5}
not minimal implies nothing, {4,6} implies {1,2}
and {3,5}
4 {6 } {4 ,6 }
3 {5 ,6 } {3 ,5 } {3 ,6 }
2 {3 ,4 ,5 } {2 ,3 ,5 } {2 ,4 }
1 {2 ,3 ,5 } {1 ,2 ,3 ,5 }
= { {4 ,6 } , {1 ,2 ,3 ,5 } , {3 ,6 } , {2 ,4 } }
6 1 5 C C ,D B ,D
4 0 0 1 A ,B
0 0 0 1
3 2 3 D B ,D A A
6 0 0 1
0 0 0 1
Combining ALL groups of compatibles from the cover to single state
B B B ,D A ,C A ,B B B
0
B ,D
1
A ,C
0
A ,B
1
0 1 0 1
A A
C C ,D
0
B ,D
0
A
0
A
1
C C ,D
0
B ,D
0 0 1
A ,B
D
A ,B
0
B ,D
0
A
0
A
1 D 0
B ,D
0
A
0
A
1
2
3
4 1 ,2
3 ,4 3 ,4
5 2 ,6 2 ,6
3 ,4 3 ,4
6 2 ,5 2 ,5
1 2 3 4 5
Fig.5.18
Example 3 of FSM Minimization 1 4/- 6/0
2 3/1 8/0 {1,6} 1 4/0 1/0
b
3 4/0 8/0 {2,7} 2 3/1 8/0
)
2 3 ,4
4 3/0 1/0 {3} 3 4/0 8/0
5 -/- 6/0
{4,5} 4
6 ,8
3 6 ,8
3/0 1/0
6 5/0 1/0
{8} 8
3 ,4
4 1 ,6
1 ,8
2/1 1/1
5 v 6 ,8 6 ,8 1 ,6
7 3/1 -/-
4 ,5
6 4 ,5
1 ,8
3 ,5 1 ,6
8 2/1 1/1
7 3 ,4 v v
8 2 ,3
1 2 3 4 5 6 7
c d
) )
8 1 {5 ,6 } {1 ,6 } {1 ,5 }
7 2 {5 ,7 }
{4 ,5 }
6 3
{2 ,7 } {3 } {8 }
5 4
Fig.5.21.bcd
Homework Problems