Skip to content

Commit 4a62e09

Browse files
dleibrandtsbourdeauducq
authored andcommittedNov 20, 2016
gateware: increase RTIO FIFO sizes for NIST_CLOCK. Closes #623
1 parent 2015fe9 commit 4a62e09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

Diff for: ‎artiq/gateware/targets/kc705.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,16 @@ def __init__(self, cpu_type="or1k", **kwargs):
230230
if i % 4 == 3:
231231
phy = ttl_serdes_7series.Inout_8X(platform.request("ttl", i))
232232
self.submodules += phy
233-
rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512))
233+
rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=1024))
234234
else:
235235
phy = ttl_serdes_7series.Output_8X(platform.request("ttl", i))
236236
self.submodules += phy
237-
rtio_channels.append(rtio.Channel.from_phy(phy))
237+
rtio_channels.append(rtio.Channel.from_phy(phy, ofifo_depth=1024))
238238

239239
for i in range(2):
240240
phy = ttl_serdes_7series.Inout_8X(platform.request("pmt", i))
241241
self.submodules += phy
242-
rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512))
242+
rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=16384))
243243

244244
phy = ttl_serdes_7series.Inout_8X(platform.request("user_sma_gpio_n_33"))
245245
self.submodules += phy
@@ -279,7 +279,7 @@ def __init__(self, cpu_type="or1k", **kwargs):
279279
phy = dds.AD9914(platform.request("dds"), 11, onehot=True)
280280
self.submodules += phy
281281
rtio_channels.append(rtio.Channel.from_phy(phy,
282-
ofifo_depth=512,
282+
ofifo_depth=16384,
283283
ififo_depth=4))
284284

285285
self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels)

0 commit comments

Comments
 (0)
Please sign in to comment.