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

NAME

6       DPGEN_AND4 - AND4 Macro-Generator
7

SYNOPSIS

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

DESCRIPTION

15       Generate a N bits four inputs AND with an output power of  drive  named
16       modelname.
17
18       Valid drive are : 2 or 4.
19
20   TERMINAL NAMES
21       1. i3 : input.
22
23       2. i2 : input.
24
25       3. i1 : input.
26
27       4. i0 : input.
28
29       5. q : output.
30
31       6. vdd : power.
32
33       7. vss : ground.
34
35   BEHAVIOR
36       q <= i0 and i1 and i2 and i3
37
38

EXAMPLE

40       GENLIB_MACRO(DPGEN_AND4, "model_and4_32"
41                               , F_BEHAV|F_PLACE
42                               , 32
43                               , 2
44                               );
45
46       GENLIB_LOINS( "model_and4_32"
47                   , "instance1_and4_32"
48                   , "i3[31:0]"
49                   , "i2[31:0]"
50                   , "i1[31:0]"
51                   , "i0[31:0]"
52                   ,  "q[31:0]"
53                   , "vdd", "vss", NULL
54                   );
55
56

SEE ALSO

58       GENLIB_MACRO(3), genlib(1)
59
60
61
62ASIM/LIP6                        30 July 2004                    DPGEN_AND4(3)
Impressum