coreplex: make it possible to override the ConfigString
This commit is contained in:
parent
4de1822470
commit
e97844f71e
@ -153,8 +153,11 @@ trait CoreplexRISCVModule {
|
|||||||
// Create and export the ConfigString
|
// Create and export the ConfigString
|
||||||
val managers = outer.l1tol2.node.edgesIn(0).manager.managers
|
val managers = outer.l1tol2.node.edgesIn(0).manager.managers
|
||||||
val configString = rocketchip.GenerateConfigString(p, outer.clint, outer.plic, managers)
|
val configString = rocketchip.GenerateConfigString(p, outer.clint, outer.plic, managers)
|
||||||
println(s"\nGenerated Configuration String\n${configString}")
|
// Allow something else to have override the config string
|
||||||
|
if (!ConfigStringOutput.contents.isDefined) {
|
||||||
ConfigStringOutput.contents = Some(configString)
|
ConfigStringOutput.contents = Some(configString)
|
||||||
|
}
|
||||||
|
println(s"\nGenerated Configuration String\n${ConfigStringOutput.contents.get}")
|
||||||
|
|
||||||
val nCachedPorts = tiles.map(tile => tile.io.cached.size).reduce(_ + _)
|
val nCachedPorts = tiles.map(tile => tile.io.cached.size).reduce(_ + _)
|
||||||
val nUncachedPorts = tiles.map(tile => tile.io.uncached.size).reduce(_ + _)
|
val nUncachedPorts = tiles.map(tile => tile.io.uncached.size).reduce(_ + _)
|
||||||
|
Loading…
Reference in New Issue
Block a user