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

This commit is contained in:
Henry Cook committed 2014-08-19 11:38:11 -07:00
1 parent 0dac9a7467
commit ca5f38ff26
2 files changed
+3 -2

No files matched your search

+2 -2
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))