getphins3
Retrieve a physical instance
Synopsys
#include "mph.h" phins_list ∗getphins(ptfig, insname) phfig_list ∗ptfig; char ∗insname;
Parameters
ptfig
|
Pointer to the figure in which the instance should be seeked |
|---|---|
insname
|
Name of the instance |
Overview
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.
Examples
#include "mph.h"
phins_list ∗exist(figname, insname)
char ∗figname, ∗insname;
{
return getphins(getphfig(figname), insname);
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.