Fixed bug Kip found.

The no cache and no bus versions lacked assignment of CacheCommittedF in the IFU.
This commit is contained in:
Ross Thompson 2022-12-06 10:37:45 -06:00
parent 9806babe9e
commit 9ee2d84c7c

View File

@ -262,6 +262,7 @@ module ifu (
.HWSTRB(), .BusRW, .ByteMask(), .WriteData('0),
.CPUBusy, .BusStall, .BusCommitted(BusCommittedF), .FetchBuffer(FetchBuffer));
assign CacheCommittedF = '0;
if(`IROM_SUPPORTED) mux2 #(32) UnCachedDataMux2(FetchBuffer, IROMInstrF, SelIROM, InstrRawF);
else assign InstrRawF = FetchBuffer;
assign IFUHBURST = 3'b0;
@ -269,7 +270,7 @@ module ifu (
assign {ICacheMiss, ICacheAccess} = '0;
end
end else begin : nobus // block: bus
assign BusStall = '0;
assign {BusStall, CacheCommittedF} = '0;
assign {ICacheStallF, ICacheMiss, ICacheAccess} = '0;
assign InstrRawF = IROMInstrF;
end