A chip internal logic verification method and system

By generating and verifying experimental test cases, using simulation and actual signal comparison, repeating the defect conclusions of simulation defects, the problems of low efficiency and high cost of traditional chip verification are solved, efficient and reliable internal chip logic verification is achieved, and development risks and economics are reduced. loss.

CN118095148BActive Publication Date: 2024-11-08SHENZHEN ZHICHUANGXIN MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311804162.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-22
Publication Date
2024-11-08
Estimated Expiration
2044-03-22

AI Technical Summary

Technical Problem

Traditional chip verification methods lack rigorous verification processes and specifications, resulting in high verification costs and low efficiency, and the inability to effectively detect internal logic defects of the chip, affecting system stability and economic losses.

Method used

A method and system for internal logic verification of chips is proposed. By generating experimental test cases, comparing simulation verification and actual test signals, recording and repeating simulation defect conclusions until the defect list is consistent, and the final results are displayed, including experimental test case generation module and simulation Verification module, defect conclusion acquisition module and result presentation module.

Benefits of technology

It improves test coverage and efficiency, ensures test quality and reliability, reduces post-test costs and time, provides a reference for chip optimization, and reduces development risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118095148B_ABST
    Figure CN118095148B_ABST
Patent Text Reader

Abstract

The present invention proposes a chip internal logic verification method and system, the method includes using the specifications and design drawings of the chip to be verified to generate experimental test cases corresponding to the test requirements; performing simulation verification on the experimental test cases to obtain simulation output signals corresponding to the experimental test cases, and obtaining the actual output signals when the chip is executed through the test requirements; using the simulation output signals and the actual output signals for comparative analysis to obtain the defect conclusion of the chip internal logic as the first defect conclusion; using repeated simulation to delete inconsistent defect conclusions until the number of defect conclusions included in the defect conclusion list is completely consistent, and displaying the results. The system includes an experimental test case generation module, a simulation verification module, a defect conclusion acquisition module, a repeated simulation module, and a result display module. Through this method and system, the logic defects that need to be improved can be found more accurately, saving verification costs and time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention proposes a chip internal logic verification method and system, belonging to the technical field of chip internal logic verification. Background Art

[0002] Chip manufacturing is a complex and precise process, which usually includes design, mask making, wafer preparation, lithography, corrosion and deposition, packaging and other steps. Although the chip manufacturing process is highly precise and strictly controlled, it is theoretically impossible to completely avoid internal defects in the product. Once a defective chip is used in the circuit, it may affect the stable operation of the entire system, causing major liability accidents and serious economic losses. Therefore, chip verification is a crucial link when using it.

[0003] However, traditional chip verification methods lack rigorous verification processes and specifications, and require a large amount of manpower, material and time resources, resulting in high verification costs and low efficiency. Summary of the invention

[0004] The present invention provides a chip internal logic verification method and system to solve the problem of chip internal logic verification:

[0005] The present invention provides a method for verifying internal logic of a chip, the method comprising:

[0006] S1: In response to an input operation of a test requirement, using the specification and design drawing of the chip to be verified, an experimental test case corresponding to the test requirement is generated;

[0007] S2: Perform simulation verification on the experimental test case to obtain a simulation output signal corresponding to the experimental test case, and obtain an actual output signal when the chip is executed according to the test requirements;

[0008] S3: Comparing and analyzing the simulated output signal with the actual output signal to obtain a defect conclusion of the internal logic of the chip as a first defect conclusion;

[0009] S4: selecting a first round of target test cases corresponding to the first defect conclusion from a preset case library based on the first defect conclusion and determining them as second experimental test cases, and repeatedly simulating the defect of the first defect conclusion;

[0010] S5: Utilize repeated simulation to delete inconsistent defect conclusions until the number of defect conclusions included in the defect conclusion list is completely consistent, and display the results.

[0011] Further, the simulation verification of the experimental test case to obtain a simulation output signal corresponding to the experimental test case, and obtaining an actual output signal when the chip is executed according to the test requirements, includes:

[0012] S21: simulating the experimental test case using a simulation tool, and obtaining a simulation output signal corresponding to the experimental test case by simulating and verifying the experimental test case;

[0013] S22: Utilizing the test requirement, testing the actual chip to obtain the actual output signal when the chip is executed.

[0014] Further, the comparing and analyzing the simulated output signal with the actual output signal to obtain a defect conclusion of the internal logic of the chip, and storing the result as a first defect conclusion in a defect conclusion list, includes:

[0015] S31: using the simulated output signal and the actual output signal through signal processing software to convert the simulated output signal and the actual output signal into numerical form;

[0016] S32: By comparing and analyzing the numerical values, a plurality of defect conclusions of the internal logic of the chips are obtained as a first defect conclusion;

