Table of Contents

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Name

DP_DEFLOFIG - Open a new Data-Path figure/model.

Synopsys

#include <fpgen.h>

void DP_DEFLOFIG(
char *aFigName , /* Figure/model name */ long aMaxWidth, /* Maximal operator bus wide */ long aMSB0 ); /* Select the type of bus indexation */

Arguments

aFiglNameGive the data-path model name.

aMaxWidthSet the maximal width of the operators bus. This is also the width used when a macro-function is called width the argument DEFAULT_WIDTH as the Width parameter.

aMSB0
Tells how the buses will be indexed. Two values are allowed :
-
LSB_INDEX_ZERO : The least significant bit have the index of zero. (so bus are noted [MaxWidth-1:0])
-
MSB_INDEX_ZERO : The most significant bit have the index of zero. (so bus are noted [0:MaxWidth-1]) Notice that, in the layout, the LSB is always on the slice numdered zero.

Description

DP_DEFLOFIG define the current working data-path. The call to this function must be done before to use any other fpgen macro-function. It doesn't look on the disk for the figure ModelName, so be careful to not overwrite an existing file while saving later on.

Example

#include <genlib.h>
#include <fpgen.h>

main() {
/* Create a new data-path figure names my_sweet_data_path". */ DP_DEFLOFIG("my_sweet_data_path", 32, LSB_INDEX_ZERO);

/* Data-path netlist description, using macro-functions. */

/* Save the model on disk. */
DP_SAVLOFIG();
}

See Also

fpgen(1) , dpr(1) , genlib(1) , mbk(1) , DP_DEFLOFIG(3) , DP_SAVLOFIG(3) , DP_LOCON(3) , DP_IMPORT(3) , DP_INV(3) , DP_BUSE(3) , DP_AND2(3) , DP_NAND2(3) , DP_AND3(3) , DP_NAND3(3) , DP_OR2(3) , DP_NOR2(3) , DP_OR3(3) , DP_NOR3(3) , DP_XOR2(3) , DP_XNOR2(3) , DP_NAND2MASK(3) , DP_NOR2MASK(3) , DP_XNOR2MASK(3) , DP_CONST(3) , DP_NMUX2CS(3) , DP_MUX2CS(3) , DP_MUX3CS(3) , DP_MUX4CS(3) , DP_MUX5CS(3) , DP_BUSE(3) , DP_NBUSE(3) , DP_ADD2F(3) , DP_ADSB2F(3) , DP_SHIFT(3) , DP_MULT(3) , DP_MULTP(3) , DP_NUL(3) , DP_PDFF(3) , DP_PDFFR(3) , DP_PDFFT(3) , DP_PDFFRT(3) , DP_RFG1C0(3) , DP_RFG1CC(3) , DP_RFG2C0(3) , DP_RFG2CC(3) ,

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.