.\" 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_NUL" "3" "30 July 2004" "ASIM/LIP6" "Alliance - genlib User's Manual"
.SH NAME
DPGEN_NUL \- Zero Detector Macro-Generator
.SH SYNOPSIS
.sp
\fB#include
.sp
void GENLIB_MACRO (DPGEN_NUL, char *\fImodelname\fB, long \fIflags\fB, long \fIN\fB);
\fR
.SH "DESCRIPTION"
.PP
Generate a \fIN\fR bits zero detector named \fImodelname\fR\&.
.SS "TERMINAL NAMES"
.TP 3
1.
i0 : value to check (input, \fIN\fR bits).
.TP 3
2.
q : null flag (output, 1 bit).
.TP 3
3.
vdd : power.
.TP 3
4.
vss : ground.
.SS "BEHAVIOR"
.nf
q <= <= '1' WHEN (i0 = X"00000000") ELSE '0';
.fi
.SH "EXAMPLE"
.PP
.nf
GENLIB_MACRO(DPGEN_NUL, "model_nul_32"
, F_BEHAV|F_PLACE
, 32
);
GENLIB_LOINS( "model_nul_32"
, "instance1_nul_32"
, "i0[31:0]"
, "q" /* Flag null. */
, "vdd", "vss", NULL
);
.fi
.SH "SEE ALSO"
.PP
\fBGENLIB_MACRO\fR(3),
\fBgenlib\fR(1)