From 30941c073add4af6844b0d913fcc30f3d913290b Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Mon, 13 Dec 2021 18:23:43 -0600 Subject: [PATCH] Possible fix for icache and ptw interlock deadlock issue. --- wally-pipelined/src/cache/icachefsm.sv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wally-pipelined/src/cache/icachefsm.sv b/wally-pipelined/src/cache/icachefsm.sv index 33080d9f..b104de4e 100644 --- a/wally-pipelined/src/cache/icachefsm.sv +++ b/wally-pipelined/src/cache/icachefsm.sv @@ -331,8 +331,10 @@ module icachefsm ICacheStallF = 1'b0; end else if (ITLBWriteF) begin NextState = STATE_TLB_MISS_DONE; + ICacheStallF = 1'b1; end else begin NextState = STATE_TLB_MISS; + ICacheStallF = 1'b0; end end STATE_TLB_MISS_DONE: begin