A processing method, device and medium for front-end verification

By establishing a mapping relationship between the target verification point and the function coverage group in the chip front-end verification, the problems of repetitive work and missed verification and error verification are solved, and efficient verification accuracy and time saving are achieved.

CN114741308BActive Publication Date: 2025-07-29SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210427425.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-22
Publication Date
2025-07-29
Estimated Expiration
2042-04-22

AI Technical Summary

Technical Problem

The prior art has a lot of repetitive work and difficult to trace the verification point missed verification and error verification in chip front-end verification, resulting in insufficient verification accuracy.

Method used

By obtaining the functional coverage group information of the target verification point, establishing a mapping relationship and storing it in a preset data structure, generating script information, and performing compilation and simulation to obtain coverage information, avoiding inconsistent mapping rules caused by verbal descriptions, and improving the traceability and accuracy of the verification process.

Benefits of technology

Reduce repetitive work, avoid mis-verification and error verification at verification points, save time and cost, and improve verification accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114741308B_ABST
    Figure CN114741308B_ABST
Patent Text Reader

Abstract

The present invention discloses a front-end verification processing method, device and medium, which are applicable to the field of chip front-end processing technology. By establishing a mapping relationship between target verification points and function coverage group information and generating a unified prescribed mapping, the inconsistency of mapping rules caused by oral descriptions by staff is avoided, and it is convenient for staff to trace back and find the corresponding verification process in the event of omissions; script information is obtained according to the information storage data structure corresponding to the mapping relationship, and the script information is automatically converted into compilable information containing hierarchical verification plan table information and coverage information of the mapping relationship between verification points and function coverage groups. The compilable information is compiled and simulated to obtain coverage information, and the final result of the target verification point is obtained according to the hierarchical verification plan table information and coverage information, saving a lot of manpower for writing and developing compilable code, avoiding a lot of repetitive work and the situation of missed verification and wrong verification of verification points, saving time and cost, and improving verification accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of chip front - end processing, and particularly to a processing method, device and medium for front - end verification. Background Technique

[0002] With the rapid development of large - scale integrated circuit system design, the scale of integrated circuits is getting larger and larger, and the ratio of chip front - end verification in the chip R & D process is relatively important. For the numerous and time - consuming tasks of chip front - end verification, the guarantee of the completeness of chip front - end verification is becoming increasingly important. Therefore, functional coverage rate is one of the important means. The functional coverage rate characterizes whether the verification points predefined by verification engineers are completely covered during the entire verification cycle. If so, it means that these verification points have all been verified, which to a certain extent guarantees the completeness of verification. If not completely covered, it means that the stimuli of test cases are not random enough or the development is not complete enough, and new test cases need to be added.

[0003] Generally speaking, collecting the functional coverage rate usually consists of three parts: developing the compilable code of the functional coverage group, establishing the mapping relationship between the functional coverage group and the verification points, and performing regression testing to collect the functional coverage rate. The existing method is to write a large amount of compilable code to define the functional coverage group when developing the functional coverage group. There is a high degree of repetition in the code, and it is easy to have omissions, and it is difficult to find errors during later reviews; when establishing the mapping relationship between the functional coverage group and the verification points, verification engineers add comments in the code or describe it verbally, and there is no unified regulation to describe this mapping relationship, resulting in the difficulty of tracing this mapping relationship, making it impossible to find the corresponding verification work process in case of omissions.

[0004] Therefore, it is an urgent need for those skilled in the art to seek a processing method for front - end verification. Summary of the Invention

[0005] The purpose of the present invention is to provide a processing method, device and medium for front - end verification, to avoid a large amount of repetitive work and the situation that it is difficult to trace missed or mis - verified verification points, and improve the verification accuracy.

[0006] To solve the above - mentioned technical problems, the present invention provides a processing method for front - end verification, including:

[0007] Obtain target verification points and obtain corresponding functional coverage group information according to the target verification points;

[0008] Establish a mapping relationship according to the target verification points and the functional coverage group information;

[0009] Extract the information corresponding to the mapping relationship and store it in a preset data structure to obtain script information, where the script information includes hierarchical verification plan table information and compilable information of function coverage groups;

[0010] Compile and simulate the compilable information to obtain coverage information;

[0011] Obtain the final result of the target verification point based on the hierarchical verification plan table information and the coverage information and display it.

