use example config for hwacha (otherwise use other hwacha params)

This commit is contained in:
abejgonzalez
2019-05-13 10:27:36 -07:00
parent 2d644f1352
commit 1226591231
3 changed files with 11 additions and 23 deletions

View File

@@ -2,7 +2,7 @@ package example
import chisel3._
import freechips.rocketchip.config.{Config}
import freechips.rocketchip.subsystem.{WithRoccExample, WithNMemoryChannels, WithNBigCores, WithRV32, WithExtMemSize}
import freechips.rocketchip.subsystem.{WithRoccExample, WithNMemoryChannels, WithNBigCores, WithRV32, WithExtMemSize, WithNBanks}
import testchipip._
// --------------
@@ -22,9 +22,9 @@ class HwachaConfig extends Config(
new DefaultRocketConfig)
class SmallHwachaConfig extends Config(
new hwacha.WithNBanks(1) ++
new WithNBanks(1) ++
new hwacha.DefaultHwachaConfig ++
new DefaultConfig)
new freechips.rocketchip.system.DefaultConfig)
class RoccRocketConfig extends Config(
new WithRoccExample ++