Created wmask AND array en pin to go through to top layer.

This commit is contained in:
jsowash
2019-08-14 09:59:40 -07:00
parent aa4803f3c4
commit 0d7170eb95
5 changed files with 43 additions and 32 deletions
+5 -3
View File
@@ -125,11 +125,13 @@ class sram_1bank(sram_base):
-max_gap_size - self.data_dff_insts[port].height)
self.data_dff_insts[port].place(data_pos[port])
# Add the write mask flops to the left of the din flops.
# Add the write mask flops below the din flops.
if self.write_size is not None:
if port in self.write_ports:
wmask_pos[port] = vector(self.bank.bank_array_ll.x - self.control_logic_insts[port].width,
-max_gap_size - self.wmask_dff_insts[port].height)
wmask_pos[port] = vector(self.bank.bank_array_ll.x,
-max_gap_size - self.wmask_dff_insts[port].height)
# wmask_pos[port] = vector(self.bank.bank_array_ll.x - self.control_logic_insts[port].width,
# -max_gap_size - self.wmask_dff_insts[port].height)
self.wmask_dff_insts[port].place(wmask_pos[port])
+1 -1
View File
@@ -501,7 +501,7 @@ class sram_base(design, verilog, lef):
temp.append("clk{}".format(port))
temp.append("rbl_bl{}".format(port))
# Ouputs
# Outputs
if port in self.read_ports:
temp.append("s_en{}".format(port))
if port in self.write_ports: