diff --git a/src/main/scala/vexriscv/plugin/DBusCachedPlugin.scala b/src/main/scala/vexriscv/plugin/DBusCachedPlugin.scala index 34b003e..4a95594 100644 --- a/src/main/scala/vexriscv/plugin/DBusCachedPlugin.scala +++ b/src/main/scala/vexriscv/plugin/DBusCachedPlugin.scala @@ -409,7 +409,7 @@ class DBusCachedPlugin(val config : DataCacheConfig, tightlyCoupledAddressStage match { case false => case true => { - val go = RegInit(False) setWhen(arbitration.isValid) clearWhen(arbitration.isMoving) + val go = RegInit(False) setWhen(arbitration.isValid) clearWhen(!arbitration.isStuck) arbitration.haltItself.setWhen(arbitration.isValid && input(MEMORY_ENABLE) && input(MEMORY_TIGHTLY).orR && !go) } }