Check that the core is wide enough to accomodate at least one middle power line.

This commit is contained in:
Jean-Paul Chaput 2021-04-16 11:43:22 +02:00
parent 9800c0ad3d
commit cc2137ec4f
1 changed files with 1 additions and 1 deletions

View File

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