71 lines
1.4 KiB
Groff
71 lines
1.4 KiB
Groff
.\" This manpage has been automatically generated by docbook2man
|
|
.\" from a DocBook document. This tool can be found at:
|
|
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
|
|
.\" Please send any bug reports, improvements, comments, patches,
|
|
.\" etc. to Steve Cheng <steve@ggi-project.org>.
|
|
.TH "DPGEN_NAND3" "3" "22 July 2004" "ASIM/LIP6" "Alliance - genlib User's Manual"
|
|
|
|
.SH NAME
|
|
DPGEN_NAND3 \- NAND3 Macro-Generator
|
|
.SH SYNOPSIS
|
|
.sp
|
|
\fB#include <genlib.h>
|
|
.sp
|
|
void GENLIB_MACRO (DPGEN_NAND3, char *\fImodelname\fB, long \fIflags\fB, long \fIN\fB, long \fIdrive\fB);
|
|
\fR
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
Generate a \fIN\fR bits three 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.
|
|
i2 : input.
|
|
.TP 3
|
|
2.
|
|
i1 : input.
|
|
.TP 3
|
|
3.
|
|
i0 : input.
|
|
.TP 3
|
|
4.
|
|
nq : output.
|
|
.TP 3
|
|
5.
|
|
vdd : power.
|
|
.TP 3
|
|
6.
|
|
vss : ground.
|
|
.SS "BEHAVIOR"
|
|
|
|
.nf
|
|
nq <= not(i0 and i1 and i2)
|
|
|
|
.fi
|
|
.SH "EXAMPLE"
|
|
.PP
|
|
|
|
.nf
|
|
GENLIB_MACRO(DPGEN_NAND3, "model_nand3_32"
|
|
, F_BEHAV|F_PLACE
|
|
, 32
|
|
, 1
|
|
);
|
|
|
|
GENLIB_LOINS( "model_nand3_32"
|
|
, "instance1_nand3_32"
|
|
, "i2[31:0]"
|
|
, "i1[31:0]"
|
|
, "i0[31:0]"
|
|
, "nq[31:0]"
|
|
, "vdd", "vss", NULL
|
|
);
|
|
|
|
.fi
|
|
.SH "SEE ALSO"
|
|
.PP
|
|
\fBGENLIB_MACRO\fR(3),
|
|
\fBgenlib\fR(1)
|