From fbecb9bc022d52a81c8484396d024e7638157032 Mon Sep 17 00:00:00 2001 From: jsowash Date: Wed, 4 Sep 2019 14:06:17 -0700 Subject: [PATCH] Added poly to LEF files. --- compiler/sram/sram_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/sram/sram_base.py b/compiler/sram/sram_base.py index 8afff6fb..88f5213b 100644 --- a/compiler/sram/sram_base.py +++ b/compiler/sram/sram_base.py @@ -27,7 +27,7 @@ class sram_base(design, verilog, lef): """ def __init__(self, name, sram_config): design.__init__(self, name) - lef.__init__(self, ["metal1", "metal2", "metal3", "metal4"]) + lef.__init__(self, ["metal1", "metal2", "metal3", "metal4","poly"]) verilog.__init__(self) self.sram_config = sram_config @@ -36,7 +36,7 @@ class sram_base(design, verilog, lef): self.bank_insts = [] if self.write_size: - self.num_wmass = int(self.word_size/self.write_size) + self.num_wmasks = int(self.word_size/self.write_size) else: self.num_wmasks = 0