Skip to content

BDD engine: transform SVA to LTL, then LTL to CTL #1096

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
May 15, 2025
Merged

Conversation

kroening
Copy link
Member

@kroening kroening commented May 2, 2025

The BDD engine now transforms SVA to LTL, when possible, which in turn is transformed to CTL, when possible.

This is strictly more general than the current direct mapping.

@kroening kroening force-pushed the bdd-sva-via-ltl branch from caab4bb to 8da9819 Compare May 2, 2025 21:35
@kroening kroening marked this pull request as ready for review May 2, 2025 21:39
The BDD engine now transforms SVA to LTL, when possible, which in turn is
transformed to CTL, when possible.

This is strictly more general than the current direct mapping.
@kroening kroening force-pushed the bdd-sva-via-ltl branch from 8da9819 to 17fdbb0 Compare May 3, 2025 22:20
@@ -1,13 +1,13 @@
module main(input clk);

reg [31:0] x = 0;
reg [7:0] x = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do the changes to property transforms entail this change? AFAIK this test was passing before.

Copy link
Member Author

Choose a reason for hiding this comment

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

They now do run with BDDs, and the BDDs simply don't scale to 32 bits. They can do 8.

Copy link
Collaborator

Choose a reason for hiding this comment

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

But then how did this test pass before?

Copy link
Member Author

Choose a reason for hiding this comment

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

We did SAT-based BMC only. That can do 32 bits.

@tautschnig tautschnig merged commit 09f5af1 into main May 15, 2025
9 checks passed
@tautschnig tautschnig deleted the bdd-sva-via-ltl branch May 15, 2025 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants