From 2dbe928c090fac2578300596731e362e67afe8c1 Mon Sep 17 00:00:00 2001 From: Jesse Cirimelli-Low Date: Fri, 18 Jun 2021 18:08:57 -0700 Subject: [PATCH] fix typo --- compiler/sram/sram_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/sram/sram_config.py b/compiler/sram/sram_config.py index a5948cb2..e3b33359 100644 --- a/compiler/sram/sram_config.py +++ b/compiler/sram/sram_config.py @@ -99,7 +99,8 @@ class sram_config: + " Bank addr size: {}".format(self.bank_addr_size)) num_ports = OPTS.num_rw_ports + OPTS.num_w_ports + OPTS.num_w_ports - if num_ports == 1: + print(num_ports) + 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)