-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrunWotanScript
executable file
·55 lines (38 loc) · 2.49 KB
/
runWotanScript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/csh
set vtr = '/nfs/ug/homes-4/k/kongnath/code/vtr/'
set vpr = '/nfs/ug/homes-4/k/kongnath/code/vtr/vpr/'
set pythonDir = '/nfs/ug/homes-4/k/kongnath/code/wotan/python/'
#######################################################
## SET BENCHMARK ##
set benchmark = '4LUT_DSP_vtr_benchmarks_blif/sha.pre-vpr.blif'
#set benchmark = '4LUT_DSP_vtr_benchmarks_blif/bgm.pre-vpr.blif'
#set benchmark = '4LUT_DSP_vtr_benchmarks_blif/boundtop.pre-vpr.blif'
#set benchmark = '4LUT_DSP_vtr_benchmarks_blif/raygentop.pre-vpr.blif'
#set benchmark = '4LUT_DSP_vtr_benchmarks_blif/or1200.pre-vpr.blif'
#set benchmark = '4LUT_DSP_vtr_benchmarks_blif/stereovision0.pre-vpr.blif'
#set benchmark = '4LUT_DSP_vtr_benchmarks_blif/stereovision1.pre-vpr.blif'
set rr_structs_file = '/nfs/ug/homes-4/k/kongnath/code/wotan/test_dump.txt'
#######################################################
## GET ARCH ##
set arch = 'k4_s1_subset_topology-single-wirelength_fcin0.3_fcout0.6'
python $pythonDir/generate_arch.py -a $arch
#######################################################
## SET ARCHITECTURES ##
set arch = '/nfs/ug/homes-4/k/kongnath/code/wotan/arch/4LUT_DSP/L1/k4_N8_topology-1.0sL1_22nm.xml'
#set arch = '/nfs/ug/homes-4/k/kongnath/code/wotan/arch/4LUT_DSP/test/k4_N8_topology-1.0sL1_22nm.xml'
#set arch = '/nfs/ug/homes-4/k/kongnath/code/wotan/arch/4LUT_DSP/test/k4_N8_topology-1.0sL8_22nm.xml'
#set arch = '/nfs/ug/homes-4/k/kongnath/code/wotan/arch/4LUT_DSP/test/k4_N8_topology-1.0sL4_22nm.xml'
#set arch = '/nfs/ug/homes-4/k/kongnath/code/wotan/arch/4LUT_DSP/L4/k4_N8_topology-1.0sL4_22nm.xml'
#set arch = '/nfs/ug/homes-4/k/kongnath/code/wotan/arch/4LUT_DSP/L4/k4_N8_topology-1.0sL4_22nm.xml'
#set arch = '/nfs/ug/homes-4/k/kongnath/code/wotan/arch/4LUT_DSP/L1/k4_N8_topology-1.0sL1_22nm.xml'
#######################################################
## RUN VPR TO GET RRG ##
#$vpr/vpr $arch $vtr/vtr_flow/benchmarks/$benchmark -nodisp -pack -place -route_chan_width 8
#$vpr/vpr $arch $vtr/vtr_flow/benchmarks/$benchmark -nodisp -dump_rr_structs_file $rr_structs_file -pack -place -route_chan_width 8
#######################################################
## RUN FULL VPR FLOW ##
#$vpr/vpr $arch $vtr/vtr_flow/benchmarks/$benchmark -nodisp -pack -place
$vpr/vpr $arch $vtr/vtr_flow/benchmarks/$benchmark -pack -place -route -route_chan_width 60
#######################################################
## WOTAN ##
#./wotan -rr_structs_file $rr_structs_file -threads 10 -demand_multiplier 25 -max_connection_length 6 -keep_path_count_history n