From 0520e999680c1e371391fcb6335150cbc5f97b66 Mon Sep 17 00:00:00 2001 From: Xing GUO Date: Sun, 30 Jan 2022 22:10:05 +0800 Subject: [PATCH] Fix the help message of synth_quicklogic. --- techlibs/quicklogic/synth_quicklogic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())); } } } -- 2.30.2