Main Content

Software Architecture Modeling

Model and simulate AUTOSAR software architecture (requires System Composer™)

An AUTOSAR architecture model provides resources and a canvas for developing AUTOSAR composition and component models. From the architecture model, you can:

  • Add and connect AUTOSAR compositions and components, or import a composition from ARXML files.

  • Create profiles, stereotypes, and views for architecture analysis.

  • Link components to requirements (requires Requirements Toolbox™).

  • Define component behavior by creating, linking, or importing Simulink® 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 for the Classic or Adaptive Platform, implement behavior for application components, and simulate the application. For classic architecture compositions, you can add Basic Software (BSW) service calls and service implementations.

Tools

Interface EditorCreate and edit interface dictionaries

Blocks

Classic ComponentModel classic software component in AUTOSAR architecture model
Adaptive ComponentModel adaptive software component in AUTOSAR architecture model
Software CompositionModel software composition in AUTOSAR architecture model
Diagnostic Service ComponentConfigure AUTOSAR Diagnostic Services and Runtime Environment (RTE) for emulation
NVRAM Service ComponentConfigure AUTOSAR NVRAM Services and Runtime Environment (RTE) for emulation
AdapterConnect components with different interfaces

Objects

autosar.dictionary.ARClassicPlatformMappingManage platform-specific properties for elements in interface dictionary mapped to AUTOSAR Classic Platform
Simulink.interface.DictionaryManage interface dictionary
Simulink.interface.dictionary.DataInterfaceData interface
Simulink.interface.dictionary.DataElementData element of data interface
MigratorMigrate data types and interfaces from base workspace and data dictionaries to an interface dictionary

Functions

autosar.arch.createModelCreate AUTOSAR architecture model
autosar.arch.loadModelLoad AUTOSAR architecture model
addBSWServiceAdd Basic Software component to AUTOSAR classic architecture model
addComponentAdd component to AUTOSAR architecture model
addCompositionAdd composition to AUTOSAR architecture model
addPortAdd port to AUTOSAR component, composition, or architecture model
closeClose AUTOSAR architecture model
connectConnect AUTOSAR architecture components and compositions
createModelCreate Simulink implementation model for AUTOSAR architecture component
destroyRemove and delete AUTOSAR architecture element
exportExport AUTOSAR architecture model ARXML and generate component code
findFind AUTOSAR architecture elements
getGet property of AUTOSAR architecture element
getXmlOptionsGet XML option for AUTOSAR architecture model
importFromARXMLImport composition from ARXML files into AUTOSAR architecture model
layoutArrange AUTOSAR composition or architecture model layout based on heuristics
linkDictionaryLink interface dictionary to AUTOSAR architecture model
linkToModelLink AUTOSAR architecture component to Simulink implementation model
openOpen AUTOSAR architecture model
saveSave AUTOSAR architecture model
setSet property of AUTOSAR architecture element
setPlatformSet platform kind of architecture model to classic or adaptive
setXmlOptionsSet XML option for AUTOSAR architecture model

Topics

Architecture Model Creation

Architecture Model Development

Simulation

ARXML and Code Generation