mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
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
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ class VexRiscv(CPU, AutoCSR):
|
|||
def __init__(self, platform, variant="standard"):
|
||||
self.platform = platform
|
||||
self.variant = variant
|
||||
self.human_name = CPU_VARIANTS.get(variant, "VexRiscv")
|
||||
self.external_variant = None
|
||||
self.reset = Signal()
|
||||
self.interrupt = Signal(32)
|
||||
|
|
Loading…
Reference in a new issue