Table of Contents

Name

restorealldir - restore all instances' 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 restorealldir(ptfig)
lofig_list *ptfig;

Parameter

ptfig
Pointer to a lofig_list

Description

The restorealldir function restores the directions of all the connectors of the instances. Each instance model logical view is loaded, and the restoredirvbe function applied. If a model doesn't have a vbe file on the path, the restorealldir and guessextdir functions are used on the model. It is the charge of the user to delete the models loaded in memory for the function purpose.

Return Value

restorealldir returns 1 on success, 0 if there is an error while reading the vbe file.

Error

restorealldir cannot give any errors, but the function use restoredirvbe that can give errors reading vbe files. see restoredirvbe for details.

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) ;
return ptfig;
}

See Also

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