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 committed by Gabriel Gouvine
parent 5cd83019db
commit 373cbe9835
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;