forked from M-Labs/artiq
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