Skip to content

Commit

Permalink
pipistrello: grow fifos a bit (may make ise happier)
Browse files Browse the repository at this point in the history
jordens committed Mar 8, 2016
1 parent c08881d commit a8fe3f5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions artiq/gateware/targets/pipistrello.py
Original file line number Diff line number Diff line change
@@ -151,7 +151,7 @@ def __init__(self, cpu_type="or1k", **kwargs):
phy = ttl_serdes_spartan6.Inout_4X(platform.request("pmt", i),
self.rtio_crg.rtiox4_stb)
self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=256,
rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512,
ofifo_depth=4))

# the last TTL is used for ClockGen
@@ -166,7 +166,7 @@ def __init__(self, cpu_type="or1k", **kwargs):
phy = ttl_simple.Output(platform.request("ttl", i))

self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy, ofifo_depth=128))
rtio_channels.append(rtio.Channel.from_phy(phy, ofifo_depth=256))

phy = ttl_simple.Output(platform.request("ext_led", 0))
self.submodules += phy
@@ -182,8 +182,8 @@ def __init__(self, cpu_type="or1k", **kwargs):
for i in range(4, 8):
phy = ttl_simple.Inout(pmod.d[i])
self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=8,
ofifo_depth=8))
rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=128,
ofifo_depth=128))

self.config["RTIO_REGULAR_TTL_COUNT"] = len(rtio_channels)

@@ -200,7 +200,7 @@ def __init__(self, cpu_type="or1k", **kwargs):
self.submodules += phy
self.config["RTIO_FIRST_SPI_CHANNEL"] = len(rtio_channels)
rtio_channels.append(rtio.Channel.from_phy(
phy, ofifo_depth=8, ififo_depth=8))
phy, ofifo_depth=128, ififo_depth=128))

self.config["RTIO_DDS_CHANNEL"] = len(rtio_channels)
self.config["DDS_CHANNEL_COUNT"] = 8
@@ -210,7 +210,7 @@ def __init__(self, cpu_type="or1k", **kwargs):
phy = dds.AD9858(dds_pins, 8)
self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy,
ofifo_depth=256,
ofifo_depth=512,
ififo_depth=4))

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

0 comments on commit a8fe3f5

Please sign in to comment.