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

Verilog variant: mcpu.v:46: Case values incompletely covered (example pattern 0x0) #1

Open
yurivict opened this issue Oct 20, 2019 · 1 comment

Comments

@yurivict
Copy link

https://github.com/cpldcpu/MCPU/blob/master/verilog/MCPU_0.1a.v#L50

Verilator complains:

%Warning-CASEINCOMPLETE: mcpu.v:46: Case values incompletely covered (example pattern 0x0)
   case(states)
   ^~~~
                         ... Use "/* verilator lint_off CASEINCOMPLETE */" and lint_on around source to disable this message.
%Error: Exiting due to 1 warning(s)
%Error: Command Failed /usr/local/bin/verilator_bin -Wall --cc mcpu.v --exe sim_main.cpp

The VHDL variant has when others => null; at this place.

@cpldcpu
Copy link
Owner

cpldcpu commented Apr 30, 2020

Note sure why this occurs, maybe verilator is more strict.

Anyhow, can you submit a pull request to fix this?

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

2 participants