sayma_rtm: basemod RF switches

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

View File

@ -176,12 +176,14 @@ 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):
self.submodules += phy phy = ttl_serdes_7series.Output_8X(platform.request("basemod0_rfsw", i))
rtio_channels.append(rtio.Channel.from_phy(phy)) self.submodules += phy
phy = ttl_serdes_7series.Output_8X(platform.request("allaki0_rfsw1")) rtio_channels.append(rtio.Channel.from_phy(phy))
self.submodules += phy for i in range(4):
rtio_channels.append(rtio.Channel.from_phy(phy)) 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) self.add_rtio(rtio_channels)