DPGEN_NUL(3) | Alliance - genlib User's Manual | DPGEN_NUL(3) |
DPGEN_NUL - Zero Detector Macro-Generator
#include <genlib.h>
void GENLIB_MACRO (DPGEN_NUL, char *modelname, long flags, long N);
Generate a N bits zero detector named modelname.
q <= <= '1' WHEN (i0 = X"00000000") ELSE '0';
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
);
30 July 2004 | ASIM/LIP6 |