Skip to content

Commit

Permalink
Update GroundTest to use generic BuildHellaCache key
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 authored Dec 20, 2021
1 parent 330c2b8 commit 8b774b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/scala/groundtest/Tile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ abstract class GroundTestTile(
val slaveNode: TLInwardNode = TLIdentityNode()
val statusNode = BundleBridgeSource(() => new GroundTestStatus)

val dcacheOpt = params.dcache.map { dc => LazyModule(
if (dc.nMSHRs == 0) new DCache(staticIdForMetadataUseOnly, crossing)
else new NonBlockingDCache(staticIdForMetadataUseOnly)
)}
val dcacheOpt = params.dcache.map { dc => LazyModule(p(BuildHellaCache)(this)(p)) }

dcacheOpt.foreach { _.hartIdSinkNodeOpt.foreach { _ := hartIdNexusNode } }

Expand Down

0 comments on commit 8b774b0

Please sign in to comment.