.\" 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_DFF" "3" "30 July 2004" "ASIM/LIP6" "Alliance - genlib User's Manual" .SH NAME DPGEN_DFF \- Dynamic Flip-Flop Macro-Generator .SH SYNOPSIS .sp \fB#include .sp void GENLIB_MACRO (DPGEN_DFF, char *\fImodelname\fB, long \fIflags\fB, long \fIN\fB); \fR .SH "DESCRIPTION" .PP Generate a \fIN\fR bits dynamic flip-flop named \fImodelname\fR\&. The two latches of this flip-flop are dynamic, i.e. the data is stored in a capacitor. .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_DFF, "model_dff_32" , F_BEHAV|F_PLACE , 32 ); GENLIB_LOINS( "model_dff_32" , "instance1_dff_32" , "wen" , "ck" , "i0[31:0]" , "q[31:0]" , "vdd", "vss", NULL ); .fi .SH "SEE ALSO" .PP \fBGENLIB_MACRO\fR(3), \fBgenlib\fR(1)