From 8d7e92ebaebba8a756b0dc5c4af082e0069a1a13 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 29 Feb 2016 00:37:00 +0100 Subject: [PATCH] pipistrello: set RTIO_SPI_CHANNEL --- artiq/gateware/targets/pipistrello.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/gateware/targets/pipistrello.py b/artiq/gateware/targets/pipistrello.py index 5967ccdd7..d7e177517 100755 --- a/artiq/gateware/targets/pipistrello.py +++ b/artiq/gateware/targets/pipistrello.py @@ -200,6 +200,7 @@ trce -v 12 -fastpaths -tsi {build_name}.tsi -o {build_name}.twr {build_name}.ncd spi_pins.cs_n = pmod.d[3:] phy = spi.SPIMaster(spi_pins) self.submodules += phy + self.config["RTIO_SPI_CHANNEL"] = len(rtio_channels) rtio_channels.append(rtio.Channel.from_phy( phy, ofifo_depth=4, ififo_depth=4))