diff --git a/compiler/router/pin_group.py b/compiler/router/pin_group.py index b1599a8e..d6344fb6 100644 --- a/compiler/router/pin_group.py +++ b/compiler/router/pin_group.py @@ -12,7 +12,7 @@ class pin_group: self.name = name # Flag for when it is routed self.routed = False - self.shapes = pin_shapes + self.pins = pin_shapes self.router = router # These are the corresponding pin grids for each pin group. self.grids = set() @@ -115,7 +115,7 @@ class pin_group: Return the smallest. """ smallest = None - for pin in self.shapes: + for pin in self.pins: for enclosure in enclosure_list: new_enclosure = self.compute_enclosure(pin, enclosure) if smallest == None or new_enclosure.area()