[0012] Preferably, obtaining the target verification point includes:

[0013] Pre-define the classification information of verification points;

[0014] Describe the verification points according to the classification information to obtain verification point description information;

[0015] Determine the test cases covering the verification points according to the verification points;

[0016] Obtain the target verification point according to the classification information, verification point description information, test cases and corresponding personnel information.

[0017] Preferably, after obtaining the final result of the target verification point, it further includes:

[0018] Judge whether the coverage rate score corresponding to the final result reaches a preset score;

[0019] If so, determine that the target verification point is completely covered and verified;

[0020] If not, determine that the target verification point is not completely covered and the test cases corresponding to the target verification point are incomplete.

[0021] Preferably, the function coverage group information includes the name information corresponding to the function coverage group information, the concerned item information and the verification scenario corresponding to the concerned item information.

[0022] Preferably, the concerned item information includes at least the concerned sensitive signals, variable information and register information corresponding to the verification points; the verification scenario corresponding to the concerned item information includes at least flip signals and matching information.

[0023] Preferably, after obtaining the final result of the target verification point based on the hierarchical verification plan table information and the coverage information and displaying it, it further includes:

[0024] Statistically analyze the coverage rate score corresponding to the final result;

[0025] Fit the coverage rate score to obtain a convergence curve for users to view.

[0026] Preferably, it further includes:

[0027] Eliminate the test cases corresponding to the coverage rate score reaching the preset score for the next verification of the target verification point.

[0028] To solve the above technical problems, the present invention also provides a processing device for front-end verification, including:

[0029] An acquisition module, configured to acquire a target verification point and acquire corresponding function coverage group information according to the target verification point;

[0030] A building module, configured to establish a mapping relationship according to the target verification point and the function coverage group information;

[0031] A storage module, configured to extract the information corresponding to the mapping relationship and store it in a preset data structure to obtain script information, where the script information includes hierarchical verification plan table information and compilable information of the function coverage group;

[0032] A simulation module, configured to compile and simulate the compilable information to obtain coverage rate information;

[0033] A display module, configured to display the final result of the target verification point according to the hierarchical verification plan table information and the coverage rate information.

[0034] To solve the above technical problems, the present invention also provides a processing device for front-end verification, including:

[0035] A memory, configured to store a computer program;

[0036] A processor, configured to implement the steps of the above front-end verification processing method when executing the computer program.

[0037] To solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above front-end verification processing method are implemented.

[0038] The present invention provides a front-end verification processing method, which includes obtaining a target verification point and obtaining corresponding functional coverage group information based on the target verification point, establishing a mapping relationship between the target verification point and the functional coverage group information and generating a unified prescribed mapping, thereby avoiding inconsistent mapping rules caused by oral descriptions by staff, and facilitating staff tracing and finding the corresponding verification process in the event of omissions; obtaining script information based on an information storage data structure corresponding to the mapping relationship, and automatically converting the script information into compilable information containing hierarchical verification plan table information and coverage information of the mapping relationship between the verification point and the functional coverage group; compiling and simulating the compilable information to obtain coverage information, and obtaining the final result of the target verification point based on the hierarchical verification plan table information and the coverage information, thereby saving a lot of manpower in writing and developing compilable code, avoiding a lot of repetitive work and missed or incorrect verification of verification points, saving time and cost, and improving verification accuracy.

[0039] In addition, the present invention also provides a front-end verification processing device and medium, which have the same beneficial effects as the above-mentioned front-end verification processing method. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. 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 any creative work.

[0041] Figure 1 A flowchart of a front-end verification processing method provided by an embodiment of the present invention;

[0042] Figure 2 A structural diagram of a front-end verification processing device provided by an embodiment of the present invention;

[0043] Figure 3 A structural diagram of another front-end verification processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0045] The core of the present invention is to provide a front-end verification processing method, device and medium to avoid a large amount of repetitive work and the situation where missed or wrong verification points are difficult to trace, thereby improving verification accuracy.

