Skip to content

Commit

Permalink
update boom related configs
Browse files Browse the repository at this point in the history
  • Loading branch information
shinezyy committed May 15, 2019
1 parent dae5990 commit 71f46a5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
22 changes: 20 additions & 2 deletions src/main/scala/lvna/LvNAConfigs.scala
Expand Up @@ -2,7 +2,7 @@

package freechips.rocketchip.system

import boom.common.{DefaultBoomConfig, WithRVC, WithSmallBooms}
import boom.common.{DefaultBoomConfig, WithRVC, WithSmallBooms, WithMediumBooms, WithMegaBooms}
import boom.system.WithNBoomCores
import freechips.rocketchip.config.{Config, Field}
import freechips.rocketchip.devices.tilelink.WithRocketTests
Expand Down Expand Up @@ -39,7 +39,7 @@ class LvNABoomConfig extends Config(
++ new WithDebugSBA
++ new BaseBoomConfig)

class LvNABoomTestConfig extends Config(
class LvNABoomPrefConfig extends Config(
new WithPrefetcher ++
new WithBoomNBL1(4) ++
new WithRVC
Expand All @@ -50,6 +50,24 @@ class LvNABoomTestConfig extends Config(
++ new WithEmu
++ new WithBoom
++ new WithRationalRocketTiles
++ new WithExtMemSize(0x8000000L) // 32MB
++ new WithNoMMIOPort
++ new WithJtagDTM
++ new WithDebugSBA
++ new BaseBoomConfig)


class LvNABoomTestConfig extends Config(
new WithPrefetcher ++
new WithBoomNBL1(4) ++
new WithRVC
++ new WithMediumBooms
++ new DefaultBoomConfig
++ new WithNBoomCores(1)
++ new WithNL2CacheCapacity(0)
++ new WithEmu
++ new WithBoom
++ new WithRationalRocketTiles
// ++ new WithJtagDTM : // remove JtagDTM for rocket tests
++ new WithExtMemBase(0x80000000L) // for rocket tests
++ new WithExtMemSize(0x1000000L) // 4MB
Expand Down

0 comments on commit 71f46a5

Please sign in to comment.