VII. Using Cheddar within OSATE 2

In the sequel, we first explain how to install the Cheddar plugins within OSATE 2. Then a small example of use is shown and finally, the set of Cheddar properties to customize analysis are shortly explained.


VII.1 How to install Cheddar plugin within OSATE 2

To install the Cheddar OSATE 2 plugin, you have to follow the installation procedure for additional OSATE components that is explained at http://osate.org/ . Basically, once OSATE 2 is started, you have to: . After installation and once OSATE 2 has been restarted, make sure you have a Cheddar binary distribution available elsewhere. Basically, three plugins are provided:


VII.2 Cheddar plugins simple example of use



Once the Cheddar OSATE plugins are installed, in order to use them, you must:
  1. Create and populate a new OSATE project, or open any existing AADL project.
  2. From a root AADL component of the declarative AADL model, build the instance model. The declarative AADL model cannot be used for scheduling analysis. Analysis are run on the instance model only. To create an instance model from a declarative model with OSATE, in the list of components on the right side of the OSATE windows, select a top system component and open the context menu (with the right mouse button), then select the "instanciate" menu item. The instance model appears in the middle of the OSATE windows. From this instance model, we can then generate the Cheddar XML model by selecting the root component of the instance model and pushing select the root system component and with a right mouse button call the Instanciate tool of OSATE.
  3. From the project explorer, select the instancied model and generate the Cheddar XML model by pushing one of the 3 Cheddar plugins toolbar buttons. In the windows above, you can see a screenshot of OSATE. The generated Cheddar XML model is saved in the location given by the dialog box opened when the transformation is over. The OSATE toolbar also shows the 3 Cheddar plugins, from to the left to the right: the first produces the Cheddar XML model, the second generates the XML Cheddar model and launches Cheddar, the third generates the Cheddar ADL model and launches the Cheddar tool to compute thread response times.


    Figure 7.2 OSATE 2 run the Cheddar plugin



  4. When you launch the Cheddar tool (middle toolbar button), you can call any analysis feature that is compliant with the XML Cheddar generated model. The response time tool (right toolbar button) can either compute response time from a scheduling simulation or from a feasibility test. To parametrize how the response time will be computed, one can set AADL properties on the root system. The sequel defines and explains what are the possible values for these properties.



VII.3 Cheddar AADL properties

Basically, Cheddar properties are organized in 4 sets:







Contact : Frank Singhoff mailto:singhoff@univ-brest.fr
Last update : January, the 4th, 2020