keep updating fpga_flow.pl to use system call
@@ -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}");
}
}
