From 560849e69384013d5a81f612b49275fcb12b0f49 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 23 Mar 2019 13:41:22 +0800 Subject: [PATCH] sayma_amc: add DRTIO transceiver on rtm_amc_link for v2 hardware --- artiq/gateware/targets/sayma_amc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq/gateware/targets/sayma_amc.py b/artiq/gateware/targets/sayma_amc.py index 8037eb7fc..6ca852f9f 100755 --- a/artiq/gateware/targets/sayma_amc.py +++ b/artiq/gateware/targets/sayma_amc.py @@ -522,10 +522,13 @@ class Satellite(BaseSoC, RTMCommon): self.submodules.rtio_moninj = rtio.MonInj(rtio_channels) self.csr_devices.append("rtio_moninj") + drtio_data_pads = [platform.request("sfp", 0)] + if self.hw_rev == "v2.0": + drtio_data_pads.append(platform.request("rtm_amc_link")) self.comb += platform.request("sfp_tx_disable", 0).eq(0) self.submodules.drtio_transceiver = gth_ultrascale.GTH( clock_pads=platform.request("cdr_clk_clean"), - data_pads=[platform.request("sfp", 0)], + data_pads=drtio_data_pads, sys_clk_freq=self.clk_freq, rtio_clk_freq=rtio_clk_freq) self.csr_devices.append("drtio_transceiver")