1GENLIB_UNFLATTEN_LOFIG.3(October 1, 19G9E7N)LIB_UNFLATTEN_LOFIG.3(October 1, 1997)
2
3
4
6 UNFLATTEN_LOFIG - creates a hierarchy level from instances in the cur‐
7 rent logical figure
8
10 #include <genlib.h>
11 void GENLIB_UNFLATTEN_LOFIG(figurename, instancename, list_of_instances, 0)
12 char ∗figurename;
13 char ∗instancename;
14 char ∗list_of_instances;
15
17 figurename Name of the figure of the new hierarchy to be cre‐
18 ated
19
20 instancename Name to be given at the instantiation of figurename
21 into the current structual figure
22
23 list_of_instances List of strings representing the instances to be
24 inserted into the new figure
25
27 UNFLATTEN_LOFIG creates a new level of hierarchy, whose model name will
28 be figurename, and instantiate it under the name instancename in the
29 current figure. The instances whose name belong to the
30 list_of_instances parameters are added in the new figure, and destroyed
31 from the current figure.
32
34 #include <genlib.h>
35 main()
36 {
37 /∗ Create a figure to work on ∗/
38 GENLIB_DEF_LOFIG("mycell");
39 .
40 .
41 .
42 /∗ Place an instance ∗/
43 GENLIB_LOINS("model","instance", "sig1", "sig2", EOL);
44 /∗ flatten an instance ∗/
45 GENLIB_UNFLATTEN_LOFIG("newfig", "newins", "instance", ..., 0);
46 /∗ Save all that on disk ∗/
47 GENLIB_SAVE_LOFIG();
48 }
49
51 genlib(1), GENLIB_FLATTEN_LOFIG(3).
52
53
54
55
56
57
58PROCEDURAL GENERATION LANGUAGE ASIGME/NLLIIPB6_UNFLATTEN_LOFIG.3(October 1, 1997)