Keep flush_req high until receiving an acknowledge

This commit is contained in:
Florian Zaruba 2017-08-04 14:14:46 +02:00
parent 964d5ab6fc
commit 13a56b1ff6

View file

@ -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
// ---------------------------------