Merge pull request #51 from LNIS-Projects/ganesh_dev

Ganesh dev
This commit is contained in:
tangxifan 2020-04-08 21:59:28 -06:00 committed by GitHub
commit 6db4a1290d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

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