projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce19ad0
)
add dfii submodules so they get explicit names
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 20 Feb 2022 01:32:09 +0000
(
01:32
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 20 Feb 2022 01:32:09 +0000
(
01:32
+0000)
gram/dfii.py
patch
|
blob
|
history
diff --git
a/gram/dfii.py
b/gram/dfii.py
index 07a0a21363caa8d863c74bdc931ed17e0f9f0bad..895e6541c6f67b680a3cb1e86385c666f29b9607 100644
(file)
--- a/
gram/dfii.py
+++ b/
gram/dfii.py
@@
-81,7
+81,8
@@
class DFIInjector(Elaboratable):
def elaborate(self, platform):
m = Module()
- m.submodules += self._phases
+ for n, phase in enumerate(self._phases):
+ m.submodules['phase_%d' % n] = phase
with m.If(self._control.w_data[0]):
m.d.comb += self.slave.connect(self.master)