1
0
Fork 0

[rocket] re-enable working NBDcache (passes Tracegen)

This commit is contained in:
Henry Cook 2016-11-19 19:19:16 -08:00
parent c31b41a7ac
commit 3f47d5b5eb
3 changed files with 2 additions and 3 deletions

View File

@ -161,8 +161,7 @@ class HellaCacheModule(outer: HellaCache)(implicit val p: Parameters) extends La
object HellaCache {
def apply(cfg: DCacheConfig)(implicit p: Parameters) = {
//if (cfg.nMSHRs == 0) LazyModule(new DCache(cfg))
//else LazyModule(new NonBlockingDCache(cfg))
LazyModule(new DCache(cfg))
if (cfg.nMSHRs == 0) LazyModule(new DCache(cfg))
else LazyModule(new NonBlockingDCache(cfg))
}
}