projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
234738b
)
Only wreduce on t:$add
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 26 Sep 2019 00:22:04 +0000
(17:22 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 26 Sep 2019 00:22:04 +0000
(17:22 -0700)
techlibs/ice40/synth_ice40.cc
patch
|
blob
|
history
diff --git
a/techlibs/ice40/synth_ice40.cc
b/techlibs/ice40/synth_ice40.cc
index 7a8f3d70c08c50abc95a27c301478f1630fea6b2..98d3e44e391febcabc637df4b1ae90de3942a5c9 100644
(file)
--- a/
techlibs/ice40/synth_ice40.cc
+++ b/
techlibs/ice40/synth_ice40.cc
@@
-276,7
+276,7
@@
struct SynthIce40Pass : public ScriptPass
run("techmap -map +/mul2dsp.v -map +/ice40/dsp_map.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("wreduce
", "
(if -dsp)");
+ run("wreduce
t:$add", "
(if -dsp)");
run("ice40_dsp", " (if -dsp)");
run("chtype -set $mul t:$__soft_mul","(if -dsp)");
}