mirror of https://github.com/VLSIDA/OpenRAM.git
Add bounding box of connector for when there are multiple connectors
This commit is contained in:
parent
2694ee1a4c
commit
20d4e390f6
|
|
@ -72,9 +72,7 @@ class pin_layout:
|
|||
min_y = ll.y
|
||||
max_y = ur.y
|
||||
|
||||
filtered_list = [x for x in pin_list if x != None]
|
||||
debug.check(len(filtered_list)>0,"Cannot find bbox of empty list.")
|
||||
for pin in filtered_list:
|
||||
for pin in pin_list:
|
||||
min_x = min(min_x, pin.ll().x)
|
||||
max_x = max(max_x, pin.ur().x)
|
||||
min_y = min(min_y, pin.ll().y)
|
||||
|
|
|
|||
Loading…
Reference in New Issue