1LOADRDSFIG(3) RDS PHYSICAL FUNCTIONS LOADRDSFIG(3)
2
3
4
6 loadrdsfig - give back a pointer to a figure
7
9 #include "rtlnnn.h"
10 void loadrdsfig( Figure, Name, Mode )
11 rdsfig_list ∗Figure;
12 char ∗Name;
13 char Mode;
14
16 Figure Pointer to the RDS Figure created.
17
18 Name Name of the model of the figure.
19
20 MODE : Caracter indicating the status of the figure in
21 memory.
22
23 This field can take three values :
24
25 ´A´ All the cell is loaded in ram (The figure, its rectangles
26 and its instances empty).
27
28 ´P´ Only information concerning the model interface is
29 present, that means : connectors, the abutment box and
30 through routes of the figure.
31
32 ´V´ Visualization mode : all is loaded in RAM : The figure,
33 its rectangles, its instances and the rectangles of its
34 instances.
35
37 The loadrdsfig function loads in memory a cell model from disk. The
38 loadrdsfig function in fact performs a call to a parser ,chosen by the
39 RDS_IN environment variable.
40
42 The pointer to the created figure. (it's the parameter ´Figure´ of the
43 loadrdsfig function).
44
46 "Rtl103.h: Unknown rds input format"
47 The input format defined by the unix environment variable RDS_IN
48 is not supported by the driver (supported formats are "cif" and
49 "gds").
50
51 Other errors can appear because the loadrdsfig function calls
52 cif and gds parsers.
53
55 #include "mutnnn.h"
56 #include "rdsnnn.h"
57 #include "rtlnnn.h"
58 main()
59 {
60 rdsfig_list ∗RdsFigure;
61 mbkenv();
62 rdsenv();
63 loadrdsparam();
64 /∗ ∗/ loadrdsfig (RdsFigure, "core", 'A');
65 viewrdsfig( Figure );
66 }
67
69 librtl, getrdsfig, rdsenv, RDS_IN
70
71
72
73
74
75
76ASIM/LIP6 October 1, 1997 LOADRDSFIG(3)