From 84b97976c0f77abc330c7fda49b7c9989dda585e Mon Sep 17 00:00:00 2001 From: morgan Date: Wed, 19 Jun 2024 11:28:07 +0800 Subject: [PATCH] kasli: fix v1.0 & v1.1 compilation error --- artiq/gateware/targets/kasli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/gateware/targets/kasli.py b/artiq/gateware/targets/kasli.py index 4a1bece55..4dcc0026a 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -120,7 +120,8 @@ class StandaloneBase(MiniSoC, AMPSoC): self.config["HAS_SI549"] = None self.config["WRPLL_REF_CLK"] = "SMA_CLKIN" else: - self.submodules += SMAClkinForward(self.platform) + if self.platform.hw_rev == "v2.0": + self.submodules += SMAClkinForward(self.platform) self.config["HAS_SI5324"] = None self.config["SI5324_SOFT_RESET"] = None