diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-09-25 17:22:04 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-09-25 17:22:04 -0700 |
commit | 63940913d21fcfb18cd844d7e5b9c8b41a82295b (patch) | |
tree | 44e32e79370d316f5dd62f55f95d565ab6d25739 /techlibs/ice40 | |
parent | 234738b103d4f2b3d937ed928fd89bc4e31627f1 (diff) | |
download | yosys-63940913d21fcfb18cd844d7e5b9c8b41a82295b.tar.gz yosys-63940913d21fcfb18cd844d7e5b9c8b41a82295b.tar.bz2 yosys-63940913d21fcfb18cd844d7e5b9c8b41a82295b.zip |
Only wreduce on t:$add
Diffstat (limited to 'techlibs/ice40')
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 7a8f3d70c..98d3e44e3 100644 --- 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)"); } |