[0046] To enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0047] It should be noted that the collection of functional coverage is crucial for the front-end verification of the chip. How to quickly and clearly define and develop functional coverage groups and effectively trace the functional coverage scores after each round of regression testing directly affects whether this work can achieve twice the result with half the effort. At the same time, it also directly determines whether the functional coverage curve can converge quickly within the limited project cycle, thereby affecting whether the chip can be successfully taped out on time. The front-end verification processing method provided by the present invention is for the front-end verification of the chip. Generally speaking, a module-level verification requires more than a dozen or even dozens of functional coverage groups, and most of the code has a high degree of repetition. Since hardware description languages such as the SV (SystemVerilog) language have certain prescribed formats for the definition of functional coverage groups, and the coverage of functional coverage groups, that is, functional coverage, is collected during multiple large-scale regression tests until all functional coverage reaches 100%, it indicates that the function points corresponding to the functional coverage have been verified, thus ensuring the completeness of verification in terms of the dimension of functional coverage.

[0048] Figure 1 The flowchart of a front-end verification processing method provided by an embodiment of the present invention is as Figure 1 shown, and the method includes:

[0049] S11: Obtain target verification points and obtain corresponding functional coverage group information according to the target verification points.

[0050] Specifically, since the code workload for developing functional coverage groups is large and there is a lot of repetitive labor, it is extremely easy to have omissions during the process of defining a large number of functional coverage groups and it is not easy to be discovered during later reviews. Therefore, only need to describe what kind of verification scenario is required for a certain verification point to be covered, such as signal flipping situation, register value hit situation, or matching situation of different variable values conforming to what kind of logical combination, etc. Therefore, obtain target verification points, and the number of target verification points can be one or more, and the present invention does not make specific limitations.

[0051] Before obtaining the target verification points, it is necessary to customize the verification points and the descriptions of the functional coverage groups corresponding to the verification points. In a text file in any format, first list the summarized verification points, which can be verification point classification information, specific description information, test cases, etc. The present invention does not make specific limitations, as long as it can meet the requirements of the target verification points corresponding to the functional coverage groups, and the specific information for defining the verification points is set according to the actual situation.

[0052] Obtain the corresponding function coverage group according to the target verification point, define what kind of verification scenario for each verification point, and the verification scenario is the prototype of the function coverage group, which is convenient for subsequent checking for omissions and tracing, and facilitates the staff to spend more time and energy thinking about what kind of verification scenarios are still needed to completely cover a certain verification point.

[0053] S12: Establish a mapping relationship based on the target verification point and the function coverage group information.

[0054] For the target verification point and the function coverage group information obtained in step S11, clearly mark the corresponding relationship and establish an intuitive and visual mapping table, which indicates the description of the function coverage group information, the corresponding verification scenario, and the specific score situation. For example, the function coverage group information corresponding to the target verification point needs to complete multiple items, the specific verification scenario description for each item, and the corresponding coverage preset conditions that each verification scenario needs to meet. When the target verification point meets the coverage preset conditions for multiple items, it means that the verification point is completely covered. If only one item is met or not all are met, it means that the verification point is not completely covered, and the score situation reached by the target verification point can be obtained in real time according to the score situation corresponding to each item.

[0055] S13: Extract the information corresponding to the mapping relationship and store it in a preset data structure to obtain script information, where the script information includes the hierarchical verification plan table information and the compilable information of the function coverage group.

[0056] According to the mapping relationship established in step S12, extract the information corresponding to each mapping relationship and store it in a preset data structure to generate script information, which includes two contents: hierarchical verification plan table information and compilable information of the function coverage group.

[0057] The hierarchical verification plan table information has an obvious hierarchical structure, where the name of the function coverage group belonging to a certain target verification point is displayed in it, and the definition method includes the class where the function coverage group information is defined and the package where the class is located during compilation. For example: for the verification point V0_1 source = "group:top_pkg::top_coverage::CG_1", its class corresponds to "top_coverage" of source, and the package corresponds to "top_pkg" of source.

[0058] The predefined description information is filled in according to the format specified by the hardware description language (such as SV) to form compilable information.

[0059] S14: Compile and simulate the compilable information to obtain the coverage information.

[0060] Compile and simulate the compilable information in step S13 to obtain coverage information, and the coverage information will be stored in the coverage database file.

[0061] S15: Obtain the final result of the target verification point according to the hierarchical verification plan table information and the coverage information and display it.

