Print Aborting before aborting, bug819
This commit is contained in:
parent
87b9cb49ad
commit
f8208fa961
|
|
@ -74,6 +74,9 @@ void vl_fatal (const char* filename, int linenum, const char* hier, const char*
|
||||||
Verilated::gotFinish(true);
|
Verilated::gotFinish(true);
|
||||||
VL_PRINTF("%%Error: %s:%d: %s\n", filename, linenum, msg);
|
VL_PRINTF("%%Error: %s:%d: %s\n", filename, linenum, msg);
|
||||||
Verilated::flushCall();
|
Verilated::flushCall();
|
||||||
|
|
||||||
|
VL_PRINTF("Aborting...\n");
|
||||||
|
Verilated::flushCall(); // Second flush in case VL_PRINTF does something needing a flush
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue