From: Xing GUO Date: Sun, 30 Jan 2022 14:10:05 +0000 (+0800) Subject: Fix the help message of synth_quicklogic. X-Git-Tag: yosys-0.14~10^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0520e999680c1e371391fcb6335150cbc5f97b66;p=yosys.git Fix the help message of synth_quicklogic. --- diff --git a/techlibs/quicklogic/synth_quicklogic.cc b/techlibs/quicklogic/synth_quicklogic.cc index a67b167b8..754de2de6 100644 --- a/techlibs/quicklogic/synth_quicklogic.cc +++ b/techlibs/quicklogic/synth_quicklogic.cc @@ -225,8 +225,8 @@ struct SynthQuickLogicPass : public ScriptPass { } if (check_label("verilog")) { - if (!verilog_file.empty()) { - run("write_verilog -noattr -nohex " + verilog_file); + if (!verilog_file.empty() || help_mode) { + run(stringf("write_verilog -noattr -nohex %s", help_mode ? "" : verilog_file.c_str())); } } }