projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40decd9
)
Name each BankMachine instance to improve VCD output
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Fri, 17 Jul 2020 14:38:36 +0000
(16:38 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Fri, 17 Jul 2020 14:38:36 +0000
(16:38 +0200)
gram/core/controller.py
patch
|
blob
|
history
diff --git
a/gram/core/controller.py
b/gram/core/controller.py
index d9ade1e8c97153b2d1ecc4157bb6490a57c3997a..4e36032f7730f7515ebf8b4c62b3c147e96e87b7 100644
(file)
--- 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)