-
Notifications
You must be signed in to change notification settings - Fork 19
LTL/SVA->Buechi: reject error traces early #1223
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
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
../../verilog/SVA/case1.sv | ||
--buechi --bound 20 --numbered-trace | ||
^\[main\.p0\] always \(case\(main\.x\) 10: 0; endcase\): REFUTED$ | ||
^Counterexample with 11 states:$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CORE | ||
../../verilog/SVA/cover1.sv | ||
--buechi --bound 10 --numbered-trace | ||
^\[main\.p0\] cover main\.counter == 1: PROVED$ | ||
^Trace with 2 states:$ | ||
^main\.counter@0 = 0$ | ||
^main\.counter@1 = 1$ | ||
^\[main\.p1\] cover main\.counter == 100: REFUTED up to bound 10$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CORE | ||
../../verilog/SVA/cover2.sv | ||
--buechi --bound 10 --numbered-trace | ||
^\[main\.p0\] cover main\.counter == 1: PROVED$ | ||
^Trace with 2 states:$ | ||
^main\.counter@0 = 0$ | ||
^main\.counter@1 = 1$ | ||
^\[main\.p1\] cover main\.counter == 100: REFUTED up to bound 10$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
../../verilog/SVA/cover_sequence1.sv | ||
--buechi --bound 10 --numbered-trace | ||
^\[main\.p0\] cover \(main\.x == 2 ##1 main\.x == 3 ##1 main\.x == 4\): UNSUPPORTED: not convertible to Buechi$ | ||
^\[main\.p1\] cover \(main\.x == 2 ##1 main\.x == 3 ##1 main\.x == 5\): UNSUPPORTED: not convertible to Buechi$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CORE | ||
../../verilog/SVA/cover_sequence2.sv | ||
--buechi --bound 5 | ||
^\[main\.p0\] cover \(main\.x == 2 ##1 main\.x == 3 ##1 main\.x == 100\): UNSUPPORTED: not convertible to Buechi$ | ||
^\[main\.p1\] cover \(main\.x == 98 ##1 main\.x == 99 ##1 main\.x == 100\): UNSUPPORTED: not convertible to Buechi$ | ||
^\[main\.p2\] cover \(main\.x == 3 ##1 main\.x == 4 ##1 main\.x == 5\): UNSUPPORTED: not convertible to Buechi$ | ||
^\[main\.p3\] cover \(main\.x == 4 ##1 main\.x == 5 ##1 main\.x == 6\): UNSUPPORTED: not convertible to Buechi$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
KNOWNBUG | ||
../../verilog/SVA/cover_sequence3.sv | ||
--buechi --bound 3 | ||
^\[main\.p0\] cover \(1 \[\*10\]\): REFUTED up to bound 3$ | ||
^\[main\.p1\] cover \(1 \[\*4:10\]\): PROVED$ | ||
^\[main\.p2\] cover \(1 \[\*5:10\]\): REFUTED up to bound 3$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- | ||
Trace one too short. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
KNOWNBUG | ||
../../verilog/SVA/cover_sequence4.sv | ||
--buechi --bound 3 | ||
^\[main\.p0\] cover \(1 \[=10\]\): REFUTED up to bound 3$ | ||
^\[main\.p1\] cover \(1 \[=4:10\]\): PROVED$ | ||
^\[main\.p2\] cover \(1 \[=5:10\]\): REFUTED up to bound 3$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- | ||
Trace one too short. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CORE | ||
../../verilog/SVA/disable_iff1.sv | ||
--buechi --module main --bound 10 --numbered-trace | ||
^\[main\.p0\] always \(disable iff \(main.counter == 0\) main\.counter != 0\): PROVED up to bound 10$ | ||
^\[main\.p1\] always \(disable iff \(1\) 0\): PROVED up to bound 10$ | ||
^\[main\.p2\] always \(disable iff \(main\.counter == 1\) main\.counter == 0\): REFUTED$ | ||
^Counterexample with 3 states:$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CORE | ||
../../verilog/SVA/empty_sequence1.sv | ||
--buechi --bound 5 | ||
^\[main\.p0\] 1 \[\*0\]: REFUTED$ | ||
^\[main\.p1\] \(1 \[\*0\]\) ##1 main\.x == 0: PROVED up to bound 5$ | ||
^\[main\.p2\] main\.x == 0 ##1 \(1 \[\*0\]\): PROVED up to bound 5$ | ||
^\[main\.p3\] \(1 \[\*0\]\) ##0 1: REFUTED$ | ||
^\[main\.p4\] 1 ##0 \(1 \[\*0\]\): REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CORE | ||
../../verilog/SVA/if1.sv | ||
--buechi --bound 2 | ||
^\[main\.p0\] always \(if\(main\.counter == 0\) nexttime main\.counter == 1\): PROVED up to bound 2$ | ||
^\[main\.p1\] always \(if\(main\.counter == 0\) nexttime main\.counter == 1 else nexttime main\.counter == 3\): REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
CORE | ||
../../verilog/SVA/initial1.sv | ||
--buechi --bound 5 | ||
^\[main\.p0\] main\.counter == 0: PROVED up to bound 5$ | ||
^\[main\.p1\] main\.counter == 100: REFUTED$ | ||
^\[main\.p2\] ##1 main\.counter == 1: PROVED up to bound 5$ | ||
^\[main\.p3\] ##1 main\.counter == 100: REFUTED$ | ||
^\[main\.p4\] s_nexttime main\.counter == 1: PROVED up to bound 5$ | ||
^\[main\.p5\] always \[1:1\] main\.counter == 1: PROVED up to bound 5$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CORE | ||
../../verilog/SVA/sequence1.sv | ||
--buechi --bound 20 --numbered-trace | ||
^\[main\.p0\] ##\[0:9\] main\.x == 100: REFUTED$ | ||
^Counterexample with 10 states:$ | ||
^main\.x@0 = 0$ | ||
^main\.x@9 = 9$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CORE | ||
../../verilog/SVA/sequence_and3.sv | ||
--buechi --bound 5 | ||
^\[.*\] \(\(1 or \(##2 1\)\) and 1\) \|-> main\.x == 2: REFUTED$ | ||
^\[.*\] \(1 and \(1 or \(##2 1\)\)\) \|-> main\.x == 2: REFUTED$ | ||
^\[.*\] \(\(1 or \(##2 1\)\) and 1\) \|-> main\.x == 0 \|\| main\.x == 2: PROVED up to bound 5$ | ||
^\[.*\] \(1 and \(1 or \(##2 1\)\)\) \|-> main\.x == 0 \|\| main\.x == 2: PROVED up to bound 5$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CORE | ||
../../verilog/SVA/sequence_or1.sv | ||
--buechi --bound 5 | ||
^\[main\.p0\] main\.x == 0 or main\.x == 1: PROVED up to bound \d+$ | ||
^\[main\.p1\] strong\(main\.x == 0 or main\.x == 1\): PROVED up to bound \d+$ | ||
^\[main\.p2\] main\.x == 0 or \(nexttime main\.x == 1\): PROVED up to bound \d+$ | ||
^\[main\.p3\] \(nexttime main\.x == 1\) or main\.x == 1: PROVED up to bound \d+$ | ||
^\[main\.p4\] \(main\.x == 0 or main\.x != 10\) |=> main\.x == 1: PROVED up to bound \d+$ | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
13 changes: 13 additions & 0 deletions
13
regression/ebmc-spot/sva-buechi/sequence_repetition1.bdd.desc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CORE | ||
../../verilog/SVA/sequence_repetition1.sv | ||
--buechi --bdd | ||
^\[.*\] main\.half_x == 0 \[\*2\]: PROVED$ | ||
^\[.*\] main\.half_x == 0 \[->2\]: FAILURE: property not supported by BDD engine$ | ||
^\[.*\] main\.half_x == 0 \[=2\]: FAILURE: property not supported by BDD engine$ | ||
^\[.*\] main\.x == 0 \[\*2\]: REFUTED$ | ||
^\[.*\] main\.x == 0 \[->2\]: FAILURE: property not supported by BDD engine$ | ||
^\[.*\] main\.x == 0 \[=2\]: FAILURE: property not supported by BDD engine$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
-- |
14 changes: 14 additions & 0 deletions
14
regression/ebmc-spot/sva-buechi/sequence_repetition1.bmc.desc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
CORE | ||
../../verilog/SVA/sequence_repetition1.sv | ||
--buechi --bound 10 | ||
^\[.*\] main\.half_x == 0 \[\*2\]: PROVED up to bound 10$ | ||
^\[.*\] main\.half_x == 0 \[->2\]: UNSUPPORTED: not convertible to Buechi$ | ||
^\[.*\] main\.half_x == 0 \[=2\]: UNSUPPORTED: not convertible to Buechi$ | ||
^\[.*\] main\.x == 0 \[\*2\]: REFUTED$ | ||
^\[.*\] main\.x == 0 \[->2\]: UNSUPPORTED: not convertible to Buechi$ | ||
^\[.*\] main\.x == 0 \[=2\]: UNSUPPORTED: not convertible to Buechi$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
11 changes: 11 additions & 0 deletions
11
regression/ebmc-spot/sva-buechi/sequence_repetition3.bmc.desc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CORE | ||
../../verilog/SVA/sequence_repetition3.sv | ||
--buechi --bound 10 | ||
^\[main\.p0\] \(main\.x == 0 \[\*1\]\) #=# \(main\.x == 1 \[\*1\]\): PROVED up to bound 10$ | ||
^\[main\.p1\] \(main\.half_x == 0 \[\*2\]\) #=# \(main\.half_x == 1 \[\*2\]\): PROVED up to bound 10$ | ||
^\[main\.p2\] main\.half_x == 0 \[\*3\]: REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CORE | ||
../../verilog/SVA/sva_abort1.sv | ||
--buechi --module main --bound 10 | ||
^\[main\.p0\] always \(accept_on \(main\.counter == 0\) main\.counter != 0\): PROVED up to bound 10$ | ||
^\[main\.p1\] always \(accept_on \(1\) 0\): PROVED up to bound 10$ | ||
^\[main\.p2\] always \(accept_on \(main\.counter == 1\) main\.counter == 0\): REFUTED$ | ||
^\[main\.p3\] always \(reject_on \(main\.counter != 0\) 1\): REFUTED$ | ||
^\[main\.p4\] always \(reject_on \(1\) 1\): REFUTED$ | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,3 @@ cover1.sv | |
-- | ||
^warning: ignoring | ||
-- | ||
Back-end support is missing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ if1.sv | |
-- | ||
^warning: ignoring | ||
-- | ||
SMT-back end doesn't do cast from bool to bool. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this say "accepting" instead of "nonaccepting"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed; fixed