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