diff --git a/config/shared/config-shared.vh b/config/shared/config-shared.vh index 10b56f24e..12967764f 100644 --- a/config/shared/config-shared.vh +++ b/config/shared/config-shared.vh @@ -93,11 +93,17 @@ localparam NF2 = ((F_SUPPORTED & (LEN1 != S_LEN)) ? S_NF : H_NF); localparam FMT2 = ((F_SUPPORTED & (LEN1 != S_LEN)) ? 2'd0 : 2'd2); localparam BIAS2 = ((F_SUPPORTED & (LEN1 != S_LEN)) ? S_BIAS : H_BIAS); +// intermediate division parameters not directly used in Divider +localparam FPDIVN = NF+3; // length of floating-point inputs: Ns + 2 = Nf + 3 for 1 integer bit, Nf fracitonal bits, 2 extra bits to shift sqrt into [1/4, 1)] +localparam DIVN = ((FPDIVN