aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx/synth_xilinx.cc
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2020-01-15 08:47:16 +0100
committerGitHub <noreply@github.com>2020-01-15 08:47:16 +0100
commitabba1541bc18b031625708a966c830b5c1f81283 (patch)
treecce1f4d72ae256409cc76911e85a97911e7cc960 /techlibs/xilinx/synth_xilinx.cc
parentffd6f54f92a7ba3856b5f168b7db97eb8ed87caa (diff)
parent36d1a2c60ff8179d9cfbdb1ae0ca5dd5d883991a (diff)
downloadyosys-abba1541bc18b031625708a966c830b5c1f81283.tar.gz
yosys-abba1541bc18b031625708a966c830b5c1f81283.tar.bz2
yosys-abba1541bc18b031625708a966c830b5c1f81283.zip
Merge pull request #1636 from YosysHQ/eddie/fix_synth_xilinx_W
synth_xilinx: fix default W value for non-xc7
Diffstat (limited to 'techlibs/xilinx/synth_xilinx.cc')
-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 77be8299c..3dc05cd10 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -562,7 +562,7 @@ struct SynthXilinxPass : public ScriptPass
if (active_design->scratchpad.count(k))
abc9_opts += stringf(" -W %s", active_design->scratchpad_get_string(k).c_str());
else
- abc9_opts += stringf(" -W %s", RTLIL::constpad.at(k).c_str());
+ abc9_opts += stringf(" -W %s", RTLIL::constpad.at(k, RTLIL::constpad.at("synth_xilinx.abc9.xc7.W")).c_str());
if (nowidelut)
abc9_opts += " -lut +/xilinx/abc9_xc7_nowide.lut";
else