| 1. |
Difference Between Mealy And Moore State Machine? |
|
Answer» A) Mealy and Moore models are the basic models of state machines. A state machine which uses only Entry Actions, so that its output depends on the state, is called a Moore model. A state machine which uses only Input Actions, so that the output depends on the state and also on inputs, is called a Mealy model. The models selected will influence a design but there are no general indications as to which model is better. Choice of a model depends on the application, execution MEANS (for instance, hardware SYSTEMS are usually best realized as Moore models) and personal PREFERENCES of a designer or programmer Advantage and Disadvantage •In Mealy as the output variable is a function both input and state, changes of state of the state variables will be delayed with RESPECT to changes of signal level in the input variables, there are possibilities of glitches appearing in the output variables. •Moore overcomes glitches as output DEPENDENT on only states and not the input signal level. A) Mealy and Moore models are the basic models of state machines. A state machine which uses only Entry Actions, so that its output depends on the state, is called a Moore model. A state machine which uses only Input Actions, so that the output depends on the state and also on inputs, is called a Mealy model. The models selected will influence a design but there are no general indications as to which model is better. Choice of a model depends on the application, execution means (for instance, hardware systems are usually best realized as Moore models) and personal preferences of a designer or programmer Advantage and Disadvantage •In Mealy as the output variable is a function both input and state, changes of state of the state variables will be delayed with respect to changes of signal level in the input variables, there are possibilities of glitches appearing in the output variables. •Moore overcomes glitches as output dependent on only states and not the input signal level. |
|