![]() |
![]()
| ![]() |
![]()
NAMEDPGEN_NAND2MASK - Programmable Mask Macro-Generator SYNOPSIS#include <genlib.h> void GENLIB_MACRO (DPGEN_NAND2MASK, char *modelname, long flags, long N, char *constVal); DESCRIPTIONGenerate a N bits conditionnal NAND mask named modelname. How it works :
The constant constVal is given to the macro-generator call, therefore the value cannot be changed afterward : it's hard wired in the operator. A common error is to give a real C constant for the constVal argument. Be aware that it is a character string. TERMINAL NAMES
BEHAVIORnq <= WITH cmd SELECT not(i0) WHEN '0', EXAMPLEGENLIB_MACRO(DPGEN_NAND2MASK, "model_nand2mask_0000FFFF_32" SEE ALSOGENLIB_MACRO(3), genlib(1)
|