emulation: soc: add _zicsr_zifencei to rv32imac

Add "_zicsr_zifencei" to "rv32imac" when describing the CPU core. This
is required by newer versions of the spec, and will eventually be a
requirement of Renode.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2023-12-29 18:37:37 +08:00
parent beeca26823
commit b12c08e998
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
// Renode Platform file generated by svd2repl
// This file is automatically generated
cpu: CPU.Betrusted.AesVexRiscv @ sysbus
cpuType: "rv32imac"
cpuType: "rv32imac_zicsr_zifencei"
privilegeArchitecture: PrivilegeArchitecture.Priv1_10
PerformanceInMips: 120
// Platform Peripherals

View file

@ -491,7 +491,7 @@ fn print_header<U: Write>(out: &mut U) -> std::io::Result<()> {
let s = r####"// Renode Platform file generated by svd2repl
// This file is automatically generated
cpu: CPU.Betrusted.AesVexRiscv @ sysbus
cpuType: "rv32imac"
cpuType: "rv32imac_zicsr_zifencei"
privilegeArchitecture: PrivilegeArchitecture.Priv1_10
PerformanceInMips: 120
"####;