mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-03 08:27:11 +02:00
rewrite wordline strap pin copying to not use exceptions
This commit is contained in:
@@ -128,14 +128,11 @@ class sky130_bitcell_base_array(bitcell_base_array):
|
||||
|
||||
for inst in self.insts:
|
||||
if "wlstrap" in inst.name:
|
||||
try:
|
||||
if "VPWR" in inst.mod.pins:
|
||||
self.copy_layout_pin(inst, "VPWR", "vdd")
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
if "VGND" in inst.mod.pins:
|
||||
self.copy_layout_pin(inst, "VGND", "gnd")
|
||||
except:
|
||||
pass
|
||||
|
||||
for row in range(self.row_size):
|
||||
for col in range(self.column_size):
|
||||
inst = self.cell_inst[row, col]
|
||||
|
||||
Reference in New Issue
Block a user