[0017] S33: recording the first defect conclusion in a defect conclusion list, wherein the defect conclusion includes timing mismatch, code location, and data overflow;

[0018] Further, the first defect conclusion recorded is selected from a preset case library, a first round of target test cases corresponding to the first defect conclusion is determined as a second experimental test case, and the defect of the first defect conclusion is repeatedly simulated, including:

[0019] S41: determining all the first round target test cases as experimental test cases, and using the experimental test cases to repeatedly simulate the defects of the first defect conclusion to obtain a defect conclusion as a second defect conclusion,

[0020] S42: By comparing and analyzing the second defect conclusion and the first defect conclusion, the inconsistent conclusions are deleted to obtain a defect conclusion as a third defect conclusion;

[0021] S43: using the third defect conclusion, selecting a second target test case corresponding to the defect conclusion included in the third defect conclusion from a preset case library;

[0022] S44: Determine all of the second target test cases as third experimental test cases, and use the third experimental test cases to repeatedly simulate the defects of the third defect conclusion.

[0023] Furthermore, the repeated simulation is used to delete inconsistent defect conclusions until the obtained defect conclusion is completely consistent with the recorded defect conclusion, and the display of the results includes:

[0024] S51: Compare the obtained defect conclusion with the recorded defect conclusion, and display the result when the number of the recorded defect conclusions is the same as the number of the defect conclusions recorded last time.

[0025] The present invention provides a chip internal logic verification system, the system comprising:

[0026] An experimental test case generation module, in response to an input operation of a test requirement, generates an experimental test case corresponding to the test requirement by using the specification and design drawing of the chip to be verified;

[0027] A simulation verification module performs simulation verification on the experimental test case to obtain a simulation output signal corresponding to the experimental test case, and obtains an actual output signal when the chip is executed according to the test requirements;

[0028] A defect conclusion obtaining module, using the simulated output signal and the actual output signal for comparative analysis, to obtain a defect conclusion of the internal logic of the chip as a first defect conclusion;

[0029] A repeated simulation module, which selects a first round of target test cases corresponding to the first defect conclusion from a preset case library through the recorded first defect conclusion and determines the first round of target test cases as second experimental test cases, and repeatedly simulates the defect of the first defect conclusion;

[0030] The result display module deletes inconsistent defect conclusions by repeated simulation until the number of defect conclusions included in the defect conclusion list is completely consistent, and displays the result.

[0031] Furthermore, the simulation verification module includes:

[0032] A simulation signal output module, which uses a simulation tool to simulate the experimental test case, and obtains a simulation output signal corresponding to the experimental test case by simulating and verifying the experimental test case;

[0033] The actual signal output module uses the test requirements to test the actual chip to obtain the actual output signal when the chip is executed.

[0034] Furthermore, the defect conclusion obtaining module includes:

[0035] Signal conversion module: using the simulated output signal and the actual output signal through signal processing software, converting the simulated output signal and the actual output signal into numerical form;

[0036] A signal comparison module, which obtains defect conclusions of the internal logic of the plurality of chips as a first defect conclusion by comparing and analyzing the numerical values;

[0037] A defect conclusion analysis module records the first defect conclusion in a defect conclusion list, wherein the defect conclusion includes timing mismatch, code location, and data overflow;

[0038] Furthermore, the repeated simulation module includes:

[0039] an experimental test case determination module, determining all the first round target test cases as experimental test cases, and using the experimental test cases to repeatedly simulate the defects of the first defect conclusion to obtain a defect conclusion as a second defect conclusion,

[0040] A defect conclusion deletion module compares and analyzes the second defect conclusion with the first defect conclusion, deletes the inconsistent defect conclusions, and obtains a defect conclusion as a third defect conclusion;

[0041] A target test case selection module selects a second target test case corresponding to a defect conclusion included in the third defect conclusion from a preset test case library using the third defect conclusion;

[0042] The repeated simulation module determines all of the second target test cases as third experimental test cases, and uses the third experimental test cases to repeatedly simulate the defects of the third defect conclusion.

[0043] Furthermore, the result display module includes:

[0044] The result display module deletes inconsistent defect conclusions by repeated simulation until the number of defect conclusions included in the defect conclusion list is completely consistent, and displays the result.

[0045] The beneficial effects of the present invention are as follows: by generating experimental test cases corresponding to the test requirements, and using simulation verification to obtain simulated output signals and actual output signals, various functions and performances of the chip can be comprehensively tested, thereby improving the test coverage. By recording multiple defect conclusions and selecting target test cases corresponding to the defect conclusions in a preset case library, repeated testing can be avoided and test efficiency can be improved. By performing simulation verification on the experimental test cases, the quality and reliability of the test can be guaranteed, thereby providing a strong guarantee for the stability and reliability of the chip. By analyzing and recording the defect conclusions of the internal logic of multiple chips, a reference basis can be provided for the optimization of the chip, thereby improving the design and performance of the chip, and reducing the cost and time of later testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 The figure is a schematic diagram of a chip internal logic verification method described in the present invention. DETAILED DESCRIPTION

