Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Moore or Mealy state machine? #575

Open
antonysigma opened this issue May 10, 2023 · 0 comments
Open

Question: Moore or Mealy state machine? #575

antonysigma opened this issue May 10, 2023 · 0 comments

Comments

@antonysigma
Copy link

antonysigma commented May 10, 2023

Boost SML, like other similar state machine libraries, seems to favor Mealy-style state machine over Moore. In Mealy representation, the action is defined at the edge rather than in the state itself. Is it intentional?

Also, I am aware that all Moore-style representation can be converted to Mealy-style manually. Such an algorithm is taught in computer science courses. Does Boost SML implement the conversion algorithm internally at -O3 compiler optimization level?

Aside: what I meant by Moore:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant