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

NAME

6       DPGEN_NBUSE - Tristate Macro-Generator
7

SYNOPSIS

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

DESCRIPTION

14       Generate  a N bits two inputs tristate with a complemented output named
15       modelname.
16
17   TERMINAL NAMES
18       1. cmd : select (1 bit).
19
20       2. i0 : input (N bits).
21
22       3. nq : output (N bits).
23
24       4. vdd : power.
25
26       5. vss : ground.
27
28   BEHAVIOR
29       nts:BLOCK(cmd = '1') BEGIN
30           nq <= GUARDED not(i0);
31       END
32

EXAMPLE

34       GENLIB_MACRO(DPGEN_NBUSE, "model_nbuse_32"
35                               , F_BEHAV|F_PLACE
36                               , 32
37                               );
38
39       GENLIB_LOINS( "model_nbuse_32"
40                   , "instance1_nbuse_32"
41                   , "cmd"
42                   , "i0[31:0]"
43                   , "nq[31:0]"
44                   , "vdd", "vss", NULL
45                   );
46
47

SEE ALSO

49       GENLIB_MACRO(3), genlib(1)
50
51
52
53ASIM/LIP6                        30 July 2004                   DPGEN_NBUSE(3)
Impressum