Improve error message
This commit is contained in:
parent
7e3cd8af65
commit
b0fdea5535
|
|
@ -1160,8 +1160,8 @@ void V3Options::parseOpts(FileLine* fl, int argc, char** argv) VL_MT_DISABLED {
|
||||||
// Default certain options and error check
|
// Default certain options and error check
|
||||||
// Detailed error, since this is what we often get when run with minimal arguments
|
// Detailed error, since this is what we often get when run with minimal arguments
|
||||||
if (vFiles().empty()) {
|
if (vFiles().empty()) {
|
||||||
v3fatal("verilator: No Input Verilog file specified on command line, "
|
v3fatal("verilator: No input Verilog file specified on command line, "
|
||||||
"see verilator --help for more information\n");
|
"see 'verilator --help' for more information\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Default prefix to the filename
|
// Default prefix to the filename
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
%Error: verilator: No Input Verilog file specified on command line, see verilator --help for more information
|
%Error: verilator: No input Verilog file specified on command line, see 'verilator --help' for more information
|
||||||
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
||||||
|
|
|
||||||
|
|
@ -20,5 +20,5 @@
|
||||||
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
||||||
%Error: Unknown language specified: 1364-1997... Suggested alternative: '1364-1995'
|
%Error: Unknown language specified: 1364-1997... Suggested alternative: '1364-1995'
|
||||||
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
||||||
%Error: verilator: No Input Verilog file specified on command line, see verilator --help for more information
|
%Error: verilator: No input Verilog file specified on command line, see 'verilator --help' for more information
|
||||||
... This fatal error may be caused by the earlier error(s); resolve those first.
|
... This fatal error may be caused by the earlier error(s); resolve those first.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue