Method for automatic generating random excitation based on percentage of function coverage

A technology of random excitation and automatic generation, applied in the direction of software testing/debugging, etc., can solve the problems of no combination, sequence constraint mode, and difficulty in functional coverage target, and achieve the effect of flexible constraint mode, simplified workload, and enhanced effectiveness.

Inactive Publication Date: 2008-01-02
HUAWEI TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 2. The generation of random incentives for the functional coverage target needs to write more constraint codes. There is no specific constraint method for combination and sequence, so it is difficult to achieve the functional coverage target

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
  • Method for automatic generating random excitation based on percentage of function coverage
  • Method for automatic generating random excitation based on percentage of function coverage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] As shown in FIG. 1 , it is a schematic diagram of a verification platform integrated with a functional coverage measurement model in the present invention. The functional coverage statistics module is the most important module in which the functional coverage measurement model in the present invention is implemented; in the process of generating incentives and result analysis at the main console of the verification platform, the functional coverage statistics are triggered by events The module works.

[0019] The function coverage statistics in the present invention are based on the test point (Testcase), and the decomposition process of the test point is shown in FIG. 2 . Among them, some basic elements are measured, such as test objects (Object) and segments (Segment) and so on.

[0020] Starting from the requirements specification of the object under test (DUT), it is gradually decomposed downwards. First, the verification characteristics (Feature) are decomposed ac...

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 discloses a method of automatically producing random excitation based function coverage rate, including : defining excitation data frame and test object; defining many kind of function coverage rate; setting up combination restraint to combines the test object, setting up sequence restraint to sequence test object; produce excitation, first produces the orthogonal combination to the combination test object, then producing other combinations; to the sequence test object, automatically producing the excitation in its sequence. The invention can cause random excitation more agility, and is easier to achieve function coverage rate. At the same time, according to the function rate, the tool may automatically complete the stochastic drive the production, may simplify the user compilation restraint code work load, enabled convergence the random excitation production to object, strengthen the test example validity.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method for automatically generating random incentives based on function coverage. Background technique [0002] In the process of software testing and ASIC verification, it is necessary to obtain data on code coverage and functional coverage. Although 100% code coverage can be achieved in this process, it cannot be determined that there is no problem with the designed object under test (DUT) based on this alone, because only the code itself is trained, and it is not yet possible to judge: Have all incentives been entered? Are all possible outcomes received? Has the state of the object under test been accessed? Are all internal transitions present? etc. [0003] In response to these problems, the industry has proposed the concept of functional coverage, which is defined as: clear functional requirements from equipment and test plan specifications. Therefore, the measurement...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 易敏王进成程智辉王万财
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products