mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Remove duplicate stop ignored messages
This commit is contained in:
parent
f767f0cfaa
commit
38ad328956
@ -169,9 +169,12 @@ void vl_stop_maybe(const char* filename, int linenum, const char* hier, bool may
|
||||
Verilated::threadContextp()->errorCountInc();
|
||||
if (maybe
|
||||
&& Verilated::threadContextp()->errorCount() < Verilated::threadContextp()->errorLimit()) {
|
||||
VL_PRINTF( // Not VL_PRINTF_MT, already on main thread
|
||||
"-Info: %s:%d: %s\n", filename, linenum,
|
||||
"Verilog $stop, ignored due to +verilator+error+limit");
|
||||
// Do just once when cross error limit
|
||||
if (Verilated::threadContextp()->errorCount() == 1) {
|
||||
VL_PRINTF( // Not VL_PRINTF_MT, already on main thread
|
||||
"-Info: %s:%d: %s\n", filename, linenum,
|
||||
"Verilog $stop, ignored due to +verilator+error+limit");
|
||||
}
|
||||
} else {
|
||||
vl_stop(filename, linenum, hier);
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
[0] %Error: t_runflag_errorlimit_bad.v:9: Assertion failed in top.t: One
|
||||
-Info: t/t_runflag_errorlimit_bad.v:9: Verilog $stop, ignored due to +verilator+error+limit
|
||||
[0] %Error: t_runflag_errorlimit_bad.v:10: Assertion failed in top.t: Two
|
||||
-Info: t/t_runflag_errorlimit_bad.v:10: Verilog $stop, ignored due to +verilator+error+limit
|
||||
[0] %Error: t_runflag_errorlimit_bad.v:11: Assertion failed in top.t: Three
|
||||
%Error: t/t_runflag_errorlimit_bad.v:11: Verilog $stop
|
||||
Aborting...
|
||||
|
Loading…
Reference in New Issue
Block a user