Separate tag ECC and data ECC options (#761)
This commit is contained in:
committed by
Henry Cook
parent
940614625e
commit
b2b4c1abcd
@ -44,7 +44,9 @@ class DCache(val scratch: () => Option[AddressSet] = () => None)(implicit p: Par
|
||||
}
|
||||
|
||||
class DCacheModule(outer: DCache) extends HellaCacheModule(outer) {
|
||||
require(rowBits == encRowBits) // no ECC
|
||||
// no ECC support
|
||||
require(cacheParams.tagECC.isInstanceOf[IdentityCode])
|
||||
require(cacheParams.dataECC.isInstanceOf[IdentityCode])
|
||||
|
||||
// tags
|
||||
val replacer = cacheParams.replacement
|
||||
|
Reference in New Issue
Block a user