Skip to content

Commit ddadffb

Browse files
committed
grt: fix check for what nets are accounted during routeLayerLengths function
Signed-off-by: Eder Monteiro <[email protected]>
1 parent dd56d50 commit ddadffb

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
@@ -574,7 +574,8 @@ std::vector<int> GlobalRouter::routeLayerLengths(odb::dbNet* db_net)
574574
// dbu wirelength for wires, via count for vias
575575
std::vector<int> layer_lengths(tech->getLayerCount());
576576

577-
if (!db_net->getSigType().isSupply()) {
577+
if (!db_net->getSigType().isSupply() && !db_net->isSpecial()
578+
&& db_net->getSWires().empty() && !db_net->isConnectedByAbutment()) {
578579
GRoute& route = routes[db_net];
579580
std::set<RoutePt> route_pts;
580581
// Compute wirelengths from route segments

0 commit comments

Comments
 (0)