Query: dpgen_buse
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DPGEN_BUSE(3) Alliance - genlib User's Manual DPGEN_BUSE(3)NAMEDPGEN_BUSE - tristate Macro-GeneratorSYNOPSIS#include <genlib.h> void GENLIB_MACRO (DPGEN_BUSE, char *modelname, long flags, long N);DESCRIPTIONGenerate a N bits two inputs tristate with named modelname. TERMINAL NAMES 1. cmd : select (1 bit). 2. i0 : input (N bits). 3. q : output (N bits). 4. vdd : power. 5. vss : ground. BEHAVIOR ts:BLOCK(cmd = '1') BEGIN q <= GUARDED i0; ENDEXAMPLEGENLIB_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 );SEE ALSOGENLIB_MACRO(3), genlib(1)ASIM/LIP6 30 July 2004 DPGEN_BUSE(3)