projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed4b283
)
Only swap ports if $mul and not $__mul
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 13 Aug 2019 23:52:15 +0000
(16:52 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 13 Aug 2019 23:52:15 +0000
(16:52 -0700)
techlibs/common/mul2dsp.v
patch
|
blob
|
history
diff --git
a/techlibs/common/mul2dsp.v
b/techlibs/common/mul2dsp.v
index 71d5a54547f5e09dfa644834b214c363bd76720b..75b1242a2dcd4722c75ed834965747e6a4243088 100644
(file)
--- a/
techlibs/common/mul2dsp.v
+++ b/
techlibs/common/mul2dsp.v
@@
-93,7
+93,7
@@
module _80_mul (A, B, Y);
.Y(Y)
\r
);
\r
`endif
\r
- else if (A_WIDTH < B_WIDTH)
\r
+ else if (
_TECHMAP_CELLTYPE_ == "$mul" &&
A_WIDTH < B_WIDTH)
\r
\$mul #(
\r
.A_SIGNED(B_SIGNED),
\r
.B_SIGNED(A_SIGNED),
\r