From fd824f7ad0b2566d3cbfc373e8580c8aa3d63a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Thu, 5 Aug 2021 17:29:38 +0200 Subject: [PATCH] ddb_template: print LED channel nos on Kasli v2 --- artiq/gateware/targets/kasli_generic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/gateware/targets/kasli_generic.py b/artiq/gateware/targets/kasli_generic.py index 85fbdc70d..122c3e0cf 100755 --- a/artiq/gateware/targets/kasli_generic.py +++ b/artiq/gateware/targets/kasli_generic.py @@ -48,9 +48,10 @@ class GenericStandalone(StandaloneBase): self.rtio_channels.append(rtio.Channel.from_phy(phy)) if hw_rev == "v2.0": for i in (1, 2): + print("USER LED at RTIO channel 0x{:06x}".format(len(self.rtio_channels))) phy = ttl_simple.Output(self.platform.request("user_led", i)) self.submodules += phy - self.rtio_channels.append(rtio.Channel.from_phy(phy)) + self.rtio_channels.append(rtio.Channel.from_phy(phy)) self.config["HAS_RTIO_LOG"] = None self.config["RTIO_LOG_CHANNEL"] = len(self.rtio_channels)