From 5c9f0115610bf4f37c5282a8e733f1f66a0b2917 Mon Sep 17 00:00:00 2001 From: cturek Date: Tue, 12 Jul 2022 23:04:33 +0000 Subject: [PATCH] little fix --- pipelined/srt/srt.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelined/srt/srt.sv b/pipelined/srt/srt.sv index 1037c9e2..b3de448f 100644 --- a/pipelined/srt/srt.sv +++ b/pipelined/srt/srt.sv @@ -144,7 +144,7 @@ module srtpreproc ( assign DivX = Int ? PreprocA : PreprocX; assign SqrtX = XExp[0] ? {4'b0000, SrcXFrac, 1'b0} : {5'b11111, SrcXFrac}; - assign X = Sqrt ? {SqrtX, {(`EXTRAINTBITS-1){1'b0}}} : {4'b0001, DivX}; + assign X = Sqrt ? {SqrtX, {(`EXTRAFRACBITS-1){1'b0}}} : {4'b0001, DivX}; assign D = {4'b0001, Int ? PreprocB : PreprocY}; assign intExp = zeroCntB - zeroCntA + 1; assign intSign = Signed & (SrcA[`XLEN - 1] ^ SrcB[`XLEN - 1]);