mirror of https://github.com/YosysHQ/yosys.git
Add DSP_MINWIDTH=11 for ice40 since ice40_dsp uses this threshold
This commit is contained in:
parent
1d14cec7fd
commit
3dc3c749d5
|
@ -266,7 +266,7 @@ struct SynthIce40Pass : public ScriptPass
|
|||
run("opt_expr");
|
||||
run("opt_clean");
|
||||
if (help_mode || dsp) {
|
||||
run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=16 -D DSP_B_MAXWIDTH=16 -D DSP_NAME=$__MUL16X16");
|
||||
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("alumacc");
|
||||
|
|
Loading…
Reference in New Issue