Simulation & Test

 

ASim (AUTOSAR Simulation) enables and early integration/verification of an AUTOSAR system allowing you simulate and test your virtual ECU on your computer.

To set up a simulation in ASim, you just need to provide your software component description including the application code.

All following steps are highly automated such as the configuration and generation of an AUTOSAR OS and RTE for your virtual ECU.

ASim does offer different Test Modes:

Automatic Mode

The Automatic Mode executes automatic driven tests thru test cases which can be described in different test formats.

The result of the simulation is displayed in the ASimUnit view as you can see in the picture below.

Interactive Mode

The Interactive Mode lets you interact with your AUTOSAR model in realtime, performing actions like altering and monitoring signals.

The results of the simulation is displayed in a web browser interface with an interactive panel as you can see in the picture below.

 

 

Debug Mode

The Debug Mode is based on standard Eclipse debugger and allows you analyzing the C-code executions of your AUTOSAR software.

It is supporting (conditional) breakpoints but also signal monitoring and other features needed to debug your code.

The results of the simulation is displayed in the debug perspective as you can see in the picture below.

 

 

Export Mode

The Export Mode allows you exporting virtual ECUs as FMUs (Functional Mock-up Units) based on the FMI-standard.

Those can be integrated into other simulation environments supporting the FMI standard (e.g. Dymola, Simulink, Silver) to run a SiL (Software-in-the-Loop) simulation.