aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-11-26 14:51:39 -0800
committerEddie Hung <eddie@fpgeh.com>2019-11-26 14:51:39 -0800
commit739f5309062f6e60809a2ebe4eda4602cca6fc41 (patch)
treebed44c2e4d984d508622001f09bda73b1d04f2c3 /techlibs/xilinx
parent09637dd3e454784cba695496fc94be313e4d8522 (diff)
downloadyosys-739f5309062f6e60809a2ebe4eda4602cca6fc41.tar.gz
yosys-739f5309062f6e60809a2ebe4eda4602cca6fc41.tar.bz2
yosys-739f5309062f6e60809a2ebe4eda4602cca6fc41.zip
Move 'clean' from map_luts to finalize
Diffstat (limited to 'techlibs/xilinx')
-rw-r--r--techlibs/xilinx/synth_xilinx.cc2
1 files changed, 1 insertions, 1 deletions
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")) {