From d5f92a20c6fb7871b5eb6151b576c069b0157869 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 18 Dec 2019 10:33:29 +0800 Subject: [PATCH] sayma_rtm: basemod RF switches --- artiq/gateware/targets/sayma_rtm.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/artiq/gateware/targets/sayma_rtm.py b/artiq/gateware/targets/sayma_rtm.py index 08069d239..9f6c53b26 100755 --- a/artiq/gateware/targets/sayma_rtm.py +++ b/artiq/gateware/targets/sayma_rtm.py @@ -176,12 +176,14 @@ class Satellite(_SatelliteBase): platform = self.platform rtio_channels = [] - phy = ttl_serdes_7series.Output_8X(platform.request("allaki0_rfsw0")) - self.submodules += phy - rtio_channels.append(rtio.Channel.from_phy(phy)) - phy = ttl_serdes_7series.Output_8X(platform.request("allaki0_rfsw1")) - self.submodules += phy - rtio_channels.append(rtio.Channel.from_phy(phy)) + for i in range(4): + phy = ttl_serdes_7series.Output_8X(platform.request("basemod0_rfsw", i)) + self.submodules += phy + rtio_channels.append(rtio.Channel.from_phy(phy)) + for i in range(4): + phy = ttl_serdes_7series.Output_8X(platform.request("basemod1_rfsw", i)) + self.submodules += phy + rtio_channels.append(rtio.Channel.from_phy(phy)) self.add_rtio(rtio_channels)