TransWikia.com

How to create a state transition table for a Mealy machine

Electrical Engineering Asked on November 17, 2021

I’m trying to design the counter shown in the diagram below with the counting sequence 123456 (i.e X1=1, X2=2, …) as a Mealy machine. State diagram

However, I’m having trouble figuring out how to create the state transition table for the machine. For context, I designed this counter as a Moore machine using 3 D flip flops, and I implemented it on a FPGA board. When I push a button on the board (Rb), the number is displayed. I guess what I’m struggling with is how the table for the Mealy machine would differ from that of the Moore machine. For example, the first two rows of my Moore table look like this:
State transition table

How does the input affect the output any differently than the Moore machine? (Apologies for the long question)

One Answer

If your count sequence is 12345612...

Wouldn't your Moore Machine be:

Moore Machine

And Mealy Machine be:

Moore Machine

Moore Machine output is a function of Present State only. Moore changes on clock cycle, synchronous.

Mealy Machine output is a function of Input Rb and Present State. Outputs can change if inputs change, asynchronous.

Answered by StainlessSteelRat on November 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP