From eab0726cc8d7db41d999052ca0980074639d4901 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 31 Jul 2020 08:59:53 +0200 Subject: [PATCH] cpu/vexriscv/core: use variant name as human_name. Allow it to be shown in the BIOS and help support. --- litex/soc/cores/cpu/vexriscv/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/soc/cores/cpu/vexriscv/core.py b/litex/soc/cores/cpu/vexriscv/core.py index 551bfa837..a7e64b6ed 100644 --- a/litex/soc/cores/cpu/vexriscv/core.py +++ b/litex/soc/cores/cpu/vexriscv/core.py @@ -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)