mirror of https://github.com/VLSIDA/OpenRAM.git
Change col addr spacing to col addr size
This commit is contained in:
parent
2ff058f5d5
commit
4d85640a00
|
|
@ -320,7 +320,7 @@ class sram_1bank(sram_base):
|
||||||
""" Connect the output of the col flops to the bank pins """
|
""" Connect the output of the col flops to the bank pins """
|
||||||
for port in self.all_ports:
|
for port in self.all_ports:
|
||||||
if port%2:
|
if port%2:
|
||||||
offset = self.col_addr_dff_insts[port].ll() - vector(0, (self.word_size+2)*self.m1_pitch)
|
offset = self.col_addr_dff_insts[port].ll() - vector(0, (self.col_addr_size+2)*self.m1_pitch)
|
||||||
else:
|
else:
|
||||||
offset = self.col_addr_dff_insts[port].ul() + vector(0, 2*self.m1_pitch)
|
offset = self.col_addr_dff_insts[port].ul() + vector(0, 2*self.m1_pitch)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue