diff --git a/vpr7_x2p/vpr/go.sh b/vpr7_x2p/vpr/go.sh index 3274d6ab2..cc0769661 100755 --- a/vpr7_x2p/vpr/go.sh +++ b/vpr7_x2p/vpr/go.sh @@ -16,16 +16,16 @@ set openfpga_path = ${PWD}/../.. rm -rf ${spice_output} rm -rf ${verilog_output} -# Recreate the paths to direct to the right place - -cp ${arch_file_template} ${arch_file} -sed 's/OPENFPGAPATH/"${openfpga_path}"/' ${arch_file} - echo "*******************************" -echo "THIS SCRIPT NEEDS TO BE SOURCED\n" +echo "THIS SCRIPT NEEDS TO BE SOURCED" echo "source ./go.sh" echo "*******************************" +sed "s:OPENFPGAPATH:${openfpga_path}:g" ${arch_file_template} > ${arch_file} + +#Changes the paths in the ARCH file used + +perl ARCH/use_template.pl # Pack, place, and route a heterogeneous FPGA # Packing uses the AAPack algorithm