Typo for Y_WIDTH
authorEddie Hung <eddie@fpgeh.com>
Tue, 23 Jul 2019 22:05:20 +0000 (15:05 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 23 Jul 2019 22:05:20 +0000 (15:05 -0700)
techlibs/common/mul2dsp.v

index cf9eeff6f528c0d495c210b3fc73c2b0537b5a68..06ae3fc044e2e035bb9aae3867e0f876b84e8d4b 100644 (file)
@@ -190,7 +190,7 @@ module \$__mul (A, B, Y);
                                .B_SIGNED(B_SIGNED),\r
                                .A_WIDTH(A_WIDTH),\r
                                .B_WIDTH(B_WIDTH-(n-1)*(`DSP_B_MAXWIDTH-sign_headroom)),\r
-                               .Y_WIDTH(partial_Y_WIDTH)\r
+                               .Y_WIDTH(last_Y_WIDTH)\r
                        ) mul_last (\r
                                .A(A),\r
                                .B(B[B_WIDTH-1 : (n-1)*(`DSP_B_MAXWIDTH-sign_headroom)]),\r