1
0

Don't report to the DTIM that data is cacheable

Otherwise, it will attempt to perform AMOs where they're unsupported!
This commit is contained in:
Andrew Waterman
2017-08-08 11:55:04 -07:00
parent 74d309c18e
commit 7935c61c19
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ class DCacheModule(outer: DCache) extends HellaCacheModule(outer) {
when (s1_valid_not_nacked || s1_flush_valid) {
s2_req := s1_req
s2_req.addr := s1_paddr
s2_uncached := !tlb.io.resp.cacheable || Bool(usingDataScratchpad)
s2_uncached := !tlb.io.resp.cacheable
}
val s2_read = isRead(s2_req.cmd)
val s2_write = isWrite(s2_req.cmd)