Skip to content

Commit 2ebc288

Browse files
committed
change flat_routing option form true/false to on/off
1 parent 17a816a commit 2ebc288

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/base/read_options.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2441,9 +2441,9 @@ argparse::ArgumentParser create_arg_parser(std::string prog_name, t_options& arg
24412441
.default_value("1")
24422442
.show_in(argparse::ShowIn::HELP_ONLY);
24432443

2444-
route_grp.add_argument(args.flat_routing, "--flat_routing")
2444+
route_grp.add_argument<bool, ParseOnOff>(args.flat_routing, "--flat_routing")
24452445
.help("Enable VPR's flat routing (routing the nets from the source primitive to the destination primitive)")
2446-
.default_value("false")
2446+
.default_value("OFF")
24472447
.show_in(argparse::ShowIn::HELP_ONLY);
24482448

24492449
route_grp.add_argument(args.has_choking_spot, "--has_choking_spot")

0 commit comments

Comments
 (0)