Fixed icache stalling cpu when doing an uncached operation.

This commit is contained in:
Ross Thompson 2022-01-03 23:49:19 -06:00
parent 2d1cb0c3a3
commit 105763d938

View File

@ -86,6 +86,7 @@ module icachefsm
if(IgnoreRequest) begin
SelAdr = 1'b1;
NextState = STATE_READY;
ICacheStallF = 1'b0;
end
else if (CacheableF & hit) begin
ICacheStallF = 1'b0;
@ -103,7 +104,9 @@ module icachefsm
if(CPUBusy) begin
NextState = STATE_CPU_BUSY;
SelAdr = 1'b1;
ICacheStallF = 1'b0;
end else begin
ICacheStallF = 1'b0;
NextState = STATE_READY;
end
end