A Genetic Algorithm Based Test Stimulus Generation Method for Catalog Controller

A technology of controller testing and genetic algorithm, applied in the field of genetic algorithm-based catalog controller test stimulus generation, can solve problems such as difficult to meet regression testing, accelerate function verification convergence, etc., to save expert time, reduce simulation time, and improve growth rate effect

Active Publication Date: 2022-06-03
NAT UNIV OF DEFENSE TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Writing test vectors manually takes a lot of time and labor costs, and sometimes it is difficult to meet the large number of test vectors with wide coverage required by regression testing; random test vectors, the size and length of the generated test vectors are flexible and controllable, but the test vectors are easy Repeated coverage, in order to reduce the generation of redundant incentives and accelerate the convergence of functional verification, the random test generation method driven by coverage feedback is the current research hotspot of random test generation technology

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
  • A Genetic Algorithm Based Test Stimulus Generation Method for Catalog Controller
  • A Genetic Algorithm Based Test Stimulus Generation Method for Catalog Controller
  • A Genetic Algorithm Based Test Stimulus Generation Method for Catalog Controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] S4: select the recombined population chromosomes according to the crossover probability to perform crossover operation to generate a new chromosome t4, based on negation

[0067] S2d: Repeat steps S2b and S2c until the number of chromosomes in the population reaches a predetermined population number M.

[0069] cov

[0072]

[0076]

[0078]

[0080] The threshold value generally adopts a fixed value. As a preferred implementation, in order to promote the rapid collection of genetic algorithms

[0081]

[0083] In this embodiment, the mutation operation is performed according to the mutation probability in step S3. Generate new chromosomes, based on negative selection

[0086]

[0089] In this embodiment, the threshold ε for the fitness value setting in step S5 can be defined as 95% to 100% with reference to.

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 for generating test incentives for a directory controller based on a genetic algorithm. The invention includes: S1: performing symbolic coding of the genetic algorithm for the test characteristics of the directory controller; S2: creating a first-generation population of test incentives based on negative selection The algorithm selects random chromosomes to join the population; S3: Perform mutation operations to generate new chromosomes, and join the population based on the negative selection algorithm; S4: Perform crossover operations to generate new chromosomes, and join the population based on the negative selection algorithm; S5: Repeat steps S3-S4 until reaching the maximum heredity Chromosomes with a fitness value greater than or equal to the set threshold in algebra or occurrence. The present invention can excavate the relationship between the coverage rate and the stimulus input, guide the generation of random test stimulus, and supervise the selection of new chromosomes to join the population according to the negative selection algorithm, so as to achieve the least redundant test stimulus and cover different coverage rate function points as soon as possible. Reduce test time and improve verification efficiency.

Description

A method for generating test incentives for catalog controllers based on genetic algorithm technical field The present invention relates to chip design technology, be specifically related to a kind of catalog controller test excitation generator based on genetic algorithm into method. Background technique On-chip multi-core processor (CMP, Chip Multi-processors) has become the direction of processor development, with With the increasing demand for data communication between multi-core and multi-threads, on-chip large-capacity Cache (cache) is integrated to realize data Share and interact, thereby reducing memory fetch latency and reducing access conflicts. A 64-core processor, as shown in Figure 1, uses a CMP junction architecture, including processor core (core), Cache, Network on Chip (NoC), directory controller (Directory Control Unit, DCU), storage controller (Memory Control Unit). In Figure 1, Core is the CPU Core, completes the scheduling and execution of...

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/36G06N3/12
CPCG06F11/3684G06F11/3688G06N3/126Y02D10/00
Inventor 罗莉周理潘国腾荀长庆周海亮铁俊波欧国东冯权友王蕾龚锐石伟张剑锋刘威任巨
Owner NAT UNIV OF DEFENSE TECH
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