Mealy Machine

We call something a mealy machine when the output is a function of both on the input and the current state.

Note: The output changes asynchronously with the clock.

This is in contrast with a Moore Machine.