Skip to content

Commit 80e2eee

Browse files
authored
Merge pull request #585 from diffblue/cond_for_comment
Verilog: generate property description prior to expression synthesis
2 parents c0ef1df + 08654ea commit 80e2eee

16 files changed

+208
-33
lines changed

regression/verilog/SVA/immediate1.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
immediate1.sv
33
--bound 20
4-
^\[main\.assert\.1\] always \(main\.x == 11 \|-> main\.x & 1\): PROVED up to bound 20$
4+
^\[main\.assert\.1\] always main\.x & 1: PROVED up to bound 20$
55
^EXIT=0$
66
^SIGNAL=0$
77
--

regression/verilog/SVA/immediate2.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE broken-smt-backend
22
immediate2.sv
33
--bound 0
4-
^\[main\.assert\.1\] assume always \(main\.index >= 10 |-> 0\): ASSUMED$
4+
^\[main\.assume\.1\] assume always 0: ASSUMED$
55
^\[main\.assert\.2\] always main\.index < 10: PROVED up to bound 0$
66
^\[main\.assert\.3\] always 0: REFUTED$
77
^EXIT=10$

regression/verilog/SVA/initial2.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
initial2.sv
33
--module main --bound 1
4-
^\[main\.assert\.1\] 1 == 1: PROVED up to bound 1
4+
^\[main\.assert\.1\] main\.counter == 1: PROVED up to bound 1
55
^\[main\.assert\.2\] main\.counter == 2: PROVED up to bound 1
66
^EXIT=0$
77
^SIGNAL=0$

regression/verilog/SVA/named_property1.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
named_property1.sv
33
--bound 0
4-
^\[main\.assert\.1\] always main\.x == 10: PROVED up to bound 0$
4+
^\[main\.assert\.1\] always main\.x_is_ten: PROVED up to bound 0$
55
^EXIT=0$
66
^SIGNAL=0$
77
--
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CORE
22
unbounded1.sv
33
--module main --bound 1
4-
^\[main\.assert\.1\] always \(main\.a ##\[0:\$\] main.b\): REFUTED$
4+
^\[main\.assert\.1\] always \(main\.a ##\[0:main\.upper\] main.b\): REFUTED$
55
^EXIT=10$
66
^SIGNAL=0$
77
--

regression/verilog/enums/enum4.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ enum4.sv
33
--bound 0
44
^EXIT=0$
55
^SIGNAL=0$
6-
^\[main\.p1\] always main.A == main.A: PROVED up to bound 0$
6+
^\[main\.p1\] always main\.A == 1: PROVED up to bound 0$
77
--

regression/verilog/enums/enum_base_type1.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ enum_base_type1.sv
33
--bound 0
44
^EXIT=0$
55
^SIGNAL=0$
6-
^\[.*\] always 8 == 8: PROVED up to bound 0$
6+
^\[.*\] always \$bits\(main\.A\) == 8: PROVED up to bound 0$
77
--

regression/verilog/enums/enum_base_type2.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ enum_base_type2.sv
33
--bound 0
44
^EXIT=0$
55
^SIGNAL=0$
6-
^\[.*\] always 8 == 8: PROVED up to bound 0$
6+
^\[.*\] always \$bits\(main\.A\) == main\.p: PROVED up to bound 0$
77
--

regression/verilog/expressions/concatenation2.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ concatenation2.v
33
--bound 0
44
^EXIT=0$
55
^SIGNAL=0$
6-
^\[main\.property\.pA\] always -1 == -1: PROVED up to bound 0$
7-
^\[main\.property\.pB\] always 15 == 15: PROVED up to bound 0$
6+
^\[main\.property\.pA\] always main\.A == -1: PROVED up to bound 0$
7+
^\[main\.property\.pB\] always main\.B == 15: PROVED up to bound 0$
88
--
99
^warning: ignoring

regression/verilog/expressions/static_cast1.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ static_cast1.sv
33
--module main --bound 0
44
^EXIT=0$
55
^SIGNAL=0$
6-
^\[main\.p0\] always 255 == 255: PROVED up to bound 0$
6+
^\[main\.p0\] always 'hFFFF == 255: PROVED up to bound 0$
77
--
88
^warning: ignoring

0 commit comments

Comments
 (0)