Add custom parameter for wordline layer

This commit is contained in:
mrg 2021-04-19 14:23:14 -07:00
parent b8c7fcf182
commit 15b0583ff2
1 changed files with 6 additions and 0 deletions

View File

@ -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