[0062] Use the simulation tool to open the coverage database file and the hierarchical verification plan table information. It can be clearly seen the mapping relationship between each verification point and the functional coverage group, as well as the final result of the functional coverage group in the coverage information collected this time. Display the final result. The final result can be the specific score situation, or the mapping relationship between the target verification point and the functional coverage group information, as well as the score situation and the corresponding coverage situation, etc. The present invention does not make specific limitations and can be further set according to the actual situation.

[0063] A front-end verification processing method provided by the present invention includes obtaining a target verification point and obtaining corresponding functional coverage group information according to the target verification point. By establishing a mapping relationship between the target verification point and the functional coverage group information and generating a unified specified mapping, it avoids the inconsistent mapping rules caused by the oral description of the staff, facilitates the staff to trace and find the corresponding verification process in case of omissions; obtain script information according to the information storage data structure corresponding to the mapping relationship. The script information is automatically converted into compilable information including the mapping relationship between the verification point and the functional coverage group, the hierarchical verification plan table information and the coverage information. The compilable information is compiled and simulated to obtain the coverage information. The final result of the target verification point is obtained according to the hierarchical verification plan table information and the coverage information, saving a large amount of manpower for writing and developing compilable code, avoiding a large amount of repetitive work and the situation of missed or wrong verification of verification points, saving time costs, and improving verification accuracy.

[0064] On the basis of the above embodiment, obtaining the target verification point in step S11 specifically includes:

[0065] Pre-define the classification information of the verification point;

[0066] Describe the verification point according to the classification information to obtain verification point description information;

[0067] Determine the test cases for covering the verification point according to the verification point;

[0068] Obtain the target verification point according to the classification information, the verification point description information, the test cases and the corresponding personnel information.

[0069] Specifically, classify information of verification points and description information of the function coverage group corresponding to the verification points are predefined, test cases covering the verification points are determined according to the verification points; target verification points are obtained based on the classification information, verification point description information, test cases, and corresponding personnel information. Table 1 is a table of verification point description texts, as described in Table 1:

[0070] Table 1 Table of Verification Point Description Texts

[0071] VO Description Owner Testcase VO_1 No.1VO to verify feature 1 User1 TC_1 VO_2 No.2VO to verify feature 2 User2 TC_2

[0072] As shown in Table 1, where VO refers to the classification information of verification points defined by verification engineers (Verification Objective, VO), Description refers to a general textual description of the meaning of the verification points, Owner refers to the name of the engineer responsible for the verification points, and the Testcase column refers to the names of the test cases that need to cover the verification points.

[0073] The method for obtaining target verification points provided by the embodiments of the present invention, by predefining verification points and descriptions of the function coverage groups corresponding to the verification points, only needs to describe what verification scenarios the verification points need to be covered, which is convenient for engineers to get rid of cumbersome code and avoid the situation of large code workload and mistakes.

[0074] Based on the above embodiments, after obtaining the final result of the target verification point in step S15, it further includes:

[0075] Determine whether the coverage rate score corresponding to the final result reaches a preset score;

[0076] If so, determine that the target verification point is completely covered and verified;

[0077] If not, determine that the target verification point is not completely covered and the test cases corresponding to the target verification point are incomplete.

[0078] Specifically, determine whether it reaches the preset score according to the coverage rate score corresponding to the final result. For example, the preset score is 100 points. If it reaches, it means that the target verification point is completely covered. If not, it means that it is not completely covered. Correspondingly, determine whether the test cases are complete or need to be updated based on the coverage situation of the target verification point. Table 2 is a table of final result displays, as shown in Table 2:

[0079] Table 2 Table of Final Result Displays

[0080] VO Description Owner Testcase TestStatus Covergroup Score VO_1 No.1VO to verify feature 1 User1 TC_1 Passed CG_1 100% VO_2 No.2VO to verify feature 2 User2 TC_2 Passed CG_2 96%

[0081] When the target verification points are fully covered, it indicates that the current verification points have been verified; when the target verification points are not fully covered, it means that additional or modified test cases are needed for the current verification points to achieve 100% coverage.

[0082] The coverage of the verification points and function coverage groups provided in the embodiments of the present invention can significantly reduce the time consumed by verification engineers in developing function coverage groups, reduce omissions, and improve accuracy; through the clear mapping relationship, the coverage of verification points can be quickly viewed, so as to quickly update the focus of subsequent verification work, thereby achieving the accelerated convergence of the function coverage rate in multiple regression tests.

