@@ -648,6 +648,8 @@ struct ParseRouterLookahead {
648648 conv_value.set_value (e_router_lookahead::CLASSIC);
649649 else if (str == " map" )
650650 conv_value.set_value (e_router_lookahead::MAP);
651+ else if (str == " connection_box_map" )
652+ conv_value.set_value (e_router_lookahead::CONNECTION_BOX_MAP);
651653 else {
652654 std::stringstream msg;
653655 msg << " Invalid conversion from '"
@@ -661,17 +663,22 @@ struct ParseRouterLookahead {
661663
662664 ConvertedValue<std::string> to_str (e_router_lookahead val) {
663665 ConvertedValue<std::string> conv_value;
664- if (val == e_router_lookahead::CLASSIC)
666+ if (val == e_router_lookahead::CLASSIC) {
665667 conv_value.set_value (" classic" );
666- else {
667- VTR_ASSERT (val == e_router_lookahead::MAP);
668+ } else if (val == e_router_lookahead::MAP) {
668669 conv_value.set_value (" map" );
670+ } else if (val == e_router_lookahead::CONNECTION_BOX_MAP) {
671+ conv_value.set_value (" connection_box_map" );
672+ } else {
673+ std::stringstream msg;
674+ msg << " Unrecognized e_router_lookahead" ;
675+ conv_value.set_error (msg.str ());
669676 }
670677 return conv_value;
671678 }
672679
673680 std::vector<std::string> default_choices () {
674- return {" classic" , " map" };
681+ return {" classic" , " map" , " connection_box_map " };
675682 }
676683};
677684
@@ -1569,6 +1576,11 @@ argparse::ArgumentParser create_arg_parser(std::string prog_name, t_options& arg
15691576 .default_value (" " )
15701577 .show_in (argparse::ShowIn::HELP_ONLY);
15711578
1579+ route_timing_grp.add_argument <bool , ParseOnOff>(args.disable_check_route , " --disable_check_route" )
1580+ .help (" Disables check_route once routing step has finished or when routing file is loaded" )
1581+ .default_value (" off" )
1582+ .show_in (argparse::ShowIn::HELP_ONLY);
1583+
15721584 route_timing_grp.add_argument (args.router_debug_net , " --router_debug_net" )
15731585 .help (
15741586 " Controls when router debugging is enabled.\n "
0 commit comments