-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #932 from diffblue/property1
Verilog: KNOWNBUG test for property ... endproperty
- Loading branch information
Showing
6 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
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,11 @@ | ||
KNOWNBUG | ||
named_property2.sv | ||
--bound 20 | ||
^\[main\.assert\.1\] always main\.x_is_eventually_ten: PROVED up to bound 20$ | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
-- | ||
^warning: ignoring | ||
-- | ||
The type checker only allows expressions, not properties in property ... | ||
endproperty. |
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,12 @@ | ||
module main(input clk); | ||
|
||
reg [31:0] x = 0; | ||
always_ff @(posedge clk) x++; | ||
|
||
property x_is_eventually_ten; | ||
s_eventually x == 10 | ||
endproperty : x_is_eventually_ten | ||
|
||
assert property (x_is_eventually_ten); | ||
|
||
endmodule |
File renamed without changes.
File renamed without changes.