From ecfe2e40eefc2dbc0f2d4a3a23a69728eff4b6f6 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sun, 19 Nov 2017 18:32:42 +0100 Subject: [PATCH] sayma_amc_standalone: rtio channels for both sawg groups --- artiq/gateware/targets/sayma_amc_standalone.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/gateware/targets/sayma_amc_standalone.py b/artiq/gateware/targets/sayma_amc_standalone.py index f037273e1..af07b7cfc 100755 --- a/artiq/gateware/targets/sayma_amc_standalone.py +++ b/artiq/gateware/targets/sayma_amc_standalone.py @@ -62,7 +62,7 @@ class AD9154JESD(Module, AutoCSR): ps = JESD204BPhysicalSettings(l=8, m=4, n=16, np=16) ts = JESD204BTransportSettings(f=2, s=2, k=16, cs=0) settings = JESD204BSettings(ps, ts, did=0x5a, bid=0x5) - + jesd_pads = platform.request("dac_jesd", dac) phys = [] for i in range(len(jesd_pads.txp)): @@ -187,7 +187,8 @@ class SaymaAMCStandalone(MiniSoC, AMPSoC): self.add_csr_group("ad9154", ["ad9154_0", "ad9154_1"]) self.config["RTIO_FIRST_SAWG_CHANNEL"] = len(rtio_channels) 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) self.config["HAS_RTIO_LOG"] = None