Added about moving decompressed config generate.

This commit is contained in:
Ross Thompson 2022-12-27 15:04:55 -06:00
parent acc9498ae2
commit 3f4b3a4159

View File

@ -343,7 +343,7 @@ module ifu (
flopenrc #(`XLEN) PCDReg(clk, reset, FlushD, ~StallD, PCF, PCD);
// expand 16-bit compressed instructions to 32 bits
decompress decomp(.InstrRawD, .InstrD, .IllegalCompInstrD);
decompress decomp(.InstrRawD, .InstrD, .IllegalCompInstrD); // *** move the config logic outside
assign IllegalIEUInstrFaultD = IllegalBaseInstrFaultD | IllegalCompInstrD; // illegal if bad 32 or 16-bit instr
// Misaligned PC logic