1DPGEN_CONST(3)          Alliance - genlib User's Manual         DPGEN_CONST(3)
2
3
4

NAME

6       DPGEN_CONST - Constant Macro-Generator
7

SYNOPSIS

9       #include  <genlib.h>
10
11       void  GENLIB_MACRO  (DPGEN_CONST,  char *modelname, long flags, long N,
12       char *constVal0);
13

DESCRIPTION

15       Generate a N bits constant named modelname.
16
17   TERMINAL NAMES
18       1. q : the constant (output, N bit).
19
20       2. vdd : power.
21
22       3. vss : ground.
23
24   BEHAVIOR
25       q <= constVal;
26
27

EXAMPLE

29       GENLIB_MACRO(DPGEN_CONST, "model_const_0xFFFF0000"
30                              , F_BEHAV|F_PLACE
31                              , 4
32                              , "0xFFFF0000"  /* A string! */
33                              );
34
35       GENLIB_LOINS( "model_const_0xFFFF0000"
36                   , "instance1_const_0xFFFF0000"
37                   , "q[31:0]"
38                   , "vdd", "vss", NULL
39                   );
40
41

SEE ALSO

43       GENLIB_MACRO(3), genlib(1)
44
45
46
47ASIM/LIP6                        30 July 2004                   DPGEN_CONST(3)
Impressum