@@ -131,3 +131,8 @@ class WithRocketBoundaryBuffers(buffers: Option[RocketTileBoundaryBufferParams]
|
|||||||
class WithSV48IfPossible extends Config((site, here, up) => {
|
class WithSV48IfPossible extends Config((site, here, up) => {
|
||||||
case PgLevels => if (site(XLen) == 64) 4 /* Sv48 */ else up(PgLevels)
|
case PgLevels => if (site(XLen) == 64) 4 /* Sv48 */ else up(PgLevels)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Uses SV39 if possible, otherwise default to the Rocket Chip core default
|
||||||
|
class WithSV39 extends Config((site, here, up) => {
|
||||||
|
case PgLevels => { require(site(XLen) == 64); 3; }
|
||||||
|
})
|
||||||
|
|||||||
@@ -370,3 +370,11 @@ class FireSimLargeBoomCospikeConfig extends Config(
|
|||||||
new WithDefaultMemModel ++
|
new WithDefaultMemModel ++
|
||||||
new WithFireSimConfigTweaks++
|
new WithFireSimConfigTweaks++
|
||||||
new chipyard.LargeBoomV3Config)
|
new chipyard.LargeBoomV3Config)
|
||||||
|
|
||||||
|
class FireSimLargeBoomSV39CospikeConfig extends Config(
|
||||||
|
new firesim.firesim.WithCospikeBridge ++
|
||||||
|
new WithDefaultFireSimBridges ++
|
||||||
|
new WithDefaultMemModel ++
|
||||||
|
new WithFireSimConfigTweaks++
|
||||||
|
new chipyard.config.WithSV39 ++
|
||||||
|
new chipyard.LargeBoomV3Config)
|
||||||
|
|||||||
Reference in New Issue
Block a user