The optional TargetLink AUTOSAR and Adaptive AUTOSAR Modules make modeling, simulation, and code generation features of TargetLink available for designing Classic and Adaptive AUTOSAR software components.
The TargetLink Classic AUTOSAR block library.
TargetLink supports the vast majority of Classic AUTOSAR communication mechanisms and generates genuine RTE API function calls.
Modeling Classic AUTOSAR SWCs.
The TargetLink Classic AUTOSAR Block Library provides Classic AUTOSAR structure elements, for example, runnables, ports, and communication interfaces, for modeling purposes. To define a Classic AUTOSAR runnable, a Function block specified as a Classic AUTOSAR runnable is used in a subsystem, similar to regular TargetLink functions.
AUTOSAR page in a TargetLink block dialog.
Die TargetLink-InPort- und -OutPort-Blöcke werden verwendet, um den Datenaustausch zwischen den Runnables einer oder mehrerer Software-Komponenten zu definieren. Entwickler können Eigenschaften auf Blockebene und über das TargetLink Data Dictionary durchführen.
Generated C code with RTE API function calls, i.e., Rte_IRead(), Rte_Pim(), and Rte_IWrite()
TargetLink generates production code for Classic AUTOSAR software components. Moreover, TargetLink provides special options allowing for Classic AUTOSAR optimizations. Runnables are implemented as C functions, and Classic AUTOSAR communication mechanisms are implemented as RTE API function calls according to the Classic AUTOSAR standard. The same model can be used to generate Classic AUTOSAR-compliant code and standard TargetLink code.
TargetLink simulates Classic AUTOSAR software components in all simulation modes. Multiple software components can be simulated in one simulation run. The communication between software components is simulated to the extent supported by the Simulink® design environment. For testing purposes in SIL and PIL simulation mode, TargetLink generates a stub RTE that maps the RTE API function calls in the application with software component code to global variables and generates access functions to global variables.
|Importing and exporting software component descriptions.||
||Seamless Classic AUTOSAR development process with a tool such as SystemDesk and dSPACE AUTOSAR Compare.|
Generating a Classic AUTOSAR frame model.
||Easy and convenient transfer of AUTOSAR specifications into the TargetLink model.|
|Migrating standard TargetLink models to Classic AUTOSAR.||
||Highest flexibility when reusing existing software parts.|
|Classic AUTOSAR Modeling Guide||Explains how to model and generate code for Classic AUTOSAR software components.||Support while developing Classic AUTOSAR software components with the model-based development approach of TargetLink.|
For Classic AUTOSAR software development, TargetLink is typically combined with an AUTOSAR architecture tool such as SystemDesk. A software architecture with multiple components is specified in the architecture tool, while TargetLink is used to design and implement the individual software components. The two tools exchange data via ARXML files. Both a top-down approach (starting with the software architecture) and a bottom-up approach (starting with a TargetLink function model) can be used for Classic AUTOSAR round trips. This AUTOSAR round trip can be simplified and automated using dSPACE AUTOSAR Compare, which lets you compare and manually or automatically merge your AUTOSAR artifacts.
With the optional TargetLink Adaptive AUTOSAR Module, TargetLink offers model-based code generation for functional parts of Adaptive AUTOSAR applications. TargetLink 5.1 supports selected features of the Adaptive AUTOSAR Release 19-11 standard. The following additional features are supported with TargetLink 5.1 compared to TargetLink 5.0:
A demo model that showcases the different modeling styles for Adaptive AUTOSAR communication is provided. Additionally, a new guide (Adaptive AUTOSAR modeling guide) for the user documentation is available.
Modeling Adaptive AUTOSAR event communication with TargetLink.
TargetLink supports the model-based development of functional parts of adaptive applications. It provides different model elements for you to model the functionalities.
The following uses cases are supported to model communication according to ara::com:
In addition, TargetLink supports the modeling of persistent data access, i.e., reading and writing key-value pairs from key-value storage, according to ara::per.
TargetLink generates Adaptive AUTOSAR functions from subsystems specified for Adaptive AUTOSAR. The Adaptive AUTOSAR function is a TargetLink-specific C++ function representing a partial functionality of an adaptive application. This function can be called in the C++ code of an adaptive application.
TargetLink simulates Adaptive AUTOSAR models in MIL and SIL simulation mode. While building the simulation application for SIL simulation, TargetLink uses preprocessor macros and conditional compilation. This allows the simulation of the Adaptive AUTOSAR functions directly in TargetLink without the need of Adaptive AUTOSAR middleware. In addition, TargetLink supports modeling error handling during communication as specified by Adaptive AUTOSAR.
|MIL and SIL simulation||Directly simulating the Adaptive AUTOSAR function in TargetLink without Adaptive AUTOSAR middleware.||Easily simulate and validate your Adaptive AUTOSAR functionality in the development environment. TargetLink allows for comfortable and straight-forward testing without setting up, configuring, and maintaining a build chain for Adaptive AUTOSAR.|
|Modeling of select Adaptive AUTOSAR functional clusters||Model persistent data access as defined by ara::per by reading and writing key-value pairs from a key-value storage. Modeling communication as defined by ara::com:
||Convenient and well-known modeling similar to Classic AUTOSAR modeling in TargetLink.|
|Adaptive AUTOSAR Modeling Guide||Explains how to model and generate code according to Adaptive AUTOSAR for the integration into adaptive applications.||Support while developing functional parts of adaptive applications with the model-based development approach of TargetLink.|
Treiben Sie Innovationen voran. Immer am Puls der Technologieentwicklung.
Abonnieren Sie unser Expertenwissen. Lernen Sie von erfolgreichen Projektbeispielen. Bleiben Sie auf dem neuesten Stand der Simulation und Validierung. Jetzt dSPACE direct & aerospace abonnieren oder verwalten.