forked from Github_Repos/cvw
Possible fix.
This commit is contained in:
parent
5e77b1bd2b
commit
99e0e5c817
@ -194,7 +194,7 @@ module ifu (
|
||||
assign IROMAdr = CPUBusy | reset ? PCFSpill : PCNextFSpill; // zero extend or contract to PA_BITS
|
||||
/* verilator lint_on WIDTH */
|
||||
|
||||
adrdec iromdec(IROMAdr, `IROM_BASE, `IROM_RANGE, `IROM_SUPPORTED, 1'b1, 2'b10, 4'b1111, SelIROM);
|
||||
adrdec iromdec(PCFExt, `IROM_BASE, `IROM_RANGE, `IROM_SUPPORTED, 1'b1, 2'b10, 4'b1111, SelIROM);
|
||||
assign NonIROMMemRWM = {~SelIROM, 1'b0};
|
||||
irom irom(.clk, .reset, .Adr(CPUBusy | reset ? PCFSpill : PCNextFSpill), .ReadData(FinalInstrRawF));
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
// cpubusy means the cpu is stalled and the lsu must ensure ReadDataM stalls constant until the stall is removed.
|
||||
// chap 5 handling faults to memory by delaying writes to memory stage.
|
||||
// chap 6 combing bus with dtim
|
||||
|
||||
// chap 9 complete lsu.
|
||||
|
||||
`include "wally-config.vh"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user