diff --git a/src/main/scala/coreplex/RISCVPlatform.scala b/src/main/scala/coreplex/RISCVPlatform.scala index 804854d4..374ef4ee 100644 --- a/src/main/scala/coreplex/RISCVPlatform.scala +++ b/src/main/scala/coreplex/RISCVPlatform.scala @@ -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)) } }