A
Anson.Stuggart
Anson, thanks for the explanation. Regarding SEE01 and SEE10 states,
that is right we won't need them and I read what John had said before
again and he is right.
But let's get back to the first input in the string which is "1" .
There, we can get to this conclusion that the previous value that
system was expecting to have as output has been "0" so the first input
(1) must be the third "1" of triple 1 string. Maybe following lines
explain it better:
hidden We
see
input: 11
10010100010111
output: 00
11111111000001
Right?
next question I have is regarding your very first question. What
happens to the state that once outputs "1" and in another situation it
outputs "0"?
how do you present this in your state diagram? If I'm not wrong this
is what you has asked in the first place.
Regards,
amit- Hide quoted text -
- Show quoted text -
Amit,
My first question came up because I draw the state diagram differently
or wrong. From state SEE000 and if a 1 is input, it will go to state
SEE1 and if another 0 comes in, it should go back to SEE000, not on to
SEE0 (where I get the wrong output).
Try to draw or map out the state diagram John has posted earlier. And
try to trace it with the input you have and you will get the correct
outputs at every single state or bit. However, I must highlight what
John wrote earlier. During the initial input at power-on, the first
bit should go to: if 1 go to state SEE111 and if 0 go to SEE000. As
you can see, state SEE111 and SEE000 serve two function. One is when
it sees 3 consecutive same bits it will change the output and other is
during initial bit at power-on (maybe they should be renamed to
Init_1&SEE111, Init_0&SEE000). Don't forget the reset which will set
output to 1 regardless of what's on the line but this will be changed
with sequences of bits streaming in later.
Hope this helps,
Anson