aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx/synth_xilinx.cc
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2019-08-28 15:28:01 +0000
committerMarcin Koƛcielnicki <koriakin@0x04.net>2019-09-19 04:02:48 +0200
commit13fa873f11c8332a10c1dda9e42c62b20e93c6b3 (patch)
tree98edcd08223ee6b4d89a9e9919b08afc54c48dfd /techlibs/xilinx/synth_xilinx.cc
parentc9f9518de4af34b2539d230c0894b04d174b755d (diff)
downloadyosys-13fa873f11c8332a10c1dda9e42c62b20e93c6b3.tar.gz
yosys-13fa873f11c8332a10c1dda9e42c62b20e93c6b3.tar.bz2
yosys-13fa873f11c8332a10c1dda9e42c62b20e93c6b3.zip
Use extractinv for synth_xilinx -ise
Diffstat (limited to 'techlibs/xilinx/synth_xilinx.cc')
-rw-r--r--techlibs/xilinx/synth_xilinx.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc
index 7467e024c..173841799 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -485,8 +485,10 @@ struct SynthXilinxPass : public ScriptPass
else
run("clkbufmap -buf BUFG O:I");
}
- if (do_iopad)
+ if (help_mode || do_iopad)
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')");
}
if (check_label("check")) {