
Capstone Design
Capstone Design Course – From Needs to Validated Systems using the V‑Model & ISO/IEC/IEEE 29148
Focus of this session: Stage 6 – Unit / Component Verification
DCP‑500A – Unit Verification
By the end of this session, you will be able to:
TST-* artifacts.
Note
Stage 6 sits on the right‑hand side, directly across from Stage 4 (Design). You are testing individual components against their design specs and allocated requirements.
Traceability chain:
STR-* – Stakeholder RequirementsREQ-* – System RequirementsCMP-* – Components (design elements)IMP-* – Implementation items (code, boards, FPGA, etc.)TST-* – Unit / component tests (Stage 6)VER-* – System verification tests (Stage 7)VAL-* – Validation activities (Stage 8)All maintained in the RTM.

Important
Stage 6 lives in the CMP-* ↔︎ TST-* space: Every component should have planned, traceable tests.
At Stage 6, we are doing verification at the unit / component level:
CMP-*) + implementation (IMP-*) behaves as its specification says.Tip
Think: “Does this module do exactly what its component spec and allocated requirements say it should?”
ISO/IEC/IEEE 29148 describes Verification as a process to confirm that work products meet their specified requirements.
At component level, this means:

Course Stage:
V‑Model Level:
Inputs:
IMP-*).Outputs:
TST-* unit/component test cases.CMP-* → TST-*).Note
Stage 6 asks: > “Is each building block solid before we snap them together in Stage 7?”
Stage 6 – Unit / Component Verification
CMP-*) and their implementations (IMP-*).Stage 7 – System / Integration Verification
REQ-*)?Important
Unit tests try to isolate the component under test. System tests exercise end‑to‑end flows.
29148 Verification Activities (adapted to Stage 6):
CMP-*) and implementation items (IMP-*) need unit tests.REQ-*) or design constraints you are verifying.TST-*)
Main Stage 6 deliverable:
Typical contents:
CMP-* and IMP-*.TST-*) – definitions.CMP-* ↔︎ TST-*)Note
DCP‑500A is the evidence package that your components are ready to be integrated.

Interpretation:
CMP-* is allocated some REQ-*.CMP-* is realized by one or more IMP-*.CMP-*, you design one or more TST-* that:
Project Recap:
BLDC motor controller for a small robot arm.
Relevant items:
REQ-SY-010: Motor speed control 0–3000 RPM, ±2% accuracy.CMP-SW-020: Motor control firmware module.IMP-SW-020A: motor_ctrl.c, motor_ctrl.h.What do we verify at Stage 6?
Example Unit Tests (TST-*):
TST-SW-020-01:
TST-SW-020-02:
TST-SW-020-03:
Test Case ID: TST-SW-020-01 – Speed Control Accuracy
REQ-SY-010 – Speed 0–3000 RPM with ±2% accuracy.CMP-SW-020 – Motor control firmware module.IMP-SW-020A – motor_ctrl.c / motor_ctrl.h.motor-fw-v1.0-TST.Procedure:
Pass/Fail Criteria:
Result:
[To be filled after execution – e.g., “PASS – max error = 1.3% at 3000 RPM”]
Project Recap:
FPGA card performing real‑time FIR low‑pass filtering.
Relevant items:
REQ-SY-020: Low‑pass FIR with 60 dB stop‑band at 8 kHz, fs = 48 kHz.CMP-HW-010: FPGA filter core.IMP-HW-010A: HDL module fir_core.vhd.Stage‑6 Focus:
fir_core.Example Unit Tests (TST-*):
TST-HW-010-01:
TST-HW-010-02:
TST-HW-010-03:
Project Recap:
Smart Lab wireless sensor nodes.
Relevant items:
REQ-SY-010: Temperature measurement 10–40°C, ±0.5°C.CMP-SY-040: Sensor node hardware.IMP-SY-040A: Node PCB rev B.Stage‑6 Hardware Verification:
Example Unit Tests (TST-*):
TST-SY-040-01: Temperature sensor calibration and accuracy bench test.TST-SY-040-02: Power integrity test – verify 3.3 V rail under load stays within ±5%.TST-SY-040-03: RF smoke test – verify node can send packets to test receiver over 5 m line‑of‑sight with RSSI above threshold.Characteristics of good unit/component tests:
REQ-* and CMP-*.Tip
Ask yourself for each unit test:
“If someone else on my team followed this procedure, would they get the same pass/fail decision?”
29148 and many SE texts use TAMDI test methods:
At Stage 6:
For Stage 6, you must define a test environment to support unit/component tests.
Examples for ECE projects:
Note
Document versions and configurations of test tools, just as you do for implementation tools.
CMP-* and IMP-* under unit test.TST-*)
CMP-* ↔︎ TST-* mapping in RTM.| TST ID | CMP ID | REQ ID(s) | Method | Result | Notes |
|---|---|---|---|---|---|
| TST-SW-020-01 | CMP-SW-020 | REQ-SY-010 | Test (HIL) | PASS | Max error 1.3% at 3000 RPM |
| TST-SW-020-02 | CMP-SW-020 | REQ-SY-010 | Test (HIL) | PASS | Settling time < 0.4 s |
| TST-HW-010-01 | CMP-HW-010 | REQ-SY-020 | Simulation | PASS | Impulse response correct |
| TST-HW-010-02 | CMP-HW-010 | REQ-SY-020 | Simulation | FAIL | Stop‑band 55 dB only |
| TST-SY-040-01 | CMP-SY-040 | REQ-SY-010 | Test (bench) | PASS | ±0.4°C across range |
Warning
A FAIL is not a disaster; hiding it is. Failures are where engineering actually happens.
When a test fails, Stage 6 should:
TST-*, CMP-*, IMP-*, and relevant REQ-*.Tip
Use your issue tracker with tags like defect, unit-test-fail, and include IDs such as TST-SW-020-02, CMP-SW-020.
Activity (5–10 minutes):
CMP-*) from your team’s design (Stage 4).REQ-*) that was allocated to this component.TST-*) with:
Example prompt answers on the board:
CMP-SW-015 – Data logger module.REQ-SW-033 – “System shall store at least 10,000 records in non‑volatile memory without data corruption.”TST-SW-015-01 – Fill log with 10,000 entries, power‑cycle 50 times, check for bit‑exact match.Note
This exercise primes their thinking for drafting DCP‑500A in their own projects.
CMP-*) and its implementation (IMP-*) satisfies its allocated requirements.TST-*, executing them in a defined environment, and recording objective evidence.REQ-* → CMP-* → IMP-* → TST-*.Important
Do not skip Stage 6 or treat it as an afterthought. A strong unit verification phase is one of the clearest markers of professional‑grade engineering practice.