[0047] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0048] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than 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.

[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0050] This embodiment provides a method for verifying internal logic of a chip, the method comprising:

[0051] 1. A chip internal logic verification method, characterized in that the method comprises:

[0052] S1: In response to an input operation of a test requirement, using the specification and design drawing of the chip to be verified, an experimental test case corresponding to the test requirement is generated;

[0053] S2: Perform simulation verification on the experimental test case to obtain a simulation output signal corresponding to the experimental test case, and obtain an actual output signal when the chip is executed according to the test requirements;

[0054] S3: Comparing and analyzing the simulated output signal with the actual output signal to obtain a defect conclusion of the internal logic of the chip as a first defect conclusion;

[0055] S4: selecting a first round of target test cases corresponding to the first defect conclusion from a preset case library based on the first defect conclusion and determining them as second experimental test cases, and repeatedly simulating the defect of the first defect conclusion;

[0056] S5: Utilize repeated simulation to delete inconsistent defect conclusions until the number of defect conclusions included in the defect conclusion list is completely consistent, and display the results.

[0057] The working principle of the above technical solution is as follows: first, according to the chip specifications and design drawings, as well as the test requirements, a set of experimental test cases are generated. Then, the experimental test cases are simulated and verified using a simulation tool. During the simulation process, the simulation output signal of each test case is recorded and compared with the actual output signal expected in the test requirements; the defects of the internal logic of the chip are obtained by comparing and analyzing the simulation output signal with the actual output signal; the defects include calculation errors, timing mismatches, and data overflows. These defect conclusions are recorded as the first defect conclusions. According to the first defect conclusions, the first round of target test cases corresponding to the defect conclusions are screened out in the preset case library; then repeated simulations are performed to run and compare the first round of target test cases multiple times. In each simulation process, inconsistent defect conclusions are deleted, and the results of each simulation are recorded. When the number of defect conclusions contained in the defect conclusion list is completely consistent, the final result is displayed. The effect of the above technical solution is as follows: through simulation verification and comparative analysis, the defects of the internal logic of the chip can be accurately detected, avoiding the misjudgment and missed detection problems in traditional verification methods. At the same time, using the preset case library for screening and repeated simulation can reduce manual intervention and test time, and improve verification efficiency. This method generates experimental test cases corresponding to the test requirements by responding to the input operation of the test requirements, ensuring the comprehensiveness and coverage of the test. At the same time, using simulation tools to simulate and verify the experimental test cases can simulate the actual operating environment and enhance the effectiveness and practicality of the test. By comparing and analyzing the simulated output signal with the actual output signal, the defect type and location of the internal logic of the chip can be accurately identified. This helps developers to quickly locate and fix problems, improving development efficiency and product quality. By discovering and fixing internal logic defects in the chip early, development costs and risks can be reduced. It avoids problems such as rework and delays caused by discovering defects in the later stage, and improves development efficiency and product quality. The final defect conclusion list can visualize the verification results, allowing developers to intuitively view the number and type of defects, as well as the location and impact range of the defects. This helps developers better understand the defect situation of the internal logic of the chip and provides strong support for further optimizing chip design.

[0058] The present embodiment provides a chip internal logic verification method, which performs simulation verification on the experimental test case, performs simulation verification on the experimental test case to obtain a simulation output signal corresponding to the experimental test case, and obtains the actual output signal when the chip is executed according to the test requirement, including:

[0059] S21: simulating the experimental test case using a simulation tool, and obtaining a simulation output signal corresponding to the experimental test case by simulating and verifying the experimental test case;

[0060] S22: Utilizing the test requirement, testing the actual chip to obtain the actual output signal when the chip is executed.

[0061] The working principle of the above technical solution is: use a simulation tool to simulate the experimental test case, and verify the experimental test case by simulation to obtain a simulation output signal corresponding to the experimental test case; during the simulation process, the simulation tool will simulate the internal logic and operation process of the chip according to the description and specifications of the experimental test case, and generate a corresponding simulation output signal; use the test requirements to test the actual chip to obtain the actual output signal when the chip is executed; the test requirements refer to the conditions and requirements that need to be met when testing the chip, including the amplitude, frequency, timing parameters of the input signal, and the acceptable range of the test results. By placing the actual chip in a real test environment and operating according to the test requirements, the actual output signal when the chip is executed can be obtained.

[0062] The effect of the above technical solution is: by using simulation tools to simulate and verify the experimental test cases, the actual operating environment of the chip can be simulated to obtain the simulation output signal corresponding to the experimental test cases. By comparing and analyzing the simulation output signal with the actual output signal, the defects of the internal logic of the chip can be accurately detected. It avoids the problems of misjudgment and missed detection in traditional verification methods and improves the accuracy and efficiency of verification; by comparing and analyzing the simulation output signal with the actual output signal, the defect type and location of the internal logic of the chip can be accurately identified, which helps developers to quickly locate and fix problems, and improves development efficiency and product quality.

