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

NAME

6       DPGEN_OR2 - OR2 Macro-Generator
7

SYNOPSIS

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

DESCRIPTION

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

EXAMPLE

36       GENLIB_MACRO(DPGEN_OR2, "model_or2_32"
37                              , F_BEHAV|F_PLACE
38                              , 32
39                              , 2
40                              );
41
42       GENLIB_LOINS( "model_or2_32"
43                   , "instance1_or2_32"
44                   , "i1[31:0]"
45                   , "i0[31:0]"
46                   ,  "q[31:0]"
47                   , "vdd", "vss", NULL
48                   );
49
50

SEE ALSO

52       GENLIB_MACRO(3), genlib(1)
53
54
55
56ASIM/LIP6                        30 July 2004                     DPGEN_OR2(3)
Impressum