From 7efa6be236bf55e53dfa1e1e01aa5739ab993ef8 Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 25 Nov 2005 18:35:38 +0000 Subject: [PATCH] stop/continue messages go through MCD for logging. --- vvp/stop.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/vvp/stop.cc b/vvp/stop.cc index 312baa7e0..a21a5858b 100644 --- a/vvp/stop.cc +++ b/vvp/stop.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: stop.cc,v 1.14 2005/09/20 18:34:02 steve Exp $" +#ident "$Id: stop.cc,v 1.15 2005/11/25 18:35:38 steve Exp $" #endif /* @@ -473,9 +473,9 @@ static void invoke_command(char*txt) void stop_handler(int rc) { - printf("** VVP Stop(%d) **\n", rc); - printf("** Current simulation time is %" TIME_FMT "u ticks.\n", - schedule_simtime()); + vpi_mcd_printf(1,"** VVP Stop(%d) **\n", rc); + vpi_mcd_printf(1,"** Current simulation time is %" TIME_FMT "u ticks.\n", + schedule_simtime()); interact_flag = true; while (interact_flag) { @@ -499,12 +499,15 @@ void stop_handler(int rc) free(input); } - printf("** Continue **\n"); + vpi_mcd_printf(1,"** Continue **\n"); } /* * $Log: stop.cc,v $ + * Revision 1.15 2005/11/25 18:35:38 steve + * stop/continue messages go through MCD for logging. + * * Revision 1.14 2005/09/20 18:34:02 steve * Clean up compiler warnings. *