synth: use +/cmp2lcu.v in generic 'synth' too
authorEddie Hung <eddie@fpgeh.com>
Wed, 5 Feb 2020 22:31:51 +0000 (14:31 -0800)
committerEddie Hung <eddie@fpgeh.com>
Fri, 3 Apr 2020 21:28:22 +0000 (14:28 -0700)
techlibs/common/synth.cc

index e7a192c07c896cb577959731a0be970943b04580..513702357bc164414a513c1e2c7e36dd1dc1a338 100644 (file)
@@ -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)