Core Concepts
This paper presents an automated approach to translate natural language requirements into formal specifications and verify the consistency between the implementation and formal properties for aerospace embedded software IP components.
Abstract
The paper presents a case study on software IP components derived from aerospace embedded systems, with the objective of automating the requirement analysis and verification process. The study consists of two main modules:
Requirement Analysis:
Employs Large Language Models (LLMs) to convert unstructured natural language requirements into formal Linear Temporal Logic (LTL) specifications.
Involves a three-step process: (1) filtering requirements with temporal properties, (2) standardizing and refining the natural language descriptions, and (3) translating the refined requirements into LTL formulas.
Formal Verification:
Utilizes three distinct verification techniques: bounded model checking (CBMC), static analysis (CPAChecker), and runtime verification (TRACE).
Generates verification harnesses to check safety properties and functional correctness properties derived from the requirements.
Applies the verification tools to five real-world IP components from the China Academy of Space Technology (CAST) and reports the results.
The paper demonstrates the feasibility and effectiveness of the proposed approach in automating the requirement analysis and verification process for aerospace embedded software IP components.
Stats
The data length is not equal to 19.
The frame count is not updated.
The frame header is not 0xAC12.
The checksum is not correct.
Quotes
"The bounded model checking examines counterexamples of a specific length and generates a propositional formula that is satisfiable if and only if such a counterexample exists."
"Trace-based verification differs from traditional formal verification techniques such as model checking or theorem proving as it focuses on a subset of possible behaviors and interacts directly with the actual system rather than a formal model."