Require MSHR size matches nSrcId to L2
This commit is contained in:
@@ -25,6 +25,8 @@ case class L1SystemConfig(
|
|||||||
def coreTagPlusSizeWidth: Int = {
|
def coreTagPlusSizeWidth: Int = {
|
||||||
log2Ceil(wordSize) + coreTagWidth
|
log2Ceil(wordSize) + coreTagWidth
|
||||||
}
|
}
|
||||||
|
require(mshrSize == l2ReqSourceGenSize,
|
||||||
|
"MSHR size must match the number of sourceIds to downstream.")
|
||||||
}
|
}
|
||||||
|
|
||||||
object defaultL1SystemConfig
|
object defaultL1SystemConfig
|
||||||
@@ -38,9 +40,7 @@ object defaultL1SystemConfig
|
|||||||
l2ReqSourceGenSize = 8,
|
l2ReqSourceGenSize = 8,
|
||||||
uncachedAddrSets = Seq(AddressSet(0x2000000L, 0xffL)),
|
uncachedAddrSets = Seq(AddressSet(0x2000000L, 0xffL)),
|
||||||
icacheInstAddrSets = Seq(AddressSet(0x80000000L, 0xfffffffL))
|
icacheInstAddrSets = Seq(AddressSet(0x80000000L, 0xfffffffL))
|
||||||
) {
|
)
|
||||||
require(mshrSize != l2ReqSourceGenSize)
|
|
||||||
}
|
|
||||||
|
|
||||||
class L1System(config: L1SystemConfig)(implicit p: Parameters)
|
class L1System(config: L1SystemConfig)(implicit p: Parameters)
|
||||||
extends LazyModule {
|
extends LazyModule {
|
||||||
|
|||||||
Reference in New Issue
Block a user