Do memread stalling correctly.
This commit is contained in:
parent
4cfd8268fd
commit
23656db068
5 changed files with 25 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue