Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

genlib_set_loself(3) [debian man page]

GENLIB_SET_LOSELF(3)					       MBK LOGICAL FUNCTIONS					      GENLIB_SET_LOSELF(3)

NAME
GENLIB_SET_LOSELF - set the inductance value of a logical inductor, after its creation. 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" void GENLIB_SET_LOSELF(figname,selfname,newself) char *figname ; char *selfname ; double newself ; PARAMETERS
figname Name of the logical figure selfname Instance name of the inductor newself New inductance value DESCRIPTION
GENLIB_SET_LOSELF looks in the list of inductors of the logical model figname for a inductor identified by its instance selfname and set the SELF field to the newself value. RETURN VALUE
None ERRORS
"*** mbk error *** getloself impossible : inductor name doesn't exist in figure ptfig -> NAME" No inductor matches the name. EXAMPLE
#include <genlib.h> int main(int argc,char *argv[]) { /* Create a figure to work on, a parallel inductor */ GENLIB_DEF_LOFIG("parallel_self") ; /* Define interface */ GENLIB_LOCON("i",IN,"input") ; GENLIB_LOCON("f",OUT,"output") ; /* Add inductors */ GENLIB_LOSELF(SELFMIM,5.1,"input","output","self1") ; GENLIB_LOSELF(SELFMIM,5.2,"input","output","self2") ; /* Modify inductors value */ GENLIB_SET_LOSELF("parallel_self","self1",6.2) ; GENLIB_SET_LOSELF("parallel_self","self2",6.3) ; /* Save all that on disk */ GENLIB_SAVE_LOFIG() ; return 0 ; } SEE ALSO
mbk(1), GENLIB_DEF_LOFIG(3), GENLIB_LOSELF(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 August 14, 2002 GENLIB_SET_LOSELF(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