From 3096daaaee74cf0462f31a75fdf604cb7975d7cc Mon Sep 17 00:00:00 2001 From: mwojcik Date: Thu, 14 Oct 2021 15:01:38 +0800 Subject: [PATCH] zc706: removed nist_clock sdcard, put pmod instead --- src/gateware/zc706.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/gateware/zc706.py b/src/gateware/zc706.py index 5bf2a38..8e99bac 100755 --- a/src/gateware/zc706.py +++ b/src/gateware/zc706.py @@ -109,15 +109,6 @@ _ams101_dac = [ ) ] -_sdcard_spi_33 = [ - ("sdcard_spi_33", 0, - Subsignal("miso", Pins("D20"), Misc("PULLUP=TRUE")), - Subsignal("clk", Pins("B20")), - Subsignal("mosi", Pins("J18")), - Subsignal("cs_n", Pins("H18")), - IOStandard("LVCMOS33") - ) -] def prepare_zc706_platform(platform): platform.toolchain.bitstream_commands.extend([ @@ -468,7 +459,6 @@ class _NIST_CLOCK_RTIO: platform.add_extension(leds_fmc33) platform.add_extension(pmod1_33) platform.add_extension(_ams101_dac) - platform.add_extension(_sdcard_spi_33) rtio_channels = [] @@ -516,10 +506,10 @@ class _NIST_CLOCK_RTIO: rtio_channels.append(rtio.Channel.from_phy( phy, ififo_depth=128)) - phy = spi2.SPIMaster(platform.request("sdcard_spi_33")) + # no SDIO on PL side, PMOD1_1 placeholder instead + phy = ttl_serdes_7series.InOut_8X(platform.request("pmod1_33", 1)) self.submodules += phy - rtio_channels.append(rtio.Channel.from_phy( - phy, ififo_depth=4)) + rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512)) phy = dds.AD9914(platform.request("dds"), 11, onehot=True) self.submodules += phy