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

NAME

6       DPGEN_NAND3 - NAND3 Macro-Generator
7

SYNOPSIS

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

DESCRIPTION

15       Generate a N bits three 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. i2 : input.
22
23       2. i1 : input.
24
25       3. i0 : input.
26
27       4. nq : output.
28
29       5. vdd : power.
30
31       6. vss : ground.
32
33   BEHAVIOR
34       nq <= not(i0 and i1 and i2)
35
36

EXAMPLE

38       GENLIB_MACRO(DPGEN_NAND3, "model_nand3_32"
39                              , F_BEHAV|F_PLACE
40                              , 32
41                              , 1
42                              );
43
44       GENLIB_LOINS( "model_nand3_32"
45                   , "instance1_nand3_32"
46                   , "i2[31:0]"
47                   , "i1[31:0]"
48                   , "i0[31:0]"
49                   , "nq[31:0]"
50                   , "vdd", "vss", NULL
51                   );
52
53

SEE ALSO

55       GENLIB_MACRO(3), genlib(1)
56
57
58
59ASIM/LIP6                        30 July 2004                   DPGEN_NAND3(3)
Impressum