Zerograff
Newbie level 3
I was given a state diagram of a mealy machine as shown below:
I should determine what does this mealy machine do, that means find what kind of sequence it is detecting. I've tried to solve this and got 6 possible sequences:
When going from
I assume I've made that right, but I guess some of these sequences can be part of other sequences and thus can be combined or eliminated, but have no idea how to do it. How could I get the final sequence that the mealy machine detects?
I also think that this mealy machine can be simplified, that means, some of the states could be eliminated. I was thinking of states S2 and S5, because they actually do the same job as S1 and S4 respectively.
I should determine what does this mealy machine do, that means find what kind of sequence it is detecting. I've tried to solve this and got 6 possible sequences:
When going from
Code:
S0 - S1 - S3 - S6 - S0 = 1111
S0 - S1 - S3 - S4 - S6 - S0 = 11011
S0 - S1 - S3 - S4 - S5 - S6 - S0 = 110011
S0 - S1 - S2 - S3 - S6 - S0 = 10111
S0 - S1 - S2 - S3 - S4 - S6 - S0 = 101011
S0 - S1 - S2 - S3 - S4 - S5 - S6 - S0 = 1010011
I assume I've made that right, but I guess some of these sequences can be part of other sequences and thus can be combined or eliminated, but have no idea how to do it. How could I get the final sequence that the mealy machine detects?
I also think that this mealy machine can be simplified, that means, some of the states could be eliminated. I was thinking of states S2 and S5, because they actually do the same job as S1 and S4 respectively.