From 13a56b1ff6352b45b3845c96686e83b54d8f7cab Mon Sep 17 00:00:00 2001 From: Florian Zaruba Date: Fri, 4 Aug 2017 14:14:46 +0200 Subject: [PATCH] Keep flush_req high until receiving an acknowledge --- src/controller.sv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controller.sv b/src/controller.sv index 5e177499a..d3b3d41f7 100644 --- a/src/controller.sv +++ b/src/controller.sv @@ -91,6 +91,9 @@ module controller ( // wait for the acknowledge here if (flush_dcache_ack_i && fence_active_q) begin fence_active_n = 1'b0; + // keep the flush dcache signal high as long as we didn't get the acknowledge from the cache + end else if (fence_active_q) begin + flush_dcache = 1'b1; end // ---------------------------------