1DPGEN_NOR4(3) Alliance - genlib User's Manual DPGEN_NOR4(3)
2
3
4
6 DPGEN_NOR4 - NOR4 Macro-Generator
7
9 #include <genlib.h>
10
11 void GENLIB_MACRO (DPGEN_NOR4, char *modelname, long flags, long N,
12 long drive);
13
15 Generate a N bits four inputs NOR with an output power of drive named
16 modelname.
17
18 Valid drive are : 1 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. nq : output.
30
31 6. vdd : power.
32
33 7. vss : ground.
34
35 BEHAVIOR
36 nq <= not(i0 or i1 or i2 or i3)
37
38
40 GENLIB_MACRO(DPGEN_NOR4, "model_nor4_32"
41 , F_BEHAV|F_PLACE
42 , 32
43 , 1
44 );
45
46 GENLIB_LOINS( "model_nor4_32"
47 , "instance1_nor4_32"
48 , "i3[31:0]"
49 , "i2[31:0]"
50 , "i1[31:0]"
51 , "i0[31:0]"
52 , "nq[31:0]"
53 , "vdd", "vss", NULL
54 );
55
56
58 GENLIB_MACRO(3), genlib(1)
59
60
61
62ASIM/LIP6 30 July 2004 DPGEN_NOR4(3)