1DPGEN_BUSE(3) Alliance - genlib User's Manual DPGEN_BUSE(3)
2
3
4
6 DPGEN_BUSE - tristate Macro-Generator
7
9 #include <genlib.h>
10
11 void GENLIB_MACRO (DPGEN_BUSE, char *modelname, long flags, long N);
12
14 Generate a N bits two inputs tristate with named modelname.
15
16 TERMINAL NAMES
17 1. cmd : select (1 bit).
18
19 2. i0 : input (N bits).
20
21 3. q : output (N bits).
22
23 4. vdd : power.
24
25 5. vss : ground.
26
27 BEHAVIOR
28 ts:BLOCK(cmd = '1') BEGIN
29 q <= GUARDED i0;
30 END
31
33 GENLIB_MACRO(DPGEN_BUSE, "model_buse_32"
34 , F_BEHAV|F_PLACE
35 , 32
36 );
37
38 GENLIB_LOINS( "model_buse_32"
39 , "instance1_buse_32"
40 , "cmd"
41 , "i0[31:0]"
42 , "q[31:0]"
43 , "vdd", "vss", NULL
44 );
45
46
48 GENLIB_MACRO(3), genlib(1)
49
50
51
52ASIM/LIP6 30 July 2004 DPGEN_BUSE(3)