Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Function coverage ratio analysis method for logic test

An analysis method and logic testing technology, applied in the field of detecting whether the incentives of test cases are sufficient, can solve problems such as difficult reuse, difficult modification, poor intuitiveness, etc., and achieve the effect of simple operation

Inactive Publication Date: 2006-12-27
HUAWEI TECH CO LTD
View PDF0 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, in this method, the tester defines the data set that the input data must cover according to the requirement specification. It is a human definition process, and it is also inevitable that there will be omissions.
On the other hand, due to the poor intuition of this kind of collection, the workload of the definition process is large and it is not easy to reuse, and it is also difficult to modify, so the actual effect is not ideal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Function coverage ratio analysis method for logic test
  • Function coverage ratio analysis method for logic test
  • Function coverage ratio analysis method for logic test

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention reflects the logic function branch coverage mainly by analyzing the RM function branch coverage in the testing process, thereby judging whether the incentive data is sufficient.

[0026] Such as figure 2 Shown is the main flow chart of the functional coverage analysis method of the logic test of the present invention. Before the test, the tester needs to insert a "probe" on the corresponding functional branch in the RM according to the requirement specification (step S210). The work of inserting "probes" needs to be done manually, and other work such as the calculation of the statistical coverage of test points and the printing of non-coverage information can be done by automated tools.

[0027] The "probe" is actually a function call, and each "probe" contains a variable representing the path of the function branch and a counter of execution times. When carrying out " probe " in the testing process of test case, call statistical function and cu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a function covering rate analyzing method of logic test, which comprises following steps: (a), inserting probe into the function branch of reference model; (b), when executing to the probe in the test process, using stat function to record the description information of probe into stat list; (c), when present mission is end, printing the record information of present function branch, to the log document; (d), when all tests are end, opening each log document of test, collecting all covering information of function branches, to generate tested function branch stat list; (e), scanning the reference model cost, to generate detecting point tree; (f), comparing said tested stat list and the detecting point tree, to obtain function covering rate information. And the inventive method has simple operation, reliable information and flexible operation on testing point.

Description

technical field [0001] The invention relates to a method for detecting whether the stimulus of a test case is sufficient, in particular to a method for analyzing the function coverage of a logic test. Background technique [0002] The functional requirements of logic can generally be translated into the form of "under XX incentives, the logic should respond to XX". In order to verify whether a certain functional requirement in the logic requirements specification is realized, it is necessary to apply various stimulus data to the logic (such as configuring registers, sending data packets to the logic, etc.), and then judging whether the response data of the logic is consistent with the requirements specification Consistent with the definition in . If the stimulus data applied to the logic is sufficient and the logic's response to the stimulus is correct, then the logic function is correctly implemented. The passing of the logic test needs to meet two conditions: the correct...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 麻远声
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products