@@ -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
@@ -949,6 +956,16 @@ static argparse::ArgumentParser create_arg_parser(std::string prog_name, t_optio
949956 " This option should be only used for development purposes." )
950957 .default_value (" " );
951958
959+ gen_grp.add_argument <bool , ParseOnOff>(args.allow_dangling_combinational_nodes , " --allow_dangling_combinational_nodes" )
960+ .help (
961+ " Option to allow dangling combinational nodes in the timing graph.\n "
962+ " This option should normally be off, as dangling combinational nodes are unusual\n "
963+ " in the timing graph and may indicate a problem in the circuit or architecture.\n "
964+ " Unless you understand why your architecture/circuit can have valid dangling combinational nodes, this option should be off.\n "
965+ " In general this is a dev-only option and should not be turned on by the end-user." )
966+ .default_value (" off" )
967+ .show_in (argparse::ShowIn::HELP_ONLY);
968+
952969 auto & file_grp = parser.add_argument_group (" file options" );
953970
954971 file_grp.add_argument (args.BlifFile , " --circuit_file" )
@@ -1551,6 +1568,11 @@ static argparse::ArgumentParser create_arg_parser(std::string prog_name, t_optio
15511568 .default_value (" " )
15521569 .show_in (argparse::ShowIn::HELP_ONLY);
15531570
1571+ route_timing_grp.add_argument <bool , ParseOnOff>(args.disable_check_route , " --disable_check_route" )
1572+ .help (" Disables check_route once routing step has finished or when routing file is loaded" )
1573+ .default_value (" off" )
1574+ .show_in (argparse::ShowIn::HELP_ONLY);
1575+
15541576 route_timing_grp.add_argument (args.router_debug_net , " --router_debug_net" )
15551577 .help (
15561578 " Controls when router debugging is enabled.\n "
0 commit comments