mirror of https://github.com/VLSIDA/OpenRAM.git
Fix lpp change
This commit is contained in:
parent
32f1cde897
commit
8d158e9eb5
|
|
@ -360,7 +360,7 @@ class pin_group:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
smallest_shape = None
|
smallest_shape = None
|
||||||
zindex = self.router.get_zindex(pin.layer_num)
|
zindex = self.router.get_zindex(pin.lpp[0])
|
||||||
(min_width, min_space) = self.router.get_layer_width_space(zindex)
|
(min_width, min_space) = self.router.get_layer_width_space(zindex)
|
||||||
|
|
||||||
# Now compare it with every other shape to check how much they overlap
|
# Now compare it with every other shape to check how much they overlap
|
||||||
|
|
@ -469,7 +469,7 @@ class pin_group:
|
||||||
right_connector,
|
right_connector,
|
||||||
above_connector,
|
above_connector,
|
||||||
below_connector]
|
below_connector]
|
||||||
filtered_list = list(filter(lambda x: not x, connector_list))
|
filtered_list = list(filter(lambda x: x!=None, connector_list))
|
||||||
if (len(filtered_list) > 0):
|
if (len(filtered_list) > 0):
|
||||||
import copy
|
import copy
|
||||||
bbox_connector = copy.copy(pin)
|
bbox_connector = copy.copy(pin)
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,7 @@ class router(router_tech):
|
||||||
"""
|
"""
|
||||||
# Inflate the blockage by half a spacing rule
|
# Inflate the blockage by half a spacing rule
|
||||||
[ll, ur] = self.convert_blockage_to_tracks(blockage.inflate())
|
[ll, ur] = self.convert_blockage_to_tracks(blockage.inflate())
|
||||||
zlayer = self.get_zindex(blockage.layer_num)
|
zlayer = self.get_zindex(blockage.lpp[0])
|
||||||
blockage_tracks = self.get_blockage_tracks(ll, ur, zlayer)
|
blockage_tracks = self.get_blockage_tracks(ll, ur, zlayer)
|
||||||
return blockage_tracks
|
return blockage_tracks
|
||||||
|
|
||||||
|
|
@ -529,7 +529,7 @@ class router(router_tech):
|
||||||
sufficient_list = set()
|
sufficient_list = set()
|
||||||
insufficient_list = set()
|
insufficient_list = set()
|
||||||
|
|
||||||
zindex = self.get_zindex(pin.layer_num)
|
zindex = self.get_zindex(pin.lpp[0])
|
||||||
for x in range(int(ll[0]) + expansion, int(ur[0]) + 1 + expansion):
|
for x in range(int(ll[0]) + expansion, int(ur[0]) + 1 + expansion):
|
||||||
for y in range(int(ll[1] + expansion), int(ur[1]) + 1 + expansion):
|
for y in range(int(ll[1] + expansion), int(ur[1]) + 1 + expansion):
|
||||||
(full_overlap, partial_overlap) = self.convert_pin_coord_to_tracks(pin,
|
(full_overlap, partial_overlap) = self.convert_pin_coord_to_tracks(pin,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue