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 <sean@xobs.io>
This commit is contained in:
Sean Cross 2024-08-20 09:03:16 +08:00
parent 720213cc67
commit 17790e0751

View file

@ -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)
{