Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
vipulsinha said:See Mealy is faster than moore. Mealy Next state output is the function of state and input but the Moore next state is a function of previous state only
vipul
balu304 said:mealy will be faster.In the sense that,output will change as soon as the input transition accoding to the logic.
In moore,it has to wait for one clock cycle since it changes with the state.
balu304 said:Hi guys!
Please go through any text book covering both machines.
thing is....
Whether it is mealy or moore,next state depends on both input a well as present state.
only the difference is Output where u will take. ...in mealy,output depends on present input as well as state.
but,in moore output is function of state only.Got it...?
so what are the advantages and disadvantages...?
mealy will be faster.In the sense that,output will change as soon as the input transition accoding to the logic.
In moore,it has to wait for one clock cycle since it changes with the state.
Better...u try out one example like sequence detector with both kinds of machines.
Mealy is fast but it is asynchronous...right...?since the output changes as soon as the inputs change according to the logic.
so what is the problem...?
problem is glitches....for any asynchronously behaving circuit will have glitches.
And the most important disadvantage of Mealy is that It may lead to Metastability.
Ok Guys!
one more thing....people will prefer moore as it is synchronous.
one more thing is that...u can convert mealy machine into moore by just taking the registered output....right...?
generally,Moore will hae more no of states compared to mealy.
u will come to know by solving a simple problem right from drwaing state machine to state diagrams to hard ware implementation to wveforms.okkkk....
bye...