Dump the streams when entering interactive mode.
This patch adds code to automatically dump the output stream including any dump file when entering interactive mode. When the user typed ^C or $stop was executed.
This commit is contained in:
parent
278e2060a8
commit
e23d14269a
|
|
@ -488,6 +488,9 @@ void stop_handler(int rc)
|
||||||
}
|
}
|
||||||
|
|
||||||
vpi_mcd_printf(1,"** VVP Stop(%d) **\n", rc);
|
vpi_mcd_printf(1,"** VVP Stop(%d) **\n", rc);
|
||||||
|
vpi_mcd_printf(1,"** Flushing output streams.\n");
|
||||||
|
invoke_command("$fflush");
|
||||||
|
invoke_command("$dumpflush");
|
||||||
vpi_mcd_printf(1,"** Current simulation time is %" TIME_FMT_U " ticks.\n",
|
vpi_mcd_printf(1,"** Current simulation time is %" TIME_FMT_U " ticks.\n",
|
||||||
schedule_simtime());
|
schedule_simtime());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue