1GENLIB_DEF_PHFIG.3(October 1, 1997) GENLIB_DEF_PHFIG.3(October 1, 1997)
2
3
4
6 GENLIB_DEF_PHFIG - open a layout model as current figure
7
9 #include <genlib.h>
10 void GENLIB_DEF_PHFIG(cellname)
11 char ∗cellname;
12
14 cellname Name of the cell which all futher calls to genlib
15 physical functions will work on
16
18 DEF_PHFIG defines the current physical working figure by it's name, the
19 cellname argument. It can be use anywhere in the genlib program, but
20 must appear at least once at the top of it, since it also initialize
21 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_PHFIG doesn't look on disk for the figure cellname, so be careful
25 not to overwrite an existing file while saving later on.
26
28 #include <genlib.h>
29 main()
30 {
31 /∗ Create a figure to work on ∗/
32 GENLIB_DEF_PHFIG("mycell");
33 /∗ Place an instance ∗/
34 GENLIB_PLACE("mymodel","firstinstance", NOSYM,0L,0L);
35 /∗ Save all that on disk ∗/
36 GENLIB_SAVE_PHFIG();
37 }
38
40 genlib(1), GENLIB_DEF_PHSC(3).
41
42
43
44
45
46
47PROCEDURAL GENERATION LANGUAGE ASIM/LIP6GENLIB_DEF_PHFIG.3(October 1, 1997)