Added disp option in openfpga_flow, Default is --nodisp

This commit is contained in:
ganeshgore 2020-01-23 10:04:38 -07:00
parent f0bed1244c
commit 46bb5ef9d0
1 changed files with 8 additions and 4 deletions

View File

@ -80,6 +80,8 @@ parser.add_argument('--run_dir', type=str,
help="Directory to store intermidiate file & final results") help="Directory to store intermidiate file & final results")
parser.add_argument('--yosys_tmpl', type=str, parser.add_argument('--yosys_tmpl', type=str,
help="Alternate yosys template, generates top_module.blif") help="Alternate yosys template, generates top_module.blif")
parser.add_argument('--disp', action="store_true",
help="Open display while running VPR")
parser.add_argument('--debug', action="store_true", parser.add_argument('--debug', action="store_true",
help="Run script in debug mode") help="Run script in debug mode")
@ -651,9 +653,11 @@ def run_standard_vpr(bench_blif, fixed_chan_width, logfile, route_only=False):
"--net_file", args.top_module+"_vpr.net", "--net_file", args.top_module+"_vpr.net",
"--place_file", args.top_module+"_vpr.place", "--place_file", args.top_module+"_vpr.place",
"--route_file", args.top_module+"_vpr.route", "--route_file", args.top_module+"_vpr.route",
"--full_stats", "--nodisp", "--full_stats",
"--activity_file", args.top_module+"_ace_out.act", "--activity_file", args.top_module+"_ace_out.act",
] ]
if not args.disp:
command += ["--nodisp"]
if route_only: if route_only:
command += ["--route"] command += ["--route"]
# Power options # Power options