projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269ff45
)
mul2dsp: Fix typo
author
David Shah
<dave@ds0.me>
Mon, 8 Jul 2019 14:43:48 +0000
(15:43 +0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/techlibs/common/mul2dsp.v
b/techlibs/common/mul2dsp.v
index 37ce2e485423094619c20d484ff5ccc66f4ba536..ece45db792a8f7be2733c75053fd262297130a99 100644
(file)
--- a/
techlibs/common/mul2dsp.v
+++ b/
techlibs/common/mul2dsp.v
@@
-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