diff --git a/src/gateware/zc706.py b/src/gateware/zc706.py index 00334d00..7a569f31 100755 --- a/src/gateware/zc706.py +++ b/src/gateware/zc706.py @@ -113,6 +113,10 @@ class Simple(ZC706): phy = ttl_simple.Output(platform.request("user_led", i)) self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy)) + + self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels) + rtio_channels.append(rtio.LogChannel()) + self.add_rtio(rtio_channels) @@ -173,6 +177,9 @@ class NIST_CLOCK(ZC706): self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=4)) + self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels) + rtio_channels.append(rtio.LogChannel()) + self.add_rtio(rtio_channels) @@ -220,6 +227,9 @@ class NIST_QC2(ZC706): self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=4)) + self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels) + rtio_channels.append(rtio.LogChannel()) + self.add_rtio(rtio_channels)