.\" 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_NAND2" "3" "30 July 2004" "ASIM/LIP6" "Alliance - genlib User's Manual" .SH NAME DPGEN_NAND2 \- NAND2 Macro-Generator .SH SYNOPSIS .sp \fB#include .sp void GENLIB_MACRO (DPGEN_NAND2, char *\fImodelname\fB, long \fIflags\fB, long \fIN\fB, long \fIdrive\fB); \fR .SH "DESCRIPTION" .PP Generate a \fIN\fR bits two inputs NAND with an output power of \fIdrive\fR named \fImodelname\fR\&. .PP Valid \fIdrive\fR are : 1 or 4. .SS "TERMINAL NAMES" .TP 3 1. i1 : input. .TP 3 2. i0 : input. .TP 3 3. nq : output. .TP 3 4. vdd : power. .TP 3 5. vss : ground. .SS "BEHAVIOR" .nf nq <= not(i0 and i1) .fi .SH "EXAMPLE" .PP .nf GENLIB_MACRO(DPGEN_NAND2, "model_nand2_32" , F_BEHAV|F_PLACE , 32 , 1 ); GENLIB_LOINS( "model_nand2_32" , "instance1_nand2_32" , "i1[31:0]" , "i0[31:0]" , "nq[31:0]" , "vdd", "vss", NULL ); .fi .SH "SEE ALSO" .PP \fBGENLIB_MACRO\fR(3), \fBgenlib\fR(1)