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

NAME

6       GENLIB_SAVE_PHFIG - save a layout on disk
7

SYNOPSIS

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

DESCRIPTION

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

ERROR

28       "GENLIB_SAVE_PHFIG impossible : missing GENLIB_DEF_PHFIG"
29              No figure has been yet specified by a call to DEF_PHFIG.  So  it
30              isn't  possible to save anything. you must call DEF_PHFIG before
31              any other layout action.
32

EXAMPLE

34       #include <genlib.h>
35       main()
36       {
37            /∗ Create a figure to work on  ∗/
38            GENLIB_DEF_PHFIG("mycell");
39            /∗ Place an instance ∗/
40            GENLIB_PLACE("mymodel","firstinstance", NOSYM,0L,0L);
41            /∗ Save all that on disk ∗/
42            GENLIB_SAVE_PHFIG();
43       }
44

SEE ALSO

46       genlib(1), GENLIB_SAVE_PHSC(3), MBK_OUT_PH(1), MBK_WORK_LIB(1).
47
48
49
50
51
52
53PROCEDURAL GENERATION LANGUAGE     ASIM/LIPG6ENLIB_SAVE_PHFIG.3(October 1, 1997)
Impressum