achronix: Use dfflegalize.
authorMarcelina Kościelnicka <mwk@0x04.net>
Thu, 2 Jul 2020 22:22:28 +0000 (00:22 +0200)
committerMarcelina Kościelnicka <mwk@0x04.net>
Tue, 14 Jul 2020 21:12:16 +0000 (23:12 +0200)
techlibs/achronix/synth_achronix.cc

index ddd9822b9ab4ef64db91913290c93dd8eaa23f18..b203828d2c2cd0cd4ef355fb06ee8fd5c7f9278d 100644 (file)
@@ -144,12 +144,12 @@ struct SynthAchronixPass : public ScriptPass {
         run("opt -fast -mux_undef -undriven -fine -full");
         run("memory_map");
         run("opt -undriven -fine");
-        run("dff2dffe -direct-match $_DFF_*");
         run("opt -fine");
         run("techmap -map +/techmap.v");
         run("opt -full");
         run("clean -purge");
         run("setundef -undriven -zero");
+        run("dfflegalize -cell $_DFF_P_ x");
         if (retime || help_mode)
           run("abc -markgroups -dff -D 1", "(only if -retime)");
       }