Table of Contents

Name

FLATTEN_LOFIG - flatten an instance in the current netlist figure

Synopsys

#include <genlib.h>
void FLATTEN_LOFIG(insname,concat)
char *insname;
char concat;

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

Parameters

insname
Name of the instance to be flattened
concat
Indicate whether or not to concatenate instance name to instance' objects name

Description

FLATTEN_LOFIG inserts the contents of an instance, but its connectors, in the current figure, and then destroys the instance. The concat parameter may take two values:

YES
to concatenate object name with instance names.
NO
to copy object names.

In most case, the concat value must be YES, in order to warranty the unicity of names in the figure. It may otherwise fail, because the function would try to add in the current figure some object with an already existing name.

Example

#include <genlib.h>
main()
{
/* Create a figure to work on */ DEF_LOFIG("mycell");
.
.
.
/* Place an instance */
LOINS("model","instance", sig1", sig2", EOL); /* flatten an instance */
FLATTEN_LOFIG("instance", YES);
/* Save all that on disk */
SAVE_LOFIG();
}

See Also

genlib(1) , UNFLATTEN_LOFIG(3) . LOINS(3) .

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.