X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=techlibs%2Fachronix%2Fsynth_achronix.cc;h=262a5e70095bfa2c654acc1d200f9ad26b679d83;hb=3bffd09d6423b70ca154527c363985ff048f807d;hp=626860d9c1782697f4214288fe00292220c3a4ec;hpb=3b17c9018acd9d8bee12e653745fb2f00105bd58;p=yosys.git diff --git a/techlibs/achronix/synth_achronix.cc b/techlibs/achronix/synth_achronix.cc old mode 100755 new mode 100644 index 626860d9c..262a5e700 --- a/techlibs/achronix/synth_achronix.cc +++ b/techlibs/achronix/synth_achronix.cc @@ -52,7 +52,7 @@ struct SynthAchronixPass : public ScriptPass { log(" do not flatten design before synthesis\n"); log("\n"); log(" -retime\n"); - log(" run 'abc' with -dff option\n"); + log(" run 'abc' with '-dff -D 1' options\n"); log("\n"); log("\n"); log("The following commands are executed by this synthesis command:\n"); @@ -144,7 +144,6 @@ struct SynthAchronixPass : public ScriptPass { run("opt -fast -mux_undef -undriven -fine -full"); run("memory_map"); run("opt -undriven -fine"); - run("dffsr2dff"); run("dff2dffe -direct-match $_DFF_*"); run("opt -fine"); run("techmap -map +/techmap.v"); @@ -152,12 +151,12 @@ struct SynthAchronixPass : public ScriptPass { run("clean -purge"); run("setundef -undriven -zero"); if (retime || help_mode) - run("abc -markgroups -dff", "(only if -retime)"); + run("abc -markgroups -dff -D 1", "(only if -retime)"); } if (check_label("map_luts")) { - run("abc -lut 4" + string(retime ? " -dff" : "")); + run("abc -lut 4" + string(retime ? " -dff -D 1" : "")); run("clean"); }