From 01ceedb348100fd6803450016c1f269b16832768 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Tue, 13 Nov 2018 16:42:25 -0800 Subject: [PATCH] Only check number of ports when doing layout. --- compiler/modules/bank.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/modules/bank.py b/compiler/modules/bank.py index 80816601..f2226797 100644 --- a/compiler/modules/bank.py +++ b/compiler/modules/bank.py @@ -31,8 +31,6 @@ class bank(design.design): design.design.__init__(self, name) debug.info(2, "create sram of size {0} with {1} words".format(self.word_size,self.num_words)) - debug.check(len(self.all_ports)<=2,"Bank cannot handle more than two ports.") - # The local control signals are gated when we have bank select logic, # so this prefix will be added to all of the input signals to create # the internal gated signals. @@ -43,6 +41,7 @@ class bank(design.design): self.create_netlist() if not OPTS.netlist_only: + debug.check(len(self.all_ports)<=2,"Bank layout cannot handle more than two ports.") self.create_layout()