.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DPGEN_SFF" "3" "30 July 2004" "ASIM/LIP6" "Alliance - genlib User's Manual" .SH NAME DPGEN_SFF \- Static Flip-Flop Macro-Generator .SH SYNOPSIS .sp \fB#include .sp void GENLIB_MACRO (DPGEN_SFF, char *\fImodelname\fB, long \fIflags\fB, long \fIN\fB); \fR .SH "DESCRIPTION" .PP Generate a \fIN\fR bits static flip-flop named \fImodelname\fR\&. The two latches of this flip-flop are static, i.e. each one is made of two interters looped togethers. .PP How it works : .TP 0.2i \(bu wen when set to \&'1' enables the writing of the flip-flop. .SS "TERMINAL NAMES" .TP 3 1. wen : write enable (1 bit). .TP 3 2. ck : clock signal (1 bit). .TP 3 3. i0 : data input (\fIN\fR bits). .TP 3 4. q : output (\fIN\fR bits). .TP 3 5. vdd : power. .TP 3 6. vss : ground. .SH "EXAMPLE" .PP .nf GENLIB_MACRO(DPGEN_SFF, "model_sff_32" , F_BEHAV|F_PLACE , 32 ); GENLIB_LOINS( "model_sff_32" , "instance1_sff_32" , "wen" , "ck" , "i0[31:0]" , "q[31:0]" , "vdd", "vss", NULL ); .fi .SH "SEE ALSO" .PP \fBGENLIB_MACRO\fR(3), \fBgenlib\fR(1)