Skip to content

SMV: add a lowering pass #1060

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

Merged
merged 1 commit into from
Apr 11, 2025
Merged

SMV: add a lowering pass #1060

merged 1 commit into from
Apr 11, 2025

Conversation

kroening
Copy link
Member

We currently expect that our solver backends support all expressions generated by the SMV-front-end as-is.

To avoid introducing additional, redundant expressions, this adds a lowering pass to the SMV type checker.

The lowering pass lowers SMV extend expressions to typecast expressions.

We currently expect that our solver backends support all expressions
generated by the SMV-front-end as-is.

To avoid introducing additional, redundant expressions, this adds a lowering
pass to the SMV type checker.

The lowering pass lowers SMV extend, resize, signed, and unsigned
expressions to typecast expressions.
@kroening kroening marked this pull request as ready for review April 10, 2025 22:24
@tautschnig tautschnig merged commit 9b692d0 into main Apr 11, 2025
9 checks passed
@tautschnig tautschnig deleted the smv-lower branch April 11, 2025 19:34
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