Removed combinational loops between icache and PMA checker.

This commit is contained in:
Ross Thompson 2021-05-03 14:51:25 -05:00
parent 19a93345b5
commit cdb602c9ce

View File

@ -238,7 +238,7 @@ module icachecontroller #(parameter LINESIZE = 256) (
assign PCNextIndexF = PCPFinalF;
// truncate the offset from PCPF for memory address generation
assign PCPTrunkF = PCPFinalF[`XLEN-1:OFFSETWIDTH];
assign PCPTrunkF = PCTagF[`XLEN-1:OFFSETWIDTH];
// Detect if the instruction is compressed
assign CompressedF = FinalInstrRawF[1:0] != 2'b11;