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

NAME

6       DPGEN_NAND4 - NAND4 Macro-Generator
7

SYNOPSIS

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

DESCRIPTION

15       Generate a N bits four 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. 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 and i1 and i2 and i3)
37
38

EXAMPLE

40       GENLIB_MACRO(DPGEN_NAND4, "model_nand4_32"
41                               , F_BEHAV|F_PLACE
42                               , 32
43                               , 1
44                               );
45
46       GENLIB_LOINS( "model_nand4_32"
47                   , "instance1_nand4_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

SEE ALSO

58       GENLIB_MACRO(3), genlib(1)
59
60
61
62ASIM/LIP6                        30 July 2004                   DPGEN_NAND4(3)
Impressum