1
0

rocket: do not require FIFO order for memory-like regions

This commit is contained in:
Wesley W. Terpstra
2017-07-12 16:20:22 -07:00
parent 09b9d33a9a
commit 4eface8a9e
2 changed files with 7 additions and 5 deletions

View File

@ -183,8 +183,10 @@ class HellaCacheModule(outer: HellaCache) extends LazyModuleImp(outer)
val io = new HellaCacheBundle(outer)
val tl_out = io.mem(0)
// IOMSHRs must be FIFO
edge.manager.requireFifo()
// IOMSHRs must be FIFO for all regions with effects
edge.manager.managers.foreach { m =>
require (m.fifoId == Some(0) || !TLFIFOFixer.allUncacheable(m))
}
}
object HellaCache {