Skip to content

Commit

Permalink
Move visibility node in front of the width adapteR
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Feb 12, 2023
1 parent 615f4ef commit 9616e24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/scala/common/tile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class BoomTile private(
this(params, crossing.crossingType, lookup, p)

val intOutwardNode = IntIdentityNode()
val masterNode = visibilityNode
val masterNode = TLIdentityNode()
val slaveNode = TLIdentityNode()

val tile_master_blocker =
Expand Down Expand Up @@ -129,14 +129,16 @@ class BoomTile private(
// DCache
lazy val dcache: BoomNonBlockingDCache = LazyModule(new BoomNonBlockingDCache(staticIdForMetadataUseOnly))
val dCacheTap = TLIdentityNode()
tlMasterXbar.node := dCacheTap := TLWidthWidget(tileParams.dcache.get.rowBits/8) := dcache.node
tlMasterXbar.node := dCacheTap := TLWidthWidget(tileParams.dcache.get.rowBits/8) := visibilityNode := dcache.node


// Frontend/ICache
val frontend = LazyModule(new BoomFrontend(tileParams.icache.get, staticIdForMetadataUseOnly))
frontend.resetVectorSinkNode := resetVectorNexusNode
tlMasterXbar.node := TLWidthWidget(tileParams.icache.get.rowBits/8) := frontend.masterNode

require(tileParams.dcache.get.rowBits == tileParams.icache.get.rowBits)

// ROCC
val roccs = p(BuildRoCC).map(_(p))
roccs.map(_.atlNode).foreach { atl => tlMasterXbar.node :=* atl }
Expand Down

0 comments on commit 9616e24

Please sign in to comment.