Quasi-full maximum distance random testing method
A technology of maximum distance and random testing, applied in the detection of faulty computer hardware, etc., can solve problems such as huge resource overhead and time overhead, and achieve the effect of improving fault coverage and reducing testing overhead.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] see figure 1 , the standard complete maximum distance random test method test steps are as follows:
[0035] Step 1, read the circuit's primary input number from the text n , specifying the initial seed n specified test seed in binary code t 0 , the number of test patterns expected to be generated is 2 m ;
[0036] Step 2, according to the number of primary inputs n , to generate a set of subscripted odd test codes that meet the maximum total Cartesian distance;
[0037] Step 3. On the basis of obtaining the subscript odd test code set, according to the rule of the maximum Hamming distance, further obtain the subscript even test code set to form an intermediate test set;
[0038] Step 4, intermediate test set and specified test seeds t 0 Perform XOR operation to obtain the final complete test set.
Embodiment 2
[0040] This embodiment is basically the same as Embodiment 1, and its special features are as follows:
[0041] Said step 2 includes:
[0042] Step 2.1, according to the number of primary inputs n , calculate the best distance as the closest n Even number of / 2 σ , to select candidate codes;
[0043] Step 2.2, according to the selected optimal distance σ , set the distance range range = σ ,number of failures fcount =0; random from n Bit binary test code selected from σ The ones place is juxtaposed to 1, and the generated Hamming distance from all 0 yards is σ The test code of the test code is used as the candidate code; if the Hamming distance between the candidate code and all the generated subscript odd test codes is within range Within the range, go to step 2.3; otherwise, fcount Add 1, repeat step 2.2; if fcount exceeds the specified threshold, then relax range scope: range =[ range lower limit -2, range cap+2];
[0044] Step 2.3, use the ca...
Embodiment 3
[0048] In this embodiment, the quasi-complete maximum distance random testing method is based on Microsoft visual studio 2010, and is implemented with C++ object-oriented language as the programming language.
[0049] figure 1 As shown, the complete maximum distance random test method in this paper includes the following steps, and its characteristics are:
[0050] Step 1, read the number of input terminals of the circuit from the text n , the target test set size is 2 m ;
[0051] Step 2, initialize each parameter, generate candidate test codes, and obtain all subscript odd test codes;
[0052] In step 2 mentioned include:
[0053] Step 2.1, use all "0" as the initial test seed t 0 , to calculate the optimal distance even number σ , which has σ The sum of the Cartesian distances between any test code of one "1" and all "0" and all "1" is the largest. when n ≠4 k +2; ( k , n?N )hour, σ =[ n / 2] (even number); when n =4 k +2; ( k , n?N ), σ...
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