1
0

a few more fixes. some param lookups fail (here() in Alter blocks)

This commit is contained in:
Henry Cook
2014-08-10 23:07:15 -07:00
parent 0dac9a7467
commit ca5f38ff26
2 changed files with 3 additions and 2 deletions

View File

@ -32,8 +32,8 @@ class Tile(resetSignal: Bool = null) extends Module(_reset = resetSignal) {
val optionalRoCC = params(BuildRoCC)
params.alter(params(RocketFrontendParams)) // Used in icache, Core
val icache = Module(new Frontend)
val p = params.alter(params(CoreBTBParams)).alter(params(RocketFrontendParams)) // Used in icache, Core
val icache = Module(new Frontend)(p) //TODO PARAMS: best way to alter both?
params.alter(params(RocketDCacheParams)) // Used in dcache, PTW, RoCCm Core
val dcache = Module(new HellaCache)
val ptw = Module(new PTW(if(optionalRoCC.isEmpty) 2 else 5))