From 92e5f3fa4d97c8e98f1403a6562c08e2f02085a3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 21 Dec 2021 16:13:07 +0100 Subject: [PATCH] Update ad-hoc patch for obstacles for Flexlib & StdCellLib. * Bug: In Katana::PowerRailsPlane::Rail::doLayout(), to avaid tracks too close to an offgrid obstacle in the preferred routing direction, we expand the width/height of the segment by one pitch. BUT it seems to still be too close for Flexlib and StdCellLib, so there is an ad-hoc patch based on the *name* of the cell library. Update it to take "StdCellLib" into account. --- katana/src/PowerRails.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/katana/src/PowerRails.cpp b/katana/src/PowerRails.cpp index e6b45a77..4f577d37 100644 --- a/katana/src/PowerRails.cpp +++ b/katana/src/PowerRails.cpp @@ -492,6 +492,9 @@ namespace { delta = plane->getLayerGauge()->getPitch(); } } + if (AllianceFramework::get()->getCellGauge()->getName() == Name("StdCellLib")) { + delta = plane->getLayerGauge()->getPitch(); + } } cdebug_log(159,0) << " delta:" << DbU::getValueString(delta)