#60 Fix SFENCE_VMA deadlock
This commit is contained in:
parent
6f04c02cd2
commit
b79b02152b
|
@ -253,10 +253,9 @@ class MmuPlugin(ioRange : UInt => Bool,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
execute plug new Area{
|
writeBack plug new Area{
|
||||||
import execute._
|
import writeBack._
|
||||||
val tlbWriteBuffer = Reg(UInt(20 bits))
|
when(arbitration.isValid && input(IS_SFENCE_VMA)){ // || csrService.isWriting(CSR.SATP)
|
||||||
when(arbitration.isFiring && input(IS_SFENCE_VMA)){ // || csrService.isWriting(CSR.SATP)
|
|
||||||
for(port <- core.ports; line <- port.cache) line.valid := False //Assume that the instruction already fetched into the pipeline are ok
|
for(port <- core.ports; line <- port.cache) line.valid := False //Assume that the instruction already fetched into the pipeline are ok
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue