Desk summary
- 01The reference project is a tool vendor’s DO-178C/DO-331 case study: the flight control computer (FCC) of a helicopter that holds pitch and roll attitude and yaw rate from cyclic and pedal inputs, closes three hydraulic actuator loops, and votes three AHRS sensors.
- 02Requirements flow from 11 system requirements (SR_1–SR_11) to 13 textual high-level software requirements (HLR_1–HLR_13), which are linked to elements of five design models: the FCC top model and the referenced models AHRS_voter, Heli_inner_loop, Heli_outer_loop and ActuatorLoop.
- 03The project folders mirror the DO-178C life cycle — DO_01_Planning to DO_06_ToolQualification — and the deliverable folder names follow the DO-331 data-item numbering (MB_11_01 PSAC … MB_11_23 model standard), with verification evidence filed by Annex A table (A3–A7).
- 04Every verification activity is a one-line utility that writes a report into a fixed place: model-standard checks, design-error and dead-logic analysis, requirement-based simulation, generated low-level tests, model and code coverage, SIL/PIL, MISRA checks, bug finding, code proving and source-to-model inspection.
- 05The real reports contain real findings — dead saturation logic, undecided overflow proofs, a failed source-to-model inspection, unreviewed MISRA directives, a one-sided test assertion — which make it an excellent lesson in what evidence looks like before it is clean.
Intuition
Why study a demo project at all?
Reading DO-331 tells you what must be true. A worked project shows you what the paperwork physically looks like: which folder a model review checklist lives in, what a coverage report says, how a requirement ID shows up inside a test. Think of this case study as a show home — not every room is finished (tests exist only for one model), but the plumbing between rooms is all there, and you can see exactly where your own project’s pipes need to go.
Note
Provenance and honesty about scope
The project is built on a vendor start-up template for DO-178C model-based work and uses that vendor’s dataflow/state-machine modelling, code generation and verification tools; the reports in it were produced with a 2019-era release. Plans and standards in DO_01_Planning are templates with placeholders, not a filled-in certification package, and full requirement-based tests exist only for the AHRS voter. Treat it as a reference architecture for evidence, not as a certified product.
The system: a helicopter attitude and rate controller
The pilot moves the cyclic (fore/aft and left/right) and the pedals. Three LVDT position sensors turn those movements into 16-bit signed integers. The FCC converts them into commands — pitch attitude, roll attitude and yaw rate — and runs a two-layer control law: an outer loop of three PI controllers turns attitude/rate errors into rate commands, and a multi-variable inner loop stabilises pitch, roll and yaw body rates. The result drives three electro-hydraulic actuators (two for the main rotor cyclic, one for the tail rotor), each with its own fast PID position loop and LVDT feedback. Feedback comes from three AHRS units on a digital avionics bus; the software checks each unit’s validity flag and votes the three. Collective and throttle are out of scope.
The 11 system requirements (paraphrased) and the HLRs that refine them
| ID | System requirement (paraphrase) | Refined by |
|---|---|---|
| SR_1 | Process three LVDT pilot inputs: fore/aft cyclic, left/right cyclic, pedals | HLR_1 |
| SR_2 | Interface to three hydraulic actuators (two cyclic, one tail rotor) | HLR_2, HLR_3 |
| SR_3 | Each actuator: electro-hydraulic valve command plus LVDT piston feedback | HLR_2, HLR_3 |
| SR_4 | Actuator position loop: ≥ 10 Hz bandwidth, damping ≥ 0.4, steady-state error within 5% | HLR_4 |
| SR_5 | Process three AHRS bus inputs: pitch/roll attitude and pitch/roll/yaw rates | HLR_10 |
| SR_6 | Attitude tracking within 1° (rate within 0.5°/s), rise time about 2 s, overshoot ≤ 10% | HLR_5 – HLR_8 |
| SR_7 | Control bandwidth limited to 40 rad/s (rotor dynamics and noise) | HLR_5 – HLR_8 |
| SR_8 | Gain margin ≥ 10 dB and phase margin ≥ 45° in all axes | HLR_5 – HLR_8 |
| SR_9 | Limit pitch and roll attitude to 30° (±10%) and yaw rate to 15°/s (±10%) | HLR_6 – HLR_8 |
| SR_10 | Determine validity of each AHRS before using its data | HLR_9 |
| SR_11 | Voting: three valid → middle value; two valid → average; one valid → that unit | HLR_11 – HLR_13 |
The 13 high-level software requirements and where they are implemented
| HLR | Content (paraphrased) | Implemented in |
|---|---|---|
| HLR_1 | Pilot LVDT scaling: cyclic ±2 in → 15°/in; pedal ±3 in → 5°/s per inch; 16-bit signed input | FCC, Heli_outer_loop |
| HLR_2 | Actuator LVDT feedback: ±0.1 m mapped to the full int16 range | FCC, ActuatorLoop |
| HLR_3 | Drive three valve commands as int16 outputs, ±0.1 m full scale | FCC, ActuatorLoop |
| HLR_4 | Each actuator loop is a PID at 1 ms with specified P, I, D gains and derivative filter coefficient | FCC, ActuatorLoop |
| HLR_5 | Inner loop: closed-loop pitch/roll/yaw rate control, 40 rad/s, fixed 3×5 feedback gain matrix, 10 ms | FCC, Heli_inner_loop |
| HLR_6 | Pitch outer loop: PI at 10 ms with specified gains | FCC, Heli_outer_loop |
| HLR_7 | Roll outer loop: PI at 10 ms with specified gains | FCC, Heli_outer_loop |
| HLR_8 | Yaw outer loop: PI at 10 ms with specified gains | FCC, Heli_outer_loop |
| HLR_9 | Check each AHRS is valid before using its data | FCC, AHRS_voter |
| HLR_10 | AHRS bus content: validity flag, pitch ±90°, roll ±180°, body rates ±60°/s | FCC, AHRS_voter, Heli_outer_loop |
| HLR_11 | Three valid AHRS → use the middle value of each parameter | AHRS_voter |
| HLR_12 | Two valid AHRS → use the average of the two | AHRS_voter |
| HLR_13 | One valid AHRS → use that unit’s values | AHRS_voter |
What the auditor looks for
Two things a reviewer would notice in these requirements
First, HLR_4 to HLR_8 already fix the controller structure, gains and frame rates — they read more like design than like requirements, because the what (bandwidth, margins, tracking) lives at system level (SR_4, SR_6–SR_8). That is a legitimate choice if the gains are system-validated design constraints, but it should be stated, and the link from gains back to the stability margins must be shown by system analysis, not by software testing. Second, nothing says what happens when no AHRS is valid. As you will see below, the model has a branch for that case — so either a requirement is missing or that branch is derived logic needing a derived requirement.
Model-based development
Which DO-331 pattern is this?
HLRs are textual (held in a requirements tool and exported as reports); the five models are design models that contain LLRs and architecture and from which code is generated. There is no specification model. A system-level plant-plus-controller model and a gain-tuning script also exist in the work area, but they are systems engineering artefacts used to choose the gains, not software life-cycle data. This is the most common industrial pattern; see Specification vs Design Models.
The model architecture
The software architecture is the model hierarchy. The top model, FCC, owns the interfaces (three pilot inputs, three actuator feedbacks, three AHRS buses in; three valve commands out) and the scheduling. It references the four component models, instantiating ActuatorLoop three times. Rate-transition blocks connect the 10 ms control-law rate to the 1 ms actuator rate, so the generated code has two step functions, one per rate.
The five design models (from their exported design descriptions)
| Model | What it does | Notable structure | Model version in reports |
|---|---|---|---|
| FCC | Top level: helicopter flight control for pitch attitude, roll attitude and yaw rate; closes three actuator loops; takes three AHRS inputs | References the other four models (ActuatorLoop three times); rate transitions between 10 ms and 1 ms; int16 interfaces | 1.71 |
| AHRS_voter | Votes three AHRS units: mid value, average or single value depending on how many are valid | Bus selectors per AHRS; a Sum of validity flags drives a multiport switch; Mid_Value (min/max network), Avg_Value and Single_Value subsystems | 1.69 |
| Heli_outer_loop | Outer attitude/rate loops based on pilot inputs | Three PI controllers, pilot-input scaling, saturations at ±30° for attitude | 1.32 |
| Heli_inner_loop | Multi-variable inner loop stabilising pitch, roll and yaw rates | Static output-feedback gain matrix (3×5) on the voted AHRS vector | 1.32 |
| ActuatorLoop | PID position control of one hydraulic actuator | Discrete PID with difference-based derivative and filter, integrator, saturation, int16 type conversion; 15 of its 16 child blocks carry requirement links | 1.45 |
Worked example
How the voter is actually built
Inside AHRS_voter, each AHRS bus is split into its five parameters and its validity flag. The three validity flags are summed; the sum (0, 1, 2 or 3) selects an input of a multiport switch. Port 3 is the Mid_Value subsystem, which computes the middle of three values with a small network of min and max blocks; port 2 is Avg_Value, which uses switches on the validity flags to pick the two valid units and halve their sum; port 1 is Single_Value, which uses switches to pass through the one valid unit; port 0 — no valid sensor — is fed by a constant. The design is a pure dataflow model (no state machine), which keeps the logic easy to analyse formally.
Design data that travels with each model
- —The model file itself, plus a separate requirement-link file keyed by model element IDs (for example
AHRS_voter:12→ HLR_11). - —A model-specific data dictionary (parameters used only by that model). Shared items — enumerations, buses such as the AHRS bus, data-type aliases — live in common data folders.
- —A design description exported from the model: version and checksum, interface tables with data types and dimensions, every block’s parameters, execution order, design variables, the requirement links of every subsystem, a list of elements not linked to requirements, and the full configuration set.
- —An
open_<model>script that loads all data before opening the model, so every automated utility sees exactly the same model + data combination.
Practitioner tip
Read the “not linked to requirements” table first
In the exported design descriptions, the unlinked objects are small: the model-info annotation block in every model; in AHRS_voter also the bus selectors, muxes and the port-0 constant. Most are legitimately non-contributing (annotation, signal routing), but the constant is the no-valid-sensor output — real behaviour without a requirement. This is exactly the triage DO-331 asks for when it says non-contributing elements must be identified.
Project structure: why DO_01 … DO_06
The folder tree is the life cycle made physical. Each top-level folder holds one process’s outputs, each model gets an identical specification/verification pair of sub-folders, and the deliverables folder is organised by the data items an authority will ask for. The payoff is that a reviewer — or a script — can find any piece of evidence without asking.
Top-level folders and their role
| Folder | Holds | Life-cycle process |
|---|---|---|
| DO_01_Planning/plans | PSAC, SDP, SVP, SCMP, SQAP (named MB_11_01 … MB_11_05) | Planning (A-1) |
| DO_01_Planning/standards | Requirements, design and code standards (MB_11_06 … MB_11_08) and the Software Model Standard (MB_11_23) | Planning (A-1) |
| DO_02_Requirements | System and high-level requirement sets, trace data, derived requirements; requirement review checklists | Requirements (A-2, A-3) |
| DO_03_Design/<model>/specification | Model, link file, model data dictionary, exported design description | Design (A-2) |
| DO_03_Design/<model>/verification | model_reviews, design_standard_checks, design_error_detections (design_error, dead_logic), simulation_tests (high_level_tests, low_level_tests), model_coverages, model_metrics | Design verification (A-4, A-7) |
| DO_03_Design/common | Block libraries (+ their verification), shared data dictionaries, data types, descriptions of shared generated utilities and library functions | Design (A-2, A-4) |
| DO_04_Code/specification | Generated code: top-model build folder plus a shared folder for referenced models and shared utilities; makefiles | Coding & integration (A-2) |
| DO_04_Code/verification | code_reviews, code_standard_checks, coding_error_detections, code_proving, executable_tests (host/target), code_coverages, code_metrics | Code & EOC verification (A-5, A-6, A-7) |
| DO_05_Artifacts | Deliverable data items named by DO-331 numbering, MB_11_09 SRD … MB_11_22 PDIF | All (A-8 to A-10 for records) |
| DO_06_ToolQualification | One folder per qualified verification tool, holding its qualification kit artefacts | Tool qualification (DO-330) |
| tools | Model-standard check configurations, a library of code-inspector-compatible blocks, model templates and locked configuration sets, automation utilities | Development environment (SECI) |
| work | Work in progress, system-level models and tuning, caches — deliberately outside the evidence tree | Not life-cycle data |
Intuition
Why number folders after data items?
DO-178C §11 lists the life-cycle data (11.1 PSAC through 11.22 parameter data item file) and DO-331 adds 11.23 for model standards. Naming folders MB_11_09_SRD, MB_11_13_SVCP and so on means the folder tree is the index the authority expects. When someone asks “show me the SVR for the design”, you open MB_11_14_SVR/A4_models — the answer is in the path.
Mapping DO_05_Artifacts to Annex A
The two verification data items are split by Annex A table, so each sub-folder answers one table’s objectives. Verification cases and procedures (SVCP, §11.13) say how you will verify; verification results (SVR, §11.14) are the records that you did.
SVCP and SVR sub-folders and the Annex A table they serve
| Sub-folder | Contents | Annex A table | Objectives it supports |
|---|---|---|---|
| MB_11_14_SVR/A3_requirements | Requirement review checklists | A-3 | HLR compliance, accuracy, consistency, verifiability, standards, trace |
| MB_11_13_SVCP/A4_models | Model review and analysis procedures; simulation cases; simulation procedures | A-4 | How the design model will be reviewed, analysed and simulated |
| MB_11_14_SVR/A4_models | Model review checklists; model-standard reports; simulation test review checklists; simulation test reports | A-4 | LLR/architecture compliance, accuracy, standards, trace; MB simulation objectives |
| MB_11_13_SVCP/A5_source_code | Code review and analysis procedures | A-5 | How code will be reviewed and analysed |
| MB_11_14_SVR/A5_source_code | Code review checklists; source-to-model inspection reports; bug-finder and code-prover reports; WCET, stack and resource analyses | A-5 | Code complies with and traces to LLRs, conforms to standards, accuracy and consistency |
| MB_11_13_SVCP/A6_executable_object_code | Executable test cases and procedures | A-6 | How the EOC will be tested |
| MB_11_14_SVR/A6_executable_object_code | Bug-finder and code-prover reports; executable test review checklists; executable test reports | A-6 | EOC compliance and robustness with HLRs and LLRs, target compatibility |
| MB_11_14_SVR/A7_verification | Review checklists for simulation and executable cases/procedures; model coverage reports; code coverage reports | A-7 | Procedures/results correct, requirement coverage, structural coverage |
Note
Why do static-analysis reports appear under A-6?
Abstract-interpretation results (proof of absence of overflow, division by zero, out-of-bounds access) say something about the behaviour of the compiled program on the target, so they are filed as supporting evidence for target compatibility and robustness as well as for the code accuracy objectives of A-5. Claiming that credit is a planning decision and needs a qualified tool.
The verification evidence, activity by activity
What was run, and what it found
Model standard conformance (checkModelStds)
Each model was checked against the project’s model standard using 182 automated checks: 112 in a DO-178C/DO-331 modelling-standard group (87 of them high-integrity guidelines) plus a block of code-inspector compatibility checks. Results: Heli_inner_loop and Heli_outer_loop 182 pass; FCC 181 pass + 1 warning (the root model element has no requirement link); ActuatorLoop 181 + 1 (its Difference block is not recommended for production code); AHRS_voter 179 + 3 (root not linked, and the multiport switch has “conditional input branch execution” enabled, which the code inspector cannot handle). Zero failures, but every warning still needs a recorded disposition.
Design error detection (detectDesignErrs)
A formal analyser examined FCC (with all referenced models) for integer overflow, division by zero, out-of-bound array access and violations of declared min/max ranges, given input constraints (pilot and actuator inputs over the full int16 range, AHRS values within ±180). Of 14 objectives, 10 were proven valid (no division by zero in the three actuator type conversions, no overflow in the voter’s validity sum, rate-transition outputs within ±0.1, outer-loop saturations within ±30). Four were undecided because the run hit its 300-second limit: overflow in each actuator loop’s final int16 conversion, and the design range of the voter’s multiport switch output.
Dead logic detection (detectDesignErrs with dead-logic option)
Re-running with dead-logic detection (135 objectives) found six dead outcomes — two in the saturation block of each of the three actuator-loop instances: the input can never fall to the lower limit, and can never reach the upper limit. The analysis derived the controller output range as roughly ±0.169, so under the declared input ranges the saturation is never active. That is not necessarily a bug, but it must be dispositioned: remove the saturation, tighten its limits, or keep it as justified defensive logic and record why its decision outcomes cannot be covered.
Requirement-based simulation tests (verifyModel2Reqs)
For AHRS_voter, one test file holds a suite of three test cases — mid-value, average-value and single-value voting — each run in its own harness (triple, dual, single sensor) with a test-sequence block that steps through combinations and checks outputs with verify statements. Each case links to its voting HLR plus HLR_9. All three passed. The aggregated model coverage was 100% execution (18/18) and 97% decision (59/61) — two decision outcomes unreached. The report stamps the voter’s checksums both as a referenced model and as a top model.
Generated low-level tests (genLowLevelTests → verifyModel2LowLevelTests)
Starting from the coverage already achieved, a test generator targeted the remaining MC/DC and relational-boundary objectives with tolerances of 1e-5 absolute and 1% relative. It found two missing objectives and satisfied both: test case 1 sets all three AHRS invalid, driving the multiport switch to port 0; test case 2 exercises the branch in the mid-value min/max network where the third input is the maximum. Expected outputs were taken from the model. These became a low-level test file run on the model and then on the code.
Model coverage merge (mergeModelCoverage)
Coverage from the requirement-based and generated tests is merged into a cumulative model-coverage report. The lesson is in what the generated tests covered: the all-invalid branch has no HLR, so that coverage closes a hole in the model but exposes a hole in the requirements.
Code generation (genSrcCode)
Code is generated per model: referenced models into a shared folder with shared utilities, the top model into its own build folder. FCC produces separate step functions for the 1 ms and 10 ms rates plus an initialise function.
Source-to-model verification (verifySrcCode2Model)
A qualifiable code inspector compares each model with its generated code, checking that every code construct traces to a model element and implements it faithfully, and that every model element is accounted for. Reports go to DO_04_Code/verification/code_reviews per model. In the May 2020 run over the FCC hierarchy, FCC, ActuatorLoop, Heli_inner_loop and Heli_outer_loop passed, but AHRS_voter failed: 35 model objects verified, 14 failed to verify and 1 could not be processed — the multiport switch — leaving dozens of code lines unmatched or untraced. That is the same block the model-standard check had flagged with a compatibility warning. This is why the model standard includes the inspector-compatibility checks and why the project ships a library of inspector-compatible blocks.
Code standard (MISRA C:2012) checks (checkCodeStds)
Generated code was checked against a MISRA C:2012 configuration tailored for generated code. FCC: zero violations. The referenced models analysed on their own showed only one directive: AHRS_voter 9, ActuatorLoop 9, Heli_outer_loop 7, Heli_inner_loop 5 — all Directive 4.14 (“validity of values received from external sources shall be checked”), raised because model inputs arrive through pointer parameters the analyser treats as untrusted. All were still marked Unreviewed; on a real programme each needs a justification (e.g. inputs validated upstream, pointers always valid by construction).
Bug finding (detectCodingErrs / findCodeDefects)
A bug-finding static analyser looks for defects (overflows, uninitialised data, dead code, concurrency issues) and computes code metrics. Its summaries are filed per model alongside the MISRA reports.
Code proving (proveCodeQuality)
An abstract-interpretation prover analysed the whole FCC code base (all five models). Result: 694 run-time checks, all green — 0 red, 0 orange, 0 unreachable — 100% proven: AHRS_voter 414, Heli_inner_loop 88, Heli_outer_loop 81, ActuatorLoop 69, FCC 42. Metrics: 5 files, no recursion, maximum stack about 220 bytes, cyclomatic complexity 1–22, up to 729 paths in one function. One MISRA Rule 2.2 (dead code) note: the call to the voter’s initialise function has no effect. The report also lists the analysis assumptions — notably that non-finite floats (NaN, infinity) are not considered and that external pointers are valid — which a reviewer must accept explicitly.
SIL tests and code coverage (verifySrcCode2Reqs / verifySrcCode2LowLevelTests / mergeCodeCoverage)
The same AHRS_voter test files were re-run in software-in-the-loop mode against the generated code. All three requirement-based cases and both generated cases passed. Code coverage from the requirement-based tests: 93% decision, 95% statement, 100% function and function-call; the generated tests alone reached 25% decision and 28% statement; merged, the cumulative report shows 100% decision (40/40) and 100% statement (86/86). Note the model complexity (38) differs from the code complexity (23) — model and code coverage are measured on different structures. Also note that the reports measure decision and statement coverage; a Level A programme would additionally need MC/DC on the code.
PIL / target tests (verifyObjCode2Reqs / verifyObjCode2LowLevelTests)
Utilities exist to run the same test files in processor-in-the-loop mode on an embedded target and to merge PIL code coverage. These are the runs that can support A-6 credit for the executable object code; the published evidence set includes host (SIL) results only, which is a reminder that host results alone are not the finish line.
Evidence summary for the five models
| Evidence | FCC | AHRS_voter | Heli_inner_loop | Heli_outer_loop | ActuatorLoop |
|---|---|---|---|---|---|
| Model-standard checks (pass / warn of 182) | 181 / 1 | 179 / 3 | 182 / 0 | 182 / 0 | 181 / 1 |
| Design-error analysis | 14 objectives: 10 valid, 4 undecided (whole hierarchy) | via FCC | via FCC | via FCC | via FCC (3 instances) |
| Dead logic | 6 dead outcomes (all in actuator saturations) | — | — | — | Saturation never active |
| Req-based simulation | — | 3/3 pass; 100% exec, 97% decision | not provided | not provided | not provided |
| Generated low-level tests | — | 2 objectives, 2 satisfied | — | — | — |
| SIL tests + code coverage | — | 5/5 pass; 93%/95% decision/statement req-based, 100%/100% merged | — | — | — |
| Source-to-model inspection | Passed | Failed (multiport switch not processable) | Passed | Passed | Passed |
| MISRA C:2012 findings | 0 | 9 × Dir 4.14 | 5 × Dir 4.14 | 7 × Dir 4.14 | 9 × Dir 4.14 |
| Code proving (green checks) | 42 (694 total, 100% proven) | 414 | 88 | 81 | 69 |
Findings worth learning from
Pitfall
Finding 1 — a one-sided assertion in a passing test
In the mid-value test case, the first step checks abs(voted_fb(i)) < Tol, but later steps check (voted_fb(i) - AHRS1.theta) < Tol without the absolute value. Such a check passes whenever the voted output is anywhere below the expected value, however far. The test passed — and would still pass with several kinds of voter error. This is exactly why DO-178C requires review of test procedures and results (A-7) and why DO-331 adds “simulation cases/procedures are correct” objectives: a green report is only as good as its assertions. See Verification of Verification.
Pitfall
Finding 2 — coverage closed by a test that verifies no requirement
The generated test that sets all three AHRS invalid reaches the multiport switch’s port 0, whose output is a constant. No HLR defines this behaviour (HLR_11–HLR_13 cover three, two and one valid units). The right response is not to celebrate 100% coverage but to raise a problem report: either add a requirement (what should the FCC output with no valid attitude source, and how is the crew alerted?) or declare the branch derived, justify it, and give it to the safety assessment.
Pitfall
Finding 3 — a warning ignored at model level becomes a failure at code level
The model-standard report gave AHRS_voter a warning (not a failure) because its multiport switch had conditional input branch execution enabled, a setting the source-to-model inspector does not support. Nothing forced a fix, so the code inspection of AHRS_voter failed: the switch could not be processed and the code around it could not be traced. A real project then has two options — change the model to an inspector-compatible construct and regenerate, or fall back to a manual code review of that function with its own checklist and record. Treat compatibility warnings as gate failures if you intend to take credit for automated code inspection.
What the auditor looks for
Finding 4 — old evidence sitting next to new evidence
The per-model code-inspection folders still contain reports dated April 2019, while the FCC-level run and the other reports date from May 2020 against later model versions. An auditor sampling the folder could pick up the stale report. Evidence folders must contain only results for the baselined configuration, or each report must be unambiguously tied to a configuration that the SCI says is current.
Note
Finding 5 — “undecided” is not “proven”
The design-error analysis timed out on four objectives, including overflow of each actuator loop’s int16 output conversion. The later code proof showed no overflow in the generated code, and the derived ranges (outputs within about ±18,450 counts) suggest margin — but on a real project the plan must say how undecided model-level objectives are closed: longer analysis, tighter constraints, a code-level proof, or a review argument.
What the auditor looks for
Finding 6 — results must point at the configuration
Every test report in the project records the model checksum and version, and the design descriptions record the same checksum. That is what lets an auditor confirm that the simulated, analysed and inspected model is the one in the SCI. Missing or mismatched checksums are one of the quickest ways to fail a SOI 3 sample.
The tool qualification kits
DO_06_ToolQualification holds a folder per verification tool whose output is used without further review: the bug finder, the code prover, the source-to-model code inspector, the formal design verifier/test generator, the report generator (it produces the design descriptions), the test manager, and the model verification tool set (model-standard checks, model coverage, requirement linking). Each folder is populated by an export shortcut from the vendor’s qualification-kit project and contains the tool’s qualification plan, tool operational requirements, test cases and procedures, results and accomplishment summary, which the applicant then adapts and runs in its own environment. The code generator is not in this list: the plan template treats it as unqualified and verifies its output instead (code inspection, testing, coverage).
Tool roles and qualification stance in the project’s plan template
| Tool role | Activity | DO-330 criterion in the template | Resulting TQL (Level A/B) |
|---|---|---|---|
| Modelling environment, state-machine editor | Develop the design model | — (output verified) | None |
| Code generator | Generate C from the model | — (output verified by inspection and tests) | None |
| Model-standard checker | Static checks of the model against the SMS | 3 | TQL-5 |
| Model coverage | Model coverage analysis (§MB.6.7) | 3 | TQL-5 |
| Requirement-link tool | Link requirements to model elements | No credit (links reviewed) | None |
| Test manager | Run simulation and SIL/PIL tests, compare results | 3 | TQL-5 |
| Report generator | Produce design descriptions and model comparisons | 3 | TQL-5 |
| Source-to-model inspector | Verify code complies with and traces to the model | 2 | TQL-4 |
| Bug finder | Coding-rule and defect checks on source | 2 | TQL-4 |
| Code prover | Prove absence of run-time errors | 2 | TQL-4 |
Model-based development
Why criterion 2 for the code checkers?
Under DO-178C/DO-330, a verification tool is criterion 3 if it can only fail to detect errors. It becomes criterion 2 when its output is also used to justify reducing or eliminating other verification or development activities — for example using a proof of absence of run-time errors to justify reduced robustness testing. At Levels A and B criterion 2 means TQL-4 rather than TQL-5. The template’s classification is a starting point: the applicant fixes the criterion in its own PSAC according to the credit it actually claims. See Tool Qualification.
Putting it together: the evidence flow
Self-check
The AHRS voter reaches full model coverage only after a generated test sets all three sensors invalid. What should the project do?