Electrical – A Mealy machine state diagram ( Couldn’t draw it )

diagram

I want to draw a state diagram of a Mealy synchronous state machine having a single input x, and a single output y, such that y is asserted if the total number of 1’s received is a multiple of 3.

But the problem is how to get a multiple of 3 only with one input and one output ??

Help appreciated

Best Answer

Your attempt is close. Here is one way to do it;

Mealy