From 3cf8508db14bba4df6ccd5a017bf3119d0779a09 Mon Sep 17 00:00:00 2001 From: Charles Papon Date: Sun, 5 Mar 2023 20:31:40 +0800 Subject: [PATCH] DBus coupled timings improvement --- src/main/scala/vexriscv/plugin/DBusCachedPlugin.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }