Scroll to navigation

GETPHINS(3) MBK PHYSICAL FUNCTIONS GETPHINS(3)

NAME

getphins - retrieve a physical instance

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

SYNOPSYS

#include "mph.h"
phins_list ∗getphins(ptfig, insname)
phfig_list ∗ptfig;
char ∗insname;

PARAMETERS

Pointer to the figure in which the instance should be seeked
Name of the instance

DESCRIPTION

getphins looks in the list of instances of the physical model pointed to by ptfig for a instance identified by its insname.

RETURN VALUE

getphins returns a pointer to the instance that matches the insname.

ERROR

"∗∗∗ mbk error ∗∗∗ illegal getphins instance insname doesn't exist in figure ptfig->NAME"

No instance is called insname in the figure.

EXAMPLE

#include "mph.h"
phins_list ∗exist(figname, insname)
char ∗figname, ∗insname;
{

return getphins(getphfig(figname), insname); }

SEE ALSO

mbk(1), phfig(3), phins(3), addphins(3), delphins(3).

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

October 1, 1997 ASIM/LIP6