dfii: adapt to new Record API
This commit is contained in:
parent
4f4f260e76
commit
3be20f6ae4
|
@ -48,7 +48,9 @@ class DFIInjector(Module, AutoCSR):
|
|||
|
||||
###
|
||||
|
||||
connect_inti = dfi.interconnect_stmts(inti, self.master)
|
||||
connect_slave = dfi.interconnect_stmts(self.slave, self.master)
|
||||
self.comb += If(self._control.storage[0], *connect_slave).Else(*connect_inti)
|
||||
self.comb += If(self._control.storage[0],
|
||||
self.slave.connect(self.master)
|
||||
).Else(
|
||||
inti.connect(self.master)
|
||||
)
|
||||
self.comb += [phase.cke.eq(self._control.storage[1]) for phase in inti.phases]
|
||||
|
|
Loading…
Reference in New Issue