Re: mealy and moore?
Typically Moore is preferred over mealy one primary reason being that mealy output is dependent on both present state and the inputs, where any glitch in input value automatically reflects an glitch on the fsm output which in undesired.
Where as in case of moore the outputs are only depenedent on the state of FSM, which are typically outputs of the FF, there fore no glitches.
One advantage of Moore over Mealy is typically the area required by the former is less compareted to the later ..
Have n nice day!!