mirror of
https://github.com/YosysHQ/yosys
synced 2026-03-16 18:20:03 +00:00
Merge pull request #5741 from YosysHQ/lofty/quicklogic-mul-bugfix
synth_quicklogic: fix small multiplier inference
This commit is contained in:
commit
4716f4410f
1 changed files with 1 additions and 0 deletions
|
|
@ -236,6 +236,7 @@ struct SynthQuickLogicPass : public ScriptPass {
|
|||
run("ql_dsp_macc");
|
||||
|
||||
run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=20 -D DSP_B_MAXWIDTH=18 -D DSP_A_MINWIDTH=11 -D DSP_B_MINWIDTH=10 -D DSP_NAME=$__QL_MUL20X18");
|
||||
run("chtype -set $mul t:$__soft_mul");
|
||||
run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=10 -D DSP_B_MAXWIDTH=9 -D DSP_A_MINWIDTH=4 -D DSP_B_MINWIDTH=4 -D DSP_NAME=$__QL_MUL10X9");
|
||||
run("chtype -set $mul t:$__soft_mul");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue