mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
sayma_amc: raise error on invalid variant
This commit is contained in:
parent
c1ac3b66b1
commit
ab7c49d6d0
@ -461,6 +461,8 @@ def main():
|
||||
cls = Master
|
||||
elif variant == "satellite":
|
||||
cls = Satellite
|
||||
else:
|
||||
raise SystemExit("Invalid variant (-V/--variant)")
|
||||
soc = cls(with_sawg=not args.without_sawg, **soc_sdram_argdict(args))
|
||||
|
||||
# DRTIO variants do not use the RTM yet.
|
||||
|
Loading…
Reference in New Issue
Block a user