Move getomcomponents1 (#1772)

* changing where getOMComponents is called in the flow
This commit is contained in:
Derek Pappas 2019-01-15 11:11:47 -08:00 committed by GitHub
parent ad61beed8a
commit c76bb44e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -6,8 +6,6 @@ import Chisel._
import freechips.rocketchip.config.{Field, Parameters}
import freechips.rocketchip.diplomacy._
import freechips.rocketchip.diplomaticobjectmodel.DiplomaticObjectModelUtils
import freechips.rocketchip.diplomaticobjectmodel.model.OMComponent
import freechips.rocketchip.tilelink._
import freechips.rocketchip.util._
case object SystemBusKey extends Field[SystemBusParams]
@ -33,8 +31,11 @@ abstract class BareSubsystemModuleImp[+L <: BareSubsystem](_outer: L) extends La
ElaborationArtefacts.add("dts", outer.dts)
ElaborationArtefacts.add("json", outer.json)
ElaborationArtefacts.add("plusArgs", PlusArgArtefacts.serialize_cHeader)
ElaborationArtefacts.add("objectModel.json", outer.objectModelJson)
println(outer.dts)
def addOMArtefacts(): Unit = {
ElaborationArtefacts.add("objectModel.json", outer.objectModelJson)
}
}
/** Base Subsystem class with no peripheral devices or ports added */