diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-07-19 20:20:33 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-07-19 20:20:33 -0700 |
commit | 47fd042b9f8a92df1e1d59042068e7846c4ce808 (patch) | |
tree | d9cb96aceeccdbeb244ce48d2e357a6995a623bb /techlibs/ice40/synth_ice40.cc | |
parent | 595a8f032f1e9db385959f92a4a414a40de291fd (diff) | |
download | yosys-47fd042b9f8a92df1e1d59042068e7846c4ce808.tar.gz yosys-47fd042b9f8a92df1e1d59042068e7846c4ce808.tar.bz2 yosys-47fd042b9f8a92df1e1d59042068e7846c4ce808.zip |
Indirection via $__soft_mul
Diffstat (limited to 'techlibs/ice40/synth_ice40.cc')
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 77bd0ac81..fcb177491 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -268,6 +268,7 @@ struct SynthIce40Pass : public ScriptPass if (help_mode || dsp) { run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=16 -D DSP_B_MAXWIDTH=16 -D DSP_MINWIDTH=11 -D DSP_NAME=$__MUL16X16", "(if -dsp)"); run("ice40_dsp", "(if -dsp)"); + run("chtype -set $mul t:$__soft_mul"); } run("alumacc"); run("opt"); |