From 35fcb3f6316e1d780de07d688831c286e5796f7d Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 21 Apr 2021 10:07:37 -0700 Subject: [PATCH] Abstracted LEF added. Params for array wordline layers. --- compiler/modules/local_bitcell_array.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/modules/local_bitcell_array.py b/compiler/modules/local_bitcell_array.py index 31371fe9..cbea3ce9 100644 --- a/compiler/modules/local_bitcell_array.py +++ b/compiler/modules/local_bitcell_array.py @@ -215,14 +215,14 @@ 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) + self.add_layout_pin_rect_center(text=wl_name, + layer=global_wl_layer, + offset=mid) + + self.add_path(local_wl_layer, [in_pin.center(), mid]) + # A short jog to the global line self.add_via_stack_center(from_layer=in_pin.layer, to_layer=local_wl_layer,