DPGEN_SFFT

Name

DPGEN_SFFT  --  Static Flip-Flop with Scan-Path Macro-Generator

Synopsis

#include  <genlib.h>

void GENLIB_MACRO(DPGEN_SFFT, char *modelname, long flags, long N);

Description

Generate a N bits static flip-flop with scan-path named modelname. The two latches of this flip-flop are i.e. each one is made of two interters looped togethers.

How it works :

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_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
            );
    

See Also

GENLIB_MACRO(3), genlib(1)