osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
36 stars 8 forks source link

Update ARINC653 property set for multi-core #1669

Closed Etienne13 closed 5 years ago

Etienne13 commented 5 years ago

Summary

In the ARINC653 property set, some properties are applicable to processor components only. However, if we model a multi-core architecture as a system component, it becomes necessary to apply these properties to system components as well.

A simple fix would be to change these properties as follows:


--The Module_Major_Frame property specifies the major frame for the ARINC653 module (AADL
--processor or system component).
Module_Major_Frame : Time applies to (system, processor, virtual processor );

--Module version description.
Module_Version : aadlstring applies to (system, processor);

--Module unique identifier.
Module_Identifier : aadlstring applies to (system, processor);

--
-- The HM_Error_ID_Levels indicates will the faults in a module
-- with their associated level.
--
HM_Error_ID_Levels : list of ARINC653::HM_Error_ID_Level_Type applies to (processor);

--
-- The HM_Error_ID_Actions specifies the error recovery handler
-- at each layer.
--
HM_Error_ID_Actions : list of ARINC653::HM_Error_ID_Action_Type applies to (system, processor, virtual processor, thread);

--
--  Module_Schedule represents all the schedule windows for the module
--
Module_Schedule : list of ARINC653::Schedule_Window applies to (system, processor, virtual processor );

Environment

Etienne13 commented 5 years ago

I know this is not really a tool issue so I was about to make it a tool oriented issue (asking for a way to override some of the property sets defined in osate) ... I went to look at open issues and found out it was already documented in #1134.