DivStickyM no longer mysteriously needs to be gated with SqrtM after divder improvemenst

This commit is contained in:
David Harris 2023-11-12 20:23:27 -08:00
parent 065f3f3f6d
commit c44ae93e22

View File

@ -86,8 +86,7 @@ module fdivsqrtpostproc import cvw::*; #(parameter cvw_t P) (
////////////////////////// //////////////////////////
// If the result is not exact, the sticky should be set // If the result is not exact, the sticky should be set
// assign DivStickyM = ~WZeroM & ~(SpecialCaseM & SqrtM); // ***unsure why SpecialCaseM has to be gated by SqrtM, but otherwise fails regression on divide assign DivStickyM = ~WZeroM & ~SpecialCaseM;
assign DivStickyM = ~WZeroM & ~(SpecialCaseM);
// Determine if sticky bit is negative // Determine if sticky bit is negative
assign Sum = WC + WS; assign Sum = WC + WS;