1
0

Unbreak groundtest

This commit is contained in:
Andrew Waterman 2017-04-28 02:10:33 -07:00
parent 8fd5ecdff8
commit 7416f2a17e
2 changed files with 1 additions and 2 deletions

View File

@ -189,7 +189,7 @@ trait HasHellaCache extends HasTileLinkMasterPort with HasTileParameters {
implicit val p: Parameters implicit val p: Parameters
def findScratchpadFromICache: Option[AddressSet] def findScratchpadFromICache: Option[AddressSet]
var nDCachePorts = 0 var nDCachePorts = 0
val dcache = HellaCache(usingBlockingDCache, findScratchpadFromICache _) val dcache = HellaCache(tileParams.dcache.get.nMSHRs == 0, findScratchpadFromICache _)
masterNode := dcache.node masterNode := dcache.node
} }

View File

@ -32,7 +32,6 @@ trait HasTileParameters {
val usingRoCC = !tileParams.rocc.isEmpty val usingRoCC = !tileParams.rocc.isEmpty
val usingBTB = tileParams.btb.isDefined && tileParams.btb.get.nEntries > 0 val usingBTB = tileParams.btb.isDefined && tileParams.btb.get.nEntries > 0
val usingPTW = usingVM val usingPTW = usingVM
val usingBlockingDCache = tileParams.dcache.get.nMSHRs == 0
val usingDataScratchpad = tileParams.dcache.flatMap(_.scratch).isDefined val usingDataScratchpad = tileParams.dcache.flatMap(_.scratch).isDefined
val hartIdLen = p(MaxHartIdBits) val hartIdLen = p(MaxHartIdBits)