diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-07-24 13:08:54 +0200 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-07-31 00:08:15 +0200 |
commit | 6cd135a5eb918d30aeaf295e3e9fab9bf73134fb (patch) | |
tree | 9eed0a33bb64c46bd3cf0e65fd15c86344dd3e9f /techlibs | |
parent | cf606998847a286a52f01d748372df396b59dd2b (diff) | |
download | yosys-6cd135a5eb918d30aeaf295e3e9fab9bf73134fb.tar.gz yosys-6cd135a5eb918d30aeaf295e3e9fab9bf73134fb.tar.bz2 yosys-6cd135a5eb918d30aeaf295e3e9fab9bf73134fb.zip |
opt_expr: Remove -clkinv option, make it the default.
Adds -noclkinv option just in case the old behavior was actually useful
to someone.
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/greenpak4/synth_greenpak4.cc | 2 | ||||
-rw-r--r-- | techlibs/xilinx/synth_xilinx.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc index 17b5d4782..d9af340d9 100644 --- a/techlibs/greenpak4/synth_greenpak4.cc +++ b/techlibs/greenpak4/synth_greenpak4.cc @@ -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)"); } diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index dc293f237..970196de9 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -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) |