Chip verification method and device, equipment and storage medium
By performing multi-dimensional logic coverage analysis and timing synchronization processing in chip verification, combined with failure mode effect analysis and signal consistency analysis, the problems of insufficient coverage and incomplete processing of abnormal conditions are solved, and the reliability and stability of the chip are improved. .
Patent Information
- Application Number
- CN202411086807.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During in-depth verification of the chip, insufficient coverage and incomplete handling of abnormal conditions affect the reliability and stability of the chip.
By obtaining the design specifications and performance parameters of the chip, a simulation test environment is generated, multi-dimensional logic coverage analysis is performed, a performance test signal sequence is generated, timing synchronization processing and coverage expansion are performed, failure mode effect analysis and abnormal condition injection are performed, and finally Signal consistency analysis and comprehensive performance analysis generate comprehensive coverage of test signals and performance analysis results.
It achieves comprehensive coverage of chip design and performance, identifies potential defects, ensures the timing consistency and comprehensive coverage of test signals, simulates real faults and abnormal conditions, improves the authenticity and effectiveness of the test, and ensures that the chip operates under complex conditions stability and reliability.
Smart Images

Figure CN118780221A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of chip verification, and in particular to a chip verification method, device, equipment and storage medium. Background Art
[0002] The chip design and manufacturing industry is one of the core driving forces of modern scientific and technological development and is widely used in the fields of computers, communications, consumer electronics, and industrial control. With the continuous advancement of science and technology and the continuous growth of market demand, the complexity and performance requirements of chips are also constantly increasing. This puts higher demands on chip verification. The accuracy and efficiency of the verification process are directly related to the quality and time to market of chip products. Therefore, how to effectively conduct chip verification has become the focus of the industry.
[0003] Among the related technical means, a simulation test method based on design specifications and performance parameters is adopted. Specifically, the design specifications and performance parameters of the chip are first obtained, a simulation test environment is generated, and then an initial test case set is generated based on the simulation test environment. By performing a multi-dimensional logic coverage analysis on the initial test case set, a target test case set is obtained, so that a performance test signal sequence can be generated. This method realizes the preliminary verification of the chip design and ensures the achievement of basic functions and performance.
[0004] Regarding the above technical solution, although the above method can realize the preliminary verification of the chip, there are problems of insufficient coverage and incomplete handling of abnormal conditions when conducting in-depth verification of the chip. These problems will cause some potential faults and abnormal conditions to go undetected during the test, affecting the reliability and stability of the chip. Summary of the invention
[0005] In order to improve the problems of insufficient coverage and incomplete handling of abnormal conditions during in-depth verification of chips, which affect the reliability and stability of the chips, the present application provides a chip verification method, device, equipment and storage medium.
[0006] The present invention provides a chip verification method, comprising: obtaining the design specifications and performance parameters of the chip, generating a simulation test environment according to the design specifications and the performance parameters; obtaining an initial test case set based on the simulation test environment; performing multi-dimensional logic coverage analysis processing on the initial test case set to obtain a target test case set; obtaining a performance test signal sequence based on the target test case set; performing timing synchronization processing on the performance test signal sequence to generate a synchronized test signal sequence; performing coverage range expansion processing on the synchronized test signal sequence based on a preset test coverage criterion to obtain a full coverage test signal sequence; performing failure mode effect analysis on the full coverage test signal sequence to generate a fault simulation signal sequence; performing abnormal condition injection processing on the fault simulation signal sequence to obtain an abnormal simulation test sequence; performing signal consistency analysis on the abnormal simulation test sequence to generate a differential analysis result, performing a comprehensive performance analysis on the full coverage test signal sequence according to the differential analysis result to generate a performance analysis result, and completing chip verification.
[0007] As a preferred solution, the step of obtaining the design specifications and performance parameters of the chip, generating a simulation test environment according to the design specifications and the performance parameters; and obtaining an initial test case set based on the simulation test environment includes: extracting the design specifications and performance parameters of the chip from a preset design database; using data parsing technology to convert the design specifications and the performance parameters into structured data; creating a micro model according to the design specifications and performance parameters after the structured data, and integrating the micro model into a virtual simulation platform; using genetic programming technology in the virtual simulation platform to generate a first test case set, pre-evaluating the first test case set through a preset test case evaluation tool to obtain an evaluation result, and screening the evaluation result to obtain multiple second test cases; wherein the test case evaluation tool performs consistency check and infrared radiation efficiency evaluation on the verification target of the chip, and screens out test cases that can efficiently trigger the target verification conditions; using a test case filter to screen all the second test cases, excluding redundant second test cases and conflicting second test cases, and summarizing the retained second test cases to obtain an initial test case set.
[0008] As a preferred scheme, the initial test case set is subjected to multi-dimensional logic coverage analysis to obtain a target test case set; the step of obtaining a performance test signal sequence based on the target test case set includes: using a multi-dimensional logic coverage analysis tool to perform coverage analysis on the initial test case set to obtain a subset of test cases; using an intelligent algorithm to optimize the test cases in the test case set, excluding duplicate cases and invalid cases, and screening the optimized subset of test cases to obtain test cases with high coverage and test cases with high detection efficiency; combining the test cases with high coverage and the test cases with high detection efficiency to obtain a target test case set; generating a corresponding performance test signal sequence according to the target test case set and a preset chip timing and power consumption model.
[0009] As a preferred scheme, the steps of performing timing synchronization processing on the performance test signal sequence to generate a synchronized test signal sequence; performing coverage expansion processing on the synchronized test signal sequence based on a preset test coverage criterion to obtain a full coverage test signal sequence include: using timing analysis and synchronization tools to perform timing verification on each signal in the performance test signal sequence to obtain a verified performance test signal sequence; using a test coverage expansion algorithm to identify insufficient operation sequences in the verified performance test signal sequence, performing supplementary coverage on the operation sequence to generate a supplementary signal sequence; and integrating the supplementary signal sequence with the performance test signal sequence to obtain a full coverage test signal sequence.
[0010] As a preferred scheme, the steps of performing failure mode effect analysis on the comprehensive coverage test signal sequence to generate a fault simulation signal sequence; performing abnormal condition injection processing on the fault simulation signal sequence to obtain an abnormal simulation test sequence include: based on preset failure analysis criteria and failure models, performing failure mode effect analysis on the comprehensive coverage test signal sequence to obtain potential failure points; performing in-depth simulation of the potential failure points to obtain a fault simulation signal sequence based on the severity of the impact of the potential failure points; injecting various predefined abnormal conditions into the fault simulation signal sequence to simulate abnormal conditions that occur in a real environment, and formulating an abnormal simulation test sequence that conforms to actual hardware application scenarios.
[0011] As a preferred scheme, the step of performing signal consistency analysis on the abnormal simulation test sequence to generate a differentiation analysis result, performing a comprehensive performance analysis on the full coverage test signal sequence based on the differentiation analysis result to generate a performance analysis result, and completing the chip verification includes: using a signal consistency detection algorithm to compare the abnormal simulation test sequence with the expected standard signal to obtain deviation data; analyzing the deviation data to identify key items that are inconsistent with preset standard performance indicators to obtain a differentiation analysis result; performing a comprehensive performance analysis on the full coverage test signal sequence based on the differentiation analysis result to analyze the performance and stability of the chip under the expected working environment, obtain a performance analysis result, and complete the comprehensive performance verification of the chip.
[0012] The present application also provides a chip verification device, including: an acquisition module, used to obtain the design specifications and performance parameters of the chip, and generate a simulation test environment based on the design specifications and the performance parameters; an initial test case set is obtained based on the simulation test environment; an analysis module, used to perform multi-dimensional logic coverage analysis on the initial test case set to obtain a target test case set; a performance test signal sequence is obtained based on the target test case set; a coverage module, used to perform timing synchronization on the performance test signal sequence to generate a synchronized test signal sequence; based on a preset test coverage criterion, the synchronized test signal sequence is expanded to obtain a full coverage test signal sequence; an injection module, used to perform failure mode effect analysis on the full coverage test signal sequence to generate a fault simulation signal sequence; perform abnormal condition injection processing on the fault simulation signal sequence to obtain an abnormal simulation test sequence; a verification module, used to perform signal consistency analysis on the abnormal simulation test sequence to generate a differential analysis result, perform a comprehensive performance analysis on the full coverage test signal sequence based on the differential analysis result, generate a performance analysis result, and complete chip verification.
[0013] The present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the chip verification method described above when executing the computer program.
[0014] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the processor executes the chip verification method as described above.
[0015] Compared with the prior art, the present application has the following beneficial effects: strong reliability and high stability. Through the simulation test environment and multi-dimensional logic coverage analysis, it can fully cover all aspects involved in the chip design specifications and performance parameters, and effectively identify potential defects in the initial test case set; through the timing synchronization processing and coverage expansion processing of the performance test signal sequence, the timing consistency and comprehensive coverage of the test signal sequence are ensured; through the failure mode effect analysis and abnormal condition injection processing, it can simulate real fault conditions and abnormal conditions, and improve the authenticity and effectiveness of the test; finally, through signal consistency analysis and comprehensive performance analysis, detailed differentiation analysis results and performance analysis results are provided to ensure the stability and reliability of the chip under various complex conditions, and improve the problem of insufficient coverage and incomplete abnormal condition processing when conducting in-depth verification of the chip, which affects the reliability and stability of the chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0017] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.
[0018] Figure 1 is a schematic flow chart of a chip verification method provided by an embodiment of the present invention; Figure 2 is a schematic block diagram of the structure of a chip verification device provided by an embodiment of the present invention; Figure 3 It is a schematic block diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0019] Description of reference numerals: 10. Chip verification device; 11. Acquisition module; 12. Analysis module; 13. Covering module; 14. Injection module; 15. Verification module; 20. Electronic device; 21. Memory; 22. Processor. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0022] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0023] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0024] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0025] Embodiment 1: like Figure 1 As shown, the chip verification method provided in the embodiment of the present application includes steps S100 to S500.
[0026] Step S100: Obtain the design specifications and performance parameters of the chip, generate a simulation test environment according to the design specifications and performance parameters; and obtain an initial test case set based on the simulation test environment.
[0027] In this step, the detailed design specifications and performance parameters of the chip are first collected. These specifications and parameters include but are not limited to logical function description, timing requirements, electrical characteristics and environmental conditions. Specifically, these specifications and parameters are input into the simulation platform through the design tool to automatically generate a simulation test environment similar to the actual chip operating environment, and generate a set of initial test cases based on this environment.
[0028] For example, for a processor chip, the design specifications include instruction set architecture, cache configuration, and clock frequency, and the performance parameters include maximum power consumption and operating temperature range. In the simulation test environment, the initial test case set generated for these specifications and parameters includes various basic instruction operations, cache read and write tests, and performance tests at different operating frequencies.
[0029] Step S200: Perform multi-dimensional logic coverage analysis on the initial test case set to obtain a target test case set; and obtain a performance test signal sequence based on the target test case set.
[0030] In this step, a coverage analysis tool is used to perform multi-dimensional logic coverage analysis on the initial test case set to ensure that all logic paths and boundary conditions are fully tested. Specifically, by analyzing the execution of each test case, a target test case set with high coverage and that can effectively test the key functions of the chip is screened out, and then the corresponding performance test signal sequence is generated.
[0031] For example, for a processor chip with a branch prediction unit, the initial test case set will contain a large number of conditional jump instructions. Through multi-dimensional logic coverage analysis, test cases that can test branch prediction hits and misses can be identified and retained, thereby obtaining a target test case set and generating performance test signal sequences to test these situations.
[0032] Step S300: Perform timing synchronization processing on the performance test signal sequence to generate a synchronized test signal sequence; perform coverage expansion processing on the synchronized test signal sequence based on a preset test coverage criterion to obtain a full coverage test signal sequence.
[0033] In this step, the performance test signal sequence is processed using a timing analysis tool to ensure that all test signals are synchronized in time to avoid timing errors; specifically, the trigger time and sequence of the signals are adjusted so that the signals are properly aligned on the time axis, and the range of the test signals is expanded according to the test coverage criteria to cover more test scenarios.
[0034] For example, for a multi-core processor chip, the performance test signal sequence involves communication and synchronization between multiple cores. When processing timing synchronization, it is necessary to ensure that the communication signals of all cores are correctly triggered at the expected time point and expand the coverage to test concurrent operations and resource contention between different cores.
[0035] Step S400: performing failure mode effect analysis on the comprehensive coverage test signal sequence to generate a fault simulation signal sequence; performing abnormal condition injection processing on the fault simulation signal sequence to obtain an abnormal simulation test sequence.
[0036] In this step, a failure mode effect analysis tool is used to analyze the comprehensive coverage test signal sequence, identify the failure mode and generate the corresponding fault simulation signal sequence; specifically, by injecting faults into each node of the signal sequence, simulated hardware failures and abnormal conditions are used to evaluate the performance of the chip under fault conditions.
[0037] For example, for a chip with redundant power supply design, failure mode effect analysis simulates power supply failure and generates a power failure simulation signal sequence. Then, through abnormal condition injection processing, the chip behavior under single or multiple power supply failures is simulated to obtain an abnormal simulation test sequence.
[0038] Step S500: perform signal consistency analysis on the abnormal simulation test sequence to generate a differential analysis result, perform a comprehensive performance analysis on the full coverage test signal sequence based on the differential analysis result, generate a performance analysis result, and complete chip verification.
[0039] In this step, a signal consistency analysis tool is used to analyze the abnormal simulation test sequence, check the consistency and correctness between signals, and identify differentiated signal performance. Specifically, by comparing the test signals under normal and abnormal conditions, differentiated analysis results are generated, and based on this result, a comprehensive performance analysis is performed on the full coverage test signal sequence to evaluate the performance of the chip in various test scenarios.
[0040] For example, for a network processor chip, signal consistency analysis checks the signal changes under normal data transmission and data error injection. By comparing the signal sequences of the two situations, differential analysis results are generated, and the chip's processing capabilities under data errors are further analyzed. Finally, comprehensive performance analysis results are generated to complete chip verification.
[0041] In this embodiment, first, by acquiring the design specifications and performance parameters of the chip, a simulation test environment is generated according to the design specifications and performance parameters; an initial test case set is generated based on the simulation test environment; then, a multi-dimensional logic coverage analysis is performed on the initial test case set to obtain a target test case set; a performance test signal sequence is generated based on the target test case set; thereafter, a timing synchronization process is performed on the performance test signal sequence to generate a synchronized test signal sequence; based on a preset test coverage criterion, a coverage range expansion process is performed on the synchronized test signal sequence to obtain a full coverage test signal sequence; then, a failure mode effect analysis is performed on the full coverage test signal sequence to generate a fault simulation signal sequence; an abnormal condition injection process is performed on the fault simulation signal sequence to obtain an abnormal simulation test sequence; finally, a signal consistency analysis is performed on the abnormal simulation test sequence to generate a differential analysis result, and a comprehensive performance analysis is performed on the full coverage test signal sequence based on the differential analysis result to generate a performance analysis result, thereby completing chip verification.
[0042] Through a systematic simulation test environment and multi-dimensional logic coverage analysis, it can fully cover all aspects involved in chip design specifications and performance parameters, and effectively identify potential defects in the initial test case set; through the timing synchronization processing and coverage expansion processing of the performance test signal sequence, the timing consistency and comprehensive coverage of the test signal sequence are ensured; through failure mode effect analysis and abnormal condition injection processing, it can simulate real fault conditions and abnormal conditions, and improve the authenticity and effectiveness of the test; finally, through signal consistency analysis and comprehensive performance analysis, detailed differentiation analysis results and performance analysis results are provided to ensure the stability and reliability of the chip under various complex conditions, and improve the problems of insufficient coverage and incomplete abnormal condition processing during in-depth verification of the chip, which affect the reliability and stability of the chip.
[0043] Embodiment 2: In step S100, the design specifications and performance parameters of the chip are extracted from a preset design database; the design specifications and performance parameters are converted into structured data using data parsing technology; a micro model is created based on the design specifications and performance parameters after the structured data, and the micro model is integrated into a virtual simulation platform; in the virtual simulation platform, a first test case set is generated using genetic programming technology, and the first test case set is pre-evaluated using a preset test case evaluation tool to obtain an evaluation result, and the evaluation result is screened to obtain a plurality of second test cases; wherein the test case evaluation tool performs consistency check and infrared radiation efficiency evaluation on the verification target of the chip, and screens out test cases that can efficiently trigger the target verification conditions; a test case filter is used to screen all second test cases, redundant second test cases and conflicting second test cases are excluded, and the retained second test cases are aggregated to obtain an initial test case set.
[0044] By structuring the design specifications and performance parameters in the design database, it is possible to create a micro-model more accurately and generate an initial set of test cases in combination with genetic programming technology. Specifically, through the integration of data parsing technology and virtual simulation platform, efficient test case generation and screening are achieved, ensuring high coverage and effectiveness of test cases.
[0045] For example, suppose the design specifications of a chip include thousands of logic gates and complex timing requirements. By converting these specifications into structured data, a corresponding microscopic model can be created, and genetic programming technology can be used to generate test cases that cover these logic gates and timing requirements. After screening by the test case evaluation tool, the retained test cases can effectively test the key functions and performance of the chip.
[0046] In step S200, a multi-dimensional logic coverage analysis tool is used to perform coverage analysis on an initial test case set to obtain a subset of test cases; an intelligent algorithm is used to optimize the test cases in the test case set, duplicate cases and invalid cases are excluded, and the optimized subset of test cases is screened to obtain test cases with high coverage and test cases with high detection efficiency; the test cases with high coverage and the test cases with high detection efficiency are combined to obtain a target test case set; and a corresponding performance test signal sequence is generated according to the target test case set and a preset chip timing and power consumption model.
[0047] Through multi-dimensional logic coverage analysis tools and intelligent algorithms, comprehensive coverage and high efficiency of test cases can be ensured; specifically, by utilizing the optimization capabilities of intelligent algorithms, redundant and invalid test cases can be eliminated, making the final target test case set more streamlined and efficient, so that the generated performance test signal sequence is more in line with actual test requirements.
[0048] For example, for a multi-functional DSP chip, the initial test case set contains tens of thousands of test cases. Through multi-dimensional logic coverage analysis tools and intelligent algorithms, test cases that can cover key functions and timing paths can be screened out. The generated performance test signal sequence can effectively evaluate the performance of the chip under various workloads.
[0049] In step S300, a timing analysis and synchronization tool is used to perform timing verification on each signal in the performance test signal sequence to obtain a verified performance test signal sequence; a test coverage extension algorithm is used to identify insufficient operation sequences in the verified performance test signal sequence, and the operation sequences are supplemented with coverage to generate a supplementary signal sequence; the supplementary signal sequence is integrated with the performance test signal sequence to obtain a full coverage test signal sequence.
[0050] Through timing analysis and synchronization tools, the time consistency and accuracy of the performance test signal sequence can be ensured; specifically, the test coverage extension algorithm is used to supplement the coverage of the insufficient operation sequence to ensure that all operation paths and timing conditions are tested, thereby obtaining a more comprehensive test signal sequence.
[0051] For example, for a communication chip with complex data channels, timing verification can find that the test signals of certain data transmission paths are insufficient. By supplementing the test signals of these paths, the final comprehensive coverage test signal sequence can better simulate the data transmission conditions in the actual operating environment and ensure the stability of the chip in various communication scenarios.
[0052] In step S400, based on the preset failure analysis criteria and failure model, a failure mode effect analysis is performed on the comprehensive coverage test signal sequence to obtain potential failure points; the potential failure points are deeply simulated, and according to the severity of the impact of the potential failure points, a fault simulation signal sequence is obtained; various predefined abnormal conditions are injected into the fault simulation signal sequence to simulate the abnormal situations that occur in the real environment, and formulate an abnormal simulation test sequence that conforms to the actual hardware application scenario.
[0053] Through failure mode effect analysis, potential failure points in chip design can be identified in advance and in-depth simulation can be performed; specifically, by injecting predefined abnormal conditions into these failure points, various abnormal situations in the real environment are simulated, and abnormal simulation test sequences are generated to ensure the comprehensiveness and effectiveness of the test.
[0054] For example, for a control chip used in automotive electronics, failure mode effect analysis identifies the impact of voltage fluctuations and temperature changes on the chip. By simulating these abnormal conditions, the generated abnormal simulation test sequences can help evaluate the reliability and stability of the chip in extreme environments.
[0055] In step S500, a signal consistency detection algorithm is used to compare the abnormal simulation test sequence with the expected standard signal to obtain deviation data; the deviation data is analyzed to identify key items that are inconsistent with the preset standard performance indicators to obtain differentiation analysis results; based on the differentiation analysis results, a comprehensive performance analysis is performed on the full coverage test signal sequence to analyze the performance and stability of the chip in the expected working environment, obtain performance analysis results, and complete the comprehensive performance verification of the chip.
[0056] Through the signal consistency detection algorithm, the abnormal simulation test sequence can be accurately compared with the expected standard signal, deviations can be identified and detailed analysis can be performed; specifically, the differentiation analysis results can be used to further evaluate the comprehensive performance of the chip to ensure that its performance and stability in the expected working environment meet the design requirements.
[0057] For example, for a RF chip used in a 5G communication base station, signal consistency detection can detect slight deviations between abnormal simulation test sequences and standard signals. After analyzing these deviations, the chip's performance in high-frequency signal processing can be determined. The performance analysis results finally generated ensure that the chip can operate stably in the 5G network.
[0058] In this embodiment, by combining various technical means such as structured data processing, genetic programming technology, multi-dimensional logic coverage analysis, timing verification and coverage extension, failure mode effect analysis and signal consistency detection, the design and performance of the chip can be fully and accurately verified, the coverage and effectiveness of the verification can be improved, and the stability and reliability of the chip in various complex application scenarios can be ensured.
[0059] Embodiment 3: like Figure 2 As shown, the present application further provides a chip verification device 10 , which includes an acquisition module 11 , an analysis module 12 , a covering module 13 , an injection module 14 and a verification module 15 .
[0060] The acquisition module 11 is mainly used to acquire the design specifications and performance parameters of the chip, generate a simulation test environment according to the design specifications and performance parameters, and obtain an initial test case set based on the simulation test environment.
[0061] The analysis module 12 is mainly used to perform multi-dimensional logic coverage analysis on the initial test case set to obtain a target test case set; and to obtain a performance test signal sequence based on the target test case set.
[0062] The coverage module 13 is mainly used to perform timing synchronization processing on the performance test signal sequence to generate a synchronized test signal sequence; and to perform coverage expansion processing on the synchronized test signal sequence based on a preset test coverage criterion to obtain a full coverage test signal sequence.
[0063] The injection module 14 is mainly used to perform failure mode effect analysis on the comprehensive coverage test signal sequence to generate a fault simulation signal sequence; perform abnormal condition injection processing on the fault simulation signal sequence to obtain an abnormal simulation test sequence.
[0064] The verification module 15 is mainly used to perform signal consistency analysis on the abnormal simulation test sequence, generate differentiation analysis results, perform comprehensive performance analysis on the full coverage test signal sequence based on the differentiation analysis results, generate performance analysis results, and complete chip verification.
[0065] In this embodiment, by using structured design specifications and performance parameters, a simulation test environment and a micro-model can be accurately created, and test cases can be optimized and screened using multi-dimensional logic coverage analysis and intelligent algorithms to ensure that the generated test case set has high coverage and high efficiency. At the same time, through failure mode effect analysis and signal consistency analysis, the performance and stability of the chip can be deeply evaluated to ensure its reliability and safety in the expected working environment.
[0066] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned chip verification method embodiment, and will not be repeated here.
[0067] Embodiment 4: like Figure 3 As shown, the present application also provides an electronic device 20, including a memory 21 and a processor 22, wherein the memory 21 stores a computer program that can be run on the processor 22, and the chip verification method of Example 1 is implemented when the processor 22 executes the computer program.
[0068] In this embodiment, the chip verification method of embodiment 1 is implemented as a computer program and runs on the processor 22 of the electronic device 20, so that the chip verification can be effectively performed. Specifically, through the execution of the computer program, the chip design specifications and performance parameters can be processed and analyzed, a test case set can be generated, and the comprehensive performance verification of the chip can be completed through the analysis, coverage, injection and verification module 15.
[0069] Embodiment 5: The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the processor executes the chip verification method as described in Example 1.
[0070] In this embodiment, a computer program stored on a computer-readable storage medium enables the processor to execute the chip verification method of embodiment 1. Specifically, the computer program implements the processing and analysis of chip design specifications and performance parameters, generates a set of test cases, and completes the comprehensive performance verification of the chip through analysis, coverage, injection and verification modules. Such an embodiment can conveniently implement the chip verification process on different computer platforms and ensure the consistency and accuracy of the verification results.
[0071] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A chip verification method, It is characterized in that include: Obtaining design specifications and performance parameters of the chip, and generating a simulation test environment according to the design specifications and the performance parameters; Obtaining an initial test case set based on the simulation test environment; Performing multi-dimensional logic coverage analysis on the initial test case set to obtain a target test case set; Obtaining a performance test signal sequence based on the target test case set; Performing timing synchronization processing on the performance test signal sequence to generate a synchronized test signal sequence; Performing coverage expansion processing on the synchronized test signal sequence based on a preset test coverage criterion to obtain a full coverage test signal sequence; Performing failure mode effect analysis on the comprehensive coverage test signal sequence to generate a fault simulation signal sequence; performing abnormal condition injection processing on the fault simulation signal sequence to obtain an abnormal simulation test sequence; Perform signal consistency analysis on the abnormal simulation test sequence to generate a differentiation analysis result, perform comprehensive performance analysis on the comprehensive coverage test signal sequence based on the differentiation analysis result, generate a performance analysis result, and complete chip verification.
2. The chip verification method according to claim 1, It is characterized in that The obtaining of the design specifications and performance parameters of the chip, and generating a simulation test environment according to the design specifications and the performance parameters; The step of obtaining an initial test case set based on the simulation test environment includes: Extract the chip design specifications and performance parameters from the preset design database; Using data analysis technology, converting the design specifications and the performance parameters into structured data; Creating a microscopic model based on the design specifications and performance parameters after the structured data, and integrating the microscopic model into a virtual simulation platform; Genetic programming technology is used in the virtual simulation platform to generate a first test case set, the first test case set is pre-evaluated by a preset test case evaluation tool to obtain an evaluation result, and the evaluation result is screened to obtain a plurality of second test cases; wherein the test case evaluation tool performs consistency check and infrared radiation efficiency evaluation on the verification target of the chip, and screens out test cases that can efficiently trigger the target verification conditions; A test case filter is used to filter all the second test cases, to exclude redundant second test cases and conflicting second test cases, and the retained second test cases are aggregated to obtain an initial test case set.
3. The chip verification method according to claim 1, It is characterized in that The initial test case set is subjected to multi-dimensional logic coverage analysis to obtain a target test case set; The step of obtaining a performance test signal sequence based on the target test case set includes: Use multi-dimensional logic coverage analysis tools to conduct coverage analysis on the initial test case set to obtain a subset of test cases; Optimizing the test cases in the test case set by using an intelligent algorithm, eliminating duplicate cases and invalid cases, and screening the optimized test case set to obtain test cases with high coverage and high detection efficiency; Combining the test cases with high coverage and the test cases with high detection efficiency to obtain a target test case set; According to the target test case set and the preset chip timing and power consumption model, a corresponding performance test signal sequence is generated.
4. The chip verification method according to claim 1, It is characterized in that said performing timing synchronization processing on said performance test signal sequence to generate a synchronized test signal sequence; The step of performing coverage expansion processing on the synchronized test signal sequence based on a preset test coverage criterion to obtain a comprehensive coverage test signal sequence includes: Use timing analysis and synchronization tools to perform timing verification on each signal in the performance test signal sequence to obtain a verified performance test signal sequence; Using a test coverage extension algorithm to identify insufficient operation sequences in the verified performance test signal sequence, supplementary coverage is performed on the operation sequence, and a supplementary signal sequence is generated; The supplementary signal sequence is integrated with the performance test signal sequence to obtain a comprehensive coverage test signal sequence.
5. The chip verification method according to claim 1, It is characterized in that performing failure mode effect analysis on the comprehensive coverage test signal sequence to generate a fault simulation signal sequence; The step of performing abnormal condition injection processing on the fault simulation signal sequence to obtain an abnormal simulation test sequence includes: Based on the preset failure analysis criteria and failure model, the failure mode effect analysis is performed on the comprehensive coverage test signal sequence to obtain potential failure points; Performing an in-depth simulation on the potential failure point, and obtaining a fault simulation signal sequence according to the severity of the impact of the potential failure point; Various predefined abnormal conditions are injected into the fault simulation signal sequence to simulate abnormal situations that occur in a real environment, and an abnormal simulation test sequence that conforms to the actual hardware application scenario is formulated.
6. The chip verification method according to claim 1, It is characterized in that The step of performing signal consistency analysis on the abnormal simulation test sequence to generate a differentiation analysis result, performing comprehensive performance analysis on the comprehensive coverage test signal sequence according to the differentiation analysis result to generate a performance analysis result, and completing chip verification includes: Use the signal consistency detection algorithm to compare the abnormal simulation test sequence with the expected standard signal to obtain deviation data; Analyze the deviation data, identify key items that are inconsistent with preset standard performance indicators, and obtain differentiated analysis results; According to the differentiation analysis results, a comprehensive performance analysis is performed on the comprehensive coverage test signal sequence to analyze the performance and stability of the chip under the expected working environment, obtain the performance analysis results, and complete the comprehensive performance verification of the chip.
7. A chip verification device, It is characterized in that include: An acquisition module, used to acquire the design specifications and performance parameters of the chip, and generate a simulation test environment according to the design specifications and the performance parameters; Obtaining an initial test case set based on the simulation test environment; An analysis module is used to perform multi-dimensional logic coverage analysis on the initial test case set to obtain a target test case set; Obtaining a performance test signal sequence based on the target test case set; A coverage module, used for performing timing synchronization processing on the performance test signal sequence to generate a synchronized test signal sequence; Performing coverage expansion processing on the synchronized test signal sequence based on a preset test coverage criterion to obtain a full coverage test signal sequence; An injection module is used to perform failure mode effect analysis on the comprehensive coverage test signal sequence to generate a fault simulation signal sequence; perform abnormal condition injection processing on the fault simulation signal sequence to obtain an abnormal simulation test sequence; The verification module is used to perform signal consistency analysis on the abnormal simulation test sequence to generate a differential analysis result, perform a comprehensive performance analysis on the comprehensive coverage test signal sequence according to the differential analysis result, generate a performance analysis result, and complete chip verification.
8. An electronic device, It is characterized in that The method comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and wherein the processor implements the chip verification method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the processor is enabled to execute the chip verification method according to any one of claims 1 to 6.
Citation Information
Cited By
Automatic testing method and device for BAMS equipment
CN119127720A
Method and device for testing AI SOC modular unit of set top box
CN119342257A
Chip testing method and device and electronic equipment
CN119395510A
A chip testing method, device and electronic device
CN119395510B
Verification method and device for clock failure monitoring function of chip
CN120162204A
