Disabled starting FPU divider when IDIV_ON_FPU = 0

This commit is contained in:
David Harris 2022-12-16 06:35:29 -08:00
parent d7571bb9b1
commit 7989f449ad

View File

@ -59,7 +59,7 @@ module fdivsqrtfsm(
logic SpecialCaseE;
// FDivStartE and IDivStartE come from fctrl, reflecitng the start of floating-point and possibly integer division
assign IFDivStartE = (FDivStartE | IDivStartE) & (state == IDLE) & ~StallM;
assign IFDivStartE = (FDivStartE | (IDivStartE & `IDIV_ON_FPU)) & (state == IDLE) & ~StallM;
assign FDivDoneE = (state == DONE);
assign FDivBusyE = (state == BUSY) | IFDivStartE;