[0083] Based on the above embodiments, the function coverage group information includes the name information corresponding to the function coverage group information, the items of concern, and the verification scenarios corresponding to the items of concern.

[0084] Specifically, add the name information of the function coverage group, the items of concern, and the verification scenarios corresponding to the items of concern after the target verification points. Table 3 is a text table containing the verification points and function coverage group descriptions, as shown in Table 3:

[0085] Table 3 is a text table containing the verification points and function coverage group descriptions

[0086] VO Description Owner Testcase Covergroup Item Bin VO_1 No.1VO to verify feature 1 User1 TC_1 CG_1 Item_1 (1=>0=>1) VO_2 No.2VO to verify feature 2 User2 TC_2 CG_2 Item_2 {3'h1} {3'h4} Item_2_1 {[4'h1:4'hA]}

[0087] Among them, Covergroup refers to the naming of the function coverage group; Item refers to the items concerned by the function coverage group, which can be one or more signals, variables in the verification environment, registers in the test, etc.; Bin refers to the scenarios that the concerned signals, variables, or registers need to cover, such as inversion situations, whether the specific value is reached, and whether the value falls within a certain range, etc. For example, in the first Bin signal in Table 3, it is an inversion situation, and the second Bin signal is that the specific value reaches a preset condition, where "{3’h1}" means that the 16-bit data reaches 1 first and "{3’h4}" reaches 4 later, and the third Bin signal is that the value is greater than or equal to 1 and less than or equal to 4.

[0088] For the VO_2 verification point in Table 3, three Bin signals need to be reached to be fully covered, and for the VO_1 verification point, only one Bin signal needs to be reached to be fully covered. Table 3 is only illustrated based on two verification points, and the number, name, and verification scenarios of the target verification points are set according to the actual situation.

[0089] The present embodiment provides the verification points, function coverage group descriptions, and the mapping relationship between the two, which is convenient for the staff to see clearly at a glance, facilitates checking for omissions and making up deficiencies, and tracing, and avoids the non-uniform mapping rules caused by the oral description of the staff.

[0090] As a preferred embodiment, the concerned item information at least includes the concerned sensitive signals, variable information, and register information corresponding to the verification points; the verification scenarios corresponding to the concerned item information at least include flip signals and matching information.

[0091] As shown in Table 3, the concerned item information set is sensitive signals, variable information in the verification scenario, or register information in the test, and it can also be other information. However, it should be noted that the three types of information provided in this embodiment are basic information, so at least these three types of information are included. Adding other information on the basis of these three types of information is not specifically limited by the present invention.

[0092] The verification scenario corresponding to the concerned item information is specifically the scenario that needs to be covered, such as flip situations, whether the specific value is reached, and whether the value falls within a certain range, etc. It at least includes flip signals and matching information. The matching information is whether the specific value matches the preset value, etc., and it can also be other information. However, it should be noted that the two types of information provided in this embodiment are basic information, so at least these two types of information are included. Adding other information on the basis of these two types of information is not specifically limited by the present invention.

[0093] The concerned item information provided by the present invention at least includes the concerned sensitive signals, variable information, and register information corresponding to the verification points; the verification scenarios corresponding to the concerned item information at least include flip signals and matching information, which satisfy the description content of the functional coverage group information and facilitate the simple and clear correspondence between the verification points and the functional coverage group information.

[0094] On the basis of the above embodiment, after displaying the final result of the target verification point obtained according to the hierarchical verification plan table information and the coverage rate database information in step S15, it further includes:

[0095] Statistical coverage rate score corresponding to the final result;

[0096] Fitting the coverage rate score to obtain a convergence curve for the user to view.

[0097] Specifically, on the basis of the current script processing, the statistical coverage rate score for each functional coverage group corresponding to each verification point in each regression test is added, and then the coverage rate score corresponding to the final result is statistically calculated, and the coverage rate score is fitted to obtain a convergence curve.

[0098] The present invention does not limit the fitting method. It can be continued to be fitted in the fitting software according to the coverage rate score, or it can be fitted according to a specific fitting algorithm, etc.

[0099] The present invention provides fitting the statistically calculated coverage rate score to obtain a convergence curve, which is convenient for the user to view and convenient for the verification engineer to master the time progress and report risks in a timely manner.

[0100] Based on the above embodiments, it further includes:

