From 8c5071ce42fd3ebb28457e316cf4a74b36d0ffbf Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Thu, 23 Mar 2023 08:53:41 +0100 Subject: [PATCH] VexRiscvSmpCluster fullCsr improvement --- src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala b/src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala index 185a67f..6fffb6a 100644 --- a/src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala +++ b/src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala @@ -208,7 +208,11 @@ object VexRiscvSmpClusterGen { if(csrFull){ c = c.copy( mcauseAccess = CsrAccess.READ_WRITE, - mbadaddrAccess = CsrAccess.READ_WRITE + mbadaddrAccess = CsrAccess.READ_WRITE, + ucycleAccess = CsrAccess.READ_ONLY, + uinstretAccess = CsrAccess.READ_ONLY, + mcycleAccess = CsrAccess.READ_WRITE, + minstretAccess = CsrAccess.READ_WRITE ) } c