Fix bug in recomputing boundary with a new offset

This commit is contained in:
Matt Guthaus 2018-07-16 13:46:12 -07:00
parent afcc3563ae
commit 77e786ae5e
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class layout(lef.lef):
inst.offset = vector(inst.offset - offset)
# The instances have a precomputed boundary that we need to update.
if inst.__class__.__name__ == "instance":
inst.compute_boundary(offset.scale(-1,-1))
inst.compute_boundary(inst.offset)
for pin_name in self.pin_map.keys():
# All the pins are absolute coordinates that need to be updated.
pin_list = self.pin_map[pin_name]