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