Table of Contents

Name

instanceface - returns the face of a connector in a placed instance

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 mph403.h"
void *instanceface(modelface, symmetry)
char modelface, symmetry;

Parameters

modelface
Face of a connector in its figure.
symmetry
Geometrical operation applied to the instanciation of the figure.

Description

instanceface determines the orientation of a connector in an instance of its model.

Example

#include mph403.h"
char channelFace(channelDir, i, c)
char channelDir;
phins_list *i;
phcon_list *c;
{
if (channelDir == VER)
switch (instanceface(c->ORIENT, i->TRANSF)) { case EAST :
return WEST;
case WEST :
return EAST;
default :
return instanceface(c->ORIENT, i->TRANSF); }
else
switch (instanceface(c->ORIENT, i->TRANSF)) { case NORTH :
return SOUTH;
case SOUTH :
return NORTH;

default :
return instanceface(c->ORIENT, i->TRANSF); }
}

See Also

mbk(1) , phcon(3) , phfig(3) , phins(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.