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.
This commit is contained in:
Jean-Paul Chaput 2023-06-25 11:49:06 +02:00
parent 5cdb8b25f0
commit 70fb5cfe3f
1 changed files with 1 additions and 1 deletions

View File

@ -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;