Fix d$ uncached writes exception handeling
This commit is contained in:
parent
760d2f74d0
commit
1f9fce6388
|
@ -983,7 +983,7 @@ class DataCache(val p : DataCacheConfig, mmuParameter : MemoryTranslatorBusParam
|
||||||
|
|
||||||
when(bypassCache){
|
when(bypassCache){
|
||||||
io.cpu.writeBack.data := ioMemRspMuxed
|
io.cpu.writeBack.data := ioMemRspMuxed
|
||||||
if(catchAccessError) io.cpu.writeBack.accessError := io.mem.rsp.valid && io.mem.rsp.error
|
if(catchAccessError) io.cpu.writeBack.accessError := !request.wr && pending.last && io.mem.rsp.valid && io.mem.rsp.error
|
||||||
} otherwise {
|
} otherwise {
|
||||||
io.cpu.writeBack.data := dataMux
|
io.cpu.writeBack.data := dataMux
|
||||||
if(catchAccessError) io.cpu.writeBack.accessError := (waysHits & B(tagsReadRsp.map(_.error))) =/= 0
|
if(catchAccessError) io.cpu.writeBack.accessError := (waysHits & B(tagsReadRsp.map(_.error))) =/= 0
|
||||||
|
|
Loading…
Reference in New Issue