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

NAME

6       DPGEN_NAND2 - NAND2 Macro-Generator
7

SYNOPSIS

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

DESCRIPTION

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

EXAMPLE

36       GENLIB_MACRO(DPGEN_NAND2, "model_nand2_32"
37                              , F_BEHAV|F_PLACE
38                              , 32
39                              , 1
40                              );
41
42       GENLIB_LOINS( "model_nand2_32"
43                   , "instance1_nand2_32"
44                   , "i1[31:0]"
45                   , "i0[31:0]"
46                   , "nq[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_NAND2(3)
Impressum