Skip to content

Verilog: handle deassign, release, and disable in convert_statement - #1949

Open
kroening wants to merge 1 commit into
diffblue:mainfrom
kroening:fix-deassign-release
Open

Verilog: handle deassign, release, and disable in convert_statement#1949
kroening wants to merge 1 commit into
diffblue:mainfrom
kroening:fix-deassign-release

Conversation

@kroening

@kroening kroening commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

deassign, release, and disable are valid procedural statements that reach convert_statement but were not handled, causing a 'unexpected statement' error. They require no type-checking — add no-op cases for them.

🤖 Generated with Claude Code

@kroening
kroening force-pushed the fix-deassign-release branch from c0bc59d to ab59ab9 Compare June 28, 2026 18:34
@kroening
kroening marked this pull request as draft June 28, 2026 19:33
@kroening kroening changed the title verilog: handle deassign, release, and disable in convert_statement Verilog: handle deassign, release, and disable in convert_statement Jun 28, 2026
@kroening
kroening force-pushed the fix-deassign-release branch from ab59ab9 to 427d195 Compare August 9, 2026 14:57
@kroening
kroening marked this pull request as ready for review August 9, 2026 14:57
@tautschnig

Copy link
Copy Markdown
Collaborator

We should have one or more tests here.

These procedural statements require no type-checking (they operate on
already-typed lvalues). The typecheck pass was throwing 'unexpected
statement' for them after the elaboration pass started accepting them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kroening
kroening force-pushed the fix-deassign-release branch from 427d195 to e4c0fe2 Compare September 5, 2026 18:35
@kroening

kroening commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator Author

Now with a test for each of the statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants