Merge pull request #899 from freechipsproject/wrapper-dedup
Stabilize tile wrappers for downstream tools
This commit is contained in:
@ -13,7 +13,7 @@ import freechips.rocketchip.util._
|
||||
sealed trait CoreplexClockCrossing
|
||||
case class SynchronousCrossing(params: BufferParams = BufferParams.default) extends CoreplexClockCrossing
|
||||
case class RationalCrossing(direction: RationalDirection = FastToSlow) extends CoreplexClockCrossing
|
||||
case class AsynchronousCrossing(depth: Int, sync: Int = 2) extends CoreplexClockCrossing
|
||||
case class AsynchronousCrossing(depth: Int, sync: Int = 3) extends CoreplexClockCrossing
|
||||
|
||||
/** BareCoreplex is the root class for creating a coreplex sub-system */
|
||||
abstract class BareCoreplex(implicit p: Parameters) extends LazyModule with BindingScope {
|
||||
|
@ -57,13 +57,12 @@ trait HasRocketTiles extends HasSystemBus
|
||||
}
|
||||
case RationalCrossing(direction) => {
|
||||
val wrapper = LazyModule(new RationalRocketTile(c, i)(pWithExtra))
|
||||
val sink = LazyModule(new TLRationalCrossingSink(direction))
|
||||
val source = LazyModule(new TLRationalCrossingSource)
|
||||
sbus.fromRationalTiles(direction) :=* wrapper.masterNode
|
||||
wrapper.slaveNode :*= pbus.toRationalSlaves
|
||||
wrapper
|
||||
}
|
||||
}
|
||||
wrapper.suggestName("tile") // Try to stabilize this name for downstream tools
|
||||
|
||||
// Local Interrupts must be synchronized to the core clock
|
||||
// before being passed into this module.
|
||||
|
Reference in New Issue
Block a user