File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments