Skip to content

Commit 041569a

Browse files
committed
grt: do not return local nets on getPartialRoutes
Signed-off-by: Eder Monteiro <[email protected]>
1 parent 43f41e4 commit 041569a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/grt/src/GlobalRouter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ NetRouteMap GlobalRouter::getPartialRoutes()
215215
// TODO: still need to fix this during incremental grt
216216
if (is_incremental_) {
217217
for (const auto& [db_net, net] : db_net_map_) {
218-
if (routes_[db_net].empty()) {
218+
// Do not add local nets, as they are not routed in incremental grt.
219+
if (routes_[db_net].empty() && !net->isLocal()) {
219220
GRoute route;
220221
net_routes.insert({db_net, route});
221222
fastroute_->getPlanarRoute(db_net, net_routes[db_net]);

0 commit comments

Comments
 (0)