Skip to content

Commit 4053ed7

Browse files
authored
Merge pull request #496 from diffblue/eval-script
Jasper and VC Formal evaluation script
2 parents 5b83190 + 9cab618 commit 4053ed7

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

examples/Benchmarks/experiments.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
for BM in *.sv
4+
do
5+
TOP=$(grep -w module $BM | awk '{print $2}')
6+
echo "BENCHMARK: $BM ($TOP)"
7+
cat > $BM.jg.tcl << EOF
8+
clear -all
9+
analyze -sv12 $BM
10+
elaborate -top $TOP
11+
clock clk
12+
reset -none
13+
prove -bg -all
14+
exit
15+
EOF
16+
/usr/bin/time -v timeout --kill-after=600s 3600s jg -allow_unsupported_OS -no_gui -acquire_proj -fpv $BM.jg.tcl
17+
done
18+
19+
for BM in *.sv
20+
do
21+
TOP=$(grep -w module $BM | awk '{print $2}')
22+
echo "BENCHMARK: $BM ($TOP)"
23+
cat > $BM.vcf.tcl << EOF
24+
set CPU_per_lic 12
25+
set lic_number 1
26+
read_file -format sverilog -sva -top $TOP $BM
27+
create_clock clk -period 100
28+
check_fv
29+
EOF
30+
/usr/bin/time -v timeout --kill-after=600s 3600s vcf -no_ui -file $BM.vcf.tcl
31+
done

0 commit comments

Comments
 (0)