From 6ee15fbcaef5e27a39f58eee92d5d7e537276d6d 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 018a4868d..e78dcd216 100755 --- a/artiq/gateware/targets/sayma_rtm.py +++ b/artiq/gateware/targets/sayma_rtm.py @@ -196,12 +196,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)