1DPGEN_OR3(3) Alliance - genlib User's Manual DPGEN_OR3(3)
2
3
4
6 DPGEN_OR3 - OR3 Macro-Generator
7
9 #include <genlib.h>
10
11 void GENLIB_MACRO (DPGEN_OR3, char *modelname, long flags, long N, long
12 drive);
13
15 Generate a N bits three 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. i2 : input.
22
23 2. i1 : input.
24
25 3. i0 : input.
26
27 4. q : output.
28
29 5. vdd : power.
30
31 6. vss : ground.
32
33 BEHAVIOR
34 q <= i0 or i1 or i2
35
36
38 GENLIB_MACRO(DPGEN_OR3, "model_or3_32"
39 , F_BEHAV|F_PLACE
40 , 32
41 , 2
42 );
43
44 GENLIB_LOINS( "model_or3_32"
45 , "instance1_or3_32"
46 , "i2[31:0]"
47 , "i1[31:0]"
48 , "i0[31:0]"
49 , "q[31:0]"
50 , "vdd", "vss", NULL
51 );
52
53
55 GENLIB_MACRO(3), genlib(1)
56
57
58
59ASIM/LIP6 30 July 2004 DPGEN_OR3(3)