projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a37574c
)
Typo for Y_WIDTH
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 23 Jul 2019 22:05:20 +0000
(15:05 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 23 Jul 2019 22:05:20 +0000
(15:05 -0700)
techlibs/common/mul2dsp.v
patch
|
blob
|
history
diff --git
a/techlibs/common/mul2dsp.v
b/techlibs/common/mul2dsp.v
index cf9eeff6f528c0d495c210b3fc73c2b0537b5a68..06ae3fc044e2e035bb9aae3867e0f876b84e8d4b 100644
(file)
--- a/
techlibs/common/mul2dsp.v
+++ b/
techlibs/common/mul2dsp.v
@@
-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