Patched the OpenFPGA shell execution bug

This commit is contained in:
ganeshgore 2020-04-08 21:28:14 -06:00
parent 8267d78b01
commit 8ea272dc2c
1 changed files with 3 additions and 0 deletions

View File

@ -667,6 +667,7 @@ def run_vpr():
def run_openfpga_shell():
ExecTime["VPRStart"] = time.time()
# bench_blif, fixed_chan_width, logfile, route_only=False
tmpl = Template(open(args.top_module+"_template.openfpga",
encoding='utf-8').read())
@ -683,6 +684,8 @@ def run_openfpga_shell():
command = [cad_tools["openfpga_shell_path"], "-f",
args.top_module+"_run.openfpga"]
run_command("OpenFPGA Shell Run", "openfpgashell.log", command)
ExecTime["VPREnd"] = time.time()
extract_vpr_stats("vpr_stdout.log")
def run_standard_vpr(bench_blif, fixed_chan_width, logfile, route_only=False):