Skip to content

Commit bb62721

Browse files
committed
Adding a new option which supports the --fix_clusters option
1 parent ffba2ed commit bb62721

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

vtr_flow/scripts/noc/noc_benchmark_test.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,14 @@ def noc_test_command_line_parser(prog=None):
210210
"-route_chan_width", default=300, type=int, help="Channel width used for routing"
211211
)
212212

213+
parser.add_argument(
214+
"-fix_clusters",
215+
default="",
216+
type=str,
217+
help="Constraints file to pass into VPR which will lock down certain \
218+
clusters in the design",
219+
)
220+
213221
return parser
214222

215223

@@ -501,6 +509,10 @@ def gen_vpr_run_command(design_file, design_flows_file, user_args):
501509
single_seed_vpr_command.append("--read_placement_delay_lookup")
502510
single_seed_vpr_command.append(user_args.placement_delay_lookahead_file)
503511

512+
if user_args.fix_clusters != "":
513+
single_seed_vpr_command.append("--fix_clusters")
514+
single_seed_vpr_command.append(user_args.fix_clusters)
515+
504516
if user_args.route is True:
505517
# user wanted to route design so add params to run router
506518
single_seed_vpr_command.append("--route")

0 commit comments

Comments
 (0)