未验证 提交 eae78b10 编写于 作者: Y Yinan Xu 提交者: GitHub

scripts,vlsi_mem_gen: never split srams (#728)

上级 3774c02d
......@@ -328,7 +328,7 @@ class SRAM_TSMC28(SRAM):
def __split(self):
(name, width, depth, mask_gran, mask_seg, ports) = self.conf
if ports == ["mrw"] and mask_gran >= 32:
'''if ports == ["mrw"] and mask_gran >= 32:
new_conf = (name + "_sub", str(depth), str(mask_gran), "rw")
line_field = ("name", "depth", "width", "ports")
new_line = " ".join(map(lambda x: " ".join(x), zip(line_field, new_conf)))
......@@ -336,7 +336,7 @@ class SRAM_TSMC28(SRAM):
self.sub_srams.append(new_sram)
reshaper = Spliter(self.conf, new_sram.conf)
reshaper.generate(self.mem)
return True
return True'''
return False
def __reshape(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册