1
0

diplomacy: output JSON formatted version of DTS

This commit is contained in:
Wesley W. Terpstra
2017-03-03 02:45:11 -08:00
parent 0178248551
commit 1eeaa390c6
2 changed files with 47 additions and 0 deletions

View File

@ -25,6 +25,7 @@ trait CoreplexRISCVPlatform extends CoreplexNetwork {
plic.intnode := intBar.intnode
lazy val dts = DTS(bindingTree)
lazy val json = JSON(bindingTree)
}
trait CoreplexRISCVPlatformBundle extends CoreplexNetworkBundle {
@ -49,4 +50,5 @@ trait CoreplexRISCVPlatformModule extends CoreplexNetworkModule {
println(outer.dts)
ElaborationArtefacts.add("dts", outer.dts)
ElaborationArtefacts.add("json", outer.json)
}