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_LOCON - Logical connector

Synopsys

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

void DP_LOCON(
char *aCon, /* Connector name */ char aDir, /* Direction of the connector */

char *aSig); /*
Internal signal name */

Arguments

aCon
Name of the connector to be created in the current figure.
aDir
Indicates the connector behavior regarding signal propagation. The available values are listed below, they are the same as in the genlib(1) description language :
-
IN : Input.
-
OUT : Output.
-
INOUT : Input/output.
-
UNKNOW : If one doesn't know what it is.
-
TRISTATE : High impedance output.
-
TRANSV : Transceiver, that means TRISTATE input plus output.
aSig
Name of the internal signal with which the connector is linked. For better understanding this name could by the same as given for aCon.

Description

DP_LOCON add a logical connector aCon to the interface of the actual working figure. This connector is logicaly linked to the signal aSig. All the DP_LOCON function calls must immediatly follow the DP_DEFLOFIG function call.

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 connectors declaration. */

DP_LOCON("pin_ctrl1
, IN , pin_ctrl1 );
DP_LOCON("bus_data1[31:0]", IN
, bus_data1[31:0]"); DP_LOCON("pin_data2[31] , OUT, pin_data2[31] );
DP_LOCON(BUS("bus_data3",31,0), IN
,BUS("bus_data2",31,0)); DP_LOCON(ELM("pin_data4",31 ) OUT,ELM("pin_data4",31 ));

/* 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.