mirror of https://github.com/YosysHQ/yosys.git
synth_xilinx: fix default W value for non-xc7
This commit is contained in:
parent
ca2f3db53f
commit
36d1a2c60f
|
@ -562,7 +562,7 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
if (active_design->scratchpad.count(k))
|
if (active_design->scratchpad.count(k))
|
||||||
abc9_opts += stringf(" -W %s", active_design->scratchpad_get_string(k).c_str());
|
abc9_opts += stringf(" -W %s", active_design->scratchpad_get_string(k).c_str());
|
||||||
else
|
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)
|
if (nowidelut)
|
||||||
abc9_opts += " -lut +/xilinx/abc9_xc7_nowide.lut";
|
abc9_opts += " -lut +/xilinx/abc9_xc7_nowide.lut";
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue