mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-03 16:31:08 +02:00
Cleanup exit route. Pins are on perimeter mostly.
This commit is contained in:
@@ -473,6 +473,17 @@ class layout():
|
||||
"""
|
||||
self.pin_map = {}
|
||||
|
||||
def replace_layout_pin(self, text, pin):
|
||||
"""
|
||||
Remove the old pin and replace with a new one
|
||||
"""
|
||||
self.remove_layout_pin(text)
|
||||
self.add_layout_pin(text=text,
|
||||
layer=pin.layer,
|
||||
offset=pin.ll(),
|
||||
width=pin.width(),
|
||||
height=pin.height())
|
||||
|
||||
def add_layout_pin(self, text, layer, offset, width=None, height=None):
|
||||
"""
|
||||
Create a labeled pin
|
||||
|
||||
Reference in New Issue
Block a user