From: Eddie Hung Date: Tue, 14 Jan 2020 19:34:40 +0000 (-0800) Subject: synth_xilinx: fix default W value for non-xc7 X-Git-Tag: working-ls180~865^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36d1a2c60ff8179d9cfbdb1ae0ca5dd5d883991a;p=yosys.git synth_xilinx: fix default W value for non-xc7 --- diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index d916093dc..b86484e71 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