instanceface - returns the face of a connector in a placed instance
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
#include mph403.h"
void *instanceface(modelface, symmetry)
char modelface, symmetry;
instanceface determines the orientation of a connector in an instance of its model.
#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);
}
}
mbk(1) , phcon(3) , phfig(3) , phins(3) .
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.