From: Jean THOMAS Date: Fri, 17 Jul 2020 14:38:36 +0000 (+0200) Subject: Name each BankMachine instance to improve VCD output X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f491d40dffa12718426c08c15031a1de2fed183a;p=gram.git Name each BankMachine instance to improve VCD output --- 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)