debian man page for dpgen_nor2mask

Query: dpgen_nor2mask

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
DPGEN_NOR2MASK - Programmable Mask Macro-Generator
SYNOPSIS
#include <genlib.h> void GENLIB_MACRO (DPGEN_NOR2MASK, char *modelname, long flags, long N, char *constVal);
DESCRIPTION
Generate a N bits conditionnal NOR 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 ORed 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 or X"0000FFFF") WHEN '1';
EXAMPLE
GENLIB_MACRO(DPGEN_NOR2MASK, "model_nor2mask_0000FFFF_32" , F_BEHAV|F_PLACE , 32 , "0x0000FFFF" /* A string! */ ); GENLIB_LOINS( "model_nor2mask_0000FFFF_32" , "instance1_nor2mask_32" , "cmd" , "i0[31:0]" , "q[31:0]" , "vdd", "vss", NULL );
SEE ALSO
GENLIB_MACRO(3), genlib(1)
ASIM
/LIP6 30 July 2004 DPGEN_NOR2MASK(3)
Related Man Pages
dpgen_adsb2f(3) - debian
dpgen_nor2mask(3) - debian
dpgen_rf1(3) - debian
dpgen_xnor2mask(3) - debian
genlib_losig(3) - debian
Similar Topics in the Unix Linux Community
Weird 'find' results
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections