Skip to content

Commit 736cc9e

Browse files
authored
Merge pull request #1363 from diffblue/sva-buechi-tests
additional tests for SVA->Buechi
2 parents 60691b1 + 82f0080 commit 736cc9e

10 files changed

+102
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CORE
2+
../../verilog/SVA/immediate2.sv
3+
--buechi
4+
^\[main\.assume\.1\] assume always 0: ASSUMED$
5+
^\[main\.assert\.2\] always main\.index < 10: PROVED \(.*\)$
6+
^\[main\.assert\.3\] always 0: REFUTED$
7+
^EXIT=10$
8+
^SIGNAL=0$
9+
--
10+
^warning: ignoring
11+
--
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CORE
2+
../../verilog/SVA/immediate3.sv
3+
--buechi
4+
^\[full_adder\.assert\.1\] always \{ full_adder\.carry, full_adder\.sum \} == \{ 1'b0, full_adder\.a \} \+ full_adder\.b \+ full_adder\.c: PROVED \(.*\)$
5+
^EXIT=0$
6+
^SIGNAL=0$
7+
--
8+
^warning: ignoring
9+
--
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
../../verilog/SVA/s_eventually4.sv
3+
--buechi --module main --bound 11
4+
^\[main\.p0\] always \(\(s_eventually main\.counter == 1\) or \(s_eventually main.counter == 10\)\): PROVED up to bound 11$
5+
^EXIT=0$
6+
^SIGNAL=0$
7+
--
8+
^warning: ignoring
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
CORE
2+
../../verilog/SVA/sequence3.sv
3+
--buechi --bound 20 --numbered-trace
4+
^\[main\.p0\] strong\(##\[\*\] main\.x == 6\): UNSUPPORTED: not convertible to Buechi$
5+
^\[main\.p1\] strong\(##\[\*\] main\.x == 5\): UNSUPPORTED: not convertible to Buechi$
6+
^\[main\.p2\] strong\(##\[\+\] main\.x == 0\): UNSUPPORTED: not convertible to Buechi$
7+
^\[main\.p3\] strong\(##\[\+\] main\.x == 5\): UNSUPPORTED: not convertible to Buechi$
8+
^EXIT=10$
9+
^SIGNAL=0$
10+
--
11+
^warning: ignoring
12+
--
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
CORE
2+
../../verilog/SVA/sequence_repetition2.sv
3+
--buechi --bound 10
4+
^\[main\.p0\] main\.x == 0 \[\*\]: PROVED up to bound 10$
5+
^\[main\.p1\] \(main\.x == 0 \[\+\]\) #=# main\.x == 1: PROVED up to bound 10$
6+
^\[main\.p2\] main\.x == 0 \[\+\]: PROVED up to bound 10$
7+
^\[main\.p3\] main\.half_x == 0 \[\*\]: PROVED up to bound 10$
8+
^\[main\.p4\] main\.x == 1 \[\*\]: REFUTED$
9+
^\[main\.p5\] 0 \[\*\]: REFUTED$
10+
^\[main\.p6\] main\.x == 1 \[\+\]: REFUTED$
11+
^\[main\.p7\] \(main\.x == 0 \[\+\]\) #-# main\.x == 1: REFUTED$
12+
^\[main\.p8\] 0 \[\+\]: REFUTED$
13+
^EXIT=10$
14+
^SIGNAL=0$
15+
--
16+
^warning: ignoring
17+
--
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CORE
2+
../../verilog/SVA/sequence_repetition3.sv
3+
--buechi --bdd
4+
^\[main\.p0\] \(main\.x == 0 \[\*1\]\) #=# \(main\.x == 1 \[\*1\]\): PROVED$
5+
^\[main\.p1\] \(main\.half_x == 0 \[\*2\]\) #=# \(main\.half_x == 1 \[\*2\]\): PROVED$
6+
^\[main\.p2\] main\.half_x == 0 \[\*3\]: REFUTED$
7+
^EXIT=10$
8+
^SIGNAL=0$
9+
--
10+
^warning: ignoring
11+
--
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
../../verilog/SVA/system_verilog_assertion1.sv
3+
--buechi --module main --bound 20 --trace
4+
^EXIT=10$
5+
^SIGNAL=0$
6+
^Counterexample:$
7+
--
8+
^warning: ignoring
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CORE
2+
../../verilog/SVA/system_verilog_assertion2.sv
3+
--buechi --module main --bound 20 --trace
4+
^EXIT=10$
5+
^SIGNAL=0$
6+
^Counterexample:$
7+
^\[main\.my_label\] .* REFUTED$
8+
--
9+
^warning: ignoring
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
../../verilog/SVA/system_verilog_assertion4.sv
3+
--buechi --module main --bound 10
4+
^\[main\.p11\] always \(main\.x == 0 \|-> \(\(##1 main\.x == 1\) and \(not \(##2 main\.x == 3\)\)\)\): UNSUPPORTED: not convertible to Buechi$
5+
^EXIT=10$
6+
^SIGNAL=0$
7+
--
8+
^warning: ignoring
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CORE
2+
../../verilog/SVA/weak1.sv
3+
--buechi --bound 20
4+
^\[main\.p0\] weak\(##\[0:9\] main\.x == 100\): REFUTED$
5+
^EXIT=10$
6+
^SIGNAL=0$
7+
--
8+
^warning: ignoring
9+
--

0 commit comments

Comments
 (0)