1DPGEN_DFFT(3) Alliance - genlib User's Manual DPGEN_DFFT(3)
2
3
4
6 DPGEN_DFFT - Dynamic Flip-Flop with Scan-Path Macro-Generator
7
9 #include <genlib.h>
10
11 void GENLIB_MACRO (DPGEN_DFFT, char *modelname, long flags, long N);
12
14 Generate a N bits dynamic flip-flop with scan-path named modelname. The
15 two latches of this flip-flop are dynamic, i.e. the data is stored in a
16 capacitor.
17
18 How it works :
19
20 · scan when set to '1' enables the scan-path mode. Note that in scan-
21 path mode, the wen signal is not effective.
22
23 · scin : the input of the scan-path. This terminal is different from
24 i0[0].
25
26 The scout is q[N-1] (in the following example this is q[31]).
27
28 · wen when set to '1' enables the writing of the flip-flop.
29
30 TERMINAL NAMES
31 1. scan : scan-path mode (input, 1 bit).
32
33 2. scin : scan path in (input, 1 bit).
34
35 3. wen : write enable (input, 1 bit).
36
37 4. ck : clock signal (input, 1 bit).
38
39 5. i0 : data input (N bits).
40
41 6. q : output (N bits).
42
43 7. vdd : power.
44
45 8. vss : ground.
46
48 GENLIB_MACRO(DPGEN_DFFT, "model_dfft_32"
49 , F_BEHAV|F_PLACE
50 , 32
51 );
52
53 GENLIB_LOINS( "model_dfft_32"
54 , "instance1_dfft_32"
55 , "scan"
56 , "scin"
57 , "wen"
58 , "ck"
59 , "i0[31:0]"
60 , "q[31:0]" /* a[31] is "scout". */
61 , "vdd", "vss", NULL
62 );
63
64
66 GENLIB_MACRO(3), genlib(1)
67
68
69
70ASIM/LIP6 30 July 2004 DPGEN_DFFT(3)