1GENLIB_DEF_LOFIG.3(October 1, 1997)        GENLIB_DEF_LOFIG.3(October 1, 1997)
2
3
4

NAME

6       GENLIB_DEF_LOFIG - open a netlist model as current figure
7

SYNOPSIS

9       #include <genlib.h>
10       void GENLIB_DEF_LOFIG(cellname)
11       char ∗cellname;
12

PARAMETERS

14       cellname            Name  of  the cell which all futher calls to genlib
15                           logical functions will work on
16

DESCRIPTION

18       DEF_LOFIG defines the current working structural figure by  it's  name,
19       the  cellname  argument.  It can be use anywhere in the genlib program,
20       but must appear at least once at the top of it, since it also  initial‐
21       ize the user's preferences through environment variables.
22       If  the figure called cellname doesn't exists in memory, it is created.
23       If it already exists in memory, it makes it the current working figure.
24       DEF_LOFIG  doesn't  look on disk for the figure cellname, so be careful
25       not to overwrite an existing file while saving later on.
26

EXAMPLE

28       #include <genlib.h>
29       main()
30       {
31            /∗ Create a figure to work on  ∗/
32            GENLIB_DEF_LOFIG("cell");
33            /∗ Place an instance ∗/
34            GENLIB_LOINS("model","instance", "sig1", "sig2", "sig3", "vdd", "vss", EOL);
35            /∗ Save all that on disk ∗/
36            GENLIB_SAVE_LOFIG();
37       }
38

SEE ALSO

40       genlib(1), GENLIB_SAVE_LOFIG(3).
41
42
43
44
45
46
47PROCEDURAL GENERATION LANGUAGE     ASIM/LIP6GENLIB_DEF_LOFIG.3(October 1, 1997)
Impressum