mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 01:24:39 +02:00
Enable single pin for vdd/gnd after supply router
This commit is contained in:
@@ -1152,7 +1152,20 @@ class router(router_tech):
|
||||
width=pin.width(),
|
||||
height=pin.height())
|
||||
|
||||
def get_pin(self, pin_name):
|
||||
""" Return the lowest, leftest pin group """
|
||||
keep_pin = None
|
||||
for index,pg in enumerate(self.pin_groups[pin_name]):
|
||||
for pin in pg.enclosures:
|
||||
if not keep_pin:
|
||||
keep_pin = pin
|
||||
else:
|
||||
if pin.lx() <= keep_pin.lx() and pin.by() <= keep_pin.by():
|
||||
keep_pin = pin
|
||||
|
||||
return keep_pin
|
||||
|
||||
|
||||
# FIXME: This should be replaced with vector.snap_to_grid at some point
|
||||
def snap_to_grid(offset):
|
||||
"""
|
||||
|
||||
@@ -125,7 +125,6 @@ class signal_grid(grid):
|
||||
#else:
|
||||
# print("Cost bounded")
|
||||
|
||||
debug.warning("Unable to route path. Expand the detour_scale to allow detours.")
|
||||
return (None,None)
|
||||
|
||||
def expand_dirs(self,curpath):
|
||||
|
||||
Reference in New Issue
Block a user