[0101] Eliminate the test cases corresponding to the coverage rate score reaching the preset score for the next target verification point verification.

[0102] Specifically, for the convenience of the next target verification point verification, eliminate the test cases with qualified functional coverage rates in the regression test table of this time, that is, the test cases corresponding to the coverage rate reaching the preset score.

[0103] The embodiments of the present invention provide to eliminate the test cases corresponding to the coverage rate score reaching the preset score for the next target verification point verification, so as to improve the efficiency of converging the functional coverage rate within limited server resources and verification windows, achieve full coverage of the verification points as soon as possible, and thus accelerate the process of the entire chip verification.

[0104] The above details each embodiment corresponding to the processing method of front-end verification. On this basis, the present invention also discloses a processing device for front-end verification corresponding to the above method. Figure 2 It is a structural diagram of a processing device for front-end verification provided by an embodiment of the present invention. As Figure 2 shown, the processing device for front-end verification includes:

[0105] An acquisition module 11, configured to acquire a target verification point and acquire corresponding functional coverage group information according to the target verification point;

[0106] A establishment module 12, configured to establish a mapping relationship according to the target verification point and the functional coverage group information;

[0107] A storage module 13, configured to extract the information corresponding to the mapping relationship and store it in a preset data structure to obtain script information, where the script information includes hierarchical verification plan table information and compilable information of the functional coverage group;

[0108] A simulation module 14, configured to compile and simulate the compilable information to obtain coverage rate information;

[0109] A display module 15, configured to display the final result of the target verification point according to the hierarchical verification plan table information and the coverage rate information.

[0110] Since the embodiments of the device part correspond to the above embodiments, the embodiments of the device part are described with reference to the embodiments of the above method part and will not be elaborated here.

[0111] The present invention provides a front-end verification processing device, which includes obtaining a target verification point and obtaining corresponding functional coverage group information based on the target verification point, and establishing a mapping relationship between the target verification point and the functional coverage group information and generating a unified prescribed mapping, thereby avoiding inconsistent mapping rules caused by oral descriptions by staff, and facilitating staff tracing and finding the corresponding verification process in the event of omissions; obtaining script information based on an information storage data structure corresponding to the mapping relationship, and automatically converting the script information into compilable information containing hierarchical verification plan table information and coverage information of the mapping relationship between the verification point and the functional coverage group; compiling and simulating the compilable information to obtain coverage information, and obtaining the final result of the target verification point based on the hierarchical verification plan table information and the coverage information, thereby saving a lot of manpower in writing and developing compilable code, avoiding a lot of repetitive work and missed or incorrect verification of verification points, saving time and cost, and improving verification accuracy.

[0112] Figure 3 A structural diagram of another front-end verification processing device provided by an embodiment of the present invention, such as Figure 3 As shown, the device includes:

[0113] Memory 21, for storing computer programs;

[0114] The processor 22 is configured to implement the steps of the front-end verification processing method when executing a computer program.

[0115] The front-end verification processing device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.

[0116] Among them, the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 22 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA). The processor 22 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the Central Processing Unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 22 may be integrated with a Graphics Processing Unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 22 may also include an Artificial Intelligence (AI) processor, and the AI processor is used to process computational operations related to machine learning.

[0117] The memory 21 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 21 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In this embodiment, the memory 21 is at least used to store the following computer program 211. After the computer program is loaded and executed by the processor 22, it can implement the relevant steps of the front-end verification processing method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 21 may also include an operating system 212 and data 213, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 212 may include Windows, Unix, Linux, etc. The data 213 may include, but is not limited to, the data involved in the front-end verification processing method, etc.

[0118] In some embodiments, the front-end verification processing device may further include a display screen 23, an input / output interface 24, a communication interface 25, a power supply 26, and a communication bus 27.

[0119] Those skilled in the art can understand that Figure 3 the structure shown in

[0120] The processor 22 implements the processing method for front-end verification provided in any of the above embodiments by calling the instructions stored in the memory 21.

