Testing and verifying ASCET models with TPT

ASCET by ETAS is a tool for model-based development and automatic code generation of control unit software in the automotive sector. The testing tool TPT supports the testing and verification of ASCET models. That is, ASCET models can easily be tested with TPT as physical or implementation model.

Compatible since ASCET 6.x

TPT is compatible with all versions of ASCET since ASCET6.x.
Test and verification of physical Model-in-the-Loop (MiL) and quantized implemented Software-in-the-Loop (SiL) is supported by TPT. You can also test individual modules or whole module groups in the form of an integration test.

The configuration of the ASCET platform covers among other things the import of the interface of the system to be tested.
3 images  

Workflow of testing ASCET models

In ASCET, projects are developed with assigned modules, tasks, and processes.
The selection of the ASCET project to be tested (SuT) from the database or workspace is done via a special browser in TPT. It’s possible to test single modules or a complete module group (integration test) from a project.

The analysis of the interfaces of the system to be tested is based on A2L/DCM information from the ASCET project. Default values are imported from DCM files to be used for the default implementation configuration.
The assignment of interface values as inputs or outputs of the model and the local measurement values are determined through an analysis of the model. The test environment is automatically generated as a new ASCET project in TPT, consisting of the original model, the TPT test driver, and the associated tasks.

Besides functional requirements-based testing, TPT supports regression/back-to-back tests. Using TPT assesslets, the results of the test run can be evaluated.

Testing ASCET models using TPT

Test execution in ASCET

TPT can control all aspects of the test execution. Thus, TPT starts the appropriate ASCET version and loads the project and experiment necessary for testing. The test run is fully-automatic including code generation and compiling in an ASCET-specific test environment, the ASCET experiment, or directly as C-code. Afterwards the tests results are automatically assessed based on all recorded data and are presented in a report. Complex tests or test suites can be executed unattended in batch mode, for example overnight.

Functions and advantages of testing ASCET models with TPT

  • Compatible with all ASCET versions since 6.x
  • Development-related testing during the modeling with ASCET
  • Testing of preconfigured ASCET projects that contain a single or several modules
  • Automatic interface analysis of ASCET models
  • Automatic testframe generation
  • Testing of unscaled physical models and also of scaled implementation models
  • Regression tests with unscaled and scaled simulations
  • Meaningful and freely configurable test documentation
  • Linking and tracing of requirements and test cases
  • Testing according the safety standard ISO 26262
Copyright © www.piketec.com    All rights reserved

Follow us