Merge pull request #3176 from higuoxing/fix-ref-manual

Fix the help message of synth_quicklogic command.
This commit is contained in:
Miodrag Milanović 2022-01-31 16:11:00 +01:00 committed by GitHub
commit bf85dfee5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 ? "<file-name>" : verilog_file.c_str()));
}
}
}