Add option to remove basic counters (mcycle/minstret)

This commit is contained in:
Andrew Waterman
2017-10-03 17:34:18 -07:00
parent ab0821f25b
commit 09468a272b
3 changed files with 33 additions and 26 deletions
+1
View File
@@ -23,6 +23,7 @@ case class RocketCoreParams(
nBreakpoints: Int = 1,
nPMPs: Int = 8,
nPerfCounters: Int = 0,
haveBasicCounters: Boolean = true,
nL2TLBEntries: Int = 0,
mtvecInit: Option[BigInt] = Some(BigInt(0)),
mtvecWritable: Boolean = true,