Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / behvhdl / bvl_bedef.h
1 // modifie par Stephane
2 // ancien bvl_bedef.h
3
4 /* ###--------------------------------------------------------------### */
5 /* file : vbe_bedef.h */
6 /* date : Jan 18 1993 */
7 /* version : v106 */
8 /* author : P.BAZARGAN, L.A.TABUSSE, VUONG H.N. */
9 /* content : declaration of define used by yacc */
10 /* ###--------------------------------------------------------------### */
11
12 #define BVL_ICNDFN 1 /* input port */
13 #define BVL_OCNDFN 2 /* output port */
14 #define BVL_BCNDFN 3 /* inout port */
15 #define BVL_CSTDFN 4 /* constant */
16
17 #define BVL_STDDFN 1024 /* STD_LOGIC */
18 #define BVL_VECDFN 2048 /* STD_LOGIC_VECTOR */
19 #define BVL_PORDFN 4096 /* PORT */
20 #define BVL_SGNDFN 8192 /* SIGNAL */
21
22 #define BVL_BITDFN 8 /* bit type */
23 #define BVL_MUXDFN 16 /* mux_bit type */
24 #define BVL_WORDFN 24 /* wor_bit type */
25 #define BVL_RBIDFN 32 /* reg_bit type */
26 #define BVL_BTVDFN 40 /* bit_vector type */
27 #define BVL_MXVDFN 48 /* mux_vector type */
28 #define BVL_WRVDFN 56 /* wor_vector type */
29 #define BVL_RGVDFN 64 /* reg_vector type */
30 #define BVL_NATDFN 88 /* natural type */
31 #define BVL_NTVDFN 96 /* nat_vector type */
32
33 #define BVL_NORDFN 128 /* non guarded signal */
34 #define BVL_BUSDFN 256 /* guarded signal (bus) */
35 #define BVL_REGDFN 384 /* guarded signal (register)*/
36
37 #define BVL_MODDFN 0 /* field # 0 of dictionnary */
38 #define BVL_SIGDFN 1 /* field # 1 of dictionnary */
39 #define BVL_STBDFN 3 /* field # 3 of dictionnary */
40 #define BVL_LBLDFN 4 /* field # 4 of dictionnary */
41 #define BVL_WMXDFN 5 /* field # 5 of dictionnary */
42 #define BVL_WMNDFN 6 /* field # 6 of dictionnary */
43 #define BVL_PNTDFN 7 /* field # 7 of dictionnary */
44
45 #define BVL_UPTDFN 1 /* direction is up */
46 #define BVL_DWTDFN 0 /* direction is down */
47
48 #define NE 9
49 #define EQ 10
50 #define NOPI 11
51 #define NOPS 12
52 #define ANDM 13
53 #define CONC 14
54 #define CONVRT 15
55
56 #define BVL_UNGDFN 0
57 #define BVL_GRDDFN 1