Scroll to navigation

GENLIB_UNFLATTEN_LOFIG.3(October 1, 1997) GENLIB_UNFLATTEN_LOFIG.3(October 1, 1997)

NAME

UNFLATTEN_LOFIG - creates a hierarchy level from instances in the current logical figure

SYNOPSYS

#include <genlib.h>
void GENLIB_UNFLATTEN_LOFIG(figurename, instancename, list_of_instances, 0)
char ∗figurename;
char ∗instancename;
char ∗list_of_instances;

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

PARAMETERS

Name of the figure of the new hierarchy to be created
Name to be given at the instanciation of figurename into the current structual figure
List of strings representing the instances to be inserted into the new figure

DESCRIPTION

UNFLATTEN_LOFIG creates a new level of hierarchy, whose model name will be figurename, and instanciate it under the name instancename in the current figure. The instances whose name belong to the list_of_instances parameters are added in the new figure, and destroyed from the current figure.

EXAMPLE

#include <genlib.h>
main()
{
	/∗ Create a figure to work on  ∗/
	GENLIB_DEF_LOFIG("mycell");
	.
	.
	.
	/∗ Place an instance ∗/
	GENLIB_LOINS("model","instance", "sig1", "sig2", EOL);
	/∗ flatten an instance ∗/
	GENLIB_UNFLATTEN_LOFIG("newfig", "newins", "instance", ..., 0);
	/∗ Save all that on disk ∗/
	GENLIB_SAVE_LOFIG();
}

SEE ALSO

genlib(1), GENLIB_FLATTEN_LOFIG(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 PROCEDURAL GENERATION LANGUAGE