diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-06-21 16:56:56 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-06-21 16:56:56 -0700 |
commit | ed00823b41becc87b52317a82c595c398dd6d10a (patch) | |
tree | 13090711a1121d53c115c426b1a733d18f75bc05 /techlibs/xilinx/synth_xilinx.cc | |
parent | 29aee0989fb3a73388d4567409ad6998373edc99 (diff) | |
download | yosys-ed00823b41becc87b52317a82c595c398dd6d10a.tar.gz yosys-ed00823b41becc87b52317a82c595c398dd6d10a.tar.bz2 yosys-ed00823b41becc87b52317a82c595c398dd6d10a.zip |
synth_xilinx to now wreduce except $mux, remove extra peepopt
Diffstat (limited to 'techlibs/xilinx/synth_xilinx.cc')
-rw-r--r-- | techlibs/xilinx/synth_xilinx.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index 174138e6a..3d39afcde 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -226,8 +226,7 @@ struct SynthXilinxPass : public ScriptPass run("opt_clean"); run("check"); run("opt"); - // FIXME - //run("wreduce"); + run("wreduce c:* t:$mux %d"); run("peepopt"); run("opt_clean"); run("alumacc"); @@ -247,11 +246,6 @@ struct SynthXilinxPass : public ScriptPass // Also: wide multiplexer inference benefits from this too if (!(nosrl && nomux) || help_mode) run("pmux2shiftx", "(skip if '-nosrl' and '-nomux')"); - - // Run a number of peephole optimisations, including one - // that optimises $mul cells driving $shiftx's B input - // and that aids wide mux analysis - run("peepopt"); } if (check_label("bram", "(skip if '-nobram')")) { @@ -279,7 +273,6 @@ struct SynthXilinxPass : public ScriptPass // otherwise it will use mux8 as mux4 run("muxcover -mux4=150 -mux8=200 -mux16=250 -dmux=0", "(skip if -nomux)"); } - run("wreduce"); // FIXME: Moved until after muxcover from 'coarse' run("opt -full"); if (!nosrl || help_mode) { |