I understand how to do output encoding for a Moore Styled FSM. Can you do output encoding for a mealy style FSM? And if you can, can someone show me an example as to how? Thanks.
Don't get me wrong, I thoroughly understand the difference. I'm just asking specifically about state assignments. We learned in class about output encoding state assignments with moore machines, and I was wondering if you could do the same with mealy machines.
A programming problem can be tackled using either technique. The paper to which I linked illustrates the application of mealy and moore FSM to the same problem.
I think that there is a problem of definitions here. You say that you have output encoding with the Moore model. I 'd say that you have state encoding, just like in the Mealy model.
The fact that the state is the output in the Moore machine (and can be encoded in a sense) is coincidental.