Random code generation using genetic algorithms

   
   

Techniques are disclosed for automatically generating test instructions for use in testing a microprocessor design. A configuration file includes a plurality of knobs which specify a probability distribution of a plurality of microprocessor instructions. A random code generator takes the configuration file as an input and generates test instructions which are distributed according to the probability distribution specified by the knobs. The test instructions are executed on the microprocessor design. The microprocessor behaviors that are exercised by the test instructions are measured and a fitness value is assigned to the configuration file using a fitness function. The configuration file and its fitness value are added to a pool of configuration files. A configuration file synthesizer uses a genetic algorithm to synthesize a new configuration file from the pool of existing configuration files. This process may be repeated to generate configuration files which increasingly exercise microprocessor behaviors which are of interest.

 
Web www.patentalert.com

< Graphical list grouping widget and methods of use thereof

< Verifying decoupling capacitance using a maximum flow determination of a network

> Highly scalable system and method of regulating internet traffic to server farm to support (min,max) bandwidth usage-based service level agreements

> Data structure for fine-grid multi-level VLSI routing and method for storing the data structure in a computer readable medium

~ 00193