Change Mealy FSM to Moore FSM?

Status
Not open for further replies.

davyzhu

Advanced Member level 1
Joined
May 23, 2004
Messages
494
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
oriental
Activity points
4,436
Hi all,

I have read the book Verilog Design Style Guide from

The book said "you should use Moore FSM in principle".

But my question is: can I change all the Mealy FSM to Moore FSM? What's the sacrefice to do this(e.g. add a lot of state)?

And is there any fomular to do this work?

BTW: Mealy is output depends on both state and input. Moore is output depends only on state.

Best regards,
Davy
 

you can register the outputs, but your gate count will increase.
 


In general, the number of states will be more in case of Moore, but ultimately, in most cases, the hardware required to build Moore machine is lesser than Mealey.

There is no such formula for converting Mealey machine to Moore machine. But you can redesign Moore machine according to your problem
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…