mirror of https://github.com/VLSIDA/OpenRAM.git
fix din size in fake sram
This commit is contained in:
parent
8a67626e55
commit
d27d77bcf8
|
|
@ -94,9 +94,9 @@ class fake_sram(sram_config):
|
|||
self.num_rw_ports + self.num_r_ports + self.num_w_ports)])
|
||||
for port in range(self.num_rw_ports):
|
||||
self.pins.extend(['din{0}[{1}]'.format(port, bit)
|
||||
for bit in range(self.num_cols)])
|
||||
for bit in range(self.word_size)])
|
||||
self.pins.extend(['dout{0}[{1}]'.format(port, bit)
|
||||
for bit in range(self.num_cols)])
|
||||
for bit in range(self.word_size)])
|
||||
self.pins.extend(['addr{0}[{1}]'.format(port, bit)
|
||||
for bit in range(self.addr_size)])
|
||||
if self.num_wmasks != 0:
|
||||
|
|
|
|||
Loading…
Reference in New Issue