DOKK / manpages / debian 10 / alliance / DPGEN_SFF.3.en
DPGEN_SFF(3) Alliance - genlib User's Manual DPGEN_SFF(3)

DPGEN_SFF - Static Flip-Flop Macro-Generator

#include <genlib.h>

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

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

How it works :

wen when set to '1' enables the writing of the flip-flop.

1.
wen : write enable (1 bit).
2.
ck : clock signal (1 bit).
3.
i0 : data input (N bits).
4.
q : output (N bits).
5.
vdd : power.
6.
vss : ground.

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

GENLIB_MACRO(3), genlib(1)

30 July 2004 ASIM/LIP6