Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.
 

davyzhu said:
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

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top