forked from M-Labs/artiq
1
0
Fork 0

gateware: increase RTIO FIFO sizes for NIST_CLOCK. Closes #623

This commit is contained in:
David Leibrandt 2016-11-20 15:17:38 +08:00 committed by Sebastien Bourdeauducq
parent 2513511775
commit 99104499f9
1 changed files with 4 additions and 4 deletions

View File

@ -248,16 +248,16 @@ class NIST_CLOCK(_NIST_Ions):
if i % 4 == 3: if i % 4 == 3:
phy = ttl_serdes_7series.Inout_8X(platform.request("ttl", i)) phy = ttl_serdes_7series.Inout_8X(platform.request("ttl", i))
self.submodules += phy 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: else:
phy = ttl_serdes_7series.Output_8X(platform.request("ttl", i)) phy = ttl_serdes_7series.Output_8X(platform.request("ttl", i))
self.submodules += phy 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): for i in range(2):
phy = ttl_serdes_7series.Inout_8X(platform.request("pmt", i)) phy = ttl_serdes_7series.Inout_8X(platform.request("pmt", i))
self.submodules += phy 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")) phy = ttl_serdes_7series.Inout_8X(platform.request("user_sma_gpio_n_33"))
self.submodules += phy self.submodules += phy
@ -297,7 +297,7 @@ class NIST_CLOCK(_NIST_Ions):
phy = dds.AD9914(platform.request("dds"), 11, onehot=True) phy = dds.AD9914(platform.request("dds"), 11, onehot=True)
self.submodules += phy self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy, rtio_channels.append(rtio.Channel.from_phy(phy,
ofifo_depth=512, ofifo_depth=16384,
ififo_depth=4)) ififo_depth=4))
self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels) self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels)