sam33r
Member level 2
Q: Draw the state diagram for a circuit that outputs a "1" if the aggregate serial
binary input is divisible by 5. For instance, if the input stream is 1, 0, 1, we
output a "1" (since 101 is 5). If we then get a "0", the aggregate total is 10, so
we output another "1" (and so on).
Ans:
http://grumpytom.com/Interview_Questions/state_machine_2.jpg
Can someone please explain me how did we constructed the above FSM?
binary input is divisible by 5. For instance, if the input stream is 1, 0, 1, we
output a "1" (since 101 is 5). If we then get a "0", the aggregate total is 10, so
we output another "1" (and so on).
Ans:
http://grumpytom.com/Interview_Questions/state_machine_2.jpg
Can someone please explain me how did we constructed the above FSM?