diff --git a/src/main/scala/coreplex/HasTiles.scala b/src/main/scala/coreplex/HasTiles.scala index 8c6b3612..a4ed3198 100644 --- a/src/main/scala/coreplex/HasTiles.scala +++ b/src/main/scala/coreplex/HasTiles.scala @@ -15,7 +15,7 @@ class ClockedTileInputs(implicit val p: Parameters) extends ParameterizedBundle trait HasTiles extends HasSystemBus { val tiles: Seq[BaseTile] - protected def tileParams: Seq[TileParams] + protected def tileParams: Seq[TileParams] = tiles.map(_.tileParams) def nTiles: Int = tileParams.size def hartIdList: Seq[Int] = tileParams.map(_.hartid) def localIntCounts: Seq[Int] = tileParams.map(_.core.nLocalInterrupts) diff --git a/src/main/scala/coreplex/RocketCoreplex.scala b/src/main/scala/coreplex/RocketCoreplex.scala index e2b9ce00..a28f8371 100644 --- a/src/main/scala/coreplex/RocketCoreplex.scala +++ b/src/main/scala/coreplex/RocketCoreplex.scala @@ -140,7 +140,6 @@ trait HasRocketTilesModuleImp extends HasTilesModuleImp class RocketCoreplex(implicit p: Parameters) extends BaseCoreplex with HasRocketTiles { val tiles = rocketTiles - def tileParams = rocketTiles.map(_.tileParams) override lazy val module = new RocketCoreplexModule(this) }