Skip to content

Commit

Permalink
synth_lattice: Enable booth by default on XO3
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Nov 22, 2023
1 parent b7cda3d commit 8a5a984
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions techlibs/lattice/synth_lattice.cc
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ struct SynthLatticePass : public ScriptPass
run("techmap -map +/mul2dsp.v -map +/lattice/dsp_map" + dsp_map + ".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", "(unless -nodsp)");
run("chtype -set $mul t:$__soft_mul", "(unless -nodsp)");
}
if (family == "xo3" || help_mode)
run("booth", "(only if '-family xo3')");
run("alumacc");
run("opt");
run("memory -nomap" + no_rw_check_opt);
Expand Down

0 comments on commit 8a5a984

Please sign in to comment.