Table of Contents

Name

flatenphfig - flatten a instance in a figure

Origin

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

Synopsys

#include mph403.h"
void flatenphfig(ptfig, insname, concat) phfig_list *ptfig;
char *insname;
char concat;

Parameters

ptfig
Pointer to a physical figure
insname
Name of the instance to be flattened
concat
Name generation mode

Description

flatenphfig flattens the instance called insname in the figure pointed to by ptfig. Flattening means incorporating the contents of the instance in the figure and removing it from its instance list. the concat argument can take either the value YES in which case the name of the object comming from the instance are named insname'X'objectname, where `X' is the caracter set int the MBK_SEPAR(1) environment variable, or the value NO, and then the object name remains inchanged. This is quite dangerous since name unicity is no more warrantied, and may cause the flatten to fail. See MBK_SEPAR(1) , mbkenv(3) and concatname(3) for details.

Errors

No errors can directly result from a call to flatenphfig, but since it uses many other mbk functions, it may be an error starting point.

Example

#include mph403.h"
void flatten_na2_y_s(ptfig)
phfig_list *ptfig;
{
phins_list *pt;
for (pt = ptfig->PHINS; pt; pt = pt->NEXT) /* scan instance list */

if (!strcmp(pt->FIGNAME, na2_y"))
flatenphfig(ptfig, pt->INSNAME, NO); }

See Also

mbk(1) , mbkenv(3) , phfig(3) , addphfig(3) , getphfig(3) , delphfig(3) , loadphfig(3) , savephfig(3) , rflatenphfig(3) , MBK_SEPAR(1) .

Bug Report

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.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.