Table of Contents

Name

addlofig - create a new structural cell model

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Synopsys

#include mlo404.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 mlo404.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/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.