.\" 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_CONST" "3" "30 July 2004" "ASIM/LIP6" "Alliance - genlib User's Manual"
.SH NAME
DPGEN_CONST \- Constant Macro-Generator
.SH SYNOPSIS
.sp
\fB#include
.sp
void GENLIB_MACRO (DPGEN_CONST, char *\fImodelname\fB, long \fIflags\fB, long \fIN\fB, char *\fIconstVal0\fB);
\fR
.SH "DESCRIPTION"
.PP
Generate a \fIN\fR bits constant named \fImodelname\fR\&.
.SS "TERMINAL NAMES"
.TP 3
1.
q : the constant (output, \fIN\fR bit).
.TP 3
2.
vdd : power.
.TP 3
3.
vss : ground.
.SS "BEHAVIOR"
.nf
q <= constVal;
.fi
.SH "EXAMPLE"
.PP
.nf
GENLIB_MACRO(DPGEN_CONST, "model_const_0xFFFF0000"
, F_BEHAV|F_PLACE
, 4
, "0xFFFF0000" /* A string! */
);
GENLIB_LOINS( "model_const_0xFFFF0000"
, "instance1_const_0xFFFF0000"
, "q[31:0]"
, "vdd", "vss", NULL
);
.fi
.SH "SEE ALSO"
.PP
\fBGENLIB_MACRO\fR(3),
\fBgenlib\fR(1)