Main Content

Create AUTOSAR Architecture Models

An AUTOSAR architecture model provides resources and a canvas for developing AUTOSAR composition and component models for the Classic Platform (requires System Composer™). From the architecture model, you can:

  • Add and connect AUTOSAR compositions and components.

  • View component or composition dependencies.

  • Link components to requirements (requires Simulink® Requirements™).

  • Add Simulink behavior to components by creating or linking models.

  • Configure scheduling and simulation.

  • Export composition and component ARXML descriptions and generate component code (requires Embedded Coder®).

Architecture models provide an end-to-end AUTOSAR software design workflow. In Simulink, you can author a high-level application design, implement behavior for application components, add Basic Software (BSW) service calls and service implementations, and simulate the application.

To create an architecture model, open an AUTOSAR Blockset model template from the Simulink Start Page. For example:

  1. Open the Simulink Start Page. Enter the MATLAB® simulink command or select Simulink menu sequences that create a new model.

  2. On the New tab, scroll down to AUTOSAR Blockset and expand the list of model templates. Place your cursor over the Software Architecture template and click Create Model.

    A new AUTOSAR architecture model opens.

  3. Explore the controls and content in the software architecture canvas.

    • In the Simulink Toolstrip, the Modeling tab supports common tasks for architecture modeling.

    • To the left of the model window, the palette includes icons for adding different types of AUTOSAR components to the model: Software Component, Software Composition, and for Basic Software (BSW) modeling, Diagnostic Service Component and NVRAM Service Component.

    • The composition editor provides a view of AUTOSAR software architecture based on the AUTOSAR Virtual Function Bus (VFB). The model canvas initially is empty.

After you create an AUTOSAR architecture model, develop the top level of the design. See Add and Connect AUTOSAR Compositions and Components.

See Also

| | |

Related Topics