From f491d40dffa12718426c08c15031a1de2fed183a Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Fri, 17 Jul 2020 16:38:36 +0200 Subject: [PATCH] Name each BankMachine instance to improve VCD output --- gram/core/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gram/core/controller.py b/gram/core/controller.py index d9ade1e..4e36032 100644 --- a/gram/core/controller.py +++ b/gram/core/controller.py @@ -89,7 +89,7 @@ class gramController(Elaboratable): nranks=nranks, settings=self.settings) bank_machines.append(bank_machine) - m.submodules += bank_machine + setattr(m.submodules, "bankmachine"+str(n), bank_machine) m.d.comb += getattr(self.interface, "bank" + str(n)).connect(bank_machine.req) -- 2.30.2