sayma_amc_standalone: rtio channels for both sawg groups

This commit is contained in:
Robert Jördens 2017-11-19 18:32:42 +01:00
parent d1a7c1c3a1
commit ecfe2e40ee
1 changed files with 3 additions and 2 deletions

View File

@ -187,7 +187,8 @@ class SaymaAMCStandalone(MiniSoC, AMPSoC):
self.add_csr_group("ad9154", ["ad9154_0", "ad9154_1"]) self.add_csr_group("ad9154", ["ad9154_0", "ad9154_1"])
self.config["RTIO_FIRST_SAWG_CHANNEL"] = len(rtio_channels) self.config["RTIO_FIRST_SAWG_CHANNEL"] = len(rtio_channels)
rtio_channels.extend(rtio.Channel.from_phy(phy) rtio_channels.extend(rtio.Channel.from_phy(phy)
for sawg in self.ad9154_0.sawgs for sawg in self.ad9154_0.sawgs +
self.ad9154_1.sawgs
for phy in sawg.phys) for phy in sawg.phys)
self.config["HAS_RTIO_LOG"] = None self.config["HAS_RTIO_LOG"] = None