From 22b61c39ca84bfa5a29734f155a5c1b9a420fa47 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 20 Feb 2023 19:28:23 +0100 Subject: [PATCH] cpu/rocket: Fix arch (thanks @gsomlo). --- litex/soc/cores/cpu/rocket/core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litex/soc/cores/cpu/rocket/core.py b/litex/soc/cores/cpu/rocket/core.py index c0dfba472..94e002233 100644 --- a/litex/soc/cores/cpu/rocket/core.py +++ b/litex/soc/cores/cpu/rocket/core.py @@ -119,10 +119,10 @@ class Rocket(CPU): # Arch. @staticmethod def get_arch(variant): - arch = "rv64imac" if "full" in variant: - arch += "fdc" - return arch + return "rv64imafdc" + else: + return "rv64imac" # Memory Mapping. @property