From 9fb3382ec32b4e4e69a45352f219f42425943498 Mon Sep 17 00:00:00 2001 From: David Harris Date: Sun, 18 Sep 2022 22:44:22 -0700 Subject: [PATCH] Added 2 bits to C to initialize properly --- pipelined/src/fpu/otfc.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelined/src/fpu/otfc.sv b/pipelined/src/fpu/otfc.sv index 7ad759b3..2b4d0f9c 100644 --- a/pipelined/src/fpu/otfc.sv +++ b/pipelined/src/fpu/otfc.sv @@ -72,7 +72,7 @@ module sotfc2( // Use this otfc for division and square root. logic [`DIVb:0] CExt; - assign CExt = {1'b1, C[`DIVb-1:0]}; + assign CExt = C[`DIVb:0]; // {1'b1, C[`DIVb-1:0]}; always_comb begin if (sp) begin