[0063] This embodiment provides a chip internal logic verification method, which uses the simulation output signal and the actual output signal to compare and analyze, obtains the chip internal logic defect conclusion, and stores it in the defect conclusion list as the first defect conclusion, including:

[0064] S31: using the simulated output signal and the actual output signal through signal processing software to convert the simulated output signal and the actual output signal into numerical form;

[0065] S32: By comparing and analyzing the numerical values, a plurality of defect conclusions of the internal logic of the chips are obtained as a first defect conclusion;

[0066] S33: Record the first defect conclusion in a defect conclusion list, wherein the defect conclusion includes the timing mismatch, code location, and data overflow of the defect.

[0067] The working principle of the above technical solution is: use signal processing software to convert the simulated output signal and the actual output signal into numerical form, and then compare and analyze these numerical values; by comparing the numerical values ​​of the simulated output signal and the actual output signal, the difference between the two can be found; if the difference exceeds the acceptable range, it means that there is a defect in the internal logic of the chip. In the process of comparative analysis, defect conclusions of multiple chip internal logics can be found; these conclusions are used as the first defect conclusions.

[0068] The effect of the above technical solution is: by using signal processing software, the simulated output signal and the actual output signal can be converted into numerical form; this makes the analysis of these signals more accurate and intuitive, providing a data basis for subsequent defect conclusions; by comparing and analyzing these numerical values, the difference between the simulated output signal and the actual output signal can be better understood; this comparative analysis helps to discover potential defects in the internal logic of the chip; through the above process, multiple defect conclusions about the internal logic of the chip can be obtained; these conclusions can be used to evaluate the design quality and performance of the chip, and can also help improve and optimize the design of the chip; through numerical comparison and analysis, potential problems can be found more quickly, and the severity of the problem can be assessed more accurately.

[0069] The present embodiment provides a chip internal logic verification method, which records the first defect conclusion, selects a first round of target test cases corresponding to the first defect conclusion from a preset test case library and determines the first round of target test cases as second experimental test cases, and repeatedly simulates the defect of the first defect conclusion, including:

[0070] S41: determining all the first round target test cases as experimental test cases, and using the experimental test cases to repeatedly simulate the defects of the first defect conclusion to obtain a defect conclusion as a second defect conclusion,

[0071] S42: By comparing and analyzing the second defect conclusion and the first defect conclusion, the inconsistent defect conclusions are deleted to obtain a defect conclusion as a third defect conclusion;

[0072] S43: using the third defect conclusion, selecting a second target test case corresponding to the defect conclusion included in the third defect conclusion from a preset test case library;

[0073] S44: Determine all of the second target test cases as third experimental test cases, and use the third experimental test cases to repeatedly simulate the defects of the third defect conclusion.

[0074] The formula for comparing the code positions of the second defect conclusion and the first defect conclusion is:

[0075]

[0076] Among them, J is defect consistency, β is weight, i is the number of lines of code obtained by simulation, S is the actual number of lines of code, and A i1 The number of lines of code recorded for the first defect conclusion, A i2 The number of lines of code recorded for the second defect conclusion;

[0077] When A i2 ≠A i1 When J≠βi is obtained, it is shown that the code defect in the first defect conclusion does not appear in the same position. Then the test target case corresponding to the second defect conclusion is called out and determined as a new experimental test case, and repeated simulation is performed;

[0078] When A i2 =A i1 When J = βi, the code position of the final defect conclusion record is obtained, and this conclusion is visualized.

[0079] The working principle of the above technical scheme is: first, according to the recorded first defect conclusion, the first round of target test cases corresponding to the first defect conclusion are selected in the preset use case library and determined as the second experimental test cases. Then, all the first round of target test cases are determined as experimental test cases, and the defects of the first defect conclusion are repeatedly simulated using these experimental test cases to obtain a defect conclusion as the second defect conclusion. Then, the second defect conclusion is compared and analyzed with the first defect conclusion.

[0080] The formula for comparing the code positions of the second defect conclusion and the first defect conclusion is:

[0081]

[0082] Among them, J is defect consistency, β is weight, i is the number of lines of code obtained by simulation, S is the actual number of lines of code, and A i1 The number of lines of code recorded for the first defect conclusion, A i2 The number of lines of code recorded for the second defect conclusion;

[0083] When A i2 ≠A i1 When J≠βi is obtained, it is shown that the code defect in the first defect conclusion does not appear in the same position. Then the test target case corresponding to the second defect conclusion is called out and determined as a new experimental test case, and repeated simulation is performed;

