Add a mark at simulation end for vcd/lxt/lxt2 files.
[iverilog.git] / libveriuser / a_fetch_fullname.c
blobbc4ab894692133aa7e19694c505310554483d497
1 /* vi:sw=6
2 * Copyright (c) 2002 Michael Ruff (mruff at chiaro.com)
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
8 * any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 #ifdef HAVE_CVS_IDENT
20 #ident "$Id: a_fetch_fullname.c,v 1.5 2003/05/29 02:21:45 steve Exp $"
21 #endif
23 #include <vpi_user.h>
24 #include <acc_user.h>
25 #include "priv.h"
28 * acc_fetch_fullname implemented using VPI interface
30 char *acc_fetch_fullname(handle object)
32 return __acc_newstring(vpi_get_str(vpiFullName, object));
35 char* acc_fetch_name(handle object)
37 return __acc_newstring(vpi_get_str(vpiName, object));
40 char* acc_fetch_defname(handle object)
42 return __acc_newstring(vpi_get_str(vpiDefName, object));
46 * $Log: a_fetch_fullname.c,v $
47 * Revision 1.5 2003/05/29 02:21:45 steve
48 * Implement acc_fetch_defname and its infrastructure in vvp.
50 * Revision 1.4 2003/03/13 05:07:46 steve
51 * Declaration warnings.
53 * Revision 1.3 2003/02/17 06:39:47 steve
54 * Add at least minimal implementations for several
55 * acc_ functions. Add support for standard ACC
56 * string handling.
58 * Add the _pli_types.h header file to carry the
59 * IEEE1364-2001 standard PLI type declarations.
61 * Revision 1.2 2002/08/12 01:35:02 steve
62 * conditional ident string using autoconfig.
64 * Revision 1.1 2002/06/07 02:58:58 steve
65 * Add a bunch of acc/tf functions. (mruff)