subsystem: expose HasTiles Parameters
This commit is contained in:
parent
099bbec666
commit
5b1d72c776
@ -15,6 +15,7 @@ class ClockedTileInputs(implicit val p: Parameters) extends ParameterizedBundle
|
||||
with Clocked
|
||||
|
||||
trait HasTiles { this: BaseSubsystem =>
|
||||
implicit val p: Parameters
|
||||
val tiles: Seq[BaseTile]
|
||||
protected def tileParams: Seq[TileParams] = tiles.map(_.tileParams)
|
||||
def nTiles: Int = tileParams.size
|
||||
|
Loading…
Reference in New Issue
Block a user