3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-19 21:44:03 +00:00

synth_* with -retime option now calls abc with -D 1 as well

This commit is contained in:
Eddie Hung 2019-04-10 08:32:53 -07:00
parent 5f4024ffd2
commit 9a6da9a79a
11 changed files with 15 additions and 15 deletions

View file

@ -210,15 +210,15 @@ struct SynthIntelPass : 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"))
{
if(family_opt=="a10gx" || family_opt=="cyclonev")
run("abc -luts 2:2,3,6:5" + string(retime ? " -dff" : ""));
run("abc -luts 2:2,3,6:5" + string(retime ? " -dff -D 1" : ""));
else
run("abc -lut 4" + string(retime ? " -dff" : ""));
run("abc -lut 4" + string(retime ? " -dff -D 1" : ""));
run("clean");
}