mirror of https://github.com/VLSIDA/OpenRAM.git
rewrite wordline strap pin copying to not use exceptions
This commit is contained in:
parent
18df0f55eb
commit
69c988f853
|
|
@ -128,14 +128,11 @@ class sky130_bitcell_base_array(bitcell_base_array):
|
||||||
|
|
||||||
for inst in self.insts:
|
for inst in self.insts:
|
||||||
if "wlstrap" in inst.name:
|
if "wlstrap" in inst.name:
|
||||||
try:
|
if "VPWR" in inst.mod.pins:
|
||||||
self.copy_layout_pin(inst, "VPWR", "vdd")
|
self.copy_layout_pin(inst, "VPWR", "vdd")
|
||||||
except:
|
if "VGND" in inst.mod.pins:
|
||||||
pass
|
|
||||||
try:
|
|
||||||
self.copy_layout_pin(inst, "VGND", "gnd")
|
self.copy_layout_pin(inst, "VGND", "gnd")
|
||||||
except:
|
|
||||||
pass
|
|
||||||
for row in range(self.row_size):
|
for row in range(self.row_size):
|
||||||
for col in range(self.column_size):
|
for col in range(self.column_size):
|
||||||
inst = self.cell_inst[row, col]
|
inst = self.cell_inst[row, col]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue