From 15b0583ff23ec53de2e7653c1e4ac04393e424a1 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 19 Apr 2021 14:23:14 -0700 Subject: [PATCH] Add custom parameter for wordline layer --- compiler/modules/local_bitcell_array.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiler/modules/local_bitcell_array.py b/compiler/modules/local_bitcell_array.py index 30da5bf1..31371fe9 100644 --- a/compiler/modules/local_bitcell_array.py +++ b/compiler/modules/local_bitcell_array.py @@ -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