66 lines
1.1 KiB
Groff
66 lines
1.1 KiB
Groff
.\\" auto-generated by docbook2man-spec $Revision: 1.1 $
|
|
.TH "DPGEN_NAND2" "3" "24 May 2002" "ASIM/LIP6" "Alliance - genlib User's Manual"
|
|
.SH NAME
|
|
DPGEN_NAND2 \- NAND2 Macro-Generator
|
|
.SH SYNOPSIS
|
|
\fB#include <genlib.h>
|
|
.sp
|
|
void GENLIB_MACRO(
|
|
.nf
|
|
.ta 7n +20n
|
|
DPGEN_NAND2,
|
|
char *\fImodelname\fB,
|
|
long \fIflags\fB,
|
|
long \fIN\fB,
|
|
long \fIdrive\fB
|
|
);
|
|
.fi
|
|
\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"
|
|
.IP 1.
|
|
i1 : input.
|
|
.IP 2.
|
|
i0 : input.
|
|
.IP 3.
|
|
nq : output.
|
|
.IP 4.
|
|
vdd : power.
|
|
.IP 5.
|
|
vss : ground.
|
|
.SS "BEHAVIOR"
|
|
.sp
|
|
.nf
|
|
nq <= not(i0 and i1)
|
|
|
|
.sp
|
|
.fi
|
|
.SH "EXAMPLE"
|
|
.PP
|
|
.sp
|
|
.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
|
|
);
|
|
|
|
.sp
|
|
.fi
|
|
.SH "SEE ALSO"
|
|
.PP
|
|
\fBGENLIB_MACRO\fR(3),
|
|
\fBgenlib\fR(1)
|