1DPGEN_SFFT(3) Alliance - genlib User's Manual DPGEN_SFFT(3)
2
3
4
6 DPGEN_SFFT - Static Flip-Flop with Scan-Path Macro-Generator
7
9 #include <genlib.h>
10
11 void GENLIB_MACRO (DPGEN_SFFT, char *modelname, long flags, long N);
12
14 Generate a N bits static flip-flop with scan-path named modelname. The
15 two latches of this flip-flop are i.e. each one is made of two intert‐
16 ers looped togethers.
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_SFFT, "model_sfft_32"
49 , F_BEHAV|F_PLACE
50 , 32
51 );
52
53 GENLIB_LOINS( "model_sfft_32"
54 , "instance1_sfft_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_SFFT(3)