| Present state | Next state | Output f | ||
| X=0 | X=1 | X=0 | X=1 | |
| A | F | B | 0 | 0 |
| B | D | C | 0 | 0 |
| C | E | F | 0 | 0 |
| D | G | A | 1 | 0 |
| E | D | C | 0 | 0 |
| F | F | B | 1 | 1 |
| G | H | G | 1 | 0 |
| H | A | G | 1 | 0 |
Correct : 6
To minimize this FSM, we apply the partition refinement method.
First, group states by their output pairs (OX=0, OX=1):
• Output (0,0): A, B, C, E
• Output (1,0): D, G, H
• Output (1,1): F — unique, cannot merge with anyone
Refining {A, B, C, E} by checking where their next states fall:
• A → (F, B): goes to {F} and {A,B,C,E}
• B → (D, C): goes to {D,G,H} and {A,B,C,E}
• C → (E, F): goes to {A,B,C,E} and {F}
• E → (D, C): goes to {D,G,H} and {A,B,C,E}
B and E have identical next-state group behavior → B ≡ E. A and C are distinct from each other and from B/E.
Refining {D, G, H}:
• D → (G, A): X=0 goes to {G}, X=1 goes to {A}
• G → (H, G): X=0 goes to {H}, X=1 goes to {G}
• H → (A, G): X=0 goes to {A}, X=1 goes to {G}
D, G, H all have different X=0 destinations → all three are distinguishable.
Final partitions: {A}, {B,E}, {C}, {D}, {F}, {G}, {H} = 6 minimum states.
Similar Questions
Total Unique Visitors