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

bug in CH4/calculator_moore.sv #11

Open
BeeFl opened this issue Mar 31, 2024 · 0 comments
Open

bug in CH4/calculator_moore.sv #11

BeeFl opened this issue Mar 31, 2024 · 0 comments

Comments

@BeeFl
Copy link

BeeFl commented Mar 31, 2024

A bug in the author's Moore state machine program: undefined EQUAL state, causing the program to remain in WAIT4BUTTON state and crash.
add after line 61

last_op[Center]: state<=EQUAL;

add after line 80

EQUAL: begin
  last_op<=op_store; // Store our last operation
  state<=WAIT4BUTTON;
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant