Top > Embedded Software Tools > MC-Checker
MC-Checker is an embedded code verification tool for automotive model-base development. It’s primary function is to compare the MATLAB/Simulink specification model with the target code. MC-Checker performs a Back-to-Back test between the model and code compliant with the ISO26262 Automotive Functional Safety Standard.
MC-Checker is a model & code back-to-back test tool for automotive software model-based development. It compares the MATLAB/Simulink specification model blocks (subsystems) with the embedded target code as required by the automotive functional safety standard ISO 26262.
MC-Checker performs model/code back-to-back testing using a MIL simulation for MATLAB/Simulink specification models, and a PIL simulation for the embedded target code.
During the PIL simulation the actual target code is executed in order to meet ISO 26262 test environment requirements.
MIL : Model In the Loop
PIL : Processor In the Loop
MC-Checker uses general CSV format files for data input and output. In this way model or code coverage test cases may be imported from other model based development tools or GAIO's unit test tool CoverageMaster winAMS.
MC-Checker is capable of performing verifications on both the unit level and integration level. Unit level verifications compare the minimum unit sub-system (model) to the corresponding C-functions using MBD tool generated coverage test cases. Integration level verifications compare function unit Simulink blocks (models) with the corresponding C-functions using actual road test data or simulated fault injection data.
MC-Checker Type |
Code / Model | Test Cases |
Unit Level Verification |
[Model]: Minimum unit sub-system [Code]: Corresponding C-function |
Model/Code coverage test cases generated by MBD tools. |
Integration Level Verification |
[Model]: Function unit Simulink block [Code]: Corresponding C-functions |
Road test data from actual automobile or simulated fault injection test cases. |
Necessary files (resources) used during model/code verification such as model files, compiled target code, and test data files may be managed from within the MC-Checker interface.
Test queries such as model execution (MIL simulation) and/or code execution (S-PIL simulation) can be easily configured using test items added to the test environment. This allows the user to setup a variety of tests by selecting different combinations of models, target code and test data.
MC-Checker uses general CSV format files for data input and output. Model or code coverage test cases may be imported from other model base development tools such as:
- EmbeddedTester (BTC): Generates MC/DC coverage test cases from auto-code generated by TargetLink (dSPACE)
- Reactice (Reactive Systems): Generates model coverage test cases from MATLAB/Simulink models
- SLDV (MathWorks): Generates model coverage test cases from MATLAB/Simulink models
Errors detected during the model and code comparison will be displayed on the dedicated graphical view. An allowable error range may be specified by the user to be used during the comparison.
The model/code simulation results and comparison results will also be automatically output to a CSV file.
MC-Checker Supported Processor List
PC: PC/AT Compatible
OS: WindowsXP Profesional SP3 / Windows7 (32bit/64bit)
Software:
Microsoft .NET Framework 3.5
Microsoft Visual Sutdio 2003 C++ Run-Time Component
Microsoft Visual Studio 2005 C++ Runtime Component
Microsoft Visual Studio 2008 C++ Runtime Component
Microsoft Visual Studio 2010 C++ Runtime Component
MathWorks MATLAB/Simulink (32bit only):
Release [MATLAB/Simulink]
R14SP2 [ 7.0.4 / 6.2 ]
R2006b [ 7.3 / 6.5 ]
R2007b [ 7.5 / 7.0 ]
R2010b [ 7.11 / 7.6 ] SP1, SP2
R2011a [ 7.12 / 7.7 ]
R2011b [ 7.13 / 7.8 ]
R2012b [ 8.0 / 8.0 ]
The MATLAB/Simulink 32bit version is required since MC-Checker is executed using WOW64 (32bit emulation mode) on Windows 7 64bit.