3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

opt_expr: Remove -clkinv option, make it the default.

Adds -noclkinv option just in case the old behavior was actually useful
to someone.
This commit is contained in:
Marcelina Kościelnicka 2020-07-24 13:08:54 +02:00
parent cf60699884
commit 6cd135a5eb
5 changed files with 17 additions and 18 deletions

View file

@ -162,7 +162,7 @@ struct SynthGreenPAK4Pass : public ScriptPass
run("opt -undriven -fine");
run("techmap -map +/techmap.v -map +/greenpak4/cells_latch.v");
run("dfflibmap -prepare -liberty +/greenpak4/gp_dff.lib");
run("opt -fast");
run("opt -fast -noclkinv -noff");
if (retime || help_mode)
run("abc -dff -D 1", "(only if -retime)");
}

View file

@ -585,7 +585,7 @@ struct SynthXilinxPass : public ScriptPass
}
if (check_label("map_luts")) {
run("opt_expr -mux_undef");
run("opt_expr -mux_undef -noclkinv");
if (flatten_before_abc)
run("flatten");
if (help_mode)