mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cpu/minerva: fix variant syntax warning
This commit is contained in:
parent
8ba204c76f
commit
642d073700
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Minerva(CPU):
|
|||
return flags
|
||||
|
||||
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.variant = variant
|
||||
self.reset = Signal()
|
||||
|
|
Loading…
Reference in a new issue