forked from M-Labs/artiq
1
0
Fork 0

kc705_drtio_master: fix number of fine RTIO timestamp bits

This commit is contained in:
Sebastien Bourdeauducq 2016-11-29 10:44:27 +08:00
parent f4c6d6eb69
commit cf342eca6e
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Master(MiniSoC, AMPSoC):
phy = ttl_simple.Inout(platform.request(sma)) phy = ttl_simple.Inout(platform.request(sma))
self.submodules += phy self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy)) rtio_channels.append(rtio.Channel.from_phy(phy))
self.submodules.rtio_core = rtio.Core(rtio_channels, 2) self.submodules.rtio_core = rtio.Core(rtio_channels, 3)
self.submodules.cridec = rtio.CRIDecoder([self.drtio.cri, self.rtio_core.cri]) self.submodules.cridec = rtio.CRIDecoder([self.drtio.cri, self.rtio_core.cri])
self.submodules.rtio = rtio.KernelInitiator(self.cridec.master) self.submodules.rtio = rtio.KernelInitiator(self.cridec.master)