dpgen_nbuse(3) - Linux man page
Name
DPGEN_NBUSE - Tristate Macro-GeneratorSynopsis
#include <genlib.h>
void GENLIB_MACRO (DPGEN_NBUSE, char *modelname, long flags, long N);
Description
Generate a N bits two inputs tristate with a complemented output named modelname.
Terminal Names
- ..
- cmd : select (1 bit)..
- i0 : input (N bits)..
- nq : output (N bits)..
- vdd : power.
- vss : ground.
Behavior
nts:BLOCK(cmd = '1') BEGIN
nq <= GUARDED not(i0);
END
Example
GENLIB_MACRO(DPGEN_NBUSE, "model_nbuse_32"
, F_BEHAV|F_PLACE
, 32
);
GENLIB_LOINS( "model_nbuse_32"
, "instance1_nbuse_32"
, "cmd"
, "i0[31:0]"
, "nq[31:0]"
, "vdd", "vss", NULL
);
See Also
genlib_macro(3), genlib(1)