Skip to content

Commit

Permalink
Fix #121
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Aug 5, 2024
1 parent 5211920 commit 0784875
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/naxriscv/misc/PerformanceCounterPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class PerformanceCounterPlugin(var additionalCounterCount : Int,

if(priv.implementSupervisor) csr.allowCsr(CSR.SCOUNTEREN)
csr.allowCsr(CSR.MCOUNTEREN)
csr.allowCsr(CsrListFilter((3 to 31).flatMap(e => List(e + 0xB00, e + 0xB80, e + 0x320))))
csr.allowCsr(CsrListFilter((3 to 31).flatMap(e => List(e + 0xB00, e + 0x320))))
if(withHigh) csr.allowCsr(CsrListFilter((3 to 31).flatMap(e => List(e + 0xB80))))

val commitMask = getService[CommitService].onCommit().mask
val commitCount = CountOne(commitMask)
Expand Down

0 comments on commit 0784875

Please sign in to comment.