Component Development
After creating a Simulink® representation of an AUTOSAR adaptive software component:
Refine the AUTOSAR configuration, using the Code Mappings editor and the AUTOSAR Dictionary or equivalent AUTOSAR programmatic interfaces.
Develop algorithmic content in the component, using a broad range of Simulink model-based design capabilities.
If you have Simulink Coder™ and Embedded Coder® software, you can generate ARXML descriptions and algorithmic C++ code for integration into the AUTOSAR adaptive run-time environment, as described in Generate AUTOSAR Adaptive C++ Code and XML Descriptions.
An AUTOSAR application is modeled by interconnected software components. Each software component encapsulates a functional implementation of automotive behavior, with well-defined connection points to the outside world.
Use the Code Mappings editor and the AUTOSAR Dictionary to begin refining and developing the component. The Code Mappings editor provides a Simulink perspective of the component, in which you selectively map Simulink elements to AUTOSAR elements. The AUTOSAR Dictionary provides an AUTOSAR perspective of the component, in which you configure AUTOSAR elements and their properties. To get started, see AUTOSAR Component Configuration.
Blocks
Event Receive | Convert input event to signal |
Event Send | Convert input signal to event |
Tools
Code Mappings Editor | Map AUTOSAR elements for code generation |
Functions
Topics
- AUTOSAR Component Configuration
Configure AUTOSAR software component properties and mapping between Simulink and AUTOSAR elements.
- Map AUTOSAR Adaptive Elements for Code Generation
Use Code Mappings editor to view and map AUTOSAR adaptive software component from Simulink perspective.
- Configure AUTOSAR Adaptive Elements and Properties
Use AUTOSAR Dictionary to view and configure AUTOSAR adaptive software component elements and properties.
- Incrementally Update AUTOSAR Mapping After Model Changes
Incrementally auto-configure and map new Simulink elements in AUTOSAR model.
- Configure AUTOSAR Adaptive Software Components
Configure a Simulink representation of an automotive algorithm as a software component for the AUTOSAR Adaptive Platform.
- Model AUTOSAR Adaptive Service Communication
Send and receive AUTOSAR adaptive service events by using service communication.
- Configure Memory Allocation for AUTOSAR Adaptive Service Data
Specify whether middleware allocates memory for AUTOSAR adaptive event sends.
- Configure AUTOSAR Adaptive Service Discovery Modes
Set the service discovery mode of required ports for AUTOSAR adaptive service communication.
- Configure AUTOSAR Adaptive Service Instance Identification
Configure service instance identification for AUTOSAR adaptive service ports.
- Model AUTOSAR Adaptive Persistent Memory
Model AUTOSAR port-based access to ECU nonvolatile memory.
- Configure AUTOSAR Ports By Using Simulink Bus Ports
Model AUTOSAR ports by using Simulink In Bus Element and Out Bus Element blocks.
- Configure AUTOSAR Packages
Import or define element packages within hierarchical AUTOSAR package structure.
- AUTOSAR Blockset Checks
Model Advisor checks for AUTOSAR Blockset.