[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:
Staf Verhaegen 2022-11-28 13:33:20 +01:00
parent 7b04a76fae
commit 6eab01950c
1 changed files with 5 additions and 1 deletions

View File

@ -234,7 +234,11 @@ class CoreToChip ( BaseCoreToChip ):
the central P&R area so that I/O pins are fully outside of it.
"""
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()
filterBb = Box( wholeBb.getXMin(), innerAb.getYMin()
, wholeBb.getXMax(), innerAb.getYMax() )