From 17790e07518a86addaf2b0d9fa483afc8825ad54 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 20 Aug 2024 09:03:16 +0800 Subject: [PATCH] renode: vexriscv: fix CPU on newer Renode versions Newer versions of Renode rename PrivilegeArchitecture to PrivilegedArchitecture. They appear to have tried to work around this by annotating it with `[NameAlias("privilegeArchitecture")]`, however that doesn't change the fact that the actual type itself changed as well. This incompatible change will cause breakage on older versions of Renode. Signed-off-by: Sean Cross --- emulation/peripherals/vexriscv-aes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulation/peripherals/vexriscv-aes.cs b/emulation/peripherals/vexriscv-aes.cs index ca8da9a27..1c37f0fe5 100644 --- a/emulation/peripherals/vexriscv-aes.cs +++ b/emulation/peripherals/vexriscv-aes.cs @@ -15,7 +15,7 @@ namespace Antmicro.Renode.Peripherals.CPU.Betrusted public AesVexRiscv(Core.Machine machine, uint hartId = 0, IRiscVTimeProvider timeProvider = null, - PrivilegeArchitecture privilegeArchitecture = PrivilegeArchitecture.Priv1_10, + PrivilegedArchitecture privilegeArchitecture = PrivilegedArchitecture.Priv1_10, string cpuType = "rv32im", bool builtInIrqController = true) : base(machine, hartId, timeProvider, privilegeArchitecture, cpuType, builtInIrqController) {