forked from Github_Repos/cvw
Fixed bug #47 discovered by Lee Moore.
ECALL and EBREAK do not commit their results.
This commit is contained in:
parent
d62a72a76f
commit
230888db8b
@ -68,7 +68,7 @@ module hazard (
|
||||
assign FlushDCause = TrapM | RetM | CSRWriteFenceM | BPPredWrongE;
|
||||
assign FlushECause = TrapM | RetM | CSRWriteFenceM |(BPPredWrongE & ~(DivBusyE | FDivBusyE));
|
||||
assign FlushMCause = TrapM | RetM | CSRWriteFenceM;
|
||||
assign FlushWCause = TrapM & ~(BreakpointFaultM | EcallFaultM);
|
||||
assign FlushWCause = TrapM;
|
||||
|
||||
// Stall causes
|
||||
// Most data depenency stalls are identified in the decode stage
|
||||
|
Loading…
Reference in New Issue
Block a user