Skip to content

Save casez statements in generated Verilog - #141

Open
aamir-azeez wants to merge 1 commit into
PyHDI:developfrom
aamir-azeez:fix/casez-code-generation
Open

aamir-azeez wants to merge 1 commit into
PyHDI:developfrom
aamir-azeez:fix/casez-code-generation

Conversation

@aamir-azeez

@aamir-azeez aamir-azeez commented Sep 27, 2026 •

Copy link
Copy Markdown

Fixes #137, reported by @Hinataee.

Use the existing case visitor and a separate template for casez. Generic traversal previously omitted the casez and endcase statements and produced invalid Verilog. This completes code generation for the parser support added by Peter Birch in #57.

The existing AST code-generator tests pass. Icarus preprocessing and the full test suite were not run.

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.

casez can not be reverted to code well

1 participant