cpu/vexriscv/core: use variant name as human_name.
Allow it to be shown in the BIOS and help support.
This commit is contained in:
parent
e0a763e534
commit
eab0726cc8
|
@ -107,6 +107,7 @@ class VexRiscv(CPU, AutoCSR):
|
||||||
def __init__(self, platform, variant="standard"):
|
def __init__(self, platform, variant="standard"):
|
||||||
self.platform = platform
|
self.platform = platform
|
||||||
self.variant = variant
|
self.variant = variant
|
||||||
|
self.human_name = CPU_VARIANTS.get(variant, "VexRiscv")
|
||||||
self.external_variant = None
|
self.external_variant = None
|
||||||
self.reset = Signal()
|
self.reset = Signal()
|
||||||
self.interrupt = Signal(32)
|
self.interrupt = Signal(32)
|
||||||
|
|
Loading…
Reference in New Issue