mul2dsp: Fix typo
authorDavid Shah <dave@ds0.me>
Mon, 8 Jul 2019 14:43:48 +0000 (15:43 +0100)
committerDavid Shah <dave@ds0.me>
Mon, 8 Jul 2019 17:42:41 +0000 (18:42 +0100)
Signed-off-by: David Shah <dave@ds0.me>
techlibs/common/mul2dsp.v

index 37ce2e485423094619c20d484ff5ccc66f4ba536..ece45db792a8f7be2733c75053fd262297130a99 100644 (file)
@@ -227,7 +227,7 @@ module \$__mul_gen (A, B, Y);
                        if (Y_WIDTH < A_WIDTH+B_WIDTH)\r
                                assign Y = out[Y_WIDTH-1:0];\r
                        else begin\r
-                               wire Ysign = (A_SIGNED || B_SIGNED ? out[A_WIDTH+BWIDTH-1] : 1'b0);\r
+                               wire Ysign = (A_SIGNED || B_SIGNED ? out[A_WIDTH+B_WIDTH-1] : 1'b0);\r
                                assign Y = { {{Y_WIDTH-(A_WIDTH+B_WIDTH)}{Ysign}}, out[A_WIDTH+B_WIDTH-1:0] };\r
                        end\r
                end\r