2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

kc705_drtio_master: fix number of fine RTIO timestamp bits

This commit is contained in:
Sebastien Bourdeauducq 2016-11-28 15:18:54 +08:00
parent 85f2467e2c
commit f4c6d6eb69

View File

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