diff --git a/compiler/base/hierarchy_layout.py b/compiler/base/hierarchy_layout.py index 331e1195..191fa492 100644 --- a/compiler/base/hierarchy_layout.py +++ b/compiler/base/hierarchy_layout.py @@ -721,8 +721,6 @@ class layout(lef.lef): try to minimize the number of tracks -- instead, it picks an order to avoid the vertical conflicts between pins. """ - local_debug = True - def remove_net_from_graph(pin, g): # Remove the pin from the keys g.pop(pin,None) @@ -747,11 +745,11 @@ class layout(lef.lef): def vcg_pin_overlap(pin1, pin2, vertical): # Check for vertical overlap of the two pins - # Pin 1 must be in the "LEFT" set and overlap the right - x_overlap = pin1.lx() < pin2.lx() and abs(pin1.center().x-pin2.center().x) pin2.by() and abs(pin1.center().x-pin2.center().x) pin2.by() and abs(pin1.center().y-pin2.center().y)