-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EBMC: retain assumptions when using --property
When using the --property command-line option, do not disable the assumptions.
- Loading branch information
Showing
6 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
2 changes: 1 addition & 1 deletion
2
regression/ebmc/assume1/test.desc → regression/ebmc/assumptions/assume1.desc
This file contains 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
File renamed without changes.
This file contains 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,7 @@ | ||
CORE | ||
assume2.sv | ||
--bound 0 --property main.p1 | ||
^\[main\.a1\] assume always 10 <= main\.a && main\.a <= 100: ASSUMED$ | ||
^\[main\.p1\] always main\.a != 200: PROVED up to bound 0$ | ||
^EXIT=0$ | ||
^SIGNAL=0$ |
This file contains 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 @@ | ||
module main(input [31:0] a); | ||
|
||
a1: assume final (10<=a && a<=100); | ||
|
||
p1: assert final (a!=200); | ||
|
||
// would fail | ||
p2: assert final (a!=20); | ||
|
||
endmodule |
This file contains 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