mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 11:20:27 +00:00
Indirection via $__soft_mul
This commit is contained in:
parent
595a8f032f
commit
47fd042b9f
2 changed files with 10 additions and 9 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue