From 77e786ae5e061f4a1654827a9b104512e198730b Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Mon, 16 Jul 2018 13:46:12 -0700 Subject: [PATCH] Fix bug in recomputing boundary with a new offset --- compiler/base/hierarchy_layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/base/hierarchy_layout.py b/compiler/base/hierarchy_layout.py index a398efe6..2ee05052 100644 --- a/compiler/base/hierarchy_layout.py +++ b/compiler/base/hierarchy_layout.py @@ -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]