From 373cbe9835ccf1933fb740f64ac3e74ad940a3fd Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sun, 25 Jun 2023 11:49:06 +0200 Subject: [PATCH] Filter new type of RoutingGauge in KatanaEngine::annotateGlobalGraph(). * Change: RoutingGauge in KatanaEngine::annotateGlobalGraph(), when accounting for obstacles, skip new types of RoutingGauges that are not accounted either when computing initial edge capacity in EdgeCapacity CTOR. Now only take into account the "Default" kind. --- katana/src/KatanaEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/katana/src/KatanaEngine.cpp b/katana/src/KatanaEngine.cpp index 871990f1..97f584c1 100644 --- a/katana/src/KatanaEngine.cpp +++ b/katana/src/KatanaEngine.cpp @@ -473,7 +473,7 @@ namespace Katana { for ( size_t depth=0 ; depth<_routingPlanes.size() ; ++depth ) { RoutingPlane* rp = _routingPlanes[depth]; - if (rp->getLayerGauge()->getType() == Constant::PinOnly) continue; + if (rp->getLayerGauge()->getType() != Constant::Default) continue; if (rp->getLayerGauge()->getDepth() > getConfiguration()->getAllowedDepth()) continue; int elementCapacity = 1;