From 99104499f99811375cf80bb9e9dbf3b2df59fa56 Mon Sep 17 00:00:00 2001 From: David Leibrandt Date: Sun, 20 Nov 2016 15:17:38 +0800 Subject: [PATCH] gateware: increase RTIO FIFO sizes for NIST_CLOCK. Closes #623 --- artiq/gateware/targets/kc705.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/artiq/gateware/targets/kc705.py b/artiq/gateware/targets/kc705.py index 1403ec14b..c34a48382 100755 --- a/artiq/gateware/targets/kc705.py +++ b/artiq/gateware/targets/kc705.py @@ -248,16 +248,16 @@ class NIST_CLOCK(_NIST_Ions): if i % 4 == 3: phy = ttl_serdes_7series.Inout_8X(platform.request("ttl", i)) self.submodules += phy - rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512)) + rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=1024)) else: phy = ttl_serdes_7series.Output_8X(platform.request("ttl", i)) self.submodules += phy - rtio_channels.append(rtio.Channel.from_phy(phy)) + rtio_channels.append(rtio.Channel.from_phy(phy, ofifo_depth=1024)) for i in range(2): phy = ttl_serdes_7series.Inout_8X(platform.request("pmt", i)) self.submodules += phy - rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512)) + rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=16384)) phy = ttl_serdes_7series.Inout_8X(platform.request("user_sma_gpio_n_33")) self.submodules += phy @@ -297,7 +297,7 @@ class NIST_CLOCK(_NIST_Ions): phy = dds.AD9914(platform.request("dds"), 11, onehot=True) self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy, - ofifo_depth=512, + ofifo_depth=16384, ififo_depth=4)) self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels)