DPGEN_BUSE(3) | Alliance - genlib User's Manual | DPGEN_BUSE(3) |
DPGEN_BUSE - tristate Macro-Generator
#include <genlib.h>
void GENLIB_MACRO (DPGEN_BUSE, char *modelname, long flags, long N);
Generate a N bits two inputs tristate with named modelname.
ts:BLOCK(cmd = '1') BEGIN
q <= GUARDED i0; END
GENLIB_MACRO(DPGEN_BUSE, "model_buse_32"
, F_BEHAV|F_PLACE
, 32
); GENLIB_LOINS( "model_buse_32"
, "instance1_buse_32"
, "cmd"
, "i0[31:0]"
, "q[31:0]"
, "vdd", "vss", NULL
);
30 July 2004 | ASIM/LIP6 |