PEP8 Cleanup and reverse pitch offset of col addr routing

This commit is contained in:
mrg
2020-02-06 22:59:30 +00:00
parent 4b06ab9eaf
commit 2ff058f5d5
2 changed files with 17 additions and 19 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ class sram_1bank(sram_base):
""" Connect the output of the col flops to the bank pins """
for port in self.all_ports:
if port%2:
offset = self.col_addr_dff_insts[port].ll() - vector(0, (self.word_size+4)*self.m1_pitch)
offset = self.col_addr_dff_insts[port].ll() - vector(0, (self.word_size+2)*self.m1_pitch)
else:
offset = self.col_addr_dff_insts[port].ul() + vector(0, 2*self.m1_pitch)