forked from M-Labs/artiq
kasli: raise error when enabling WRPLL with v1.x
This commit is contained in:
parent
49a5c1b13c
commit
56059250ce
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user