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

write_verilog: avoid emitting empty cases. #3992

Merged
merged 1 commit into from
Oct 8, 2023
Merged

Conversation

mwkmwkmwk
Copy link
Member

The Verilog grammar does not allow an empty case. Most synthesis tools are quite permissive about this, but Quartus is not. This causes problems for amaranth with Quartus (see amaranth-lang/amaranth#931).

The Verilog grammar does not allow an empty case.  Most synthesis tools
are quite permissive about this, but Quartus is not.  This causes
problems for amaranth with Quartus (see amaranth-lang/amaranth#931).
@Ravenslofty Ravenslofty merged commit a79b15e into master Oct 8, 2023
30 checks passed
@mwkmwkmwk mwkmwkmwk deleted the empty-case-fix branch October 8, 2023 11:34
@mcclure
Copy link

mcclure commented Oct 8, 2023

Can confirm this fixed amaranth-lang/amaranth#931 (the compile error at least) (EDIT: it fixed it completely)

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

Successfully merging this pull request may close these issues.

4 participants