1 /*
2  * This file is part of the Alliance CAD System
3  * Copyright (C) Laboratoire LIP6 - D�partement ASIM
4  * Universite Pierre et Marie Curie
5  *
6  * Home page          : http://www-asim.lip6.fr/alliance/
7  * E-mail             : mailto:alliance-users@asim.lip6.fr
8  *
9  * This progam is  free software; you can redistribute it  and/or modify it
10  * under the  terms of the GNU  General Public License as  published by the
11  * Free Software Foundation;  either version 2 of the License,  or (at your
12  * option) any later version.
13  *
14  * Alliance VLSI  CAD System  is distributed  in the hope  that it  will be
15  * useful, but WITHOUT  ANY WARRANTY; without even the  implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17  * Public License for more details.
18  *
19  * You should have received a copy  of the GNU General Public License along
20  * with the GNU C Library; see the  file COPYING. If not, write to the Free
21  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22  */
23 
24 /***************************************************************/
25 /* module   : libpat_h.h                                       */
26 /* date     : 28/03/92                                         */
27 /* auteurs  : RENAUD & VENOT                                   */
28 /***************************************************************/
29 
30 /* $Id: genpat.h,v 1.3 2012/05/14 14:20:14 alliance Exp $ */
31 
32 #ifndef GENPAT_H
33 #define GENPAT_H
34 
35 
36 #define DEF_GENPAT GNP_LINE = __LINE__ , d_DEF_GENPAT
37 #define DECLAR     GNP_LINE = __LINE__ , d_DECLAR
38 #define ARRAY      GNP_LINE = __LINE__ , d_ARRAY
39 #define AFFECT     GNP_LINE = __LINE__ , d_AFFECT
40 #define INIT       GNP_LINE = __LINE__ , d_INIT
41 #define LABEL      GNP_LINE = __LINE__ , d_LABEL
42 #define SETTUNIT   GNP_LINE = __LINE__ , d_SETTUNIT
43 #define GETCPAT    GNP_LINE = __LINE__ , d_GETCPAT
44 #define CONV       GNP_LINE = __LINE__ , d_CONV
45 #define SAV_GENPAT GNP_LINE = __LINE__ , d_SAV_GENPAT
46 
47 
48 #define		IN		"I"
49 #define		OUT		"O"
50 #define		INOUT		"T"
51 #define		REGISTER	"R"
52 #define		SIGNAL		"S"
53 
54 #define		SPY		"S"
55 
56 extern unsigned int GNP_LINE;
57 
58 #ifndef __P
59 # if defined(__STDC__) ||  defined(__GNUC__)
60 #  define __P(x) x
61 # else
62 #  define __P(x) ()
63 # endif
64 #endif
65 
66   extern           void  d_DEF_GENPAT __P((char *chaine));
67   extern           void  d_DECLAR __P((char *ident, char *space, char *format, char *mode, char *size, char *option));
68   extern           void  d_ARRAY __P(());
69   extern           void  d_AFFECT __P((char *pat_numb, char *ident, char *val));
70   extern           void  d_INIT __P((char *pat_numb, char *ident, char *val));
71   extern           void  d_LABEL __P((char *ident));
72   extern           void  d_SETTUNIT __P((char *ident));
73   extern            unsigned long  d_GETCPAT __P(());
74   extern          char * d_CONV __P((int entier));
75   extern           void  d_SAV_GENPAT __P(());
76 
77 
78 #endif
79