File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 2
2
sequence3.sv
3
3
--bound 20 --numbered-trace
4
4
^\[main\.p0\] ##\[\*\] main\.x == 6: REFUTED$
5
- ^Counterexample with 2 states:$
6
- ^\[main\.p1\] ##\[\+\] main\.x == 0: REFUTED$
7
5
^Counterexample with 7 states:$
6
+ ^\[main\.p1\] ##\[\*\] main\.x == 5: PROVED up to bound 20$
7
+ ^\[main\.p2\] ##\[\+\] main\.x == 0: REFUTED$
8
+ ^Counterexample with 7 states:$
9
+ ^\[main\.p3\] ##\[\+\] main\.x == 5: PROVED up to bound 20$
8
10
^EXIT=10$
9
11
^SIGNAL=0$
10
12
--
Original file line number Diff line number Diff line change @@ -9,7 +9,12 @@ module main;
9
9
if (x < 5 )
10
10
x<= x+ 1 ;
11
11
12
- initial p0 : assert property (## [* ] x== 6 ); // same as [0:$]
13
- initial p1 : assert property (## [+ ] x== 0 ); // same as [1:$]
12
+ // ##[*] is the same as [0:$]
13
+ initial p0 : assert property (## [* ] x== 6 ); // should fail
14
+ initial p1 : assert property (## [* ] x== 5 ); // should pass
15
+
16
+ // ##[+] is the same as [1:$]
17
+ initial p2 : assert property (## [+ ] x== 0 ); // should fail
18
+ initial p3 : assert property (## [+ ] x== 5 ); // should pass
14
19
15
20
endmodule
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ exprt normalize_property(exprt expr)
172
172
else if (expr.id () == ID_sva_cycle_delay_plus)
173
173
expr = F_exprt{X_exprt{to_sva_cycle_delay_plus_expr (expr).op ()}};
174
174
else if (expr.id () == ID_sva_cycle_delay_star)
175
- expr = X_exprt {to_sva_cycle_delay_star_expr (expr).op ()};
175
+ expr = F_exprt {to_sva_cycle_delay_star_expr (expr).op ()};
176
176
else if (expr.id () == ID_sva_if)
177
177
{
178
178
auto &sva_if_expr = to_sva_if_expr (expr);
Original file line number Diff line number Diff line change 35
35
/// ¬¬φ --> φ
36
36
/// ¬Gφ --> F¬φ
37
37
/// ¬Fφ --> G¬φ
38
- /// [*] φ --> F φ
39
- /// [+] φ --> X F φ
38
+ /// ## [*] φ --> F φ
39
+ /// ## [+] φ --> X F φ
40
40
/// strong(φ) --> φ
41
41
/// weak(φ) --> φ
42
42
/// sva_case --> ? :
You can’t perform that action at this time.
0 commit comments