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.
@staticmethod
def get_arch(variant):
arch = "rv64imac"
if "full" in variant:
arch += "fdc"
return arch
return "rv64imafdc"
else:
return "rv64imac"
# Memory Mapping.
@property