1
0

coreplex: allow legacy devices to override the config string (#458)

This commit is contained in:
Wesley W. Terpstra 2016-11-25 19:38:24 -08:00 committed by GitHub
parent 9433da8458
commit a17753983a

View File

@ -29,7 +29,9 @@ trait CoreplexRISCVPlatform extends CoreplexNetwork {
lazy val configString = {
val managers = l1tol2.node.edgesIn(0).manager.managers
rocketchip.GenerateConfigString(p, clint, plic, managers)
// Use the existing config string if the user overrode it
ConfigStringOutput.contents.getOrElse(
rocketchip.GenerateConfigString(p, clint, plic, managers))
}
}