Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mphdebug(3) [debian man page]

MPHDEBUG(3)						  MBK PHYSICAL UTILITY FUNCTIONS					       MPHDEBUG(3)

NAME
mphdebug - physical data structure contents debug function ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite 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" void mphdebug(headpointer, structurename) void *headpointer; char *structurename; PARAMETER
headpointer Pointer to a structure to be displayed structurename Name of the structure to be explored DESCRIPTION
mphdebug allows a user interactive visualisation of the internal contents of the physical view of mbk. Through the use of a small, but convenient, textual user interface, a step by step exploration of each fields of the data structure is made available. However, if the structure is big, it may be painful to use. First of all, the contents of the expected struture is displayed, with its fields named as they appear in the appropriate header file. Then the user is prompted by a `>>' for an input. The input may be either a field name, or a predefined symbol. Field names are to be typed the way they are displayed. Predefined symbols are: _exit that quit the current debugging session. _up that comes back to the previous structure. _top returns to the root of the function invocation. _stop puts kind of a tag at the current position in the structure. It will be available later on to return to this position. _back returns to the previous _stop position. The debugger functions are easy to understand, so just try it! EXAMPLE
#include "mph.h" void scan_na2_y() { getphfig("na2_y", 'A'); mphdebug(HEAD_PHFIG, "phfig"); } SEE ALSO
mbk(1), phfig(3), phcon(3), phins(3), phvia(3), phref(3), mlodebug(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. ASIM
/LIP6 October 1, 1997 MPHDEBUG(3)

Check Out this Related Man Page

ADDPHVIA(3)						      MBK PHYSICAL FUNCTIONS						       ADDPHVIA(3)

NAME
addphvia - create a physical via ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite 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" phvia_list *addphvia(ptfig, viatype, x, y) phfig_list *ptfig; char viatype; long x, y; PARAMETERS
ptfig Pointer to the figure in which the via should be added viatype Contact type x, y Coordinates of the center of the via. DESCRIPTION
addphvia creates a new via whose center is at the given coordinates, and adds it to the list of vias pointed to by ptfig->PHVIA. The new via is added in front of the list, and becomes itself the list head. The parameters viatype, x and y fill respectivly the TYPE, XVIA and YVIA fields of the phvia structure. For a list of valid viatypes, and details on the structure, see phvia(3). RETURN VALUE
addphvia returns a pointer to the newly created via. ERRORS
"*** mbk error *** illegal addphvia viatype : viatype at x, y" The via type is not a predefined contact. For a list of legal via types, see phvia(3). EXAMPLE
#include "mph.h" phvia_list *via_dup(pfd, pfs) /* duplicate vias */ phfig_list *pfd, *pfs; { phvia_list *pv; for (pv = pfs->phvia; pv != NULL; pv = pv->NEXT) addphvia(pfd, pv->TYPE, ps->XVIA, ps->YVIA); return pfd->PHVIA; } SEE ALSO
mbk(1), phfig(3), phvia(3), delphvia(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. ASIM
/LIP6 October 1, 1997 ADDPHVIA(3)
Man Page