The following Finite State Machine (FSM #1)
can be implemented with 2 T flip-flops like so:
This makes sense because you have 4 different states {00,01,10,11} and flip-flip TA handles the left bit while flip-flop TB handles the right bit.
However, if you have a finite state machine (FSM #2) that has 3 states:
how do you encode the states? Do I simply say "A = 00, B = 01, C=11" ?
Also, the inputs are {x,y} while outputs are {0,1} for FSM #2 whereas FSM #1 both inputs and outputs are {0,1}. I'm not sure if this is a notation problem I'm having, but how do you represent FSM #2's three states, inputs, and outputs in a table like the first diagram for FSM #1?
Would appreciate all / any advise!