[gf180mcu]Reduce inner size when removing drawn polygons.
For gf180mcu the rings are drawn inside the inner area at top and right of the cell.
This commit is contained in:
parent
7b04a76fae
commit
6eab01950c
|
@ -234,7 +234,11 @@ class CoreToChip ( BaseCoreToChip ):
|
||||||
the central P&R area so that I/O pins are fully outside of it.
|
the central P&R area so that I/O pins are fully outside of it.
|
||||||
"""
|
"""
|
||||||
self.harness = DefImport.load( self.conf.cfg.harness.path )
|
self.harness = DefImport.load( self.conf.cfg.harness.path )
|
||||||
innerAb = self.harness.getAbutmentBox()
|
# For gf180mcu the rings are drawn inside the AbutmentBox
|
||||||
|
Ab = self.harness.getAbutmentBox()
|
||||||
|
innerAb = Box( Ab.getXMin(), Ab.getYMin()
|
||||||
|
, Ab.getXMax() - u(20.0), Ab.getYMax() - u(20.0)
|
||||||
|
)
|
||||||
wholeBb = self.harness.getBoundingBox()
|
wholeBb = self.harness.getBoundingBox()
|
||||||
filterBb = Box( wholeBb.getXMin(), innerAb.getYMin()
|
filterBb = Box( wholeBb.getXMin(), innerAb.getYMin()
|
||||||
, wholeBb.getXMax(), innerAb.getYMax() )
|
, wholeBb.getXMax(), innerAb.getYMax() )
|
||||||
|
|
Loading…
Reference in New Issue