1DPGEN_DFF(3) Alliance - genlib User's Manual DPGEN_DFF(3)
2
3
4
6 DPGEN_DFF - Dynamic Flip-Flop Macro-Generator
7
9 #include <genlib.h>
10
11 void GENLIB_MACRO (DPGEN_DFF, char *modelname, long flags, long N);
12
14 Generate a N bits dynamic flip-flop named modelname. The two latches
15 of this flip-flop are dynamic, i.e. the data is stored in a capacitor.
16
17 How it works :
18
19 ยท wen when set to '1' enables the writing of the flip-flop.
20
21 TERMINAL NAMES
22 1. wen : write enable (1 bit).
23
24 2. ck : clock signal (1 bit).
25
26 3. i0 : data input (N bits).
27
28 4. q : output (N bits).
29
30 5. vdd : power.
31
32 6. vss : ground.
33
35 GENLIB_MACRO(DPGEN_DFF, "model_dff_32"
36 , F_BEHAV|F_PLACE
37 , 32
38 );
39
40 GENLIB_LOINS( "model_dff_32"
41 , "instance1_dff_32"
42 , "wen"
43 , "ck"
44 , "i0[31:0]"
45 , "q[31:0]"
46 , "vdd", "vss", NULL
47 );
48
49
51 GENLIB_MACRO(3), genlib(1)
52
53
54
55ASIM/LIP6 30 July 2004 DPGEN_DFF(3)