ocarina-me_aadl.ads 3.88 KB
Newer Older
1
2
3
4
5
6
7
8
------------------------------------------------------------------------------
--                                                                          --
--                           OCARINA COMPONENTS                             --
--                                                                          --
--                      O C A R I N A . M E _ A A D L                       --
--                                                                          --
--                                 S p e c                                  --
--                                                                          --
9
--          Copyright (C) 2008-2011, European Space Agency (ESA).           --
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
--                                                                          --
-- Ocarina  is free software;  you  can  redistribute  it and/or  modify    --
-- it under terms of the GNU General Public License as published by the     --
-- Free Software Foundation; either version 2, or (at your option) any      --
-- later version. Ocarina is distributed  in  the  hope  that it will be    --
-- useful, but WITHOUT ANY WARRANTY;  without even the implied warranty of  --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General --
-- Public License for more details. You should have received  a copy of the --
-- GNU General Public License distributed with Ocarina; see file COPYING.   --
-- If not, write to the Free Software Foundation, 51 Franklin Street, Fifth --
-- Floor, Boston, MA 02111-1301, USA.                                       --
--                                                                          --
-- As a special exception,  if other files  instantiate  generics from this --
-- unit, or you link  this unit with other files  to produce an executable, --
-- this  unit  does not  by itself cause  the resulting  executable to be   --
-- covered  by the  GNU  General  Public  License. This exception does not  --
-- however invalidate  any other reasons why the executable file might be   --
-- covered by the GNU Public License.                                       --
--                                                                          --
--                 Ocarina is maintained by the Ocarina team                --
--                       (ocarina-users@listes.enst.fr)                     --
--                                                                          --
------------------------------------------------------------------------------

package Ocarina.ME_AADL is

   type Entity_Category is
     (EC_Feature,
      EC_Subcomponent,
      EC_Property_Association,
      EC_Flow_Spec,
      EC_Flow_Implementation,
      EC_Call_Sequence,
      EC_Subprogram_Call,
      EC_Connection,
      EC_Mode,
      EC_Component,
      EC_Feature_Group_Type,
      EC_Package,
      EC_Property_Set,
      EC_Property_Name,
      EC_Property_Type,
      EC_Annex,
      EC_Undefined);

   type Component_Category is
     (
      CC_Abstract,
      CC_Data,
      CC_Subprogram,
      CC_Subprogram_Group,
      CC_Thread,
      CC_Thread_Group,
      CC_Process,
      CC_Memory,
      CC_Processor,
      CC_Virtual_Processor,
      CC_Bus,
      CC_Virtual_Bus,
      CC_Device,
      CC_System,
      CC_Unknown);

   type Connection_Type is
     (CT_Error,
75

76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
      --  AADL_V1
      CT_Event_Data,
      CT_Data_Delayed,

      --  AADL_V1 and AADL_V2
      CT_Data,
      CT_Event,
      CT_Feature_Group,
      CT_Parameter,
      CT_Access_Bus,
      CT_Access_Data,
      CT_Access_Subprogram,

      --  AADL_V2
      CT_Access_Virtual_Bus,
      CT_Port_Connection,
92
93
      CT_Access_Subprogram_Group,
      CT_Access);
94
95
96
97

   --  Note: CT_Data represents Data_Immediate in AADL_V1

   subtype Port_Connection_Type is Connection_Type
98
     range CT_Data .. CT_Event_Data; --  XXX is this type empty ????
99
100
101
102

   type Flow_Category is (FC_Source, FC_Sink, FC_Path);

end Ocarina.ME_AADL;