This is just a general problem I am facing in a intro to digital logic design.
I find that I can derive the state tables using arbitrary state notation such as S_0, S_1, etc. When it comes to giving these arbitrary states actual numbers (S_0 = 00, S_1 = 01, etc.) to put them on a K-map so I can solve for Flip Flop input/output I'm getting a little confused.
Can I give these states any value? I'm following my text book and they go through the states by considering the input on bit at a time: state 1 = received one 0, state 2 receive one 1, state 3 received 00, state 4 received 01, and so on.
Is it as easy as just going back and labelling state 1 with the max bit of 0s (if we are looking for a 4 bit sequence state 1 would be 0000) and then going state 2 = 0001, state 3 = 0010, etc..?
Any help would be greatly appreciated.
I find that I can derive the state tables using arbitrary state notation such as S_0, S_1, etc. When it comes to giving these arbitrary states actual numbers (S_0 = 00, S_1 = 01, etc.) to put them on a K-map so I can solve for Flip Flop input/output I'm getting a little confused.
Can I give these states any value? I'm following my text book and they go through the states by considering the input on bit at a time: state 1 = received one 0, state 2 receive one 1, state 3 received 00, state 4 received 01, and so on.
Is it as easy as just going back and labelling state 1 with the max bit of 0s (if we are looking for a 4 bit sequence state 1 would be 0000) and then going state 2 = 0001, state 3 = 0010, etc..?
Any help would be greatly appreciated.