Support for wide modulus operations.
[iverilog.git] / libveriuser / a_fetch_type_str.c
blob1cad80e9a6205217ccb32ce785a289f0fafb0b48
1 /*
2 * Copyright (c) 2003 Stephen Williams (steve@icarus.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_type_str.c,v 1.5 2003/04/12 18:57:14 steve Exp $"
21 #endif
23 #include <assert.h>
24 #include <vpi_user.h>
25 #include <acc_user.h>
28 char* acc_fetch_type_str(PLI_INT32 type)
30 switch (type) {
31 case accNet:
32 return "accNet";
34 case accReg:
35 return "accReg";
37 case accParameter:
38 return "accParameter";
40 case accConstant:
41 return "accConstant";
43 default:
44 vpi_printf("XXXX acc_fetch_type_str(%d);\n", type);
45 return "acc_fetch_type_str(unknown)";
48 return "";
52 * $Log: a_fetch_type_str.c,v $
53 * Revision 1.5 2003/04/12 18:57:14 steve
54 * More acc_ function stubs.
56 * Revision 1.4 2003/03/13 05:07:46 steve
57 * Declaration warnings.
59 * Revision 1.3 2003/03/13 04:35:09 steve
60 * Add a bunch of new acc_ and tf_ functions.
62 * Revision 1.2 2003/02/19 04:37:04 steve
63 * fullname for accConstant.
65 * Revision 1.1 2003/02/17 06:39:47 steve
66 * Add at least minimal implementations for several
67 * acc_ functions. Add support for standard ACC
68 * string handling.
70 * Add the _pli_types.h header file to carry the
71 * IEEE1364-2001 standard PLI type declarations.