From cc2137ec4f7296fe6e29be8b9a184be94d53388c Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 16 Apr 2021 11:43:22 +0200 Subject: [PATCH] Check that the core is wide enough to accomodate at least one middle power line. --- cumulus/src/plugins/alpha/chip/pads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cumulus/src/plugins/alpha/chip/pads.py b/cumulus/src/plugins/alpha/chip/pads.py index 2f724a61..78021626 100644 --- a/cumulus/src/plugins/alpha/chip/pads.py +++ b/cumulus/src/plugins/alpha/chip/pads.py @@ -1260,7 +1260,7 @@ class Corona ( object ): offset = (coreAb.getWidth() - self.supplyRailPitch*(stripesNb-1)) / 2 stripeSpecs.append( [ xcore + capViaWidth/2 , capViaWidth ] ) stripeSpecs.append( [ xcore + 2*capViaWidth + capViaWidth/2 , capViaWidth ] ) - if self.chip.spares: + if self.chip.spares and len(self.chip.spares.rleafX) > 1: rleafX = self.chip.spares.rleafX spacing = (rleafX[1] - rleafX[0]) / 2 stepOffset = 0