dpgen_fifo(3) - Linux man page

Name

DPGEN_FIFO - FIFO Macro-Generator

Synopsis

#include <genlib.h>

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

Description

Generate a FIFO of regNumber words of N bits named modelname.

How it works :

Terminal Names

  1. ..
  2. ck : clock signal (input, 1 bit)..
  3. reset : reset signal (input, 1 bit)..
  4. r : read requested (input, 1 bits)..
  5. w : write requested (input, 1 bits)..
  6. rok : read acknowledge (output, 1 bits)..
  7. wok : write acknowledge (output, 1 bits)..
  8. sel : select the write bus (input, 1 bit)..
  9. datain0 : first write bus (input, N bits)..
  10. datain1 : second write bus (input, N bits)..
  11. dataout : read bus (output, N bits)..
  12. vdd : power.
  13. vss : ground.

Example

GENLIB_MACRO(DPGEN_RF1, "model_fifox8_32"
                      , F_BEHAV|F_PLACE
                      , 32  /* Words size.      */
                      , 8   /* Number of words. */
                      );
GENLIB_LOINS( "model_fifox8_32"
            , "instance1_fifo1_32"
            , "ck"
            , "r"
            , "w"
            , "rok"
            , "wok"
            , "sel"
            , "datain0[31:0]"
            , "datain1[31:0]"
            , "dataout[31:0]"
            , "vdd", "vss", NULL
            );

See Also

genlib_macro(3), genlib(1)