1GENLIB_FLATTEN_ALL_PHINS.3(October 1G,EN1L9I9B7_)FLATTEN_ALL_PHINS.3(October 1, 1997)
2
3
4

NAME

6       GENLIB_FLATTEN_ALL_PHINS  - flatten all instances in the current layout
7       figure
8

SYNOPSIS

10       #include <genlib.h>
11       void GENLIB_FLATTEN_ALL_PHINS(concat, catal)
12       char concat, catal;
13

PARAMETER

15       concat              Indicate whether or  not  to  concatenate  instance
16                           name to instance' objects name
17
18       catal               Indicate whether or not to look in the catalog file
19                           before flattening a cell
20

DESCRIPTION

22       FLATTEN_ALL_PHINS inserts the contents of all the instances of the cur‐
23       rent  figure  in the current figure.  All these instances are destroyed
24       during the process, and therefore cannot be referred to  later  in  the
25       layout description.
26       The concat parameter may take two values:
27
28       YES    to concatenate object name with instance names.
29
30       NO     to copy object names.
31
32       In  most  case,  the concat value must be YES, in order to warranty the
33       unicity of names in the figure.  It may  otherwise  fail,  because  the
34       function  would  try  to  add in the current figure some object with an
35       already existing name.
36       The catal parameter may also take two values:
37
38       YES    to check the catalog file to see if the model of an instance  is
39              in it.  If the model belong to the catalog, then it is not flat‐
40              tened.
41
42       NO     in this case, no checks are done, and every  instance  is  flat‐
43              tened.
44

EXAMPLE

46       #include <genlib.h>
47       main()
48       {
49            /∗ Create a figure to work on  ∗/
50            GENLIB_DEF_PHFIG("mycell");
51            .
52            .
53            .
54            /∗ Place an instance ∗/
55            PHINS("model","instance", "sig1", "sig2", EOL);
56            /∗ flatten all figure instance ∗/
57            GENLIB_FLATTEN_ALL_PHINS(YES, YES);
58            /∗ Save all that on disk ∗/
59            GENLIB_SAVE_PHFIG();
60       }
61

SEE ALSO

63       genlib(1),       GENLIB_PLACE(3),       GENLIB_PLACE_LEFT(3),      GEN‐
64       LIB_PLACE_RIGHT(3), GENLIB_PLACE_TOP(3),  GENLIB_PLACE_BOTTOM(3),  GEN‐
65       LIB_PLACE_ON(3), GENLIB_FLATTEN_PHFIG(3), GENLIB_FLATTEN_ALL_LOINS(3).
66
67
68
69
70
71
72PROCEDURAL GENERATION LANGUAGE     AGSEINML/ILBI_PF6LATTEN_ALL_PHINS.3(October 1, 1997)
Impressum