mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixed interger divide so it can be interrupted.
This commit is contained in:
parent
000d713cb5
commit
93cb24476f
@ -62,7 +62,7 @@ module hazard(
|
||||
|
||||
assign StallFCause = CSRWritePendingDEM & ~(TrapM | RetM | BPPredWrongE);
|
||||
assign StallDCause = (LoadStallD | StoreStallD | MDUStallD | CSRRdStallD | FPUStallD | FStallD) & ~(TrapM | RetM | BPPredWrongE); // stall in decode if instruction is a load/mul/csr dependent on previous
|
||||
assign StallECause = DivBusyE | FDivBusyE;
|
||||
assign StallECause = (DivBusyE | FDivBusyE) & ~(TrapM);
|
||||
assign StallMCause = 0;
|
||||
assign StallWCause = LSUStall | IFUStallF;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user