mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 18:25:27 +00:00
Fixed bug where the wrong address is read into the icache memory.
This commit is contained in:
parent
0a7dc96052
commit
4ae15bf5e4
1
wally-pipelined/src/cache/icachefsm.sv
vendored
1
wally-pipelined/src/cache/icachefsm.sv
vendored
@ -163,6 +163,7 @@ module icachefsm
|
||||
NextState = STATE_HIT_SPILL;
|
||||
end else if (~hit & ~spill) begin
|
||||
CntReset = 1'b1;
|
||||
SelAdr = 2'b01; /// *********(
|
||||
NextState = STATE_MISS_FETCH_WDV;
|
||||
end else if (~hit & spill) begin
|
||||
CntReset = 1'b1;
|
||||
|
Loading…
Reference in New Issue
Block a user