forked from M-Labs/artiq
1
0
Fork 0

sayma_rtm: basemod RF switches

This commit is contained in:
Sebastien Bourdeauducq 2019-12-18 10:33:29 +08:00
parent d3508b014f
commit 6ee15fbcae
1 changed files with 8 additions and 6 deletions

View File

@ -196,10 +196,12 @@ class Satellite(_SatelliteBase):
platform = self.platform platform = self.platform
rtio_channels = [] rtio_channels = []
phy = ttl_serdes_7series.Output_8X(platform.request("allaki0_rfsw0")) for i in range(4):
phy = ttl_serdes_7series.Output_8X(platform.request("basemod0_rfsw", i))
self.submodules += phy self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy)) rtio_channels.append(rtio.Channel.from_phy(phy))
phy = ttl_serdes_7series.Output_8X(platform.request("allaki0_rfsw1")) for i in range(4):
phy = ttl_serdes_7series.Output_8X(platform.request("basemod1_rfsw", i))
self.submodules += phy self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy)) rtio_channels.append(rtio.Channel.from_phy(phy))