drtio: connect KernelInitiator correctly

This commit is contained in:
Sebastien Bourdeauducq 2016-11-28 14:36:18 +08:00
parent 5460202220
commit 9fdd29ddae
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Master(MiniSoC, AMPSoC):
self.submodules.rtio_core = rtio.Core(rtio_channels)
self.submodules.cridec = rtio.CRIDecoder([self.drtio.cri, self.rtio_core.cri])
self.submodules.rtio = rtio.KernelInitiator(self.cridec.cri)
self.submodules.rtio = rtio.KernelInitiator(self.cridec.master)
self.register_kernel_cpu_csrdevice("rtio")