From: Eddie Hung Date: Wed, 5 Feb 2020 22:31:51 +0000 (-0800) Subject: synth: use +/cmp2lcu.v in generic 'synth' too X-Git-Tag: working-ls180~695^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b87720b16d957765cd26a85633722dc882c24f9;p=yosys.git synth: use +/cmp2lcu.v in generic 'synth' too --- diff --git a/techlibs/common/synth.cc b/techlibs/common/synth.cc index e7a192c07..513702357 100644 --- a/techlibs/common/synth.cc +++ b/techlibs/common/synth.cc @@ -225,9 +225,9 @@ struct SynthPass : public ScriptPass run("peepopt"); run("opt_clean"); if (help_mode) - run("techmap -map +/cmp2lut.v", " (if -lut)"); + run("techmap -map +/cmp2lut.v -map +/cmp2lcu.v", " (if -lut)"); else - run(stringf("techmap -map +/cmp2lut.v -D LUT_WIDTH=%d", lut)); + run(stringf("techmap -map +/cmp2lut.v -map +/cmp2lcu.v -D LUT_WIDTH=%d", lut)); if (!noalumacc) run("alumacc", " (unless -noalumacc)"); if (!noshare)