.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DPGEN_NBUSE" "3" "30 July 2004" "ASIM/LIP6" "Alliance - genlib User's Manual" .SH NAME DPGEN_NBUSE \- Tristate Macro-Generator .SH SYNOPSIS .sp \fB#include .sp void GENLIB_MACRO (DPGEN_NBUSE, char *\fImodelname\fB, long \fIflags\fB, long \fIN\fB); \fR .SH "DESCRIPTION" .PP Generate a \fIN\fR bits two inputs tristate with a complemented output named \fImodelname\fR\&. .SS "TERMINAL NAMES" .TP 3 1. cmd : select (1 bit). .TP 3 2. i0 : input (\fIN\fR bits). .TP 3 3. nq : output (\fIN\fR bits). .TP 3 4. vdd : power. .TP 3 5. vss : ground. .SS "BEHAVIOR" .nf nts:BLOCK(cmd = '1') BEGIN nq <= GUARDED not(i0); END .fi .SH "EXAMPLE" .PP .nf GENLIB_MACRO(DPGEN_NBUSE, "model_nbuse_32" , F_BEHAV|F_PLACE , 32 ); GENLIB_LOINS( "model_nbuse_32" , "instance1_nbuse_32" , "cmd" , "i0[31:0]" , "nq[31:0]" , "vdd", "vss", NULL ); .fi .SH "SEE ALSO" .PP \fBGENLIB_MACRO\fR(3), \fBgenlib\fR(1)