From 77580b5bf678d28d20ce683d9e716c1ef64cf088 Mon Sep 17 00:00:00 2001 From: morgan Date: Wed, 19 Jun 2024 12:08:35 +0800 Subject: [PATCH] kasli: raise error when enabling WRPLL with v1.x --- artiq/gateware/targets/kasli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/gateware/targets/kasli.py b/artiq/gateware/targets/kasli.py index 4dcc0026a..0bdc50f28 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -843,6 +843,8 @@ def main(): has_shuttler = any(peripheral["type"] == "shuttler" for peripheral in description["peripherals"]) if has_shuttler and (description["drtio_role"] == "standalone"): raise ValueError("Shuttler requires DRTIO, please switch role to master") + if description["enable_wrpll"] and description["hw_rev"] in ["v1.0", "v1.1"]: + raise ValueError("Kasli {} does not support WRPLL".format(description["hw_rev"])) soc = cls(description, gateware_identifier_str=args.gateware_identifier_str, **soc_kasli_argdict(args)) args.variant = description["variant"]