sayma_rtm: basemod RF switches

This commit is contained in:
Sebastien Bourdeauducq 2019-12-18 10:33:29 +08:00
parent d3508b014f
commit 6ee15fbcae

View File

@ -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)