genlib_load_phfig(3) - Linux man page

Name

PHAD_PHFIG - loads a layout form disk and opens it as current figure

Synopsys

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

Parameters

cellname

Name of the cell which all futher calls to genlib layout functions will work on

Description

PHAD_PHFIG loads a physical view from disk and defines it as current working layout figure. This overrides the working figure initialized by DEF_PHFIG(3), if any. So the next call to SAVE_PHFIG will save the cell called cellname.

Example

#include <genlib.h>
main()
{
/∗ Loads the figure to work on ∗/

GENLIB_LOAD_PHFIG("cell");

/∗ Add an instance in cell ∗/

GENLIB_PLACE("model","instance", NOSYM, 200, 600);

/∗ Save all that on disk ∗/

GENLIB_SAVE_PHFIG();

}

See Also

genlib(1), genlib_def_phfig(3). genlib_save_phfig(3).