[0084] When A i2 =A i1 When J = βi, the code position of the final defect conclusion record is obtained, and this conclusion is visualized.

[0085] If the second defect conclusion is inconsistent with the first defect conclusion, delete the conclusion. Then, use the obtained third defect conclusion (which may include multiple defect conclusions) to select the second target test cases corresponding to these defect conclusions in the preset use case library. Finally, all the second target test cases are determined as third experimental test cases, and these third experimental test cases are used to repeatedly simulate the defects of the third defect conclusions.

[0086] The effects of the above technical solution are: by recording defect conclusions in a defect conclusion list, the team can track and manage defects more conveniently; information such as defect description, code location and severity enables developers to quickly locate and solve specific problems, thereby improving development efficiency; by describing the characteristics and manifestations of each defect, the defect conclusions are classified and summarized, so that the development team can manage and understand defects more systematically; this helps to identify specific types of defects and take targeted repair measures, while improving the team's ability to identify and solve defects; using the recorded defect conclusions, select target test cases corresponding to the defect conclusions, making the test more accurate and targeted; the selection of test cases is directly related to the quality and stability of the product, so through this technical method, potential problems can be more effectively discovered and solved, thereby improving the overall quality of the product.

[0087] This embodiment provides a chip internal logic verification method, which uses repeated simulation to delete inconsistent defect conclusions until the obtained defect conclusion is completely consistent with the recorded defect conclusion, and displays the result including:

[0088] S51: Compare the obtained defect conclusion with the recorded defect conclusion, and display the result when the number of the recorded defect conclusions is the same as the number of the defect conclusions recorded last time.

[0089] The working principle of the above technical solution is: when the defect conclusion obtained is completely consistent with the recorded defect conclusion, the test results can be displayed, and the displayed results should include detailed information of the defect, the execution results of the test case, and the execution environment of the test case.

[0090] The effect of the above technical solution is: through repeated simulation and comparative analysis, problems in test cases can be discovered and fixed to ensure the accuracy and consistency of test results. At the same time, the steps of displaying results can also help developers and testers better understand test results and defect conclusions, so as to better evaluate product quality and reliability.

[0091] This embodiment provides a chip internal logic verification system, the system comprising:

[0092] An experimental test case generation module, in response to an input operation of a test requirement, generates an experimental test case corresponding to the test requirement by using the specification and design drawing of the chip to be verified;

[0093] A simulation verification module performs simulation verification on the experimental test case to obtain a simulation output signal corresponding to the experimental test case, and obtains an actual output signal when the chip is executed according to the test requirements;

[0094] A defect conclusion obtaining module, using the simulated output signal and the actual output signal for comparative analysis, to obtain a defect conclusion of the internal logic of the chip as a first defect conclusion;

[0095] A repeated simulation module, which selects a first round of target test cases corresponding to the first defect conclusion from a preset case library through the recorded first defect conclusion and determines the first round of target test cases as second experimental test cases, and repeatedly simulates the defect of the first defect conclusion;

[0096] The result display module deletes inconsistent defect conclusions by repeated simulation until the number of defect conclusions included in the defect conclusion list is completely consistent, and displays the result.

[0097] The working principle of the above technical solution is as follows: first, according to the chip specifications and design drawings, as well as the test requirements, a set of experimental test cases are generated. Then, the experimental test cases are simulated and verified using simulation tools. During the simulation process, the simulated output signal of each test case is recorded and compared with the actual output signal expected in the test requirements; by comparing and analyzing the simulated output signal and the actual output signal, the defects of the internal logic of the chip are obtained; the defects include calculation errors, timing mismatches, and data overflows. These defect conclusions are recorded as the first defect conclusions. According to the first defect conclusions, the first round of target test cases corresponding to the defect conclusions are screened out in the preset case library; then the simulation is repeated, and the first round of target test cases are run and compared multiple times. In each simulation process, the inconsistent defect conclusions are deleted, and the results of each simulation are recorded. When the number of defect conclusions contained in the defect conclusion list is exactly the same, the final result is displayed.

[0098] The effect of the above technical solution is: through simulation verification and comparative analysis, the defects of the internal logic of the chip can be accurately detected, avoiding the misjudgment and missed detection problems in the traditional verification method. At the same time, the use of a preset case library for screening and repeated simulation can reduce manual intervention and test time, thereby improving the verification efficiency. The method generates experimental test cases corresponding to the test requirements by responding to the input operation of the test requirements, thereby ensuring the comprehensiveness and coverage of the test. At the same time, the use of simulation tools to simulate and verify the experimental test cases can simulate the actual operating environment, thereby enhancing the effectiveness and practicality of the test. By comparing and analyzing the simulated output signal with the actual output signal, the defect type and location of the internal logic of the chip can be accurately identified. This helps developers to quickly locate and fix problems, thereby improving development efficiency and product quality. By early detection and repair of internal logic defects in the chip, development costs and risks can be reduced. Problems such as rework and delays caused by discovering defects in the later stage are avoided, thereby improving development efficiency and product quality. The final defect conclusion list can visualize the verification results, allowing developers to intuitively view the number and type of defects, as well as information such as the location and impact range of the defects. This helps developers better understand the defects in the chip's internal logic and provides strong support for further optimizing chip design.

