mirror of https://github.com/VLSIDA/OpenRAM.git
Add custom parameter for wordline layer
This commit is contained in:
parent
b8c7fcf182
commit
15b0583ff2
|
|
@ -215,6 +215,12 @@ class local_bitcell_array(bitcell_base_array.bitcell_base_array):
|
|||
y_offset -= global_wl_pitch_factor * global_wl_pitch
|
||||
else:
|
||||
y_offset += global_wl_pitch_factor * global_wl_pitch
|
||||
|
||||
self.add_layout_pin_segment_center(text=wl_name,
|
||||
layer=global_wl_layer,
|
||||
start=vector(self.wl_insts[port].lx(), y_offset),
|
||||
end=vector(self.wl_insts[port].lx() + self.wl_array.width, y_offset))
|
||||
|
||||
mid = vector(in_pin.cx(), y_offset)
|
||||
|
||||
# A short jog to the global line
|
||||
|
|
|
|||
Loading…
Reference in New Issue