From 523524c3190901a5acb0a8064e8c16c2c05a1dae Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 19 Jul 2020 14:05:35 +0800 Subject: [PATCH] zc706: add RTIO log channels --- src/gateware/zc706.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)