aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-02-05 14:31:51 -0800
committerEddie Hung <eddie@fpgeh.com>2020-04-03 14:28:22 -0700
commit5b87720b16d957765cd26a85633722dc882c24f9 (patch)
treededc8ce3ae0ab4414342470f811e1b1c402c43d0 /techlibs/common
parent2bf03c6ae0c4f03a4661c5878335b3115b57500c (diff)
downloadyosys-5b87720b16d957765cd26a85633722dc882c24f9.tar.gz
yosys-5b87720b16d957765cd26a85633722dc882c24f9.tar.bz2
yosys-5b87720b16d957765cd26a85633722dc882c24f9.zip
synth: use +/cmp2lcu.v in generic 'synth' too
Diffstat (limited to 'techlibs/common')
-rw-r--r--techlibs/common/synth.cc4
1 files changed, 2 insertions, 2 deletions
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)