Hack left/right pin drawing
This is assumed to only fix symptoms, not the real problem.
This commit is contained in:
parent
8ebd0954e5
commit
1262f65eec
|
@ -281,13 +281,29 @@ class CoreWire ( object ):
|
||||||
, wwidthM5
|
, wwidthM5
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
hChip = Horizontal.create( self.chipNet
|
# hChip = Horizontal.create( self.chipNet
|
||||||
, self.padSegment.getLayer()
|
# , self.padSegment.getLayer()
|
||||||
, self.bbSegment.getCenter().getY()
|
# , self.bbSegment.getCenter().getY()
|
||||||
, self.bbSegment.getHeight()
|
# , self.bbSegment.getHeight()
|
||||||
, xPadMin
|
# , xPadMin
|
||||||
, xPadMax
|
# , xPadMax
|
||||||
)
|
# )
|
||||||
|
if self.side == West:
|
||||||
|
hChip = Horizontal.create( self.chipNet
|
||||||
|
, self.padSegment.getLayer()
|
||||||
|
, self.bbSegment.getCenter().getY()
|
||||||
|
, self.bbSegment.getHeight()
|
||||||
|
, xPadMin
|
||||||
|
, xPadMax
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
hChip = Horizontal.create( self.chipNet
|
||||||
|
, self.padSegment.getLayer()
|
||||||
|
, self.bbSegment.getCenter().getY()
|
||||||
|
, self.bbSegment.getHeight()
|
||||||
|
, xPadMin + 3*vPitch
|
||||||
|
, xPadMax
|
||||||
|
)
|
||||||
trace( 550, '\tself.arraySize: %s\n' % str(self.arraySize) )
|
trace( 550, '\tself.arraySize: %s\n' % str(self.arraySize) )
|
||||||
if self.arraySize:
|
if self.arraySize:
|
||||||
contacts = self.conf.coronaContactArray( self.chipNet
|
contacts = self.conf.coronaContactArray( self.chipNet
|
||||||
|
@ -314,7 +330,7 @@ class CoreWire ( object ):
|
||||||
vStrapBb = contact.getBoundingBox( padLayer )
|
vStrapBb = contact.getBoundingBox( padLayer )
|
||||||
coronaTransf.applyOn( vStrapBb )
|
coronaTransf.applyOn( vStrapBb )
|
||||||
if self.arraySize:
|
if self.arraySize:
|
||||||
if self.side == West: xContact = min( xContact, vStrapBb.getXMin() )
|
if self.side == West: xContact = min( xContact, vStrapBb.getXMin() - vPitch )
|
||||||
else: xContact = max( xContact, vStrapBb.getXMax() )
|
else: xContact = max( xContact, vStrapBb.getXMax() )
|
||||||
hCorona = self.conf.coronaHorizontal( self.chipNet
|
hCorona = self.conf.coronaHorizontal( self.chipNet
|
||||||
, self.symSegmentLayer
|
, self.symSegmentLayer
|
||||||
|
|
Loading…
Reference in New Issue