GENLIB_LOAD_LOFIG.3alc man page

GENLIB_LOAD_LOFIG

GENLIB_LOAD_LOFIG — loads a netlist form disk and opens it as current figure

Synopsis

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

Parameters

cellname

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

Description

LOAD_LOFIG loads a netlist from disk and defines it as current working structural figure.  This overrides the working figure initialized by DEF_LOFIG(3), if any. So the next call to SAVE_LOFIG will save the cell called cellname.

Example

#include <genlib.h>
main()
{
	/∗ Loads the figure to work on  ∗/
	GENLIB_LOAD_LOFIG("cell");
	/∗ Add an instance in cell ∗/
	GENLIB_LOINS("model","instance", "sig1", "sig2", "sig3", "vdd", "vss", EOL);
	/∗ Save all that on disk ∗/
	GENLIB_SAVE_LOFIG();
}

See Also

genlib(1), GENLIB_DEF_LOFIG(3). GENLIB_SAVE_LOFIG(3).

Info

ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE