mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-20 08:24:50 +00:00
ecp5: Bring up to date with mul2dsp changes
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
83b2e02723
commit
cb84ed2326
2 changed files with 10 additions and 2 deletions
|
@ -248,9 +248,10 @@ struct SynthEcp5Pass : public ScriptPass
|
|||
run("opt_expr");
|
||||
run("opt_clean");
|
||||
if (dsp) {
|
||||
run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=18 -D DSP_B_MAXWIDTH=18 -D DSP_NAME=$__MUL18X18");
|
||||
run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=18 -D DSP_B_MAXWIDTH=18 -D DSP_A_MINWIDTH=2 -D DSP_B_MINWIDTH=2 -D DSP_NAME=$__MUL18X18");
|
||||
run("clean");
|
||||
run("techmap -map +/ecp5/dsp_map.v");
|
||||
run("chtype -set $mul t:$__soft_mul","(if -dsp)");
|
||||
}
|
||||
run("alumacc");
|
||||
run("opt");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue