Fix RVC instruction cache xtval allignement
This commit is contained in:
parent
8e6010fd71
commit
888e1c0b8a
|
@ -207,7 +207,7 @@ class IBusCachedPlugin(resetVector : BigInt = 0x80000000l,
|
||||||
if (catchSomething) {
|
if (catchSomething) {
|
||||||
decodeExceptionPort.valid := False
|
decodeExceptionPort.valid := False
|
||||||
decodeExceptionPort.code.assignDontCare()
|
decodeExceptionPort.code.assignDontCare()
|
||||||
decodeExceptionPort.badAddr := cacheRsp.pc
|
decodeExceptionPort.badAddr := cacheRsp.pc(31 downto 2) @@ "00"
|
||||||
|
|
||||||
if(catchIllegalAccess) when(cacheRsp.isValid && cacheRsp.mmuException && !issueDetected) {
|
if(catchIllegalAccess) when(cacheRsp.isValid && cacheRsp.mmuException && !issueDetected) {
|
||||||
issueDetected \= True
|
issueDetected \= True
|
||||||
|
|
Loading…
Reference in New Issue