1DPGEN_INV(3) Alliance - genlib User's Manual DPGEN_INV(3)
2
3
4
6 DPGEN_INV - Inverter Macro-Generator
7
9 #include <genlib.h>
10
11 void GENLIB_MACRO (DPGEN_INV, char *modelname, long flags, long N, long
12 drive);
13
15 Generate a N bits inverter with an output power of drive named modelā
16 name.
17
18 Valid drive are : 1, 2, 3 or 4.
19
20 TERMINAL NAMES
21 1. i0 : input.
22
23 2. nq : output.
24
25 3. vdd : power.
26
27 4. vss : ground.
28
29 BEHAVIOR
30 nq <= not(i0)
31
32
34 GENLIB_MACRO(DPGEN_INV, "model_inv_32"
35 , F_BEHAV|F_PLACE
36 , 32
37 , 1
38 );
39
40 GENLIB_LOINS( "model_inv_32"
41 , "instance1_inv_32"
42 , "i0[31:0]"
43 , "nq[31:0]"
44 , "vdd", "vss", NULL
45 );
46
47
49 GENLIB_MACRO(3), genlib(1)
50
51
52
53ASIM/LIP6 30 July 2004 DPGEN_INV(3)