addphref - create a physical reference
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"
phref_list *addphref(ptfig, type, name, x, y)
phfig_list *ptfig;
char *type;
char *name;
long x, y;
addphref creates a new reference whose center is at the given coordinates, and adds it to the list of references pointed to by ptfig->PHREF. The new reference is added in front of the list, and becomes itself the list head. The parameters type, name, x and y fill respectivly the FIGNAME, NAME, XREF and YREF fields of the phref structure. The types may have any value, but only two type are now recognized by tools based upon mbk :
For details on the structure, see phref(3) .
addphref returns a pointer to the newly created reference.
#include mph402.h"
phref_list *ref_dup(pfd, pfs) /* duplicate refs */
phfig_list *pfd, *pfs;
{
phref_list *pr;
for (pr = pfs->phref; pr != NULL; pr = pr->NEXT)
addphref(pfd, pr->FIGNAME, pr->NAME, pr->XREF, pr->YREF);
return pfd->PHREF;
}
mbk(1) , phfig(3) , phref(3) , getphref(3) , delphref(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.