[0099] This embodiment provides a chip internal logic verification system, wherein the simulation verification module includes:

[0100] A simulation signal output module, which uses a simulation tool to simulate the experimental test case, and obtains a simulation output signal corresponding to the experimental test case by simulating and verifying the experimental test case;

[0101] The actual signal output module uses the test requirements to test the actual chip to obtain the actual output signal when the chip is executed.

[0102] The working principle of the above technical solution is: use a simulation tool to simulate the experimental test case, and verify the experimental test case by simulation to obtain a simulation output signal corresponding to the experimental test case; during the simulation process, the simulation tool will simulate the internal logic and operation process of the chip according to the description and specifications of the experimental test case, and generate a corresponding simulation output signal; use the test requirements to test the actual chip to obtain the actual output signal when the chip is executed; the test requirements refer to the conditions and requirements that need to be met when testing the chip, including the amplitude, frequency, timing parameters of the input signal, and the acceptable range of the test results. By placing the actual chip in a real test environment and operating according to the test requirements, the actual output signal when the chip is executed can be obtained.

[0103] The effect of the above technical solution is: by using simulation tools to simulate and verify the experimental test cases, the actual operating environment of the chip can be simulated to obtain the simulation output signal corresponding to the experimental test cases. By comparing and analyzing the simulation output signal with the actual output signal, the defects of the internal logic of the chip can be accurately detected. It avoids the problems of misjudgment and missed detection in traditional verification methods and improves the accuracy and efficiency of verification; by comparing and analyzing the simulation output signal with the actual output signal, the defect type and location of the internal logic of the chip can be accurately identified, which helps developers to quickly locate and fix problems, and improves development efficiency and product quality.

[0104] This embodiment provides a chip internal logic verification system, wherein the defect conclusion obtaining module includes:

[0105] Signal conversion module: using the simulated output signal and the actual output signal through signal processing software, converting the simulated output signal and the actual output signal into numerical form;

[0106] A signal comparison module, which obtains defect conclusions of the internal logic of the plurality of chips as a first defect conclusion by comparing and analyzing the numerical values;

[0107] The defect conclusion analysis module records the first defect conclusion in a defect conclusion list, wherein the defect conclusion at least includes timing mismatch, code location, and data overflow.

[0108] The working principle of the above technical solution is: use signal processing software to convert the simulated output signal and the actual output signal into numerical form, and then compare and analyze these numerical values; by comparing the numerical values ​​of the simulated output signal and the actual output signal, the difference between the two can be found; if the difference exceeds the acceptable range, it means that there is a defect in the internal logic of the chip. In the process of comparative analysis, defect conclusions of multiple chip internal logics can be found; these conclusions are used as the first defect conclusions.

[0109] The effect of the above technical solution is: by using signal processing software, the simulated output signal and the actual output signal can be converted into numerical form; this makes the analysis of these signals more accurate and intuitive, providing a data basis for subsequent defect conclusions; by comparing and analyzing these numerical values, the difference between the simulated output signal and the actual output signal can be better understood; this comparative analysis helps to discover potential defects in the internal logic of the chip; through the above process, multiple defect conclusions about the internal logic of the chip can be obtained; these conclusions can be used to evaluate the design quality and performance of the chip, and can also help improve and optimize the design of the chip; through numerical comparison and analysis, potential problems can be found more quickly, and the severity of the problem can be assessed more accurately.

[0110] This embodiment provides a chip internal logic verification system, wherein the repeated simulation module includes:

[0111] an experimental test case determination module, determining all the first round target test cases as experimental test cases, and using the experimental test cases to repeatedly simulate the defects of the first defect conclusion to obtain a defect conclusion as a second defect conclusion,

[0112] A defect conclusion deletion module compares and analyzes the second defect conclusion with the first defect conclusion, deletes the inconsistent defect conclusions, and obtains a defect conclusion as a third defect conclusion;

[0113] A target test case selection module selects a second target test case corresponding to a defect conclusion included in the third defect conclusion from a preset test case library using the third defect conclusion;

[0114] A repeated simulation module determines all of the second target test cases as third experimental test cases, and repeatedly simulates the defects of the third defect conclusion using the third experimental test cases;

[0115] The formula for comparing the code positions of the second defect conclusion and the first defect conclusion is:

[0116]

