.\" 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_SFFT" "3" "30 July 2004" "ASIM/LIP6" "Alliance - genlib User's Manual" .SH NAME DPGEN_SFFT \- Static Flip-Flop with Scan-Path Macro-Generator .SH SYNOPSIS .sp \fB#include .sp void GENLIB_MACRO (DPGEN_SFFT, char *\fImodelname\fB, long \fIflags\fB, long \fIN\fB); \fR .SH "DESCRIPTION" .PP Generate a \fIN\fR bits static flip-flop with scan-path named \fImodelname\fR\&. The two latches of this flip-flop are i.e. each one is made of two interters looped togethers. .PP How it works : .TP 0.2i \(bu scan when set to \&'1' enables the scan-path mode. Note that in scan-path mode, the wen signal is not effective. .TP 0.2i \(bu scin : the input of the scan-path. This terminal is different from i0[0]\&. The scout is q[N-1] (in the following example this is q[31]). .TP 0.2i \(bu wen when set to \&'1' enables the writing of the flip-flop. .SS "TERMINAL NAMES" .TP 3 1. scan : scan-path mode (input, 1 bit). .TP 3 2. scin : scan path in (input, 1 bit). .TP 3 3. wen : write enable (input, 1 bit). .TP 3 4. ck : clock signal (input, 1 bit). .TP 3 5. i0 : data input (\fIN\fR bits). .TP 3 6. q : output (\fIN\fR bits). .TP 3 7. vdd : power. .TP 3 8. vss : ground. .SH "EXAMPLE" .PP .nf GENLIB_MACRO(DPGEN_SFFT, "model_sfft_32" , F_BEHAV|F_PLACE , 32 ); GENLIB_LOINS( "model_sfft_32" , "instance1_sfft_32" , "scan" , "scin" , "wen" , "ck" , "i0[31:0]" , "q[31:0]" /* a[31] is "scout". */ , "vdd", "vss", NULL ); .fi .SH "SEE ALSO" .PP \fBGENLIB_MACRO\fR(3), \fBgenlib\fR(1)