From 4a62e09bd4f6a1a692d770990dbd93ac80111057 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 486f047f0..c4ab7c3d7 100755 --- a/artiq/gateware/targets/kc705.py +++ b/artiq/gateware/targets/kc705.py @@ -230,16 +230,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 @@ -279,7 +279,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)