From: Eddie Hung Date: Tue, 9 Jul 2019 21:29:58 +0000 (-0700) Subject: Restore opt_clean back to original place X-Git-Tag: working-ls180~1208^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c55530b90197302e7c27eb106094fa74a178fc67;p=yosys.git Restore opt_clean back to original place --- diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index 7e10a392a..c4877c8af 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -260,6 +260,7 @@ struct SynthXilinxPass : public ScriptPass run("fsm"); run("opt -fast"); run("memory -nomap"); + run("opt_clean"); if (widemux > 0 || help_mode) run("muxpack", " ('-widemux' only)"); @@ -270,8 +271,6 @@ struct SynthXilinxPass : public ScriptPass // Also: wide multiplexer inference benefits from this too if (!(nosrl && widemux == 0) || help_mode) run("pmux2shiftx", "(skip if '-nosrl' and '-widemux=0')"); - - run("opt_clean"); } if (check_label("bram", "(skip if '-nobram')")) {