[engine] fixed a bug in repack when only invisible routing sinks are found

This commit is contained in:
tangxifan 2023-01-20 21:50:59 -08:00
parent 2cbd836eff
commit 059f8ca112
1 changed files with 6 additions and 2 deletions

View File

@ -762,8 +762,12 @@ static void add_lb_router_nets(
* */
int pb_route_index;
if (0 == pb_route_indices.size()) {
if (ignored_global_net_sinks[atom_net_id_to_route].empty()) {
VTR_LOGV(verbose, "Bypass routing due to no routing traces found\n");
continue;
} else {
VTR_LOGV(verbose, "No regular routing traces found but only invisible routing traces will be considered\n");
}
} else if (1 == pb_route_indices.size()) {
pb_route_index = pb_route_indices[0];
} else {