xyflat - compute hierarchical coordinates
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 mph402.h"
void xyflat(xout, yout, x, y, xins, yins, x1, y1, x2, y2, trsf)
long *xout, *yout;
long x, y;
long xins, yins;
long x1, y1, x2, y2;
char trsf;
xyflat computes coordinates relative to a model of instance in order to
give them in figure coordinates, taking care of the transformation performed
on the instance.
This function is very useful when flattening, or getting coordinates of an
object belonging to an istance at figure level.
Care must be taken that the x1, y1, x2, y2 parameters are not the current
figure abutment box coordinates, but the instance model abutment box coordinates.
#include mph402.h"
long GET_CON_X(insname, conname, index)
char *insname, *conname;
long index;
{
phfig_list *ptfig; /* pointer on model of instance called insname */
phins_list *ptins; /* pointer on instance called insname */
phcon_list *ptcon; /* pointer on the conname called con inside ptins */
long x_con, y_con; /* return values, y_con here for beauty */
ptins = getphins(WORK_PHFIG, insname);
ptfig = getphfig(ptins->FIGNAME, `P');
ptcon = getphcon(ptfig, conname, index);
xyflat(&x_con, &y_con, ptcon->XCON, ptcon->YCON,
ptins->XINS, ptins->YIINS,
ptfig->XAB1, ptfig->YAB1, ptfig->XAB2, ptfig->YAB2,
ptins->TRANSF);
return x_con;
}
mbk(1) , 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.