Abstracted LEF added. Params for array wordline layers.

This commit is contained in:
mrg
2021-04-21 11:04:01 -07:00
parent 584349c911
commit f45efe3db6
7 changed files with 139 additions and 41 deletions
+6 -1
View File
@@ -263,13 +263,18 @@ class sram_base(design, verilog, lef):
# Add it as an IO pin to the perimeter
lowest_coord = self.find_lowest_coords()
pin_width = pin.rx() - lowest_coord.x
route_width = pin.rx() - lowest_coord.x
pin_width = 2 * getattr(self, "{}_width".format(pin.layer))
pin_offset = vector(lowest_coord.x, pin.by())
self.add_layout_pin(pin_name,
pin.layer,
pin_offset,
pin_width,
pin.height())
self.add_rect(pin.layer,
pin_offset,
route_width,
pin.height())
def route_escape_pins(self):
"""