Desk summary
- 01A model-based toolchain has three kinds of tools: development tools whose output becomes airborne software (modeller, code generator, compiler), verification tools that check things (model checkers, test managers, coverage, static analysers), and support tools (requirements, CM, reporting).
- 02Whether a tool needs qualification depends on two questions: could its output insert an error, or could it fail to detect one — and are you using it to eliminate, reduce or automate a DO-178C activity without verifying its output?
- 03DO-178C Table 12-1 turns the answer (criterion 1, 2 or 3) plus the software level into a TQL; DO-330 then says what qualification data is needed at that TQL.
- 04Most MBD programmes leave the modeller and code generator unqualified and verify their output; they qualify the verification tools (TQL-5, or TQL-4 when the tool’s output also justifies dropping other activities).
- 05The case study’s one-utility-per-activity scripts make a good backbone for mapping: each utility = one activity = one set of objectives = one tool with a qualification decision.
Intuition
Think of it like a kitchen inspection
The oven (code generator) actually makes the food; if it is faulty it can poison someone, so either you certify the oven to the highest standard or you taste-test every dish. The thermometer (a verification tool) cannot poison anyone, but if it reads wrong you might serve undercooked chicken — so if you rely on it instead of cutting the chicken open, it needs calibrating. The recipe book printer (report generator) only needs checking if nobody re-reads the recipes it prints.
The decision: does this tool need qualifying?
DO-178C Table 12-1 — TQL by criterion and software level
| Criterion | Level A | Level B | Level C | Level D |
|---|---|---|---|---|
| 1 — output can insert an error into airborne software | TQL-1 | TQL-2 | TQL-3 | TQL-4 |
| 2 — verification tool whose output justifies reducing other processes | TQL-4 | TQL-4 | TQL-5 | TQL-5 |
| 3 — verification tool that could fail to detect an error | TQL-5 | TQL-5 | TQL-5 | TQL-5 |
Note
DO-178B vs DO-178C
DO-178B had only “development” and “verification” tool categories. DO-178C and DO-330 introduced the three criteria and five TQLs, which created the criterion-2 case — exactly the situation of many MBD verification tools, such as an automated source-to-model inspector or a static-analysis prover that is used to cut manual review effort. See Tool Qualification.
The big map: activity → tool → objective → qualification
Model-based activities and the tools that support them
| Activity | Tool category | Example tools | Objectives supported (DO-178C / DO-331) | Qualification need |
|---|---|---|---|---|
| Requirements capture & trace | Requirements management, link manager | DOORS-class tools, model-integrated requirement editors | A-2 (HLR, derived HLR), trace objectives in A-3/A-4 | Usually none: links and reports are reviewed |
| Specification / design modelling | Dataflow + state-machine modeller | Simulink/Stateflow, SCADE Suite, other synchronous-language editors | A-2 (architecture, LLRs) | None: model is reviewed and verified |
| Model-standard conformance | Model rule checker | Model Advisor-type checkers, SCADE checkers, custom rule engines | A-3/A-4 conformance-to-standard objectives (model standard, §MB.11.23) | TQL-5 if the report replaces a manual standards review |
| Model metrics & complexity | Model metrics tool | Built-in metric dashboards | Supports standards conformance and verifiability | Usually none (informational) |
| Design-error / dead-logic analysis | Formal model analyser | Design Verifier-type provers, model checkers | A-4 accuracy & consistency, verifiability; dead logic for coverage resolution | TQL-5 if results replace review or analysis |
| Property proving on models | Model checker / prover | Property provers on synchronous models | A-3/A-4 compliance (with DO-333 if formal methods credit) | TQL-5 (or per DO-333 plan) |
| Requirement-based simulation | Simulator + test manager | Simulation engine, test harness/sequence tools | A-4 compliance with HLRs; MB simulation-correctness objectives | Simulator/test manager TQL-5 if simulation results earn credit without other check |
| Model coverage | Model coverage analyser | Model coverage tools (decision, condition, MC/DC on models) | §MB.6.7 activity supporting A-7 (detect unintended function in the design model) | TQL-5 when its report is used as evidence |
| Automatic test generation | Test-case generator | Formal test generators | Supplementary LLR tests; coverage closure assistance | TQL-5 if tests earn credit; independence issues if same tech as code generator |
| Design description export | Report generator | Model-to-document generators | Produces SDD content (A-2 output) | TQL-5 if the document is not reviewed against the model |
| Code generation | Automatic code generator | Embedded Coder-type, qualified KCG-type | A-2 (source code); with qualification, A-5 credit | Unqualified + verify output, or TQL-1 (Level A) to drop code verification |
| Source-to-model verification | Model-to-code inspector | Code Inspector-type tools | A-5 compliance with LLRs, traceability to LLRs | TQL-5 or TQL-4 depending on credit claimed (the case-study plan template classes it as criterion 2, i.e. TQL-4 at A/B) |
| Coding-standard check | Coding-rule checker | MISRA C checkers in static analysers | A-5 conformance to code standard | TQL-5 (TQL-4 if used to drop other activities) |
| Defect detection | Bug-finding static analyser | Bug-finder-type tools | A-5 accuracy & consistency | TQL-5 / TQL-4 depending on credit |
| Run-time error proof | Abstract interpreter | Code Prover-type, Astrée-type | A-5 accuracy & consistency (overflow, divide-by-zero, bounds); supports A-6 robustness | TQL-5, or TQL-4 if it replaces testing/reviews |
| SIL / PIL / target testing | Test harness + execution | Test managers with SIL/PIL modes, target rigs | A-6 (PIL/target), A-7 test procedure/result correctness | TQL-5 if pass/fail verdicts are not reviewed |
| Structural code coverage | Code coverage analyser | Instrumenting coverage tools | A-7 statement / decision / MC/DC | TQL-5 |
| Data & control coupling | Coupling / call-graph analyser | Static call-graph and data-flow tools | A-7 data and control coupling | TQL-5 if analysis relied on |
| WCET & stack | Timing / stack analyser | Static WCET tools, stack analysers | A-5/A-6 target compatibility | TQL-5 if results relied on |
| Build | Compiler, linker, loader | Target cross-compilers | A-2 (EOC); verified via EOC testing | None per DO-178C (verified by testing) |
| Configuration management | Version control, CM system | Git/SVN/PLM, model-aware diff/merge | A-8 | None (process controls) |
Pitfall
Qualifying the tool but not the way you use it
A qualification kit proves the tool meets its operational requirements in a reference environment. It does not prove your installation, settings, check configuration, compiler or model constructs are within those requirements. DO-330 expects user activities: installing in the operational environment, running the kit’s tests there, reviewing known problems, and constraining usage to the qualified features (for example only inspector-supported blocks).
The case-study utilities as a concrete backbone
The case study wraps every activity in a script named after what it verifies. Reading the names as sentences gives a neat mental model: verify model to requirements, verify source code to model, verify object code to requirements. The table below maps each one.
Case-study utilities mapped to objectives and tools
| Utility | What it does | Tool category used | Objectives supported | Qualification kit in DO_06 |
|---|---|---|---|---|
checkModelStds | Runs the model-standard check set and writes a conformance report | Model rule checker | A-4 LLR/architecture conform to standards (model standard) | Verification & validation tool set |
computeModelMetrics | Measures model size/complexity | Model metrics | Supports standards & verifiability | (informational) |
detectDesignErrs | Formal analysis for overflow, divide-by-zero, ranges; option for dead logic | Formal model analyser | A-4 accuracy & consistency; coverage resolution | Design verifier |
verifyModel2Reqs | Runs HLR-based simulation tests on the model; collects model coverage | Simulator, test manager, model coverage | A-4 compliance with HLRs; MB simulation objectives; §MB.6.7 | Test manager; V&V tool set |
genLowLevelTests | Generates tests for model-coverage objectives not reached by HLR tests | Test generator | Supplementary LLR testing, coverage closure | Design verifier |
verifyModel2LowLevelTests | Runs generated tests on the model with coverage | Simulator, test manager | LLR test coverage on the model | Test manager |
mergeModelCoverage | Merges HLR-based and generated-test model coverage | Model coverage | §MB.6.7 evidence | V&V tool set |
genSrcCode | Generates C for a model (top or referenced) | Code generator | A-2 source code developed | None — output verified |
verifySrcCode2Model | Inspects generated code against the model | Source-to-model inspector | A-5 code complies with and traces to LLRs | Code inspector |
checkCodeStds | MISRA C:2012 rule check of generated code | Coding-rule checker | A-5 conformance to code standard | Bug finder |
detectCodingErrs / findCodeDefects | Defect detection and code metrics | Bug-finding analyser | A-5 accuracy & consistency | Bug finder |
proveCodeQuality | Proves absence of run-time errors across the model hierarchy | Abstract interpreter | A-5 accuracy & consistency; supports A-6 robustness | Code prover |
computeCodeMetrics | Code metrics | Bug-finding analyser | Supports verifiability, standards | Bug finder |
verifySrcCode2Reqs | Runs HLR tests on generated code in SIL; code coverage | Test manager (SIL), code coverage | Early A-6-style evidence on host; engineering coverage | Test manager |
verifySrcCode2LowLevelTests | Runs generated tests in SIL; code coverage | Test manager (SIL) | Model/code equivalence evidence | Test manager |
mergeCodeCoverage / mergeCodeCoveragePIL | Merges code coverage from HLR and generated tests (host or target) | Code coverage | A-7 structural coverage | V&V tool set |
verifyObjCode2Reqs | Runs HLR tests on target code in PIL | Test manager (PIL) + target | A-6 EOC complies with HLRs; target compatibility | Test manager |
verifyObjCode2LowLevelTests | Runs generated tests on target in PIL | Test manager (PIL) + target | A-6 EOC complies with LLRs | Test manager |
genSDD / genReqReport | Exports design descriptions and requirement reports | Report generator | SDD and SRD content | Report generator |
getModelChecksum | Stamps model checksums into results | Model environment | Configuration identification (A-8) | — |
rmiSetup / rmiSync2Doors | Standardises link settings; synchronises with an external requirements tool | Requirement link manager | Trace data | None — links reviewed |
What is in a qualification kit folder
The case study’s DO_06_ToolQualification contains seven folders — bug finder, code prover, code inspector, design verifier, report generator, test manager, and the model verification & validation tool set — each filled by exporting the vendor’s qualification-kit project. A kit is not a certificate; it is a head start on the DO-330 data the applicant must own.
Typical DO-330 qualification data in a kit
| Item | Purpose | Who completes it |
|---|---|---|
| Tool Qualification Plan (TQP) | States TQL, credit sought, qualification approach | Applicant (from vendor template) |
| Tool Operational Requirements (TOR) | What the tool must do in operation, including which checks/features are qualified | Vendor; applicant confirms fit to use |
| Tool test cases and procedures | Demonstrate each TOR in the operational environment | Vendor supplies; applicant runs |
| Tool test results | Pass/fail evidence on the applicant’s installation | Applicant |
| Known problems / limitations | Errata that may affect the project | Vendor; applicant assesses impact |
| Tool Configuration Index | Exact versions, patches, environment | Applicant |
| Tool Accomplishment Summary (TAS) | Summary of qualification for the authority | Applicant |
Practitioner tip
Use only qualified checks
Rule-checking tools often ship hundreds of checks, but only a subset is covered by the qualification kit. Split your model-standard check configuration into a qualified set (whose reports you take as evidence) and an advisory set (whose findings are reviewed like any other review aid). The case study keeps separate check configurations for exactly this reason.
Code-generation strategy drives the whole map
Two generator strategies
Unqualified generator + verified output
Qualified generator (TQL-1 at Level A)
What the auditor looks for
Questions reviewers ask about the toolchain
Which tool versions, patches and settings were used for each piece of evidence (SECI)? Which credit is claimed per tool and where is its TQP? Were kit tests run in your environment? How do you ensure only qualified checks and supported blocks were used? If the code generator is unqualified, show me the evidence for every A-5 objective on the generated code.
Self-check
On a Level A project, a static analyser that proves absence of run-time errors is used both to verify the code and to justify reducing robustness testing. What TQL applies?