Suppose if we have a counter that counts only Even numbers and the unused states(odd numbers) treated as don't-care condition.
Current state Next State
A B C D A B C D
0 0 0 0 0 0 1 0
0 0 1 0 0 1 0 0
0 1 0 0 1 0 0 0
1 0 0 0 1 0 1 0
1 0 1 0 1 1 1 0
1 1 1 0 0 0 0 0
0 0 0 1 x x x x
0 0 1 1 x x x x
0 1 0 1 x x x x
0 1 1 1 x x x x
1 0 0 1 x x x x
1 0 1 1 x x x x
1 1 0 1 x x x x
1 1 1 1 x x x x
Above; I put the all unused states at the end.
Does this a right way? OR I must put them as normally as it's, like :
Current state Next State
A B C D A B C D
0 0 0 0 0 0 1 0
0 0 0 1 x x x x
0 0 1 0 0 1 0 0
........