Skip to content

Conversation

@kroening
Copy link
Collaborator

@kroening kroening commented Jun 9, 2025

This adds a lowering and constant-folding for $isunknown.

@kroening kroening force-pushed the isunknown1 branch 2 times, most recently from 42c36fb to 833dfc4 Compare June 9, 2025 22:16
@kroening kroening force-pushed the isunknown1 branch 3 times, most recently from d1783b8 to 5c0604c Compare June 23, 2025 13:16
@kroening kroening marked this pull request as ready for review June 23, 2025 13:17
{
// constant folding for $isunknown
auto bval = ::bval(expr);
auto bval_simplified = simplify_expr(bval, ns);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this possibly use verilog_simplifier?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

This adds a lowering and constant-folding for $isunknown.
@kroening kroening merged commit 85aaf26 into main Sep 6, 2025
11 checks passed
@kroening kroening deleted the isunknown1 branch September 6, 2025 18:19
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