projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d90b8b0
)
Run "opt_expr -fine" instead of "wreduce" due to #1213
author
Eddie Hung
<eddie@fpgeh.com>
Wed, 7 Aug 2019 20:59:07 +0000
(13:59 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Wed, 7 Aug 2019 20:59:07 +0000
(13:59 -0700)
techlibs/ice40/synth_ice40.cc
patch
|
blob
|
history
diff --git
a/techlibs/ice40/synth_ice40.cc
b/techlibs/ice40/synth_ice40.cc
index 2cc5fd5fd169f5e061aa0792b7433783271e1ea5..09759f359136e12fce5eed6190f2c3208b2dc817 100644
(file)
--- a/
techlibs/ice40/synth_ice40.cc
+++ b/
techlibs/ice40/synth_ice40.cc
@@
-267,8
+267,7
@@
struct SynthIce40Pass : public ScriptPass
run("opt_clean");
if (help_mode || dsp) {
run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=16 -D DSP_B_MAXWIDTH=16 -D DSP_A_MINWIDTH=2 -D DSP_B_MINWIDTH=2 -D DSP_Y_MINWIDTH=11 -D DSP_NAME=$__MUL16X16", "(if -dsp)");
- run("opt_expr", " (if -dsp)");
- run("wreduce", " (if -dsp)");
+ run("opt_expr -fine", " (if -dsp)");
run("ice40_dsp", " (if -dsp)");
run("chtype -set $mul t:$__soft_mul","(if -dsp)");
}