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