Skip to content

Commit 5f5a83e

Browse files
authored
Merge pull request #9065 from eder-matheus/grt_partial_routes
grt: do not return local nets on getPartialRoutes
2 parents 47d834f + 041569a commit 5f5a83e

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)