As part of developing AUTOSAR software for the Classic Platform, you can carry out model-based verification of AUTOSAR software components by using software-in-the-loop (SIL) and processor-in-the-loop (PIL) simulations. Use SIL for verification of generated source code on your host computer, and PIL for verification of object code on your production target hardware. For example:
You can run a top model that is configured for the AUTOSAR system target file
autosar.tlc) by using the
You can use Model block SIL or PIL to test AUTOSAR top-model code. In the Model block, set parameter Code interface to
You can create a SIL or PIL block for a component configured for the AUTOSAR system target file. For more information about configuring and running simulations with SIL or PIL blocks, see Simulation with Blocks From Subsystems (Embedded Coder). However, SIL and PIL block verification does not support code generated for Simulink Function and Function Caller blocks, for example, in AUTOSAR client-server configurations.