From 55f25457c91fcf80b7a9e31ce1fd5032e2c12efd Mon Sep 17 00:00:00 2001 From: David Harris Date: Fri, 30 Dec 2022 07:01:44 -0800 Subject: [PATCH] Radix 4 divsqrt --- pipelined/config/shared/wally-shared.vh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelined/config/shared/wally-shared.vh b/pipelined/config/shared/wally-shared.vh index cc24c42f6..044bd7d7e 100644 --- a/pipelined/config/shared/wally-shared.vh +++ b/pipelined/config/shared/wally-shared.vh @@ -109,7 +109,7 @@ `define CORRSHIFTSZ ((`DIVRESLEN+`NF) > (3*`NF+8) ? (`DIVRESLEN+`NF) : (3*`NF+6)) // division constants -`define RADIX 32'h2 +`define RADIX 32'h4 `define DIVCOPIES 32'h4 `define DIVLEN ((`NF < `XLEN) ? (`XLEN) : `NF+3) // `define DIVN (`NF < `XLEN ? `XLEN : `NF+1) // length of input