rocket: dtim is not a dcache
This commit is contained in:
parent
bca3db0866
commit
3f6d5110cd
@ -42,7 +42,7 @@ class RocketTile(val rocketParams: RocketTileParams, val hartid: Int)(implicit p
|
|||||||
val c = if (rocketParams.core.useCompressed) "c" else ""
|
val c = if (rocketParams.core.useCompressed) "c" else ""
|
||||||
val isa = s"rv${p(XLen)}i$m$a$f$d$c"
|
val isa = s"rv${p(XLen)}i$m$a$f$d$c"
|
||||||
|
|
||||||
val dcache = rocketParams.dcache.map(d => Map(
|
val dcache = rocketParams.dcache.filter(!_.scratch.isDefined).map(d => Map(
|
||||||
"d-cache-block-size" -> ofInt(block),
|
"d-cache-block-size" -> ofInt(block),
|
||||||
"d-cache-sets" -> ofInt(d.nSets),
|
"d-cache-sets" -> ofInt(d.nSets),
|
||||||
"d-cache-size" -> ofInt(d.nSets * d.nWays * block))).getOrElse(Map())
|
"d-cache-size" -> ofInt(d.nSets * d.nWays * block))).getOrElse(Map())
|
||||||
|
Loading…
Reference in New Issue
Block a user