DPGEN_DFFT(3) | Alliance - genlib User's Manual | DPGEN_DFFT(3) |
DPGEN_DFFT - Dynamic Flip-Flop with Scan-Path Macro-Generator
#include <genlib.h>
void GENLIB_MACRO (DPGEN_DFFT, char *modelname, long flags, long N);
Generate a N bits dynamic flip-flop with scan-path named modelname. The two latches of this flip-flop are dynamic, i.e. the data is stored in a capacitor.
How it works :
The scout is q[N-1] (in the following example this is q[31]).
GENLIB_MACRO(DPGEN_DFFT, "model_dfft_32"
, F_BEHAV|F_PLACE
, 32
); GENLIB_LOINS( "model_dfft_32"
, "instance1_dfft_32"
, "scan"
, "scin"
, "wen"
, "ck"
, "i0[31:0]"
, "q[31:0]" /* a[31] is "scout". */
, "vdd", "vss", NULL
);
30 July 2004 | ASIM/LIP6 |