Skip to content

Commit 176b4a4

Browse files
committed
[vpr][CLI] change has_choking_spot to router_opt_choke_points
1 parent b3b3084 commit 176b4a4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

vpr/src/base/SetupVPR.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ static void SetupRouterOpts(const t_options& Options, t_router_opts* RouterOpts)
510510
RouterOpts->max_logged_overused_rr_nodes = Options.max_logged_overused_rr_nodes;
511511
RouterOpts->generate_rr_node_overuse_report = Options.generate_rr_node_overuse_report;
512512
RouterOpts->flat_routing = Options.flat_routing;
513-
RouterOpts->has_choking_spot = Options.has_choking_spot;
513+
RouterOpts->has_choking_spot = Options.router_opt_choke_points;
514514
RouterOpts->custom_3d_sb_fanin_fanout = Options.custom_3d_sb_fanin_fanout;
515515
RouterOpts->with_timing_analysis = Options.timing_analysis;
516516
}

vpr/src/base/read_options.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,13 +2491,13 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
24912491
.default_value("off")
24922492
.show_in(argparse::ShowIn::HELP_ONLY);
24932493

2494-
route_grp.add_argument(args.has_choking_spot, "--has_choking_spot")
2494+
route_grp.add_argument<bool, ParseOnOff>(args.router_opt_choke_points, "--router_opt_choke_points")
24952495
.help(
24962496
""
2497-
"Some FPGA architectures, due to the lack of full connectivity inside the cluster, may have"
2498-
" a choking spot inside the cluster. Thus, if routing doesn't converge, enabling this option may"
2499-
" help it.")
2500-
.default_value("false")
2497+
"Some FPGA architectures with limited fan-out options within a cluster (e.g. fracturable LUTs with shared pins) do"
2498+
" not converge well in routing unless these fan-out choke points are discovered and optimized for during net routing."
2499+
" This option helps router convergence for such architectures.")
2500+
.default_value("on")
25012501
.show_in(argparse::ShowIn::HELP_ONLY);
25022502

25032503

vpr/src/base/read_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ struct t_options {
218218
argparse::ArgValue<int> reorder_rr_graph_nodes_threshold;
219219
argparse::ArgValue<int> reorder_rr_graph_nodes_seed;
220220
argparse::ArgValue<bool> flat_routing;
221-
argparse::ArgValue<bool> has_choking_spot;
221+
argparse::ArgValue<bool> router_opt_choke_points;
222222
argparse::ArgValue<int> route_verbosity;
223223
argparse::ArgValue<int> custom_3d_sb_fanin_fanout;
224224

0 commit comments

Comments
 (0)