[0117] Among them, J is defect consistency, β is weight, i is the number of lines of code obtained by simulation, S is the actual number of lines of code, and A i1 The number of lines of code recorded for the first defect conclusion, A i2 The number of lines of code recorded for the second defect conclusion;

[0118] When A i2 ≠A i1 When J≠βi is obtained, it is shown that the code defect in the first defect conclusion does not appear in the same position. Then the test target case corresponding to the second defect conclusion is called out and determined as a new experimental test case, and repeated simulation is performed;

[0119] When A i2 =A i1 When J = βi, the code position of the final defect conclusion record is obtained, and this conclusion is visualized.

[0120] The working principle of the above technical scheme is: first, according to the recorded first defect conclusion, the first round of target test cases corresponding to the first defect conclusion are selected in the preset use case library and determined as the second experimental test cases. Then, all the first round of target test cases are determined as experimental test cases, and the defects of the first defect conclusion are repeatedly simulated using these experimental test cases to obtain a defect conclusion as the second defect conclusion. Then, the second defect conclusion is compared and analyzed with the first defect conclusion.

[0121] The formula for comparing the code positions of the second defect conclusion and the first defect conclusion is:

[0122]

[0123] Among them, J is defect consistency, β is weight, i is the number of lines of code obtained by simulation, S is the actual number of lines of code, and A i1 The number of lines of code recorded for the first defect conclusion, A i2 The number of lines of code recorded for the second defect conclusion;

[0124] When A i2 ≠A i1 When J≠βi is obtained, it is shown that the code defect in the first defect conclusion does not appear in the same position. Then the test target case corresponding to the second defect conclusion is called out and determined as a new experimental test case, and repeated simulation is performed;

[0125] When A i2 =A i1 When J = βi, the code position of the final defect conclusion record is obtained, and this conclusion is visualized.

[0126] If the second defect conclusion is inconsistent with the first defect conclusion, delete the conclusion. Then, use the obtained third defect conclusion (which may include multiple defect conclusions) to select the second target test cases corresponding to these defect conclusions in the preset use case library. Finally, all the second target test cases are determined as third experimental test cases, and these third experimental test cases are used to repeatedly simulate the defects of the third defect conclusions.

[0127] The effects of the above technical solution are: by recording defect conclusions in a defect conclusion list, the team can track and manage defects more conveniently; information such as defect description, code location and severity enables developers to quickly locate and solve specific problems, thereby improving development efficiency; by describing the characteristics and manifestations of each defect, the defect conclusions are classified and summarized, so that the development team can manage and understand defects more systematically; this helps to identify specific types of defects and take targeted repair measures, while improving the team's ability to identify and solve defects; using the recorded defect conclusions, select target test cases corresponding to the defect conclusions, making the test more accurate and targeted; the selection of test cases is directly related to the quality and stability of the product, so through this technical method, potential problems can be more effectively discovered and solved, thereby improving the overall quality of the product.

[0128] This embodiment provides a chip internal logic verification system, wherein the result display module includes:

[0129] The result display module deletes inconsistent defect conclusions by repeated simulation until the number of defect conclusions included in the defect conclusion list is completely consistent, and displays the result.

[0130] The working principle of the above technical solution is: when the defect conclusion obtained is completely consistent with the recorded defect conclusion, the test results can be displayed, and the displayed results should include detailed information of the defect, the execution results of the test case, and the execution environment of the test case.

[0131] The effect of the above technical solution is: through repeated simulation and comparative analysis, problems in test cases can be discovered and fixed to ensure the accuracy and consistency of test results. At the same time, the steps of displaying results can also help developers and testers better understand test results and defect conclusions, so as to better evaluate product quality and reliability.

[0132] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A chip internal logic verification method, characterized in that: The method comprises: S1: In response to an input operation of a test requirement, using the specification and design drawing of the chip to be verified, an experimental test case corresponding to the test requirement is generated; S2: Perform simulation verification on the experimental test case to obtain a simulation output signal corresponding to the experimental test case, and obtain an actual output signal when the chip is executed according to the test requirements; S3: Comparing and analyzing the simulated output signal with the actual output signal to obtain a defect conclusion of the internal logic of the chip as a first defect conclusion; S4: selecting a first round of target test cases corresponding to the first defect conclusion from a preset case library based on the first defect conclusion and determining them as second experimental test cases, and repeatedly simulating the defect of the first defect conclusion; S5: Utilize repeated simulation to delete inconsistent defect conclusions until the number of defect conclusions included in the defect conclusion list is completely consistent, and display the results.

2. A chip internal logic verification method according to claim 1, characterized in that: The simulating and verifying the experimental test case to obtain a simulated output signal corresponding to the experimental test case, and obtaining an actual output signal when the chip is executed according to the test requirements, includes: S21: simulating the experimental test case using a simulation tool, and obtaining a simulation output signal corresponding to the experimental test case by simulating and verifying the experimental test case; S22: Utilizing the test requirement, testing the actual chip to obtain the actual output signal when the chip is executed.

