diff --git a/compiler/characterizer/fake_sram.py b/compiler/characterizer/fake_sram.py index 9d2a409c..001e1398 100644 --- a/compiler/characterizer/fake_sram.py +++ b/compiler/characterizer/fake_sram.py @@ -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: