cpu/rocket: Fix arch (thanks @gsomlo).

This commit is contained in:
Florent Kermarrec 2023-02-20 19:28:23 +01:00
parent 2274addd8f
commit 22b61c39ca
1 changed files with 3 additions and 3 deletions

View File

@ -119,10 +119,10 @@ class Rocket(CPU):
# Arch. # Arch.
@staticmethod @staticmethod
def get_arch(variant): def get_arch(variant):
arch = "rv64imac"
if "full" in variant: if "full" in variant:
arch += "fdc" return "rv64imafdc"
return arch else:
return "rv64imac"
# Memory Mapping. # Memory Mapping.
@property @property