From 4d09c43ecfa7cfd2d94f7cf7f63aaf675c2d706b Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 1 Jan 2001 19:33:44 +0000 Subject: [PATCH] Add $stop that does a finish. --- vpi/sys_finish.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/vpi/sys_finish.c b/vpi/sys_finish.c index 741a59ef8..3dc068289 100644 --- a/vpi/sys_finish.c +++ b/vpi/sys_finish.c @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: sys_finish.c,v 1.4 2000/02/23 02:56:56 steve Exp $" +#ident "$Id: sys_finish.c,v 1.5 2001/01/01 19:33:44 steve Exp $" #endif # include "vpi_user.h" @@ -38,10 +38,20 @@ void sys_finish_register() tf_data.compiletf = 0; tf_data.sizetf = 0; vpi_register_systf(&tf_data); + + tf_data.type = vpiSysTask; + tf_data.tfname = "$stop"; + tf_data.calltf = sys_finish_calltf; + tf_data.compiletf = 0; + tf_data.sizetf = 0; + vpi_register_systf(&tf_data); } /* * $Log: sys_finish.c,v $ + * Revision 1.5 2001/01/01 19:33:44 steve + * Add $stop that does a finish. + * * Revision 1.4 2000/02/23 02:56:56 steve * Macintosh compilers do not support ident. *