Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpgen_fifo(3) [debian man page]

DPGEN_FIFO(3)						  Alliance - genlib User's Manual					     DPGEN_FIFO(3)

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 : o datain0 and datain1 : the two write busses. Only one is used to actually write the FIFO, it is selected by the sel signal. o sel : when set to '0' the datain0 is used to write the register word, otherwise it will be datain1. o r, rok : set r when a word is requested, rok tells that a word has effectively been popped (rok == not empty). o w, wok : set w when a word is pushed, wok tells that the word has effectively been pushed (wok == not full). TERMINAL NAMES 1. ck : clock signal (input, 1 bit). 2. reset : reset signal (input, 1 bit). 3. r : read requested (input, 1 bits). 4. w : write requested (input, 1 bits). 5. rok : read acknowledge (output, 1 bits). 6. wok : write acknowledge (output, 1 bits). 7. sel : select the write bus (input, 1 bit). 8. datain0 : first write bus (input, N bits). 9. datain1 : second write bus (input, N bits). 10. dataout : read bus (output, N bits). 11. vdd : power. 12. 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) ASIM
/LIP6 30 July 2004 DPGEN_FIFO(3)

Check Out this Related Man Page

DPGEN_NAND2MASK(3)					  Alliance - genlib User's Manual					DPGEN_NAND2MASK(3)

NAME
DPGEN_NAND2MASK - Programmable Mask Macro-Generator SYNOPSIS
#include <genlib.h> void GENLIB_MACRO (DPGEN_NAND2MASK, char *modelname, long flags, long N, char *constVal); DESCRIPTION
Generate a N bits conditionnal NAND mask named modelname. How it works : o if the cmd signal is set to '0', the mask is NOT applied, so the whole operator behave like an inverter. o if the cmd signal is set to '1', the mask IS applied, the output is the complemented result of the input value ANDed with the mask (suplied by constVal). The constant constVal is given to the macro-generator call, therefore the value cannot be changed afterward : it's hard wired in the opera- tor. A common error is to give a real C constant for the constVal argument. Be aware that it is a character string. TERMINAL NAMES 1. cmd : mask control (1 bit). 2. i0 : input (N bits). 3. q : output (N bits). 4. vdd : power. 5. vss : ground. BEHAVIOR nq <= WITH cmd SELECT not(i0) WHEN '0', not(i0 and X"0000FFFF") WHEN '1'; EXAMPLE
GENLIB_MACRO(DPGEN_NAND2MASK, "model_nand2mask_0000FFFF_32" , F_BEHAV|F_PLACE , 32 , "0x0000FFFF" /* A string! */ ); GENLIB_LOINS( "model_nand2mask_0000FFFF_32" , "instance1_nand2mask_32" , "cmd" , "i0[31:0]" , "q[31:0]" , "vdd", "vss", NULL ); SEE ALSO
GENLIB_MACRO(3), genlib(1) ASIM
/LIP6 30 July 2004 DPGEN_NAND2MASK(3)
Man Page