3. A chip internal logic verification method according to claim 1, characterized in that: The comparing and analyzing the simulated output signal with the actual output signal to obtain a defect conclusion of the internal logic of the chip, and storing the result as a first defect conclusion in a defect conclusion list, includes: S31: using the simulated output signal and the actual output signal through signal processing software, converting the simulated output signal and the actual output signal into numerical form; S32: Obtaining defect conclusions of the internal logic of the plurality of chips by comparing and analyzing the numerical values ​​as a first defect conclusion; S33: Record the first defect conclusion in a defect conclusion list, wherein the defect conclusion includes the timing mismatch, code location, and data overflow of the defect.

4. A chip internal logic verification method according to claim 1, characterized in that: The first defect conclusion recorded, selecting a first round of target test cases corresponding to the first defect conclusion in a preset case library and determining them as second experimental test cases, and repeatedly simulating the defect of the first defect conclusion, including: S41: determining all the first round target test cases as experimental test cases, and using the experimental test cases to repeatedly simulate the defects of the first defect conclusion to obtain a defect conclusion as a second defect conclusion, S42: By comparing and analyzing the second defect conclusion and the first defect conclusion, the inconsistent conclusions are deleted to obtain a defect conclusion as a third defect conclusion; S43: using the third defect conclusion, selecting a second target test case corresponding to the defect conclusion included in the third defect conclusion from a preset test case library; S44: Determine all of the second target test cases as third experimental test cases, and use the third experimental test cases to repeatedly simulate the defects of the third defect conclusion.

5. A chip internal logic verification method according to claim 1, characterized in that: The repeated simulation is used to delete inconsistent defect conclusions until the obtained defect conclusion is completely consistent with the recorded defect conclusion, and the display of the results includes: S51: Compare the obtained defect conclusion with the recorded defect conclusion, and display the result when the number of the recorded defect conclusions is the same as the number of the defect conclusions recorded last time.

6. A chip internal logic verification system, characterized in that: The system comprises: An experimental test case generation module, in response to an input operation of a test requirement, generates an experimental test case corresponding to the test requirement by using the specification and design drawing of the chip to be verified; A simulation verification module performs simulation verification on the experimental test case to obtain a simulation output signal corresponding to the experimental test case, and obtains an actual output signal when the chip is executed according to the test requirements; A defect conclusion obtaining module, using the simulated output signal and the actual output signal for comparative analysis, to obtain a defect conclusion of the internal logic of the chip as a first defect conclusion; A repeated simulation module, which selects a first round of target test cases corresponding to the first defect conclusion from a preset case library through the recorded first defect conclusion and determines the first round of target test cases as second experimental test cases, and repeatedly simulates the defect of the first defect conclusion; The result display module deletes inconsistent defect conclusions by repeated simulation until the number of defect conclusions included in the defect conclusion list is completely consistent, and displays the result.

7. A chip internal logic verification system according to claim 6, characterized in that: The simulation verification module comprises: A simulation signal output module, which uses a simulation tool to simulate the experimental test case, and obtains a simulation output signal corresponding to the experimental test case by simulating and verifying the experimental test case; The actual signal output module uses the test requirements to test the actual chip to obtain the actual output signal when the chip is executed.

8. A chip internal logic verification system according to claim 6, characterized in that: The defect conclusion obtaining module includes: Signal conversion module: using the simulated output signal and the actual output signal through signal processing software, converting the simulated output signal and the actual output signal into numerical form; A signal comparison module, which obtains defect conclusions of the internal logic of the plurality of chips as a first defect conclusion by comparing and analyzing the numerical values; The defect conclusion analysis module records the first defect conclusion in a defect conclusion list, wherein the defect conclusion includes timing mismatch, code location, and data overflow.

9. A chip internal logic verification system according to claim 6, characterized in that ,The repeated simulation module includes: an experimental test case determination module, determining all the first round target test cases as experimental test cases, and using the experimental test cases to repeatedly simulate the defects of the first defect conclusion to obtain a defect conclusion as a second defect conclusion, A defect conclusion deletion module compares and analyzes the second defect conclusion with the first defect conclusion, deletes the inconsistent defect conclusions, and obtains a defect conclusion as a third defect conclusion; A target test case selection module selects a second target test case corresponding to a defect conclusion included in the third defect conclusion from a preset test case library using the third defect conclusion; The repeated simulation module determines all of the second target test cases as third experimental test cases, and uses the third experimental test cases to repeatedly simulate the defects of the third defect conclusion.

10. A chip internal logic verification system according to claim 6, characterized in that ,The result display module:, includes: The result display module deletes inconsistent defect conclusions by repeated simulation until the number of defect conclusions included in the defect conclusion list is completely consistent, and displays the result.