-
Notifications
You must be signed in to change notification settings - Fork 0
/
set_path.sh
executable file
·19 lines (17 loc) · 1.13 KB
/
set_path.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Set the path to this repository
ROOTDIR=/my/spades
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./rapidwright/install_rw.sh
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./rapidwright/run_rw.sh
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./rtl/run_sim_socket_top.sh
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./rtl/run_ivsim_socket_top.sh
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./rtl/system_sim_socket.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./socket_cl_flow/tcl_hooks/post_opt.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./socket_cl_flow/tcl_hooks/pre_route_s.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./socket_cl_flow/tcl_hooks/pre_route.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./socket_cl_flow/tcl_hooks/post_opt_s.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./ulp_design/tcl_hooks/post_opt.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./socket_cc_flow/tcl_hooks/pre_opt_s.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./socket_cc_flow/tcl_hooks/pre_route_s.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./socket_cc_flow/tcl_hooks/pre_route.tcl
sed -i "s|/path/to/spades|"${ROOTDIR}"|g" ./socket_cc_flow/tcl_hooks/pre_opt.tcl