Do memread stalling correctly.

This commit is contained in:
Sebastian Bugge 2024-11-11 01:59:20 +01:00
parent 4cfd8268fd
commit 23656db068
Signed by: kaholaz
GPG key ID: 2EFFEDEE03519691
5 changed files with 25 additions and 12 deletions

View file

@ -136,5 +136,6 @@ class CPU extends MultiIOModule {
IF.io.branchAddress := EXBarrier.out.ALUResult
// Stall
IF.io.stall := ID.io.stall
IF.io.stall := IDBarrier.stall || ID.io.stall
IFBarrier.stall := IDBarrier.stall
}