mirror of https://github.com/VLSIDA/OpenRAM.git
fix typo
This commit is contained in:
parent
2dbe928c09
commit
56dc83de47
|
|
@ -98,9 +98,9 @@ class sram_config:
|
|||
+ " Col addr size: {}".format(self.col_addr_size)
|
||||
+ " Bank addr size: {}".format(self.bank_addr_size))
|
||||
|
||||
num_ports = OPTS.num_rw_ports + OPTS.num_w_ports + OPTS.num_w_ports
|
||||
num_ports = OPTS.num_rw_ports + OPTS.num_r_ports + OPTS.num_w_ports
|
||||
print(num_ports)
|
||||
if num_ports != 1:
|
||||
if num_ports == 1:
|
||||
if ((self.num_cols + num_ports + self.num_spare_cols) % array_col_multiple != 0):
|
||||
debug.error("Invalid number of cols including rbl(s): {}. Total cols must be divisible by {}".format(self.num_cols + num_ports + self.num_spare_cols, array_col_multiple), -1)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue