Comparison of Mealy and Moore machines
Mealy machines tend to have less states
- different outputs on arcs (n^2) rather than states (n)
Moore machines are safer to use
- outputs change at clock edge (always one cycle later)
- in Mealy machines, input change can cause output change as soon as logic is done – a big problem when two machines are interconnected – asynchronous feedback
Mealy machines react faster to inputs
- react in same cycle – don't need to wait for clock
- in Moore machines, more logic may be necessary to decode state into outputs – more gate delays after