diff --git a/bin/lint-wally b/bin/lint-wally index 4187b0429..08d189ec7 100755 --- a/bin/lint-wally +++ b/bin/lint-wally @@ -11,7 +11,7 @@ GREEN='\033[0;32m' NC='\033[0m' # No Color fails=0 -if [ "$1" == "-nightly" ]; then +if [ "$1" == "--nightly" ]; then configs=(rv32e rv64gc rv32gc rv32imc rv32i rv64i) # fdqh_rv64gc derivconfigs=`ls $WALLY/config/deriv` for entry in $derivconfigs diff --git a/config/shared/config-shared.vh b/config/shared/config-shared.vh index 481247eae..25d0d8c65 100644 --- a/config/shared/config-shared.vh +++ b/config/shared/config-shared.vh @@ -99,7 +99,6 @@ localparam RK = LOGR*DIVCOPIES; // r*k bits // intermediate division parameters not directly used in fdivsqrt hardware localparam FPDIVMINb = NF + 2; // minimum length of fractional part: Nf result bits + guard and round bits + 1 extra bit to allow sqrt being shifted right -//localparam FPDIVMINb = NF + 2 + (RADIX == 2); // minimum length of fractional part: Nf result bits + guard and round bits + 1 extra bit for preshifting radix2 square root right, if radix4 doesn't use a right shift. This version saves one cycle on double-precision with R=4,k=4. However, it doesn't work yet because C is too short, so k is incorrectly calculated as a 1 in the lsb after the last step. localparam DIVMINb = ((FPDIVMINb