From b546ecce2ca72f2f93096f224d37dd8da7c82a6e Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 16 Jul 2019 14:11:54 -0700 Subject: [PATCH] Check 2 ports only for layout. --- compiler/modules/bank.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/modules/bank.py b/compiler/modules/bank.py index 027ec3a6..1402015e 100644 --- a/compiler/modules/bank.py +++ b/compiler/modules/bank.py @@ -36,7 +36,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 layout 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 @@ -48,6 +47,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() self.add_boundary()