From b0821a5a0ecc65b07da8757abb17dd5bce5ab04c Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Wed, 21 Aug 2019 11:42:56 -0700 Subject: [PATCH] Re-add simplified power pins on edges --- compiler/modules/write_mask_and_array.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/compiler/modules/write_mask_and_array.py b/compiler/modules/write_mask_and_array.py index 2456094e..8f30fd2d 100644 --- a/compiler/modules/write_mask_and_array.py +++ b/compiler/modules/write_mask_and_array.py @@ -135,19 +135,9 @@ class write_mask_and_array(design.design): width=wmask_out_pin.width(), height=wmask_out_pin.height()) - for n in ["vdd", "gnd"]: - pin_list = self.and2_insts[i].get_pins(n) - for pin in pin_list: - pin_pos = pin.lc() - # Add the M1->M2 stack - self.add_via_center(layers=("metal1", "via1", "metal2"), - offset=pin_pos) - # Add the M2->M3 stack - self.add_via_center(layers=("metal2", "via2", "metal3"), - offset=pin_pos) - self.add_layout_pin_rect_center(text=n, - layer="metal3", - offset=pin_pos) + self.add_power_pin("gnd", vector(supply_pin.width()+i*self.wmask_en_len,0)) + self.add_power_pin("vdd", vector(supply_pin.width()+i*self.wmask_en_len,self.height)) + def en_width(self, pin):