Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

addlomodel(3) [debian man page]

ADDLOMODEL(3)						       MBK LOGICAL FUNCTIONS						     ADDLOMODEL(3)

NAME
addlomodel - create a tempotary logical model and add it to a list ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "mlo.h" lofig_list *addlomodel(model, name) lofig_list *model; char *name; PARAMETERS
model Pointer to the head of a model list name Name of the model to be created DESCRIPTION
addlomodel creates a new lofig_list element and adds it to the front of the list pointed to by model, and becomes itself the list head. The addlomodel function is mosty used to create a temporary list of lofig in order to represent the "in file" instances' models. In fact, all the file format used with mbk have the notion of models local to files, so they are not figure, but are temporarly used to create instance connectors, for example. For details on the structure, see lofig(3). RETURN VALUE
addlomodel returns a pointer to the new head of model list. ERROR
"*** mbk error *** addlomodel impossible : model name already exists" The model, not the figure, is already present in the model list pointed to by model, and since a model should be unique, this can't be. EXAMPLE
#include "mut.h" #include "mlo.h" void add_model(name) char *name; { MODEL = addlomodel(MODEL, name); } SEE ALSO
mbk(1), lofig(3), getlomodel(3), freelomodel(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 October 1, 1997 ADDLOMODEL(3)

Check Out this Related Man Page

ADDLOFIG(3)						       MBK LOGICAL FUNCTIONS						       ADDLOFIG(3)

NAME
addlofig - create a new structural cell model ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "mlo.h" lofig_list *addlofig(figname) char *figname; PARAMETER
figname Name of the figure to be created DESCRIPTION
addlofig creates a new figure called figname and adds it to the list of figure in memory. The new figure is added in front of the list, and becomes itself the list head. No check is performed to see if a figure with the figname exists on disk. If it is the case, the preexisting file will be erased while saving. The fields LOCON, LOINS, LOSIG, BKSIG, LOPAR LOTRS and USER are set to NULL. The field MODE is set to 'A'. The field NEXT points to the previous head of list. RETURN VALUE
addlofig returns a pointer to the newly created figure. ERRORS
"*** mbk error *** illegal addlofig figure figname already exists" There is already a logical figure called figname in memory, so it's impossible to give this name to a cell to be created. EXAMPLE
#include "mlo.h" lofig_list *get_the_fig(name) char *name; { lofig_list *pt, *fill_fig(/* lofig_list * */); /* scan figure list */ for (pt = HEAD_LOFIG; pt; pt = pt->NEXT) if (!strcmp(pt->NAME, figname)) break; return pt ? pt : fill_fig(addlofig(figname)); } SEE ALSO
mbk(1), lofig(3), getlofig(3), dellofig(3), loadlofig(3), savelofig(3), flattenlofig(3), rflattenlofig(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 October 1, 1997 ADDLOFIG(3)
Man Page