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 @@ -182,7 +182,7 @@ exprt normalize_property(exprt expr)
182
182
else if (expr.id () == ID_sva_cycle_delay_plus)
183
183
expr = F_exprt{X_exprt{to_sva_cycle_delay_plus_expr (expr).op ()}};
184
184
else if (expr.id () == ID_sva_cycle_delay_star)
185
- expr = X_exprt {to_sva_cycle_delay_star_expr (expr).op ()};
185
+ expr = F_exprt {to_sva_cycle_delay_star_expr (expr).op ()};
186
186
else if (expr.id () == ID_sva_if)
187
187
{
188
188
auto &sva_if_expr = to_sva_if_expr (expr);
Original file line number Diff line number Diff line change 37
37
/// ¬¬φ --> φ
38
38
/// ¬Gφ --> F¬φ
39
39
/// ¬Fφ --> G¬φ
40
- /// [*] φ --> F φ
41
- /// [+] φ --> X F φ
40
+ /// ## [*] φ --> F φ
41
+ /// ## [+] φ --> X F φ
42
42
/// strong(φ) --> φ
43
43
/// weak(φ) --> φ
44
44
/// sva_case --> ? :
You can’t perform that action at this time.
0 commit comments