1VIEWRFMINS(3) RDS PHYSICAL FUNCTIONS VIEWRFMINS(3)
2
3
4
6 viewrfmins - displays instance caracteristics in MBK and RDS format.
7
9 #include "rfmnnn.h"
10 void viewrfmins( InstanceMbk, InstanceRds )
11 phins_list ∗InstanceMbk;
12 rdsins_list ∗InstanceRds;
13
15 InstanceMbk MBK instance to visualizate
16
17 InstanceRds RDS instance to visualizate
18
20 The viewrfmins function displays caracteristics of an instance in MBK
21 and RDS format.
22
24 nothing
25
27 none
28
30 #include "mphnnn.h"
31 #include "mutnnn.h"
32 #include "rdsnnn.h"
33 #include "rfmnnn.h"
34 #include "rtlnnn.h"
35 typedef struct UserStruct
36 {
37 char ∗STRING;
38 void ∗USER1;
39 } UserStruct;
40 main()
41 {
42 phfig_list ∗MbkFigure;
43 phins_list ∗MbkInstance;
44 rdsfig_list ∗RdsFigure;
45 rdsins_list ∗RdsInstance;
46 mbkenv();
47 rdsenv();
48 loadrdsparam();
49 /∗ creates MbkFigure Named "core" ∗/
50 MbkFigure = addphfig("core");
51 /∗ adds Mbk instance "n1_y" to MbkFigure named "core" ∗/
52 MbkInstance = addphins(MbkFigure,"n1_y","inv_1",NOSYM,4,9);
53 /∗ creates RdsFigure named "core_2" ∗/
54 RdsFigure = addrdsfig("core_2",sizeof(UserStruct));
55 /∗ creates RdsInstance with MbkInstance ∗/
56 RdsInstance = insmbkrds ( RdsFigure, MbkInstance, 'A', 0 );
57 /∗ views Mbk and Rds Instance ∗/
58 /∗ ∗/ viewrfmins ( MbkInstance, RdsInstance );
59 }
60
62 librfm, insmbkrds
63
64
65
66
67
68
69ASIM/LIP6 October 1, 1997 VIEWRFMINS(3)