DPGEN_SHIFT(3) | Alliance - genlib User's Manual | DPGEN_SHIFT(3) |
DPGEN_SHIFT - Shifter Macro-Generator
#include <genlib.h>
void GENLIB_MACRO (DPGEN_SHIFT, char *modelname, long flags, long N);
Generate a N bits shifter with name modelname.
How it works :
GENLIB_MACRO(DPGEN_SHIFT, "model_shift_32",
F_BEHAV|F_PLACE,
32); GENLIB_LOINS("model_shift_32",
"instance1_shift_32",
"op[1:0]",
"shamt[4:0]",
"x[31:0]",
"y[31:0]",
"vdd", "vss", NULL);
30 July 2004 | ASIM/LIP6 |