Method and device for generating test program for verifying function of microprocessor
A test program and functional verification technology, applied in functional inspection, software testing/debugging, faulty computer hardware detection, etc., can solve the problem of multi-point of interest features that are not suitable for the functional coverage model, and the poor effect of the microprocessor functional coverage model , lack of practical experience in verifying the microprocessor function coverage model, etc., to achieve the effect of improving verification efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] Embodiment one, a kind of test program generation method for microprocessor function verification, comprises:
[0087] A. Randomly generate μ+λ individuals and save them as the original generation population; use the original generation population as the current population;
[0088] B. Combined with the instruction library, convert the individuals in the current population into test programs;
[0089] C. Simulate and execute the test program converted by each individual in the current population, and generate a function coverage report;
[0090] D. If the current population is the original generated population, proceed to step E directly;
[0091] Otherwise, select individuals in the current population to perform λ times of crossover and mutation operations, and save the new individuals generated into the current population, and then proceed to step E; the selection method of λ can be the same as the existing technology;
[0092] E. According to the functional coverag...
Embodiment 2
[0161] Embodiment two, a kind of test program generating device for microprocessor function verification, comprises:
[0162] The conversion module is used to convert the individual in the current population into a test program in combination with the instruction library;
[0163] A generation module is used to randomly generate μ+λ individuals and save them as the original generation population; output the original generation population as the current population to the conversion module;
[0164] The test platform is used to simulate and execute the test program transformed by each individual in the current population, and generate a functional coverage report;
[0165] A selection module is used to select at least μ individuals from the current population as a new generation population;
[0166] The processing module, after receiving the functional coverage report of the test platform, if the current population is the original generation population, then directly start the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com