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

Directory controller test excitation generation method based on genetic algorithm

A controller testing and genetic algorithm technology, applied in the field of catalog controller test incentive generation based on genetic algorithm, can solve problems such as difficulty in meeting regression testing, accelerate functional verification convergence, etc., reduce redundant test incentives, save expert time, The effect of improving verification efficiency

Active Publication Date: 2020-12-11
NAT UNIV OF DEFENSE TECH
View PDF3 Cites 1 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
  • Directory controller test excitation generation method based on genetic algorithm
  • Directory controller test excitation generation method based on genetic algorithm
  • Directory controller test excitation generation method based on genetic algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] Such as image 3 As shown, the genetic algorithm-based directory controller test stimulus generation method in this embodiment includes:

[0054] S1: Symbolic encoding of the genetic algorithm for the test features of the catalog controller;

[0055] S2: Create the first-generation population of test incentives, and generate M test incentive sets based on the negative selection algorithm (Negative Select Algorithm);

[0056] S3: Perform mutation operation according to the mutation probability: generate a new chromosome t3, join the population based on the negative selection algorithm, calculate the chromosome difference between each chromosome in the population and the new chromosome t3, if the chromosome difference is less than the threshold Then the new chromosome t3 is non-self data, delete the new chromosome t3, and perform the mutation operation again; otherwise, the new chromosome t3 is self-data, and add the new chromosome t3 to the recombination population. Af...

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 directory controller test excitation generation method based on a genetic algorithm. The directory controller test excitation generation method comprises the steps of S1, performing symbol coding of the genetic algorithm for test characteristics of a directory controller; S2, creating a primary population of test excitation, and selecting random chromosomes to add into the population based on a negative selection algorithm; S3, performing mutation operation to generate new chromosomes, and adding the new chromosomes into the population based on the negative selectionalgorithm; S4, performing crossover operation to generate new chromosomes, and adding the new chromosomes into the population based on the negative selection algorithm; and S5, repeating the step S3S4until the maximum genetic algebra is reached or chromosomes with fitness values greater than or equal to a set threshold appear. The relationship between the coverage rate and excitation input can bemined, generation of random test excitation is guided, new chromosomes are supervised and selected to be added into the population according to a negative selection algorithm, the least redundant test excitation is achieved, different coverage rate function points are covered as soon as possible, the test time is shortened, and the verification efficiency is improved.

Description

technical field [0001] The invention relates to chip design technology, in particular to a genetic algorithm-based method for generating test incentives for a directory controller. Background technique [0002] On-chip multi-core processors (CMP, Chip Multi-processors) have become the direction of processor development. With the increasing demand for data communication between multi-core and multi-thread, on-chip integrated large-capacity Cache (high-speed buffer) realizes data sharing and interaction, thereby Reduce memory access latency and reduce access conflicts. Such as figure 1 A 64-core processor as shown adopts a CMP structure, including a processor core (core), a Cache, a network on chip (Network on Chip, NoC), a directory controller (Directory Control Unit, DCU), a storage controller ( Memory Control Unit). figure 1 Among them, Core is the CPU core, which completes the scheduling and execution of instructions; Cache is a high-speed cache, and two cores share a C...

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
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products