Check that the core is wide enough to accomodate at least one middle power line.
This commit is contained in:
parent
9800c0ad3d
commit
cc2137ec4f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue