Airborne avionics HDL design airworthiness compliance verification platform and testing methods
By designing an airworthiness compliance verification platform, the problem that existing FPGA logic design verification platforms cannot meet the airworthiness certification requirements of avionics equipment is solved. This achieves efficient and accurate FPGA logic design verification, which is suitable for airworthiness compliance verification of avionics equipment.
Patent Information
- Application Number
- CN202310144413.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-02-21
AI Technical Summary
The existing FPGA logic design verification platform has not been certified by RTCA DO-254, and its internal module packaging is inaccessible, which fails to meet the requirements for airworthiness certification of avionics equipment.
An airworthiness compliance verification platform for HDL design of airborne avionics equipment is provided, including interface modules, test cases and assertion checking modules. It is written and verified based on SystemVerilog and meets the airworthiness compliance verification requirements of RTCA DO-254.
It achieves efficient and accurate functional compliance verification of FPGA logic design, is suitable for airworthiness certification of avionics equipment, and improves the reusability of code coverage and the readability of code.
Smart Images

Figure CN117610490B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of airworthiness compliance verification technology for the design of civil airborne avionics equipment using Hardware Description Language (HDL), specifically to a SystemVerilog-based airworthiness compliance verification platform and testing method for HDL design of airborne avionics equipment. Background Technology
[0002] Safety is the lifeline of civil aviation and the most basic and important requirement and design goal for airborne electronic equipment (AFEE) of civil airliners. For safety reasons, the design and production of AFEE must meet airworthiness standards and undergo rigorous airworthiness compliance verification before it can be installed and used on civil airliners. With the increasing complexity of AFEE, comprehensive and complete functional and performance compliance verification is a pressing issue for verification engineers and poses a significant challenge to the design of verification platforms.
[0003] Airworthiness standards include technical standards and advisory circulars issued by civil aviation authorities of various countries, as well as industry standards issued by organizations such as ARINC and RTCA. For FPGA logic design in airborne electronic equipment, the industry widely recognized standard by civil aviation authorities worldwide is airworthiness certification in accordance with the requirements of RTCA DO-254, "Guideline for Design Assurance of Airborne Electronic Hardware." The RTCA DO-254 standard classifies Development Process Assurance Levels (DALs) into five levels, from A to E, with Level A equipment having the highest safety level and the most stringent requirements for airworthiness verification and certification. Therefore, meeting the design compliance verification requirements for high safety levels is a crucial technology in the development of airborne electronic hardware, and currently, there is little domestic experience in this area.
[0004] Currently, there are some mature verification platforms for FPGA logic design in China, such as AVM and UVM. However, these platforms are only used in the field of chip design and verification and have not been certified by RTCA DO-254. In particular, many of their internal modules are encapsulated and cannot be accessed or viewed by users. Therefore, they are not suitable for airworthiness certification of avionics equipment. Summary of the Invention
[0005] The technical problem this invention aims to solve is that existing verification platforms for FPGA logic designs are only used in the field of chip design and verification, but have not been certified by RTCA DO-254. In particular, many of their internal modules are encapsulated, making them inaccessible to users and unsuitable for airworthiness certification of avionics equipment. The purpose of this invention is to provide an airworthiness compliance verification platform and testing method for HDL designs of airborne avionics equipment. This verification platform is suitable for airworthiness certification of avionics equipment, filling the gap in the aviation field for functional compliance verification of FPGA logic designs for airborne equipment. Furthermore, this invention is a verification platform capable of efficiently and accurately verifying the functional compliance of high-security-level (A and B) FPGA logic designs for airborne equipment.
[0006] This invention is achieved through the following technical solution:
[0007] In a first aspect, the present invention provides an airworthiness compliance verification platform for HDL design of airborne avionics equipment, the verification platform including an interface module, test cases and assertion checking module;
[0008] The interface module is used to package the input and output interfaces of each sub-module of the design under test in the top-level module of the design under test, so that they can be accessed by test cases; at the same time, it can also expose the internal signals of the sub-modules of the design under test for access by test cases and assertion checking modules.
[0009] Test cases are written based on the object-oriented programming approach of SystemVerilog. Each test case is written as a class. Several test case classes of the submodule to be tested are packaged into a test case package and stored in a test case file.
[0010] The assertion checking module is used for verification based on SystemVerilog assertions. It monitors the functional correctness of internal signals exported from the interface module through assertion checkpoints.
[0011] As a further optimization, the verification platform also includes a top-level module of the design under test;
[0012] The top-level module of the design under test is used to collect code coverage of the entire design under test in the form of sub-modules, serving as the DUT for each individual design under test.
[0013] As a further preferred option, the verification platform also includes a system clock and a reset excitation source;
[0014] The system clock and reset excitation source are used to excite the DUT in the top-level module of the DUT and generate excitation signals.
[0015] As a further preferred option, the class member variables include an interface for connecting to the design under test (DUT), input signals of the DUT for stimulation, and acquired output signals of the DUT, etc.
[0016] The class's methods include creating, configuring interfaces, and running.
[0017] As a further preferred option, the assertion checkpoint includes assertion properties and sequences used to check a submodule of the design under test (DUT).
[0018] To meet the readability requirements of RTCA DO-254 during review by the auditor, complex assertions should be broken down into combinations of multiple sub-events, each written as a sequence. Typically, a property is used as the body of an assertion, consisting of multiple sequences.
[0019] As a further preferred option, the verification platform meets the airworthiness compliance verification requirements of RTCA DO-254.
[0020] Secondly, the present invention provides a method for testing the airworthiness compliance of HDL design for airborne avionics equipment. This testing method is based on the aforementioned HDL design airworthiness compliance verification platform for airborne avionics equipment. The testing method includes:
[0021] The test environment for the airworthiness compliance verification platform of the HDL design of the airborne avionics equipment was configured using interface modules and test cases.
[0022] After the test environment is configured, the assertion checking module is activated; at the same time, each test case is created, initialized and executed sequentially until all test cases have finished running.
[0023] As a further preferred option, the test environment configured for the airborne avionics HDL design airworthiness compliance verification platform includes:
[0024] Define an interface module for each submodule of the Design Under Test (DUT), and instantiate the interface module;
[0025] Instantiate the Design Under Test (DUT), and when instantiating the interface of the DUT, create the connection relationship between the DUT and each interface module;
[0026] The import command includes all test environment package files and assertion checkpoint packages.
[0027] Declare handles to each test case;
[0028] Insert an assertion describing the assertion checkpoint and activate the assertion;
[0029] Generate system clock and reset signals.
[0030] As a further preferred option, the test cases need to be initialized before each test case is executed;
[0031] After each test case is executed, it needs to be destroyed to release the interface it uses, so as to ensure that it will not interfere with the execution of subsequent test cases.
[0032] As a further preferred approach, each test case is created, initialized, and executed sequentially, including:
[0033] Call the creation function (new function) to create test cases;
[0034] Establish connections between test cases and interface modules;
[0035] Run the test cases while performing the following operations:
[0036] Run the driving task (task): Generate excitation signals according to the protocol requirements of the DUT input port, and apply the excitation signals to the DUT input port through the interface module;
[0037] Operation monitoring task: According to the protocol requirements of the DUT input port, collect and monitor the data signals of the DUT output port;
[0038] End the test case and release the interface used by the test case to ensure that it will not interfere with the execution of subsequent test cases.
[0039] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0040] 1. The verification platform of this invention is suitable for airworthiness certification of avionics equipment, filling the gap in the aviation field for the lack of a verification platform for functional compliance verification based on the FPGA logic design of airborne equipment. Furthermore, this invention is a verification platform capable of efficiently and accurately verifying the functional compliance of high-security-level (A and B) airborne equipment FPGA logic designs.
[0041] 2. The present invention is based on the above verification platform for verification testing, which meets the airworthiness compliance verification requirements of RTCA DO-254. The code coverage can be collected throughout all test cases and applied to the entire design. The modular architecture makes it easier for reviewers (such as airworthiness certification personnel of the Civil Aviation Administration of China) to check the behavioral compliance of the test case code during the review, and also improves the reusability of the code. Attached Figure Description
[0042] The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and form part of this application, do not constitute a limitation thereof. In the drawings:
[0043] Figure 1 This is a schematic diagram of the structure of the verification platform of the present invention;
[0044] Figure 2 This is a schematic diagram of the source code structure of the verification platform of this invention;
[0045] Figure 3 This is a flowchart illustrating the configuration of the test environment in the test method of this invention;
[0046] Figure 4 This is a flowchart illustrating the initialization and execution of each test case in the testing method of this invention. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.
[0048] Based on the requirements of the RTCA DO-254 standard for the airworthiness compliance verification process of HDL design of airborne avionics equipment, this invention proposes an airworthiness compliance verification platform for FPGA logic design in airborne electronic equipment, written in SystemVerilog, and describes its composition structure and the specific operation process of each step.
[0049] In summary, the requirements for the verification platform in the FPGA logic design airworthiness compliance verification process based on RTCA DO-254, and the solution approach of this invention, are summarized as follows:
[0050]
[0051] Note: The interfaces, classes, packages, tasks, properties, and sequences mentioned in this invention are features of the SystemVerilog language. This invention only uses them and does not involve their structure and function. The source code of the verification platform needs to be compiled and run based on a specific integrated development environment, which is not the scope of this invention.
[0052] The airworthiness compliance verification platform for HDL design of airborne avionics equipment designed in this invention meets the airworthiness compliance verification requirements of RTCA DO-254. Code coverage can be collected throughout all test cases to verify the entire design. The modular architecture facilitates reviewers (such as airworthiness certification personnel from the Civil Aviation Administration of China) to check the behavioral compliance of test case code during the review process, and also improves code reusability.
[0053] Example 1
[0054] like Figure 1 As shown, the present invention provides an airworthiness compliance verification platform for HDL design of airborne avionics equipment. The verification platform includes an instantiated top-level module of the design under test (DUT), an interface module, test cases, a system clock and reset excitation source, and an assertion checking module.
[0055] The interface module is used to package the input and output interfaces of each sub-module of the design under test in the top-level module of the design under test, so that they can be accessed by test cases; at the same time, it can also expose the internal signals of the sub-modules of the design under test for access by test cases and assertion checking modules.
[0056] Test cases are written based on the object-oriented programming approach of SystemVerilog, with each test case being written as a class. Several test case classes for the submodule under test are packaged into a test case package, and the test case package is stored in a test case file. The class member variables include the interface for connecting to the DUT, the input signals of the DUT for stimulation, and the acquired output signals of the DUT. The class methods include creating, configuring the interface, and running.
[0057] The assertion checking module is used for verification based on SystemVerilog assertions. It monitors the functional correctness of internal signals exported from the interface module through assertion checkpoints.
[0058] The top-level module of the design under test is used to collect code coverage of the entire design under test in the form of sub-modules, serving as the DUT for each individual design under test.
[0059] The system clock and reset excitation source are used to excite the DUT in the top-level module of the DUT and generate excitation signals.
[0060] A verification platform built and operated according to this approach can ensure that code coverage collection meets the requirements of RTCA DO-254, which means collecting code coverage for the entire design under test, rather than collecting code coverage for each submodule independently. Code coverage collection is a function of the SystemVerilog integrated development environment (IDE) that compiles and runs the verification platform code, and is configured within the SystemVerilog IDE.
[0061] The entire testing process of the verification platform of this invention can be described as follows: First, configure the test environment of the verification platform; then activate the assertion checking module, and at the same time, sequentially create and execute each test case until all test cases have finished running.
[0062] The detailed description of the verification platform of this invention is as follows:
[0063] 2.1 Verification Platform Source Code File Structure
[0064] To facilitate airworthiness compliance checks based on RTCADO-254, the verification platform's source code is stored in a testbench main file, several test case files, and several assertion checkpoint package files, such as... Figure 2 As shown.
[0065] The Testbench main file contains the Testbench main module, which acts as the main control module to manage the entire verification process, including configuring the test environment, activating assertions, and running all test cases sequentially. Based on SystemVerilog's object-oriented programming principles, a class is created for each test case. Then, several test case classes for a submodule of the design under test (DUT) are packaged into a test case package and stored in a test case file. Each assertion checkpoint contains the assertion property and sequence used to check a submodule of the DUT. To meet the readability requirements of RTCA DO-254 during review, complex assertions should be decomposed into combinations of multiple sub-events, each written as a sequence. Typically, the property is used as the body of an assertion, consisting of multiple sequences.
[0066] 2.2 Workflow of the Testbench Main Module
[0067] like Figure 2As shown, the workflow of the Testbench main module is as follows: First, configure the test environment, then activate assertions, and simultaneously run all test cases sequentially. Before running each test case, it needs to be initialized; afterwards, the test case needs to be destroyed to release the interfaces it uses, ensuring it does not interfere with the execution of subsequent test cases.
[0068] The verification platform of this invention is adapted to the airworthiness certification of avionics equipment, filling the gap in the aviation field for the lack of a verification platform for functional compliance verification based on the FPGA logic design of airborne equipment; and this invention is a verification platform that can efficiently and accurately perform functional compliance verification on the FPGA logic design of high security level (A, B level) airborne equipment.
[0069] This invention complies with the airworthiness compliance verification requirements of RTCA DO-254. Code coverage can be collected throughout all test cases and applied to the entire design. The modular architecture facilitates reviewers (such as airworthiness certification personnel from the Civil Aviation Administration of China) to check the behavioral compliance of test case code during the review process, and also improves code reusability.
[0070] Example 2
[0071] like Figures 2 to 4 As shown, the difference between this embodiment and Embodiment 1 is that this embodiment further provides a test method for the airworthiness compliance of airborne avionics HDL design. This test method is based on the aforementioned airborne avionics HDL design airworthiness compliance verification platform. The test method includes:
[0072] The test environment for the airworthiness compliance verification platform of the HDL design of the airborne avionics equipment was configured using interface modules and test cases.
[0073] After the test environment is configured, the assertion checking module is activated; at the same time, each test case is created, initialized and executed sequentially until all test cases have finished running.
[0074] As a further optimization, Figure 3 Showing Figure 2 The specific workflow of the Testbench main module in the step of "Configuring the test environment for the airworthiness compliance verification platform of the aforementioned airborne avionics HDL design" includes:
[0075] 1) Define an interface module for each submodule of the Design Under Test (DUT) and instantiate the interface module;
[0076] 2) Instantiate the Design Under Test (DUT), and when instantiating the interface of the DUT, create the connection relationship between the DUT and each interface module;
[0077] 3) Use the import command to include all test environment package files and assertion checkpoint packages;
[0078] 4) Declare handles to each test case;
[0079] 5) Insert an assertion describing the assertion checkpoint and activate the assertion;
[0080] 6) Generate system clock and reset signals.
[0081] As a further preferred option, the test cases need to be initialized before each test case is executed;
[0082] After each test case is executed, it needs to be destroyed to release the interface it uses, so as to ensure that it will not interfere with the execution of subsequent test cases.
[0083] As a further optimization, Figure 4 It shows in detail Figure 2 The workflow for initializing and running each test case. Specifically, each test case is created, initialized, and executed sequentially, including:
[0084] 1) Call the creation function (new function) to create test cases;
[0085] 2) Establish the connection between test cases and interface modules;
[0086] 3) Run the test cases while performing the following operations:
[0087] a. Run the driving task (task): Generate excitation signals according to the protocol requirements of the DUT input port, and apply the excitation signals to the DUT input port through the interface module;
[0088] b. Operation monitoring task: According to the protocol requirements of the DUT input port, collect and monitor the data signals of the DUT output port;
[0089] 4) End the test case and release the interface used by the test case to ensure that it will not interfere with the execution of subsequent test cases.
[0090] The verification platform of this invention is adapted for airworthiness certification of avionics equipment, filling the gap in the aviation field for a verification platform that performs functional compliance verification based on the FPGA logic design of airborne equipment. Furthermore, this invention is a verification platform capable of efficiently and accurately performing functional compliance verification on the FPGA logic design of high-security-level (A and B) airborne equipment.
[0091] This embodiment is based on the verification platform of embodiment 1 for verification testing, which meets the airworthiness compliance verification requirements of RTCA DO-254. Code coverage can be collected throughout all test cases and applied to the entire design. The modular architecture makes it easier for reviewers (such as airworthiness certification personnel from the Civil Aviation Administration of China) to check the behavioral compliance of test case code during the review process, and also improves the reusability of the code.
[0092] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0093] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0094] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0095] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0096] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. An airworthiness compliance verification platform for HDL design of airborne avionics equipment, characterized in that, The verification platform includes an interface module, test cases, and assertion checking module; The interface module is used to package the input and output interfaces corresponding to each sub-module of the design under test in the top-level module of the design under test for access by test cases; at the same time, it exposes the internal signals of the sub-module of the design under test for access by test cases and assertion checking module. The test cases are written based on the object-oriented programming approach of SystemVerilog, with each test case being written as a class. Several test case classes of the submodule to be tested are packaged into a test case package, and the test case package is stored in a test case file; The assertion checking module is used for verification based on SystemVerilog assertions. It monitors the functional correctness of internal signals derived from the interface module through assertion checkpoints. The verification platform also includes a top-level module for the design under test; The top-level module of the design under test is used to collect code coverage of the entire design under test in the form of sub-modules, which serves as the DUT for each design under test.
2. The airborne avionics HDL design airworthiness compliance verification platform according to claim 1, characterized in that, The verification platform also includes a system clock and a reset stimulus source; The system clock and reset excitation source are used to excite the DUT in the top-level module of the DUT and generate excitation signals.
3. The airborne avionics HDL design airworthiness compliance verification platform according to claim 1, characterized in that, The class's member variables include an interface for connecting to the Design Under Test (DUT), input signals to the DUT for stimulation, and acquired output signals from the DUT. The methods of this class include creating, configuring interfaces, and running.
4. The airborne avionics HDL design airworthiness compliance verification platform according to claim 1, characterized in that, The assertion checkpoints contain assertion attributes and sequences used to check a submodule of the design under test (DUT).
5. The airborne avionics HDL design airworthiness compliance verification platform according to claim 1, characterized in that, This validation platform complies with the airworthiness compliance validation requirements of RTCA DO-254.
6. A test method for the airworthiness compliance of HDL design for airborne avionics equipment, characterized in that, The testing method is based on the airworthiness compliance verification platform for airborne avionics HDL design as described in any one of claims 1 to 5; the testing method includes: The test environment for the airworthiness compliance verification platform of the HDL design of the airborne avionics equipment was configured using interface modules and test cases. After the test environment is configured, activate the assertion checking module; at the same time, sequentially create, initialize and execute each test case until all test cases have finished running; The test environment for configuring the airworthiness compliance verification platform for the aforementioned airborne avionics HDL design includes: Define an interface module for each submodule of the Design Under Test (DUT), and instantiate the interface module; Instantiate the Design Under Test (DUT), and when instantiating the interface of the DUT, create the connection relationship between the DUT and each interface module; The import command includes all test environment package files and assertion checkpoint packages. Declare handles to each test case; Insert an assertion describing the assertion checkpoint and activate the assertion; Generate system clock and reset signals.
7. The method for testing the airworthiness compliance of HDL design for airborne avionics equipment according to claim 6, characterized in that, The test cases are initialized before each test case is executed; After each test case is executed, the test case is destroyed to release the interface it used.
8. The method for testing the airworthiness compliance of HDL design for airborne avionics equipment according to claim 6, characterized in that, Each test case is created, initialized, and executed sequentially, including: Call the creation function to create test cases; Establish connections between test cases and interface modules; Run the test cases while performing the following operations: Run the driving task: Generate excitation signals according to the protocol requirements of the DUT input port, and apply the excitation signals to the DUT input port through the interface module; Operation monitoring task: According to the protocol requirements of the DUT input port, collect and monitor the data signals of the DUT output port; End the test case and release the interface used by the test case to ensure that the test case will not interfere with the execution of subsequent test cases.
