From: Eddie Hung Date: Wed, 27 Nov 2019 17:10:34 +0000 (-0800) Subject: ean call after abc{,9} X-Git-Tag: working-ls180~881^2^2~121 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df8dc6d1fb1f9fc47a8356b5f0bf572a1ea140d2;p=yosys.git ean call after abc{,9} --- diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index 6e8ced0df..5bc55387b 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -538,6 +538,7 @@ struct SynthXilinxPass : public ScriptPass else abc9_opts += " -lut +/xilinx/abc9_xc7.lut"; run("abc9" + abc9_opts); + run("clean"); run("clkpart -unpart clkpart"); } else { @@ -545,8 +546,8 @@ struct SynthXilinxPass : public ScriptPass run("abc -luts 2:2,3,6:5" + string(retime ? " -dff" : "")); else run("abc -luts 2:2,3,6:5,10,20" + string(retime ? " -dff" : "")); + run("clean"); } - run("clean"); // This shregmap call infers fixed length shift registers after abc // has performed any necessary retiming