From 54cb6125778a333caf781f6a0ad8017893329e37 Mon Sep 17 00:00:00 2001 From: David Harris Date: Wed, 19 Jun 2024 07:48:54 -0700 Subject: [PATCH] Fixed lint error in fdivsqrtpreproc for rv32 IDIV_ON_FPU --- src/fpu/fdivsqrt/fdivsqrtpreproc.sv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fpu/fdivsqrt/fdivsqrtpreproc.sv b/src/fpu/fdivsqrt/fdivsqrtpreproc.sv index 648018a5d..9156005fd 100644 --- a/src/fpu/fdivsqrt/fdivsqrtpreproc.sv +++ b/src/fpu/fdivsqrt/fdivsqrtpreproc.sv @@ -233,8 +233,9 @@ module fdivsqrtpreproc import cvw::*; #(parameter cvw_t P) ( flopen #(P.XLEN) srcareg(clk, IFDivStartE, AE, AM); if (P.XLEN==64) flopen #(1) w64reg(clk, IFDivStartE, W64E, W64M); + else assign W64M = 0; end else - assign {ALTBM, W64M, AsM, BsM, BZeroM, AM, IntNormShiftM} = 0; + assign {ALTBM, W64M, AsM, BsM, BZeroM, AM, IntNormShiftM} = '0; endmodule