DPGEN_ADSB2F(3) | Alliance - genlib User's Manual | DPGEN_ADSB2F(3) |
DPGEN_ADSB2F - Adder/Substractor Macro-Generator
#include <genlib.h>
void GENLIB_MACRO (DPGEN_ADSB2F, char *modelname, long flags, long N);
Generate a N bits adder/substractor named modelname.
How it works :
GENLIB_MACRO(DPGEN_ADSB2F, "model_adsb2f_32"
, F_BEHAV|F_PLACE
, 32
); GENLIB_LOINS( "model_adsb2f_32"
, "instance1_adsb2f_32"
, "add_sub"
, "c32"
, "c31"
, "i1[31:0]"
, "i0[31:0]"
, "q[31:0]"
, "vdd", "vss", NULL
);
30 July 2004 | ASIM/LIP6 |