forked from M-Labs/artiq
1
0
Fork 0

kasli: fix v1.0 & v1.1 compilation error

This commit is contained in:
morgan 2024-06-19 11:28:07 +08:00 committed by Sébastien Bourdeauducq
parent ff79854c46
commit 84b97976c0
1 changed files with 2 additions and 1 deletions

View File

@ -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