NAME¶
DPGEN_DFFT - Dynamic Flip-Flop with Scan-Path Macro-Generator
SYNOPSIS¶
#include <genlib.h>
void GENLIB_MACRO (DPGEN_DFFT, char * 
modelname, long
  flags, long N); 
DESCRIPTION¶
Generate a 
N bits dynamic flip-flop with scan-path named
  
modelname. The two latches of this flip-flop are dynamic, i.e. the data
  is stored in a capacitor.
How it works :
  - •
 
  - scan when set to '1' enables the scan-path mode. Note that in scan-path
      mode, the wen signal is not effective.
 
  - •
 
  - 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]).
 
  - •
 
  - wen when set to '1' enables the writing of the flip-flop.
 
TERMINAL NAMES¶
  - 1.
 
  - scan : scan-path mode (input, 1 bit).
 
  - 2.
 
  - scin : scan path in (input, 1 bit).
 
  - 3.
 
  - wen : write enable (input, 1 bit).
 
  - 4.
 
  - ck : clock signal (input, 1 bit).
 
  - 5.
 
  - i0 : data input (N bits).
 
  - 6.
 
  - q : output (N bits).
 
  - 7.
 
  - vdd : power.
 
  - 8.
 
  - vss : ground.
 
EXAMPLE¶
GENLIB_MACRO(DPGEN_DFFT, "model_dfft_32"
                       , F_BEHAV|F_PLACE
                       , 32
                       );
GENLIB_LOINS( "model_dfft_32"
            , "instance1_dfft_32"
            , "scan"
            , "scin"
            , "wen"
            , "ck"
            , "i0[31:0]"
            ,  "q[31:0]"  /* a[31] is "scout". */
            , "vdd", "vss", NULL
            );
    
SEE ALSO¶
GENLIB_MACRO(3), 
genlib(1)