From 4dbe1035cbd30987b019081a13a100bcca606179 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 7ad759b34..2b4d0f9c6 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