Merge pull request #1013 from lnis-uofu/repack_bug

Fixed a bug in repack when only invisible routing sinks are …
This commit is contained in:
tangxifan 2023-01-21 11:00:32 -08:00 committed by GitHub
commit 808064c659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -762,8 +762,14 @@ static void add_lb_router_nets(
* */
int pb_route_index;
if (0 == pb_route_indices.size()) {
VTR_LOGV(verbose, "Bypass routing due to no routing traces found\n");
continue;
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 {