[0121] A processing device for front-end verification provided by the present invention includes obtaining a target verification point and obtaining corresponding functional coverage group information according to the target verification point, establishing a mapping relationship between the target verification point and the functional coverage group information and generating a unified specified mapping, avoiding the inconsistent mapping rules caused by the oral description of the staff, facilitating the staff to trace and find the corresponding verification process in case of mistakes; obtaining script information according to the information storage data structure corresponding to the mapping relationship, the script information is automatically converted into compilable information including the mapping relationship between the verification point and the functional coverage group, the hierarchical verification schedule information and the coverage rate information, the compilable information is compiled and simulated to obtain the coverage rate information, and the final result of the target verification point is obtained according to the hierarchical verification schedule information and the coverage rate information, saving a large amount of manpower for writing and developing compilable code, avoiding a large number of repetitive tasks and the situation of missed or mis-verified verification points, saving time costs and improving verification accuracy.

[0122] Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by the processor 22, the steps of the processing method for front-end verification as described above are implemented.

[0123] It can be understood that if the method in the above embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0124] For the introduction of a computer-readable storage medium provided by the present invention, please refer to the above method embodiments. The present invention will not be elaborated here, and it has the same beneficial effects as the above processing method for front-end verification.

[0125] The above has introduced in detail a front-end verification processing method, a front-end verification processing device and a medium provided by the present invention. The various embodiments in the specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple. For related parts, reference can be made to the description in the method part. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

[0126] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including the said element.

Claims

1. A processing method for front-end verification, characterized in that, Including: Obtain a target verification point and obtain corresponding function coverage group information according to the target verification point; Establish a mapping relationship according to the target verification point and the function coverage group information; Extract the information corresponding to the mapping relationship and store it in a preset data structure to obtain script information, where the script information includes hierarchical verification plan table information and compilable information of function coverage groups; Compile and simulate the compilable information to obtain coverage information; Obtain the final result of the target verification point according to the hierarchical verification plan table information and the coverage information and display it; Among them, obtaining the target verification point includes: Pre - define the classification information of verification points; Describe the verification points according to the classification information to obtain verification point description information; Determine the test cases covering the verification points according to the verification points; Obtain the target verification point according to the classification information, the verification point description information, the test cases and the corresponding personnel information.

2. The processing method for front-end verification according to claim 1, wherein After obtaining the final result of the target verification point, it further includes: Judge whether the coverage rate score corresponding to the final result reaches a preset score; If so, determine that the target verification point is completely covered and verified; If not, determine that the target verification point is not completely covered and the test cases corresponding to the target verification point are incomplete.

3. The processing method for front-end verification according to claim 1, wherein The function coverage group information includes the name information corresponding to the function coverage group information, the concerned item information and the verification scenarios corresponding to the concerned item information.

4. The processing method for front-end verification according to claim 3, wherein The concerned item information at least includes the concerned sensitive signals, variable information and register information corresponding to the verification points; the verification scenarios corresponding to the concerned item information at least include flip signals and matching information.

5. The processing method for front-end verification according to claim 2, wherein After obtaining the final result of the target verification point according to the hierarchical verification plan table information and the coverage information and displaying it, it further includes: Statistical the coverage rate score corresponding to the final result; Fit the coverage rate score to obtain a convergence curve for users to view.

6. The processing method for front-end verification according to claim 1, wherein It also includes: Eliminate the test cases corresponding to the coverage rate scores reaching the preset scores for the next verification of the target verification point.

7. A processing device for front-end verification, characterized in that, Including: An acquisition module, used to obtain a target verification point and obtain corresponding function coverage group information according to the target verification point; A establishment module, used to establish a mapping relationship according to the target verification point and the function coverage group information; A storage module, used to extract the information corresponding to the mapping relationship and store it in a preset data structure to obtain script information, where the script information includes hierarchical verification plan table information and compilable information of function coverage groups; A simulation module, used to compile and simulate the compilable information to obtain coverage information; A display module, used to obtain the final result of the target verification point according to the hierarchical verification plan table information and the coverage information and display it; Among them, obtaining the target verification point includes: Pre - define the classification information of verification points; Describe the verification points according to the classification information to obtain verification point description information; Determine the test cases covering the verification points according to the verification points; The target verification point is obtained according to the classification information, the verification point description information, the test case and the corresponding personnel information.

8. A processing device for front-end verification, characterized in that, Including: A memory for storing a computer program; A processor for implementing the steps of the front-end verification processing method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the front-end verification processing method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Verification method and device, electronic equipment and computer readable storage medium

    CN112613257A

  • Chip verification method, device and equipment and readable storage medium

    CN113850035A