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

NAME

6       GENLIB_SAVE_LOFIG - save a netlist on disk
7

SYNOPSIS

9       #include <genlib.h>
10       void GENLIB_SAVE_LOFIG();
11

DESCRIPTION

13       SAVE_LOFIG  saves  the  current working figure previously definded by a
14       DEF_LOFIG call. SAVE_LOFIG uses environment  variables  to  choose  the
15       file  format  and  the  path to the file.  MBK_OUT_LO set up the output
16       file format, the valid ones being :
17              hns
18              fne
19              al
20              alx
21       you could for example do :
22              setenv MBK_OUT_LO al
23       MBK_WORK_LIB set up the output file path. Any valid unix path is ok.
24       for example :
25              setenv MBK_WORK_LIB ~fred/booth/genlib
26       SAVE_LOFIG doesn't look on disk for the figure cellname, so be  careful
27       not to overwrite an existing file while saving.
28

ERROR

30       "GENLIB_SAVE_LOFIG impossible : missing GENLIB_DEF_LOFIG"
31              No  figure  has been yet specified by a call to DEF_LOFIG. So it
32              isn't possible to save anything. you must call DEF_LOFIG  before
33              any other netlist call.
34

EXAMPLE

36       #include <genlib.h>
37       main()
38       {
39            /∗ Create a figure to work on  ∗/
40            GENLIB_DEF_LOFIG("mycell");
41            /∗ define interface  ∗/
42            GENLIB_LOCON("i", INPUT, "sig1");
43            GENLIB_LOCON("o", OUTPUT, "sig2");
44            /∗ Place an instance ∗/
45            GENLIB_LOINS("model","instance", "sig1", "sig2", EOL);
46            /∗ Save all that on disk ∗/
47            GENLIB_SAVE_LOFIG();
48       }
49

SEE ALSO

51       genlib(1), GENLIB_DEF_LOFIG.3), MBK_OUT_LO(1), MBK_WORK_LIB(1).
52
53
54
55
56
57
58PROCEDURAL GENERATION LANGUAGE     ASIM/LIPG6ENLIB_SAVE_LOFIG.3(October 1, 1997)
Impressum