Table of Contents

Name

guessextdir - guess external connectors directions from internal connectors directions

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

Synopsys

#include mlo412.h"
int guessextdir(ptfig)
lofig_list *ptfig;

Parameter

ptfig
Pointer to a lofig_list

Description

The guessextdir function guesses external connectors directions from internal connectors' ones. The translation table below indicates the resulting direction for two internals connectors.

IN
OUT INOUT UNKNOWN TRISTATE TRANSCV
IN
IN INOUT INOUT IN TRANSCV TRANSCV
OUT
INOUT OUT+ INOUT+ OUT OUT+ TRANSCV+ INOUT INOUT INOUT+ INOUT+ INOUT INOUT+ INOUT+ UNKNOWN IN OUT INOUT UNKNOWN TRISTATE TRANSCV
TRISTATE TRANSCV OUT+
INOUT+ TRISTATE TRISTATE TRANSCV TRANSCV TRANSCV TRANSCV+ INOUT+ TRANSCV TRANSCV TRANSCV

Return Value

guessextdir returns 1 on success, 0 if there is an error in the translation.

Error

The values followed by a + character in the translation table indicate an error.

Example

#include mut412.h"
#include mlo412.h"
lofig_list * getgoodlofig(figname, mode) char *figname;
char mode;
{
lofig_list *ptfig;

ptfig = getlofig(figname, mode);
restorealldir(ptfig) ;
guessextdir(ptfig) ;
return ptfig;
}

See Also

mbk(1) , lofig(3) , locon(3) , getlofig(3) , restorealldir(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.