mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
gateware: increase RTIO FIFO sizes for NIST_CLOCK. Closes #623
This commit is contained in:
parent
2513511775
commit
99104499f9
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user