viewph - display all the phfig_lists and their elements
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 viewph();
viewph scans all the elements of the entire phfig_list loaded in ram, and displays a textual output of the data strcuture contents. All the figures are treated, the first one beeing pointed to by HEAD_PHFIG, the global variable that points to the head of all phfigs. Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand.
#include <stdio.h>
#include mph402.h"
void view_all_to_file(name)
char *name;
{
FILE *file = freopen(name, WRITE_TEXT, stdout);
if (!file) {
(void)fputs("Can't reopen stdout!\n", stderr);
EXIT();
}
viewph(); /* to file called name */
(void)fclose(file);
}
mbk(1) , phfig(3) , view_phfig(3) , view_phins(3) , view_phseg(3) , view_phref(3) , view_phvia(3) , view_phfigcon(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.