rocketchip: include an socBus between l1tol2 and periphery (#415)
Sometimes we have high performance devices that go inbetween.
This commit is contained in:
committed by
GitHub
parent
a5ac106bb8
commit
7dc97674d6
@ -51,6 +51,9 @@ case object RTCPeriod extends Field[Int]
|
||||
/* Specifies the periphery bus configuration */
|
||||
case class PeripheryBusConfig(arithAMO: Boolean, beatBytes: Int = 4)
|
||||
case object PeripheryBusKey extends Field[PeripheryBusConfig]
|
||||
/* Specifies the SOC-bus configuration */
|
||||
case class SOCBusConfig(beatBytes: Int = 4)
|
||||
case object SOCBusKey extends Field[SOCBusConfig]
|
||||
|
||||
/* Specifies the data and id width at the chip boundary */
|
||||
case object EdgeDataBits extends Field[Int]
|
||||
@ -91,6 +94,7 @@ trait HasPeripheryParameters {
|
||||
lazy val edgeMemParams = p.alterPartial({ case TLId => "MCtoEdge" })
|
||||
lazy val edgeMMIOParams = p.alterPartial({ case TLId => "MMIOtoEdge" })
|
||||
lazy val peripheryBusConfig = p(PeripheryBusKey)
|
||||
lazy val socBusConfig = p(SOCBusKey)
|
||||
lazy val cacheBlockBytes = p(CacheBlockBytes)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user