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

NAME

6       GENLIB_FLATTEN_PHFIG - flatten an instance in the current layout figure
7

SYNOPSIS

9       #include <genlib.h>
10       void GENLIB_FLATTEN_PHFIG(insname,concat)
11       char ∗insname;
12       char concat;
13

PARAMETERS

15       insname             Name of the instance to be flattened
16
17       concat              Indicate  whether  or  not  to concatenate instance
18                           name to instance' objects name
19

DESCRIPTION

21       FLATTEN_PHFIG inserts the contents of an instance, but its  connectors,
22       in the current figure, and then destroys the instance.
23       The concat parameter may take two values:
24
25       YES                 to concatenate object name with instance names.
26
27       NO                  to copy object names.
28
29       In  most  case,  the concat value must be YES, in order to warranty the
30       unicity of names in the figure.  It may  otherwise  fail,  because  the
31       function  would  try  to  add in the current figure some object with an
32       already existing name.
33

EXAMPLE

35       #include <genlib.h>
36       main()
37       {
38            /∗ Create a figure to work on  ∗/
39            GENLIB_DEF_PHFIG("mycell");
40            .
41            .
42            .
43            /∗ Place an instance ∗/
44            GENLIB_PLACE("model","instance", SYM_X, 0, 0);
45            /∗ flatten an instance ∗/
46            GENLIB_FLATTEN_PHFIG("instance", YES);
47            /∗ Save all that on disk ∗/
48            GENLIB_SAVE_PHFIG();
49       }
50

SEE ALSO

52       genlib(1), GENLIB_LOINS(3).
53
54
55
56
57
58
59PROCEDURAL GENERATION LANGUAGE     ASIM/GLEINPL6IB_FLATTEN_PHFIG.3(October 1, 1997)
Impressum