Qualkitdo SLVNV Tor
Qualkitdo SLVNV Tor
v
vi
1 Introduction
This document comprises the Tool Operational Requirements (reference DO-330 Section
10.3.1) for the following capabilities of the Simulink® Verification and Validation™ verification
product:
DO-178C/DO-331 checks
Model coverage
This document is intended for use in the DO-330 tool qualification process for TQL-5 tools. The
applicant needs to:
Review the Tool Operational Requirements for applicability in the project or program
under consideration.
Configure the Tool Operational Requirements in the project or program’s configuration
management system.
Complete the Tool Operational Requirements and make the document available for review.
See documentation for the following products at the MathWorks® Documentation Center,
R2015a:
You can create detailed requirements traceability reports, author your own modeling style
checks, and develop check configurations to share with engineering teams. Requirements
documentation can be linked to models, test cases, and generated code. You can generate
harness models for testing model components and code, and use model coverage analysis to
ensure that models have been thoroughly tested.
Simulink Verification and Validation provides modeling standards checks for the DO-178, ISO
26262, IEC 61508 and related industry standards.
Key Features
Compliance checking for MAAB style guidelines and high-integrity system design
guidelines (DO-178, ISO 26262, IEC-61508, and related industry standards)
Model Advisor Configuration Editor, including custom check authoring
Requirements Management Interface for traceability of model objects, code, and tests to
requirements documents
Automatic test-harness generation for subsystems
Component testing via simulation, software-in-the-loop (SIL), and processor-in-the-loop
(PIL)
Programmable scripting interface for automating compliance checking, requirements
traceability analysis, and component testing
1-2
2 Operational Requirements
2.1 DO-178C/DO-331 Checks Operational
Requirements
The Simulink Verification and Validation product includes the Model Advisor
DO-178C/DO-331 modeling standards checks, which help you define and implement consistent
design guidelines. These guidelines can be applied across projects and development teams. The
Model Advisor finds unwanted model properties, such as incorrect or deprecated blocks and
block parameters, incorrect fonts, and misplaced objects.
The purpose of this capability is to verify that Simulink and Stateflow models comply with
modeling standards, and to verify that the code generator settings are set properly to provide
traceable code that complies with standards.
You can find the DO-178C/DO-331 checks in the Model Advisor > By Product > Simulink
Verification and Validation > Modeling Standards > DO-178C/DO-331 Checks subfolder.
2-2
The following table lists the Simulink Verification and Validation DO-178C/DO-331 checks
that are provided with the DO Qualification Kit, along with the corresponding DO-331 section
to which each check applies. To claim certification credit, the user is responsible for determining
the applicability of the DO-178C/DO-331 checks supported by the DO Qualification Kit to their
project.
Note The DO-178C/DO-331 checks can contain two sections: an analysis section
for reviewing the model and an action section for automatically fixing warnings
and failures. The DO Qualification Kit covers the DO-178C/DO-331 check
analysis, not the check actions.
The DO Qualification Kit does not cover Model Advisor check exclusions.
2-3
Check Title Requirement Description DO-331 References
Check ID ID
Check safety-related diagnostic DO178C_02 Simulink Verification and MB.6.3.3.b Software
settings for solvers Validation shall verify that the architecture is consistent
model diagnostic configuration MB.6.3.3.e Software
mathworks.do178.SolverDiagnost parameters pertaining to solvers architecture conforms to
icsSet comply with the Modeling standards
Guidelines for High-Integrity
Systems, R2015a.
2-4
Check Title Requirement Description DO-331 References
Check ID ID
Check safety-related diagnostic DO178C_04 Simulink Verification and MB.6.3.1.e High-level
settings for signal data Validation shall verify that therequirements conform to
model diagnostic configuration standards
mathworks.do178.DataValiditySi parameters pertaining to signal MB.6.3.2.e Low-level
gnalsDiagnosticsSet data comply with the Modeling requirements conform to
Guidelines for High-Integrity standards
Systems, R2015a. MB.6.3.1.g Algorithms are
accurate
For details, see “Check safety- MB.6.3.2.g Algorithms are
related diagnostic settings for accurate
signal data” in Simulink MB.6.3.3.b Software
Verification and Validation DO- architecture is consistent
178C/DO-331 Checks and
Model Advisor User
Information.
Check safety-related diagnostic DO178C_05 Simulink Verification and MB.6.3.1.g Algorithms are
settings for parameters Validation shall verify that the accurate
model diagnostic configuration MB.6.3.2.g Algorithms are
mathworks.do178.DataValidityPar parameters pertaining to accurate
amDiagnosticsSet parameters comply with the
Modeling Guidelines for High-
Integrity Systems, R2015a.
2-5
Check Title Requirement Description DO-331 References
Check ID ID
Check safety-related diagnostic DO178C_06 Simulink Verification and MB.6.3.1.e High-level
settings for data used for Validation shall verify that the requirements conform to
debugging model diagnostic configuration standards
parameters pertaining to MB.6.3.2.e Low-level
mathworks.do178.DataValidityD debugging comply with the requirements conform to
ebugDiagnosticsSet Modeling Guidelines for High- standards
Integrity Systems, R2015a.
2-6
Check Title Requirement Description DO-331 References
Check ID ID
Check safety-related diagnostic DO178C_08 Simulink Verification and MB.6.3.1.g Algorithms are
settings for type conversions Validation shall verify that the accurate
model diagnostic configuration MB.6.3.2.g Algorithms are
mathworks.do178.TypeConversio parameters pertaining to type accurate
nDiagnosticsSet conversions comply with the
Modeling Guidelines for High-
Integrity Systems, R2015a.
2-7
Check Title Requirement Description DO-331 References
Check ID ID
Check safety-related diagnostic DO178C_10 Simulink Verification and MB.6.3.3.b Software
settings for bus connectivity Validation shall verify that the architecture is consistent
model diagnostic configuration
mathworks.do178.ConnectivityB parameters pertaining to bus
ussesDiagnosticsSet connectivity comply with the
Modeling Guidelines for High-
Integrity Systems, R2015a.
2-8
Check Title Requirement Description DO-331 References
Check ID ID
Check safety-related diagnostic DO178C_12 Simulink Verification and MB.6.3.3.b Software
settings for compatibility Validation shall verify that the architecture is consistent
model diagnostic configuration
mathworks.do178.Compatability parameters pertaining to
DiagnosticsSet compatibility comply with the
Modeling Guidelines for High-
Integrity Systems, R2015a.
2-9
Check Title Requirement Description DO-331 References
Check ID ID
Check safety-related model DO178C_14 Simulink Verification and MB.6.3.1.b High-level
referencing settings Validation shall verify that the requirements are accurate and
model configuration parameters consistent
mathworks.do178.MdlRefOptSet for model referencing are set to MB.6.3.2.b Low-level
generate code for a safety- requirements are accurate and
related application. consistent
MB.6.3.3.b Software
For details, see “Check safety- architecture is consistent
related model referencing
settings” in Simulink
Verification and Validation DO-
178C/DO-331 Checks and
Model Advisor User
Information.
Check safety-related code DO178C_15 Simulink Verification and MB.6.3.1.c High-level
generation settings Validation shall verify that the requirements are compatible
model configuration parameters with target computer
mathworks.do178.CodeSet for code generation comply with MB.6.3.2.c Low-level
the Modeling Guidelines for requirements are compatible
High-Integrity Systems, R2015a. with target computer
MB.6.3.1.e High-level
For details, see “Check safety- requirements conform to
related code generation settings” standards
in Simulink Verification and MB.6.3.2.e Low-level
Validation DO-178C/DO-331 requirements conform to
Checks and Model Advisor User standards
Information. MB.6.3.4.e Source code is
traceable to low-level
requirements
Display model version DO178C_16 Simulink Verification and Not Applicable (for
information Validation shall verify that the documentation only)
report displays model version
mathworks.do178.MdlChecksum information.
2-10
Check Title Requirement Description DO-331 References
Check ID ID
Check safety-related diagnostic DO178C_17 Simulink Verification and MB.6.3.3.b Software
settings for saving Validation shall verify that the architecture is consistent
model configuration parameters
mathworks.do178.SavingDiagnos on the Diagnostics > Saving
ticsSet pane are set for a safety-related
application.
2-11
Check Title Requirement Description DO-331 References
Check ID ID
Check state machine type of DO178C_20 Simulink Verification and MB.6.3.1.b High-level
Stateflow charts Validation shall verify that state
requirements are accurate and
machine types comply with the consistent
mathworks.do178.hisf_0001 Modeling Guidelines for High- MB.6.3.1.e High-level
Integrity Systems, R2015a. requirements conform to
standards
For details, see “Check state MB.6.3.2.b Low-level
machine type of Stateflow requirements are accurate and
charts” in Simulink Verification consistent
and Validation DO-178C/DO- MB.6.3.2.e Low-level
331 Checks and Model Advisor requirements conform to
User Information. standards
MB.6.3.3.b Software
architecture is consistent
MB.6.3.3.e Software
architecture conforms to
standards
Check Stateflow charts for DO178C_21 Simulink Verification and MB.6.3.3.b Software
ordering of states and transitions Validation shall verify that chart architecture is consistent
state/transition execution order MB.6.3.3.e Software
mathworks.do178.hisf_0002 complies with the Modeling architecture conforms to
Guidelines for High-Integrity standards
Systems, R2015a.
2-12
Check Title Requirement Description DO-331 References
Check ID ID
Check Stateflow debugging DO178C_22 Simulink Verification and MB.6.3.1.b High-level
options Validation shall verify that therequirements are accurate and
Stateflow debugging options consistent
mathworks.do178.hisf_0011 comply with the Modeling MB.6.3.1.e High-level
Guidelines for High-Integrity requirements conform to
Systems, R2015a standards
MB.6.3.2.b Low-level
For details, see “Check requirements are accurate and
Stateflow debugging options” in consistent
Simulink Verification and MB.6.3.2.e Low-level
Validation DO-178C/DO-331 requirements conform to
Checks and Model Advisor User standards
Information.
Check usage of lookup table DO178C_23 Simulink Verification and MB.6.3.1.g Algorithms are
blocks Validation shall verify that accurate
lookup table blocks are MB.6.3.2.g Algorithms are
mathworks.do178.LUTRangeChe configured to generate out-of- accurate
ckCode range checking code.
2-13
Check Title Requirement Description DO-331 References
Check ID ID
Check usage of Math Operations DO178C_25 Simulink Verification and MB.6.3.1.g Algorithms are
blocks Validation shall verify that math accurate
operations blocks comply with MB.6.3.2.g Algorithms are
mathworks.do178.MathOperation the Modeling Guidelines for accurate
sBlocksUsage High-Integrity Systems, R2015a.
2-14
Check Title Requirement Description DO-331 References
Check ID ID
Check usage of Ports and DO178C_28 Simulink Verification and MB.6.3.1.e High-level
Subsystems blocks Validation shall verify that Ports requirements conform to
and Subsystems blocks comply standards
mathworks.do178.PortsSubsyste with the Modeling Guidelines MB.6.3.2.e Low-level
msUsage for High-Integrity Systems, requirements conform to
R2015a. standards
2-15
Check Title Requirement Description DO-331 References
Check ID ID
Check for MATLAB Function DO-178C_31 Simulink Verification and MB.6.3.2.b Accuracy and
interfaces with inherited Validation shall verify that Consistency of Low-Level
properties MATLAB Functions comply Requirements
with the Modeling Guidelines
mathworks.do178.himl_0002 for High-Integrity Systems,
R2015a.
2-16
Check Title Requirement Description DO-331 References
Check ID ID
Check MATLAB Code Analyzer DO-178C_33 Simulink Verification and MB.6.3.1.g Algorithms are
messages Validation shall verify that accurate
MATLAB Functions for MB.6.3.2.g Algorithms are
mathworks.do178.himl_0004 %#codegen directive, accurate
MATLAB Code Analyzer
messages, and justification
message IDs comply with the
Modeling Guidelines for High-
Integrity Systems, R2015a.
2-17
2.2 DO-178C/DO-331 Checks and Model Advisor User
Information
The Simulink® Verification and Validation™ user information for the DO-178C/DO-331 checks
is in the Simulink Verification and Validation DO-178C/DO-331 Checks and Model Advisor
User Information.
To access the user information document, on the MATLAB ® command line, type qualkitdo
to open the Artifacts Explorer. The document is in Simulink Verification and Validation >
r2015a.
2-18
2.3 Model Coverage Operational Requirements
The Simulink Verification and Validation product includes model coverage, which helps you
assess the extent to which test cases exercise the pathways through a model. Model coverage
works for Simulink blocks, including the MATLAB Function block, and Stateflow charts.
The following table lists the Simulink Verification and Validation model coverage capabilities
supported by the DO Qualification Kit. Also listed are the corresponding DO-178C or DO-331
(references that include MB prefix) section to which each capability applies. To claim
certification credit, the user is responsible for determing the applicability of the model coverage
capabilities supported by the DO Qualification Kit to their project.
2-19
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
Decision Coverage MC_SL_DC Simulink Verification and MB.6.3.1.d High-level requirements are
(DC) Validation shall determine the verifiable
DC of a model.
2-20
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
Lookup Table MC_SL_LUT Simulink Verification and 6.4.5 Test cases and procedures are
Coverage (LUT) Validation shall provide LUT correct
coverage. 6.4.4.1 Test coverage of high-level
requirements is achieved
For details, see “Lookup 6.4.4.1 Test coverage of low-level
Table Coverage” in Simulink requirements is achieved
Verification and Validation
Model Coverage User
Information.
Signal Range MC_SL_SR Simulink Verification and
Coverage Validation shall provide
signal range coverage.
2-21
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
Abs block MC_SL_ABS Simulink Verification and MB.6.3.1.d High-level requirements are
Validation shall provide DC,
verifiable
saturate on integer overflow,
MB.6.3.2.d Low-level requirements are
and relational boundary verifiable
coverage for the Abs block.*
MB.6.3.3.d Software architecture is
verifiable
MB.6.3.2.a Low-level requirements
Combinatorial Logic MC_SL_COMB Simulink Verification and comply with high-level requirements
block LOGIC Validation shall provide DC 6.4.5 Test cases and procedures are
and CC for the Combinatorial correct
Logic block.* 6.4.4.1 Test coverage of high-level
requirements is achieved
Dead Zone block MC_SL_DEAD Simulink Verification and 6.4.4.1 Test coverage of low-level
Validation shall provide DC, requirements is achieved
saturate on integer overflow,
and relational boundary
coverage for the Dead Zone
block.*
Direct Lookup Table MC_SL_DLUT Simulink Verification and 6.4.5 Test cases and procedures are
(n-D) block ND Validation shall provide LUT correct
coverage for the Direct 6.4.4.1 Test coverage of high-level
Lookup Table (n-D) block.* requirements is achieved
6.4.4.1 Test coverage of low-level
requirements is achieved
Discrete-Time MC_SL_DINT Simulink Verification and MB.6.3.1.d High-level requirements are
Integrator block Validation shall provide DC verifiable
and saturate on integer MB.6.3.2.d Low-level requirements are
overflow coverage for the verifiable
Discrete-Time Integrator MB.6.3.3.d Software architecture is
block.* verifiable
MB.6.3.2.a Low-level requirements
Enabled and Triggered MC_SL_ENTR Simulink Verification and comply with high-level requirements
Subsystem block G Validation shall provide DC, 6.4.5 Test cases and procedures are
CC, and MCDC for the correct
Enabled and Triggered 6.4.4.1 Test coverage of high-level
Subsystem block.* requirements is achieved
2-22
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
Enabled Subsystem MC_SL_ENAB Simulink Verification and 6.4.4.1 Test coverage of low-level
block Validation shall provide DC, requirements is achieved
CC, and MCDC for the
Enabled Subsystem block.*
Fcn block MC_SL_FCN Simulink Verification and
Validation shall provide CC,
MCDC, and relational
boundary coverage for the
Fcn block.*
For Iterator, For MC_SL_FOR Simulink Verification and
Iterator Validation shall provide DC
Subsystem blocks for the For Iterator, For
Iterator Subsystem blocks.*
If, If Action MC_SL_IF Simulink Verification and
Subsystem blocks Validation shall provide DC,
CC, MCDC, and relational
boundary coverage for the If,
If Action Subsystem blocks.*
Interpolation Using MC_SL_PREL Simulink Verification and 6.4.5 Test cases and procedures are
Prelookup block UT Validation shall provide LUT correct
and saturate on integer 6.4.4.1 Test coverage of high-level
overflow coverage for the requirements is achieved
Interpolation Using Prelookup 6.4.4.1 Test coverage of low-level
blocks.* requirements is achieved
Logical Operator MC_SL_LOGI Simulink Verification and MB.6.3.1.d High-level requirements are
block C Validation shall provide CC verifiable
and MCDC coverage for the MB.6.3.2.d Low-level requirements are
Logical Operator blocks.* verifiable
MB.6.3.3.d Software architecture is
verifiable
MB.6.3.2.a Low-level requirements
comply with high-level requirements
6.4.5 Test cases and procedures are
correct
6.4.4.1 Test coverage of high-level
requirements is achieved
6.4.4.1 Test coverage of low-level
requirements is achieved
2-23
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
1-D Lookup Table MC_SL_LUT1 Simulink Verification and 6.4.5 Test cases and procedures are
block D Validation shall provide correct
lookup table and saturate on 6.4.4.1 Test coverage of high-level
integer overflow coverage for requirements is achieved
the 1-D Lookup Table block.* 6.4.4.1 Test coverage of low-level
2-D Lookup Table MC_SL_LUT2 Simulink Verification and requirements is achieved
block D Validation shall provide
lookup table and saturate on
integer overflow coverage for
the 2-D Lookup Table block.*
n-D Lookup Table MC_SL_LUTN Simulink Verification and
block D Validation shall provide
lookup table and saturate on
integer overflow coverage for
the n-D Lookup Table block.*
MATLAB Function MC_SL_EML Simulink Verification andMB.6.3.1.d High-level requirements are
block Validation shall provide DC,
verifiable
CC, MCDC, and relational MB.6.3.2.d Low-level requirements are
boundary coverage for theverifiable
MATLAB Function block.* MB.6.3.3.d Software architecture is
MinMax block MC_SL_MINM Simulink Verification and verifiable
AX Validation shall provide DC MB.6.3.2.a Low-level requirements
and saturate on integer comply with high-level requirements
overflow coverage for the 6.4.5 Test cases and procedures are
MinMax block.*
correct
Model block MC_SL_MDLR Simulink Verification and 6.4.4.1 Test coverage of high-level
EF Validation shall provide DC, requirements is achieved
CC, MCDC, LUT, Simulink 6.4.4.1 Test coverage of low-level
Design Verifier, saturate on requirements is achieved
integer overflow coverage,
and relational boundary
coverage for the Model
block.*
Multiport Switch MC_SL_MPSW Simulink Verification and
block ITCH Validation shall provide DC
and saturate on integer
overflow coverage for the
Multiport Switch block.*
Rate Limiter block MC_SL_RATLI Simulink Verification and
M Validation shall provide DC
relational boundary coverage
for the Rate Limiter block.*
2-24
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
Relational Operator MC_SL_RELO Simuink Verification and
block P Validation shall provide
condition and relational
boundary coverage for the
Relational Operator block.*
Relay block MC_SL_RELA Simulink Verification and
Y Validation shall provide DC
and relational boundary
coverage for the Relay
block.*
Saturation block MC_SL_SATU Simulink Verification and
RATE Validation shall provide DC
and relational boundary
coverage for the Saturation
block.*
Sqrt, Signed Sqrt, MC_SL_SQRT Simulink Verification and
Reciprocal Sqrt Validation shall provide
saturate on integer overflow
coverage for the Sqrt, Signed
Sqrt, Reciprocal Sqrt blocks.*
Switch block MC_SL_SWIT Simulink Verification and
CH Validation shall provide DC,
saturate on integer overflow
coverage, and relational
boundary coverage for the
Saturation block.*
Switch Case, Switch MC_SL_CASE Simulink Verification and
Case Action Validation shall provide DC
Subsystem blocks for the Switch Case, Switch
Case Action Subsystem
blocks.*
Triggered Subsystem MC_SL_TRIG Simulink Verification and
block GER Validation shall provide DC,
CC, and MCDC for the
Triggered Subsystem block.*
While Iterator, While MC_SL_WHIL Simulink Verification and
Iterator Subsystem E Validation shall provide DC
blocks for the While Iterator, While
Iterator Subsystem blocks.*
2-25
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
Stateflow Cyclomatic MC_SF_CYC Simulink Verification and
Complexity Validation shall determine the
cyclomatic complexity of
Stateflow objects.**
Chart as triggered MC_SF_TRIG Simulink Verification and
Simulink block GER Validation shall provide DC
for Charts used as a triggered
Simulink block.**
Chart with Exclusive MC_SF_CHAR Simulink Verification and
OR Substates TSUB Validation shall provide DC
for Charts containing
exclusive OR substates.**
Superstate with MC_SF_SUPE Simulink Verification and
Exclusive OR RSUB Validation shall provide DC
Substates for Superstates containing
exclusive OR substates.**
State with On MC_SF_ONEV Simulink Verification and
Event_Name Action ENT Validation shall provide DC
Statement for States with ON
Event_Name Action
Statement.**
Conditional transition MC_SF_TRAN Simulink Verification and
decision DEC Validation shall provide DC
for conditional transitions.**
Condition coverage of MC_SF_TRAN Simulink Verification and
transition decision COND Validation shall provide CC
for transition decisions.**
MC/DC coverage of MC_SF_TRAN Simulink Verification and
transition decision MCDC Validation shall provide
MCDC for transition
decisions.**
Relational boundary MC_SF_BOUN Simulink Verification and
coverage for Stateflow DCOV Validation shall provide
boundary coverage for
Stateflow.**
2-26
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
Truth Table conditions MC_SF_TTCO Simulink Verification and
ND Validation shall provide CC
for Truth Tables.
2-27
Model Coverage Requirement Description DO-178C/DO-331 References
Capability ID
Simulink Design MC_SLDV_SL Simulink Verification and 6.4.5 Test cases and procedures are
Verifier Coverage DV Validation shall provide correct
Simulink Design Verifier
Coverage.
2-28
2.4 Model Coverage User Information
The Simulink® Verification and Validation™ user information for the model coverage is in the
Simulink Verification and Validation Model Coverage User Information.
To access the user information document, on the MATLAB® command line, type qualkitdo
to open the Artifacts Explorer. The document is in Simulink Verification and Validation >
r2015a.
2-29
3 Installation
To use the Simulink® Verification and Validation™ product, install the following MathWorks®
products:
MATLAB®
Simulink®
Simulink Verification and Validation
Instructions for installing the products are available at the MathWorks Documentation Center,
R2015a:
Installation
3-2
4 Operational Environment
The DO Qualification Kit product supports the following operating environments for the
Simulink® Verification and Validation™ product:
Personal computer
One of the following operating systems:
- Microsoft® Windows®
- Linux®1
MATLAB® Software
Simulink® Software
Simulink Verification and Validation software
1
Linux® is a registered trademark of Linus Torvalds.