DPGEN_CONST(3) | Alliance - genlib User's Manual | DPGEN_CONST(3) |
DPGEN_CONST - Constant Macro-Generator
#include <genlib.h>
void GENLIB_MACRO (DPGEN_CONST, char *modelname, long flags, long N, char *constVal0);
Generate a N bits constant named modelname.
q <= constVal;
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
);
30 July 2004 | ASIM/LIP6 |