From 692f604dd5ee738cef453377a6be1daa0ac5f668 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Wed, 8 Feb 2023 11:28:21 +0100 Subject: [PATCH] Fix VexRiscvSmpClusterGen without linux debug minimal features --- src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala b/src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala index 084d523..bf805e8 100644 --- a/src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala +++ b/src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala @@ -207,12 +207,12 @@ object VexRiscvSmpClusterGen { } else { CsrPluginConfig( catchIllegalAccess = true, - mvendorid = null, - marchid = null, - mimpid = null, + mvendorid = 0, + marchid = 0, + mimpid = 0, mhartid = hartId, misaExtensionsInit = misa, - misaAccess = if(forceMisa) CsrAccess.WRITE_ONLY else CsrAccess.NONE, + misaAccess = if(forceMisa) CsrAccess.READ_ONLY else CsrAccess.NONE, mtvecAccess = CsrAccess.READ_WRITE, mtvecInit = null, mepcAccess = CsrAccess.READ_WRITE,