Scroll to navigation

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

NAME

GENLIB_DEF_PHFIG - open a layout model as current figure

SYNOPSYS

#include <genlib.h>
void GENLIB_DEF_PHFIG(cellname)
char ∗cellname;

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 cell which all futher calls to genlib physical functions will work on

DESCRIPTION

DEF_PHFIG defines the current physical working figure by it's name, the cellname argument. It can be use anywhere in the genlib program, but must appear at least once at the top of it, since it also initalize the user's preferences through environment variables.
If the figure called cellname doesn't exists in memory, it is created. If it already exists in memory, it makes it the current working figure. DEF_PHFIG doesn't look on disk for the figure cellname, so be careful not to overwrite an existing file while saving later on.

EXAMPLE

#include <genlib.h>
main()
{
	/∗ Create a figure to work on  ∗/
	GENLIB_DEF_PHFIG("mycell");
	/∗ Place an instance ∗/
	GENLIB_PLACE("mymodel","firstinstance", NOSYM,0L,0L);
	/∗ Save all that on disk ∗/
	GENLIB_SAVE_PHFIG();
}

SEE ALSO

genlib(1), GENLIB_DEF_PHSC(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