From 5a50fa84d1f0a562c135277fc767017f577bf0ff Mon Sep 17 00:00:00 2001 From: tangxifan Date: Wed, 3 Jul 2019 22:57:43 -0600 Subject: [PATCH] keep updating fpga_flow.pl to use system call --- fpga_flow/scripts/fpga_flow.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fpga_flow/scripts/fpga_flow.pl b/fpga_flow/scripts/fpga_flow.pl index 833045f98..cac4149ac 100644 --- a/fpga_flow/scripts/fpga_flow.pl +++ b/fpga_flow/scripts/fpga_flow.pl @@ -1756,7 +1756,7 @@ sub run_vpr_in_flow($ $ $ $ $ $ $ $ $ $ $ $) { } # Remove previous route results if (-e $vpr_route) { - `rm $vpr_route`; + system("rm $vpr_route"); } # Keep increase min_chan_width until route success # Extract data from VPR stats @@ -1784,7 +1784,7 @@ sub run_vpr_in_flow($ $ $ $ $ $ $ $ $ $ $ $) { my ($fix_chan_width) = ($benchmarks_ptr->{$benchmark_file}->{fix_route_chan_width}); # Remove previous route results if (-e $vpr_route) { - `rm $vpr_route`; + system(rm $vpr_route); } # Keep increase min_chan_width until route success &run_std_vpr($abc_blif_out,$benchmark,$vpr_arch,$vpr_net,$vpr_place,$vpr_route,$fix_chan_width,$vpr_log,$act_file); @@ -2165,7 +2165,7 @@ sub run_mpack2_flow($ $ $ $) } # Remove previous route results - `rm $vpr_route`; + system("rm $vpr_route"); # Keep increase min_chan_width until route success # Extract data from VPR stats while (1) { @@ -2188,7 +2188,7 @@ sub run_mpack2_flow($ $ $ $) my ($fix_chan_width) = ($benchmarks_ptr->{$benchmark_file}->{fix_route_chan_width}); # Remove previous route results if (-e $vpr_route) { - `rm $vpr_route`; + system("rm $vpr_route"); } # Keep increase min_chan_width until route success # Extract data from VPR stats @@ -3542,7 +3542,7 @@ sub gen_csv_rpt($) sub remove_designs() { if ("on" eq $opt_ptr->{remove_designs}) { - `rm -rf $conf_ptr->{dir_path}->{rpt_dir}->{val}`; + system("rm -rf $conf_ptr->{dir_path}->{rpt_dir}->{val}"); } }