You need at least four states to exploit the advantages of a Mealy machine over a Moore machine

computer-architecturestate-machines

What's meant by this question?

"You need at least four states to exploit the advantages of a Mealy machine
over a Moore machine."

I'm trying to wrap my head around this but I'm not sure "what" advantages are being spoken about. I know a
1 state Mealy Machine can have a possible 2 state Moore Machine.
2 state Mealy Machine can have a possible 3 state Moore Machine.
etc…

Best Answer

With a Moore state machine, the number of possible output combinations (I hesitate to say "output states") is no more than the number of internal states.

With a Mealy machine, the number of possible output combinations can be as high as the number of internal states multiplied by the number of input combinations.

Whether one is an "advantage" over the other really depends very much on context. For example, in high-speed logic design (such as an SDRAM controller), a Moore machine is preferred because the timing of the outputs is much more tightly controlled.