From 059f8ca1120cdb27b5fb79ca20eeeddf7feaefc2 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 20 Jan 2023 21:50:59 -0800 Subject: [PATCH] [engine] fixed a bug in repack when only invisible routing sinks are found --- openfpga/src/repack/repack.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openfpga/src/repack/repack.cpp b/openfpga/src/repack/repack.cpp index 4cc594e2d..d47c08be5 100644 --- a/openfpga/src/repack/repack.cpp +++ b/openfpga/src/repack/repack.cpp @@ -762,8 +762,12 @@ 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 {