Skip to content

Commit

Permalink
Fix CsrPlugin debugStateB when no U/S
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Jun 24, 2024
1 parent ee95e56 commit 43936c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/vexriscv/plugin/CsrPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1071,8 +1071,8 @@ class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with Excep
if (hasDebugMode()) {
debugStateB.dcsr.xdebugver := debug.dcsr.xdebugver
debugStateB.dcsr.ebreakm := debug.dcsr.ebreakm
debugStateB.dcsr.ebreaks := debug.dcsr.ebreaks
debugStateB.dcsr.ebreaku := debug.dcsr.ebreaku
if(supervisorGen) debugStateB.dcsr.ebreaks := debug.dcsr.ebreaks
if(userGen) debugStateB.dcsr.ebreaku := debug.dcsr.ebreaku
debugStateB.dcsr.stepie := debug.dcsr.stepie
debugStateB.dcsr.stopcount := debug.dcsr.stopcount
debugStateB.dcsr.stoptime := debug.dcsr.stoptime
Expand Down

0 comments on commit 43936c1

Please sign in to comment.