ecp5: latches_map.v if *not* -asyncprld
authorEddie Hung <eddie@fpgeh.com>
Wed, 13 May 2020 21:42:18 +0000 (14:42 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 14 May 2020 17:33:57 +0000 (10:33 -0700)
techlibs/ecp5/synth_ecp5.cc

index b99cbdf839cb7b0280a1f77f0f73ac69055fb227..e5c1f7550accc9a9a73430e2fe196c328e066b5a 100644 (file)
@@ -330,8 +330,8 @@ struct SynthEcp5Pass : public ScriptPass
                {
                        if (abc2 || help_mode)
                                run("abc", "      (only if -abc2)");
-                       if (asyncprld || help_mode)
-                               run("techmap -map +/ecp5/latches_map.v", "(only if -asyncprld)");
+                       if (!asyncprld || help_mode)
+                               run("techmap -map +/ecp5/latches_map.v", "(skip if -asyncprld)");
 
                        if (abc9) {
                                run("read_verilog -icells -lib -specify +/ecp5/abc9_model.v");