Moore versus Mealy machines
Moore machines are safer to use
- Outputs change at clock edge (always one cycle later)
- May need more logic to decode state into outputs
Mealy machines usually have less states
- React faster to inputs – don't need to wait for clock
- Asynchronous outputs and asynchronous feedback are dangerous
We will often design synchronous Mealy machines
- Design a Mealy machine
- Then register the outputs