[Script] Bug fix on the run_fpga_flow.py script when power analysis is disabled

This commit is contained in:
tangxifan 2021-02-16 16:53:13 -07:00
parent 2c2e493739
commit a819375f69
1 changed files with 5 additions and 1 deletions

View File

@ -260,9 +260,13 @@ def main():
if args.power:
run_ace2()
run_pro_blif_3arg()
run_rewrite_verilog()
else:
# Make a copy of the blif file to be compatible with vpr flow
shutil.copy(args.top_module+'_yosys_out.blif', args.top_module+".blif")
# Always Generate the post-synthesis verilog files
run_rewrite_verilog()
if (args.fpga_flow == "vpr_blif"):
collect_files_for_vpr()
logger.info("Runing OpenFPGA Shell Engine ")