cpu/minerva: fix variant syntax warning

This commit is contained in:
Florent Kermarrec 2020-01-05 21:04:13 +01:00
parent 8ba204c76f
commit 642d073700
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class Minerva(CPU):
return flags return flags
def __init__(self, platform, variant="standard"): def __init__(self, platform, variant="standard"):
assert variant is "standard", "Unsupported variant %s" % variant assert variant in CPU_VARIANTS, "Unsupported variant %s" % variant
self.platform = platform self.platform = platform
self.variant = variant self.variant = variant
self.reset = Signal() self.reset = Signal()