From: Eddie Hung Date: Tue, 26 Nov 2019 22:51:39 +0000 (-0800) Subject: Move 'clean' from map_luts to finalize X-Git-Tag: working-ls180~881^2^2~128 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=739f5309062f6e60809a2ebe4eda4602cca6fc41;p=yosys.git Move 'clean' from map_luts to finalize --- diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index 7105ba429..6e8ced0df 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -560,7 +560,6 @@ struct SynthXilinxPass : public ScriptPass else techmap_args += " -map " + ff_map_file; run("techmap " + techmap_args); - run("clean"); } if (check_label("finalize")) { @@ -575,6 +574,7 @@ struct SynthXilinxPass : public ScriptPass run("iopadmap -bits -outpad OBUF I:O -inpad IBUF O:I A:top", "(only if '-iopad' or '-ise' and not '-noiopad')"); if (help_mode || ise) run("extractinv -inv INV O:I", "(only if '-ise')"); + run("clean"); } if (check_label("check")) {