For single-pass diagnosis of multiple strand defects

Through the single-pass chain diagnosis algorithm and error signature calculation, the problems of low efficiency and poor accuracy in multiple chain defect diagnosis in the existing technology are solved, and efficient and accurate fault location and diagnosis are achieved.

CN113454471BActive Publication Date: 2024-10-01SYNOPSYS INC
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202080015612.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-13
Filing Date
2020-03-13
Publication Date
2024-10-01
Estimated Expiration
2040-03-13

AI Technical Summary

Technical Problem

Existing chain diagnosis algorithms are difficult to improve diagnosis resolution in the case of multiple chain defects, and conventional methods may lead to reduced accuracy and observability of defective chains, and require multiple simulations, which increases time consumption and complexity.

Method used

Adopting a single-pass chain diagnostic algorithm, it reduces reliance on compressed test responses and improves diagnostic efficiency and accuracy by dynamically selecting failure capture modes and incremental calculations based on error signatures.

Benefits of technology

It improves the throughput of batch diagnosis and the accuracy and resolution of diagnostic annotation, reduces the complexity and time-consuming of multiple chain defects, and achieves more efficient fault location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113454471B_ABST
    Figure CN113454471B_ABST
Patent Text Reader

Abstract

Disclosed herein are method, system, and storage medium embodiments for single-pass diagnosis of multiple chain defects in circuit design testing. Embodiments include (multiple) processors to select multiple scan chains in a circuit under test and determine the presence of at least a first defect in a first scan chain and a second defect in the first scan chain or a second scan chain. The multiple scan chains may include specific scan chains each having a corresponding plurality of scan cells. The (multiple) processors may map the first defect to a first range of the first scan cell and the second defect to a second range of the second scan cell. Based at least in part on a set of failure capture patterns, the (multiple) processors may locate the first defect in the first scan cell of the first range and the second defect in the second scan cell of the first range or the second range.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 817,596, filed on March 13, 2019, the entire contents of which are incorporated herein by reference.

[0003] Copyright Notice

[0004] The assignee of the patent document has no objection to the facsimile reproduction by anyone of the patent document itself or the patent application as it appears in the U.S. Patent and Trademark Office file, but otherwise reserves all rights to any contained work of authorship protected by copyright.

[0005] Specifications - Disclaimer

[0006] In the following "Background", "Summary", and "Detailed Description", headings should not be construed as necessarily limiting. Citation or identification of any publication in the following "Background", "Summary", and "Detailed Description" does not imply the relevance or status of any claimed or described embodiment as prior art. Paragraphs in which text is entirely italicized indicate text that is common to multiple Synopsys patent specifications. Background Art

[0007] Conventional chain diagnosis algorithms include at least any of the following disadvantages: 1) a fail capture pattern may end up being simulated multiple times because a fail capture pattern may be selected for multiple defective chains and used in multiple passes; 2) the computation of the external simulated fault for each fault candidate includes computing the faulty compressed test response, which is a time-consuming operation and is a compression pattern; and 3) in the case of multiple chain defects, the determination of a fail capture pattern that improves the diagnostic resolution of the defective chain may be difficult. For example, a fail capture pattern in which a defective chain is selected for observation may require improving the diagnostic resolution of that scan chain. However, some fail capture patterns in which zero or more defective chains may be selected for observation may unnecessarily increase the diagnostic resolution, thereby compromising the accuracy and observability of defects in circuits with multiple defective scan chains. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The following “Detailed Description”, “Drawings”, “Attached Additional Figures” and “Attached Claims” represent the nature and advantages of the innovations, embodiments and / or examples of the claimed invention. All drawings represent the innovations, embodiments and / or examples of the claimed invention for illustrative purposes only and do not limit the scope of the claimed invention. These drawings are not necessarily drawn to scale and are part of the present disclosure.

[0009] In the drawings, similar components or features may have reference numerals in the form of the same or similar labels (such as alphanumeric symbols, e.g., reference numerals) and may represent similar or equivalent functions. In addition, various components of the same type may be distinguished by following the reference numeral with a dash and a second reference numeral that distinguishes the similar components. If only the first reference numeral is used in the specification, the description applies to any one of the similar components having the same first reference numeral, regardless of the second reference numeral. A brief description of the drawings is as follows.

[0010] Figure 1 Depicted is an example block diagram of an integrated circuit having on-chip test data compression capabilities in accordance with some embodiments.

[0011] Figure 2 An example of a faulty test response to an unknown location is depicted in accordance with some embodiments.

[0012] Figure 3 An example of a faulty test response to an unknown location is depicted in accordance with some embodiments.

[0013] Figure 4 Depicted is a failure simulation for multiple chain defects in accordance with some embodiments.

[0014] Figure 5 Depicted are error signatures and faulty compressed test responses according to some embodiments.

[0015] Figure 6 An example fault simulation process is depicted in accordance with some embodiments.

[0016] Figure 7 Example results from an embodiment describing the acceleration of design D4 as further described herein are shown.

[0017] Figure 8 Example results from an embodiment describing the acceleration of design D5 as further described herein are shown.

[0018] Fig. 9 Example results from an embodiment describing the acceleration of design D6 as further described herein are shown.

[0019] Fig.10 Depicted is a flow chart illustrating an example method for single-pass diagnosis of multiple chain defects in accordance with some embodiments.

[0020] Fig.11 Depicted are flow diagrams of various operations in the design and fabrication of integrated circuits in accordance with embodiments of the present disclosure.

[0021] Fig.12 A diagram of an example simulation system is depicted, in accordance with some embodiments of the present disclosure.

[0022] Fig.13 A diagram of an example computer system is depicted in which embodiments of the present disclosure may operate.

[0023] In these various figures, reference numerals may be omitted in order to be consistent with recognized engineering practice; however, one of ordinary skill in the art will understand that the components of the illustrations will be readily understood when viewed in the context of the illustrations as a whole and the accompanying disclosure describing these various figures. DETAILED DESCRIPTION

[0024] The "Figures" and the following "Detailed Description" represent innovations, embodiments and / or examples by way of illustration only, and various features, structures or characteristics are described together in a single embodiment to simplify the present disclosure. Changes in any element, process, machine, system, manufacture or composition disclosed by such exemplary innovations, embodiments and / or examples will be readily recognized and can be used in business without departing from the principles of the claimed content. The "Figures" and "Detailed Description" may also imply or explicitly indicate advantages and improvements of a subset of the exemplary embodiments described herein.

[0025] In the "Figures" and "Detailed Description", many specific details may be described to implement one or more of the exemplary innovations, embodiments and / or examples. In order not to obscure the presentation of the exemplary innovations, embodiments and / or examples in the following "Detailed Description", some processing steps or operations known in the art may be combined for presentation and illustration purposes and may not be described in detail. However, those skilled in the art will recognize that these exemplary innovations, embodiments and / or examples can be used in business without these specific details or their equivalents. In other cases, well-known processes and equipment are not described in detail to avoid unnecessary confusion of various aspects of these exemplary innovations, embodiments and / or examples. In other cases, some processing steps or operations known in the art may not be described at all. Instead, the following description focuses on the unique features or elements of various exemplary innovations, embodiments and / or examples. In addition, although the description may refer to some components of the structure in the singular tense, more than one component may be depicted throughout the drawings and similar components are marked with similar numbers.

[0026] Electronic design automation (EDA) can be applied to almost any circuit design project in the semiconductor industry. After a product is developed, EDA tools can be used to define a specific implementation, including photolithography masks used to produce finished chips, a process that can be called tape-out. The photolithography masks can then be used with manufacturing equipment to manufacture integrated circuit wafers. Testing and diagnostics can be used to determine defective dies and the location of any defects, which can be called defect localization.

[0027] Batch diagnostics can quickly provide a sufficient amount of data for identification of systematic defects. Electrical failure analysis and physical failure analysis (PFA) can be used to reduce the physical area and collect information about specific defects. As a result, the root cause of the systematic defect can be identified and used for mask correction and / or implementation of design and manufacturing process improvements that can increase yield. Finally, the wafer can be cut, packaged, and assembled to provide integrated circuit chips for distribution.

[0028] An example process for using EDA tools begins with a design specification for a product to be implemented using an integrated circuit. Logic design tools may be applied to create a high-level description based on a description language such as Verilog or VHDL, and functional verification tools may be applied in an iterative process to ensure that the high-level description completes the design specification. Synthesis and test design tools may be used to convert the high-level description into a netlist, customize the netlist for the target technology, and insert test logic that allows testing of the finished chip.

[0029] A typical design flow may next include a design planning phase, where the overall floor plan of the chip may be constructed and analyzed to ensure that the timing parameters of the netlist can be achieved at a high level. Next, the netlist may be rigorously checked for compliance with timing constraints and the functional definitions defined at a high level using VHDL or Verilog. After an iterative process of finalizing the netlist and mapping the netlist to a cell library for the final design, physical implementation tools may be used for placement and routing. Tools that perform placement position circuit elements on the layout, and tools that perform routing define the interconnections of the circuit elements.

[0030] The components defined after placement and routing can then be analyzed at the transistor level using extraction tools and verified to ensure that the circuit functionality can be achieved and that timing constraints can be met. The placement and routing process can be revisited in an iterative manner as needed. Next, the design can go through a physical verification process such as design rule checking (DRC), layout rule checking (LRC), and layout vs. schematic (LVS) checking, which analyzes manufacturability, electrical performance, lithography parameters, and circuit correctness.

[0031] After an acceptable design is achieved through iterations of the design and verification process, such as those described above, the resulting design can be subjected to resolution enhancement techniques that can provide geometric manipulation of the layout to improve manufacturability. The mask data can be prepared and taped out for production of a finished product.

[0032] This design process using EDA tools can include a circuit system for testing finished products, for example, as a test bench circuit for testing other circuits. Effective testing of integrated circuits can use structured testability design (DFT) techniques. In particular, these techniques can provide control and / or observation of all or some memory elements (e.g., flip-flops, latches, etc.) in a circuit under test (CUT). An example DFT method can be based on a scan chain. The method assumes that during testing, memory elements can be included in a logical or physical electronic structure that can be used as a shift register. This logical or physical electronic structure can be referred to as a scan chain. Therefore, the designed logic circuit has two (or more) operating modes, including at least a functional mode and a test mode. In the functional mode, the memory elements can perform their normal functions. In the test mode, the memory elements can become scan cells connected to form one or more scan chains. These scan chains are used to scan the test stimulus into the CUT and scan out the test response. For example, applying a test mode can include: performing a scan input (or load) of a test stimulus, applying one or more capture clocks, and performing a scan output (unload) of the captured test response. Additionally, in some embodiments, the test response may be compared to a non-faulty test response to determine whether the CUT is functioning properly.

[0033] One way to reduce test pins, test data volume, and test application time may be to use compressed test stimuli and compressed test responses instead of loading all test stimuli and unloading the entire test response separately. Figure 1 A block diagram of an integrated circuit with on-chip test data compression capability is shown in . Thus, a tester may be coupled to an integrated circuit including a CUT, a decompressor and a compressor via a shift register or a shift register function.

[0034] Still reference Figure 1 For example, batch diagnosis for yield learning can reduce the actual time required to meet aggressive yield improvement plans before mass production. Given a set of tester failures for a test pattern and design information, the diagnostic tool can identify fault candidates that can be used to isolate the corresponding (multiple) locations of these failures. The diagnostic annotations of a single device may therefore have some ambiguity when mapped to multiple defect locations and defect mechanisms, because multiple defects may mask each other or otherwise be uncertain about a single device. This ambiguity can be mitigated or eliminated through batch diagnosis, statistical analysis, and PFA that can determine a set of common physical defect characteristics or root causes. By addressing these root cause issues, yield can be improved. On-chip test data compression increases the complexity of the process because the scan chains in the CUT may not be directly observable. As will be understood by a person of ordinary skill in the art, diagnosis uses specialized processes for defect location in logic, scan chains, clock trees, etc.

[0035] When multiple chain defects may exist, batch chain diagnosis can be performed in the early stages of design manufacturing and yield improvement. The input of chain diagnosis includes the design netlist of defective tube core, test pattern set and tester fault. Chain diagnosis can use causal analysis to calculate the fault effect of fault candidates based on fault model, wherein the fault model can include at least the following defect types: stuck at 0, stuck at 1, slow rise, slow fall, slow rise and fall, fast rise, fast fall and fast rise and fall. The test pattern set can include chain test mode and capture mode. If the chain test mode on the tester fails, the shift operation may be affected by defects in the scan chain, clock tree, set reset tree or scan enable tree. Defective chain and defect type can be identified based on chain test mode without simulation, as discussed in K.Stanley in "High-accuracy Flush-and-Scan Software Diagnostic" (2001 IEEE Computer Design Test Vol. 18 No. 6 Pages 56-62). For example, a chain test pattern scan input test sequence "00110011" and a scan output test sequence "00000000" may indicate that there is a stuck-at-0 fault in the corresponding scan chain. Next, the initial range of suspicious scan cells may include some or all scan cells in the defective chain. Defect localization may be performed based at least in part on a failed capture pattern—here, the capture mode scan input test stimulus applies one or more capture clocks and a scan output capture test response. Causal chain diagnosis may use a fault simulation that may inject a fault candidate in the first scan cell (close to the scan output) in the range and calculate a ranking score. The fault simulation may incrementally calculate the ranking scores of other scan cells in the range. For example, fault candidates may be pruned based on the ranking score, and fault candidates with lower scores may be eliminated for each simulation pass. In some embodiments, the process may continue until all failed capture patterns may be used or the range of suspicious scan cells may be reduced to a single scan cell.

[0036] For a single chain defect, the fault simulation can calculate the effect of the fault on the first scan cell in the range based on the following steps: setting a load value for the selected failure capture mode, modifying the load values ​​of the scan cell and some or all downstream scan cells, calculating the damage capture value through a good machine simulation (e.g., a known correct test, a non-faulty simulation, etc.), and calculating the faulty test response by modifying the unload values ​​of the scan cell and some or all upstream scan cells that are shown to be stuck at 0 faults, such as Figure 2as shown. Note that the damage loading value can be 0 for the defect location and some or all downstream scan units, and the damage unloading value can be 0 for the defect location and some or all upstream scan units. Simulation failures can be calculated by comparing expected fault-free test responses and faulty test responses. The ranking score can be calculated by comparing simulation failures with tester failures. The ranking score can include any of at least three components: for example, the number of predicted, mispredicted, and unpredicted tester failures. An ideal candidate failure can explain all tester failures, excluding any mispredicted tester failures or any unpredicted tester failures.

[0037] Chain diagnosis of multiple chain defects may require fault simulation of a series of suspicious scan cells. For each defective chain, chain diagnosis can select a set of failure capture patterns and calculate the ranking score of each fault candidate based on the range of suspicious scan cells of other defective chains. First, the load value of the suspicious scan cell and its downstream scan cell can be modified. A good machine simulation can be performed to calculate the damage capture value based on the modified load value. The faulty test response can be calculated by modifying the damage unloading value of the suspicious scan cell and its upstream scan cell. The fault effect of multiple faults can be calculated based on the superposition of the fault effects of the corresponding faults. When the fault effects of multiple faults have only value 0, only value 1, or different corresponding values, the synthesized composite fault has 0, 1, or X.

[0038] Figure 3 Depicted is an example calculation of a faulty test response for a range of suspect scan cells assuming a single fault per defect chain. The faulty test response may be calculated based on the assumption that there is one fault candidate within the range. Changes wrt. no-fault values ​​may be marked in bold. Defect localization may be performed by ranking the fault candidates for the current defect chain, where the ranking score for each fault candidate may be calculated by comparing simulated faults to tester faults, as discussed in R. Guo and S. Venkataraman, "A Technique for Fault Diagnosis of Defects in Scan Chains," 2001 International Test Conference, pp. 268-277, and in Y. Huang, W.-T. Cheng, R. Guo, "Diagnose Multiple Stuck-at Scan Chain Faults," 2008 IEEE European Test Symposium, pp. 105-110.

[0039] In compression mode, external simulated faults may be calculated by comparing an expected non-faulty compressed test response and a faulty compressed test response at the output of the compressor circuit. Figure 4Depicted is the fault simulation of multiple chain defects. For a given defect chain, defect localization can be performed by calculating the ranking score of each fault candidate when a series of suspect scan cells can be used for other defective scan chains. Figure 4 The faulty compressed test response is shown on the left side. Figure 4 The right side of is shown, with changes from the no-fault values ​​marked in bold. W.-T. Cheng, K.-H. Tsai, Y. Huang, N. Tamarapalli, and J. Rajski, "Compactor Independent Direct Diagnosis" (IEEE Asia Test Symbology 2004, pp. 204-209) modifies the circuit under test so that the compressor is included in the simulation model. This approach can be applied to calculate the ranking score for chain diagnosis in compressed mode, as further discussed in Y. Huang, W.-T. Cheng, and J. Rajski, "Compressed Pattern Diagnosis for Scan Chain Failures" (IEEE International Test Conference 2005, pp. 751-759).

[0040] In addition, in "Distributed Dynamic Partitioning Based Diagnosis of Scan Chain" by Y. Huang, X. Fan, H. Tang, M. Sharma, W.-T. Cheng, B. Benware, S. M. Reddy (2013 IEEE VLSI Test Symposium, pp. 105-110), a dynamic partitioning is proposed to improve the yield of batch diagnosis. The average speed can be increased by 1.2-13.2 times, with only a slight decrease in accuracy (≤4%) or resolution (≤0.7%). In "Diagnosing multiple faulty chains with lowpin convolution compressor using compressed production test set" by S. Kundu, K. Kumar, R. Kumar, R. Kapur (2017 IEEE International Test Conference), a multi-pass chain diagnosis algorithm is proposed to improve the resolution of multiple chain defects. As a result, the range of suspicious scan cells of the defective chain can be reduced, which in turn can reduce X (a deterministic representation of multiple defects in a single pass) in the faulty compressed test response of the next defective chain. The general chain diagnostic algorithm is shown in Listing 1 below:

[0041] Listing 1: Chain Diagnostics

[0042] 1: pass = 0;

[0043] 2: Determine the defect type and initial scope of all defect chains;

[0044] 3: while (pass ≤ 1) do {

[0045] 4: for (each defect chain) do {

[0046] 5: If the resolution is good, continue;

[0047] 6: Select the failure capture mode for this chain;

[0048] 7: for (each simulation passes) do {

[0049] 8: Modify the load value based on the range of other defect chains;

[0050] 9: Perform well-executed machine simulation;

[0051] 10: Modify the uninstall value based on the scope of other defect chains;

[0052] 11: for (each fault candidate in the range) do {

[0053] 12: Modify the loading value of the current fault candidate;

[0054] 13: Propagation simulation changes;

[0055] 14: Modify the uninstall value of the current fault candidate;

[0056] 15: Calculate the faulty compressed test response;

[0057] 16: Comparison of faulty and non-faulty compressed test responses;

[0058] 17: Calculate the score of the fault candidate;

[0059] 18:}

[0060] 19: Update the scope of the current defect chain;

[0061] 20:}

[0062] twenty one:}

[0063] 22: Pass = Pass + 1

[0064] twenty three:}

[0065] Single pass chain diagnostic algorithm

[0066] A single-pass chain diagnostic algorithm is described that can address the shortcomings of conventional chain diagnostics. The enhancement techniques disclosed herein can increase the throughput of batch diagnostics while maintaining the accuracy and resolution of diagnostic annotations. Failure capture patterns can be simulated at least once based at least in part on a selection, which can be dynamically performed in response to a stimulus during simulation. The selection can rank the failure capture patterns of each simulation pass so that the sum of the range of suspect scan cells of a defect chain can be reduced after certain (some) simulation passes. In some embodiments, the selected range can be limited to a given set of determined defect types.

[0067] As a result of the simulation, the top-ranked capture patterns for each simulation pass may allow observation of defective chains, increasing simulation coverage, e.g., in terms of scan chains and scan cells, while reducing the overall incidence of other defective chains. Such a single-pass chain diagnostic algorithm may also include a step for calculating a signature (error signature) of circuit test values ​​corrupted by the fault based on incremental changes in the faulty uncompressed test response, which incremental changes may include data for both the tester fault and the simulated fault, thereby avoiding calculation of the compressed test response. An example of such a chain diagnostic algorithm is shown in Listing 2 below.

[0068] Listing 2: Enhanced chain diagnostics (single pass for multiple chain defects)

[0069] 1: Determine the initial scope of the defect chain;

[0070] 2: for (each simulation passes) do {

[0071] 3: Select the failure capture mode of the defect chain within the range;

[0072] 4: Perform well-executed machine simulation;

[0073] 5: for (each defect chain) do {

[0074] 6: Modify the loading value of other defect chains;

[0075] 7: Propagate simulation changes;

[0076] 8: Calculate the damage unloading value of other defective chains;

[0077] 9: for (each fault candidate in the range) do {

[0078] 10: Modify the loading value of the current fault candidate;

[0079] 11: Propagation simulation changes;

[0080] 12: Calculate the damage unloading value of the current fault candidate;

[0081] 13: Calculate error signature;

[0082] 14: Calculate ranking score based on error signature;

[0083] 15:}

[0084] 16: Update the scope of the current defect chain;

[0085] 17:}

[0086] 18:}

[0087] For example, incremental changes in faulty uncompressed test responses (0→1 and 1→0) and (0→X, 1→X, X→0X→1) may be referred to as hard simulation failures and soft simulation failures, respectively. The error signature defined above may include the <f h s>A vector where F={0,1}, H={0,1} and S={0,1} indicates the absence and presence of a tester fault, a hard analog fault and S a soft analog fault.

[0088] Table 1 describes how to indirectly determine external simulated faults based on the error signature. The error signature can provide a more computationally efficient incremental calculation for the ranking score. In some embodiments, the error signature can be based on incremental changes in the faulty uncompressed quiescent response, which can avoid the need to calculate the faulty compressed test response.

[0089] Table 1: Calculation of extreme value faults

[0090]

[0091]

[0092] Figure 5 Examples of error signatures and faulty compressed test responses for given example fault candidates are shown. For example, according to some example embodiments, a faulty compressed test response may have 14 bits labeled from 0 to 13. In this example embodiment, each bit of the test response may be represented by one of the values ​​{0, 1, X, ~0, ~1}. Where X represents an unknown non-fault value (e.g., due to multiple chain defects); 0 represents the case where both the non-fault value and the faulty value are 0; 1 refers to the case where both the non-fault value and the faulty value are 1; ~0 represents the case where the non-fault value and the faulty value are 0 and 1, respectively; ~1 represents the case where the non-fault value and the faulty value are 1 and 0, respectively.

[0093] According to some example embodiments, the error signature may include five vectors: F, H, S, H*, and S*. These vectors may correspond to tester failures, hard simulation failures, soft simulation failures, incremental hard simulation failures, and incremental soft simulation failures, respectively. The ranking score calculation of this example fault candidate may include the following steps: vectors H* and S* may be calculated based on incremental changes in the compressed test response; the ranking score may be updated based on vectors H* and S*; vectors H and S may be calculated by superposition of vectors H and S with vectors H* and S*, respectively; vectors H* and S* may be initialized for the next fault candidate. For example, according to some embodiments, these calculations may be expressed as (Accumulated incremental change) H*=0 and S*=0 (Initializing incremental change).

[0094] In this example, bits 8 and 10 may show two special conditions. For bit 8, the vectors F, H, S, H*, and S* have values ​​1, 0, 1, 1, and 0, respectively. For example, if soft simulation faults are ignored, this condition may indicate that the fault candidate can explain the corresponding tester fault. This situation may be considered as a potential predicted tester fault. For bit 10, the vectors F, H, S, H*, and S* have values ​​1, 0, 1, 1, and 1, respectively. This condition may indicate that the current fault candidate can explain the corresponding tester fault (e.g., where F = 1 and ) and where the number of soft simulated faults is 0 (e.g., ). This situation can be considered as a predicted tester failure because the current fault candidate explanation corresponds to a tester failure (e.g., F=H(next)=1) and the number of soft failures is 0 (e.g., S(next)=0). In this way, the error signature can include complete information for efficient and accurate calculation of the ranking score. As a result, the calculation of the compressed test response can be avoided.

[0095] Figure 6 The fault simulation process is shown. Some new differences may include the following: a good machine simulation may be performed once for all defect chains, whereas conventional methods perform a good machine simulation for each defect chain; and the ranking score calculation may be based on an error signature, whereas conventional methods for calculating the ranking score may depend on a faulty compressed test response. Other features of the proposed algorithm may include the following: calculating a fault-free uncompressed test response; calculating an error signature based on incremental changes in the uncompressed test response; calculating a ranking score based on the error signature; and dynamically selecting a failure capture mode in some embodiments, so that the overall resolution of all defects can be improved. As a result, calculation of a faulty compressed test response may be avoided. Additional features and advantages may be appreciated and understood by one of ordinary skill in the art.

[0096] Experimental verification

[0097] Experimental verification of the proposed chain diagnosis algorithm can be performed based on fault injection and tester faults for six designs with one or more codecs (compressor-decompressor), so that each codec includes a nonlinear decompressor and a finite linear time compressor. The characteristics of all six test designs in this experiment are shown in Table 2. Special patterns can be generated to diagnose multiple chain defects, so that each chain can be observed directly for one chain test pattern and ten capture patterns. The experimental results of fault injection are shown in Table 3. Up to 10 stuck faults can be injected into each experiment. The baseline can be the multiple pass algorithm described in "Diagnosing multiple faulty chains with lowpin convolution compressor using compressed production test set" by S. Kundu, K. Kumar, R. Kumar, R. Kapur (2017 IEEE International Test Conference).

[0098] All experimental results may be based on a single thread. Diagnostic annotations may be more accurate if the correct location in the defect chain is reported. Resolution may measure the quality of a diagnostic callout for PFA based on the number of fault candidates reported. In some embodiments, a diagnostic annotation may be considered PFA-capable (good for PFA) if at most three consecutive scan cells (locations) of a defect chain may be reported, to illustrate a non-limiting example.

[0099] In some experiments, the algorithm described above has achieved up to 100% accuracy while improving the resolution by 2.16% compared to the corresponding baseline multi-pass algorithm. Such experiments can demonstrate that the proposed single-pass algorithm consistently improves the quality of diagnostic annotations. Still referring to Table 3, the rightmost column shows the speedup of the single-pass algorithm relative to the baseline multi-pass algorithm. The experimental results show that in these experiments, the single-pass algorithm can be an average of 20.22 times faster than the baseline multi-pass algorithm. This speedup can reflect the increase in the number of simulation patterns for each simulation pass using a 64-bit word length instead of a 32-bit word length, which can avoid the need for multiple simulations of failure capture patterns, thereby more efficiently calculating the ranking scores based on the above-mentioned error signatures in this article.

[0100] Table 2: Design features

[0101] design #Flip #chain #Codecs #Scan input #Scan output #Shift D1 115K 500 1 10 10 231 D2 165K 500 1 4 1 549 D3 165K 500 1 4 2 275 D4 1.81M 6232 11 52 22 291 D5 3.49M 11547 19 65 26 335 D6 4.71M 16176 13 62 27 291

[0102] Table 3: Experimental results based on fault injection

[0103]

[0104]

[0105] Next, tester failure-based verification was performed on real designs. The example experiment was based on 82 defective dies with multiple defect chains, with up to 32 defect chains in a single die. Overall, there was no degradation in the diagnostic annotation relative to the baseline. In contrast, as an improvement, at least four dies became PFA-capable due to higher scores and / or fewer reported fault candidates.

[0106] Figure 7-9 The speedup of each die for designs D4, D5, and D6 is shown respectively. The average speedup for D4, D5, and D6 is 22X, 40X, and 63X, respectively. These experiments can be used to confirm that the proposed algorithm can increase the throughput of batch diagnosis and can continuously improve the quality of the diagnosis results obtained by the baseline (multiple-pass) algorithm.

[0107] Fig.10 An example method 1000 for single pass diagnosis of multiple chain defects according to some embodiments is shown. The method 1000 may be performed by processing logic, which may include hardware (e.g., circuitry, dedicated logic, programmable logic, microcode, etc.), software (e.g., instructions executed on a processing device), or a combination thereof.

[0108] Method 1000 will refer to Figure 2-10 However, the method 1000 is not limited to these example embodiments. The steps of the method 1000 may be performed by at least one computer processor coupled to at least one memory device. Fig.13 1002 and 1004 to describe an example processor and (multiple) memory devices. In some embodiments, method 1000 may use Fig.13 The computer system 1300 may also include at least one processor and a memory, such as Fig.13 Those.

[0109] In 1002, at least one processor 1302 may select a plurality of scan chains in a circuit under test (CUT). In some embodiments, the plurality of scan chains may include a first scan chain and a second scan chain. For example, the first scan chain may include a plurality of first scan units connected to form a first scan chain. Similarly, the second scan chain includes a plurality of second scan units connected to form a second scan chain. Other examples of scan units, scan chains, and selections thereof are further described or referenced elsewhere herein.

[0110] In 1004, the processor 1302 may determine in the CUT the presence of at least a first defect in a first scan chain and the presence of at least a second defect in the first scan chain or a second scan chain. In other words, multiple defects may be present in the CUT, whether in the same scan chain or in multiple scan chains. To the extent that failures may occur, for example, a test mode, a chain mode, a capture mode, etc., or any group thereof may fail due to any of the multiple defects, a first failure caused by a first defect may affect a later tested portion of the same scan chain or another scan chain, so that subsequent verification may be difficult or impossible if only conventional techniques are used.

[0111] Thus, for purposes of 1004, according to some embodiments where a second fault may be possible, but where the actual test results may be masked by the first fault, the presence of this unknown value may also be considered a fault, such as a second fault. In some embodiments, while the overall simulation state, circuit output or pinout, bit vector, or elements thereof (some non-limiting examples) may still be uncertain due to the superposition of multiple faults, multiple faults may be detected by observable deviations from known non-fault states in similar portions of a good machine simulation. In any such case described herein, multiple faults may be determined in at least any of these ways. Other examples of fault detection and defect determination are further described or referenced elsewhere herein in detail.

[0112] In 1006, the processor 1302 may map the first defect to a first range of the first scanning unit, and may map the second defect to a second range of the second scanning unit. In doing so, the processor 1302 may effectively narrow the range of the CUT to search and resolve multiple chain defects in a single pass. For example, by mapping the range of the scanning unit to a corresponding area of ​​the CUT (e.g., relative to the design for test) to a potential area or location where a defect may exist, the processor 1302 may also thereby exclude from consideration other portions of the CUT that are unlikely or impossible to cause a failure or to exist a defect. According to some embodiments, vector-based techniques may be used for the mapping. Other examples of mapping the range of the scanning unit to defects or potential defects are further described or referenced elsewhere herein.

[0113] One of the purposes of the selection is to narrow the scope as quickly as possible to reduce unknown values. Failure capture patterns can be simulated in multiple simulation passes (for example, 20 patterns per simulation pass). Therefore, dynamic selection and the order of failure capture patterns may have a significant impact on the results. Dynamic selection may involve selecting the failure capture pattern with the largest range of potential defect scan chains at each step of the simulation. Regarding the order of failure capture patterns, if the simulation patterns are to be simulated from one simulation pass to another in reverse order in comparable simulations, multiple passes may be required to produce the same results for other equivalent simulations. "Single pass" here may mean that each failure capture pattern can be simulated once. However, in some embodiments, the "single pass" of each failure capture pattern may still include multiple simulation passes, because not all failure capture patterns can be simulated in a single simulation pass.

[0114] For instance, in one non-limiting example, if the number of failed capture patterns is 300, but only up to 20 capture patterns can be simulated in each simulation pass, the algorithm will require at least 15 simulation passes to simulate all failed capture patterns. In another example, if a separate first simulation pass reduces the first range to 2-8 and the second range to 3-99, a separate second simulation pass can reduce the first range to 2-8 and the second range to 15-58. If the second simulation pass is applied before the first simulation pass, the results can be improved because the second (wider) range includes 44 and 97 scan cells after the second simulation pass and the first simulation pass, respectively.

[0115] Therefore, it is expected that X after the first simulation pass may be less than in the second simulation pass because the second range after the second simulation pass may be narrower than the first simulation pass. As a result, the composite faults of the second range include fewer faults after the second simulation pass than the first simulation pass. In some embodiments, the failure capture mode can be dynamically selected in each simulation pass so that the failure capture mode that is likely to reduce the widest range is selected for simulation before the failure capture mode that is likely to reduce the narrower range. If the wider range is simulated before the narrower range in each simulation pass, the diagnostic resolution can be further improved. The range can be determined based on, for example, a ranking score calculated after each simulation pass, as described elsewhere herein with respect to dynamic selection. In some embodiments, the ranking score can be calculated based on an initial or updated mapping of defects to scan cell ranges in the scan chain, which in turn can affect subsequent dynamic selection. The efficiency of the described dynamic selection can be evaluated based on the total number of fault candidates in all ranges after each simulation pass, to give a non-limiting example. Here, the dynamic selection of the failure capture mode is considered dynamic because it can reflect the updated range of the scan chain after each simulation pass.

[0116] In 1008, the processor 1302 may locate a first defect in a first scan unit of a first range based at least in part on the set of failure capture patterns. Similarly, according to some embodiments, the processor 1302 may also locate a second defect in a second scan unit that may be in the first range or the second range based at least in part on the set of failure capture patterns. Thus, locating defects in this manner may allow the range (e.g., each mapping in 1006) to be customized to a manageable size suitable for more efficiently locating and resolving more complex defects. Similarly, portions of the CUT that may have few defects may have valuable test resources (each mapping in 1006) avoided for them, thereby improving resolution in 1008 when defects need to be located with greater accuracy and efficiency. Other examples of event-based test patterns that mimic specific ATE behaviors are further described in detail or referenced elsewhere herein.

[0117] At 1010, for example, the processor 1302 may output a first position corresponding to a first scan unit and a second position corresponding to a second scan unit. In some embodiments, if no more than three consecutive scan units are located as defects per 1008, the CUT may be evaluated as capable of PFA in preparation for more rigorous testing and formal verification. Such consecutive scan units may be determined based on the processor 1302 outputting a plurality of defects in 1010 positions. The positions may be output as a representation (e.g., a data structure, a text report, etc.) suitable for use in an EDA application or via other tools in the EDA tool pipeline, which may be interfaced via various protocols, APIs, or other equivalent means. Figure 2-5 Some non-limiting examples of various outputs according to some embodiments are provided.Other examples and further details of simulated outputs for testing electronic circuit (eg, CUT) structures are further described or referenced elsewhere herein.

[0118] Examples of how the processor 1302 may perform any operation or step of the method 1000 are further described above, such as with respect to Figure 1-13 In some embodiments, any or all of the above steps may be performed as described above with respect to Figure 1-13 Additionally or alternatively, for example, any or all of the above steps may be performed as a portion of the embodiments further shown and described. Figure 2-10 Executes a portion of the processing shown in .

[0119] Not all steps of process 1000 are required in all cases to perform the enhancement techniques disclosed herein. In addition, some steps of process 1000 may be performed simultaneously or in combination. Fig.10 The different orders shown are performed as will be understood by one of ordinary skill in the art.

[0120] Fig.11 A set of example processes 1100 used during the design, verification, and manufacture of an article such as an integrated circuit to transform and verify design data and instructions representing the integrated circuit are shown. Each of these processes can be built and enabled as multiple modules or operations. The term "EDA" represents the term "electronic design automation". These processes begin with the creation of a product idea 1110 using information provided by a designer, which is transformed to create an article 1112 using a set of EDA processes. When the design is complete, the design is taped out 1134, which is when the artwork (e.g., geometric pattern) of the integrated circuit is sent to a manufacturing facility to manufacture a mask set, which is then used to manufacture the integrated circuit. After tape-out, semiconductor die 1136 are manufactured and packaging and assembly processes 1138 are performed to produce a finished integrated circuit 1140.

[0121] The specification of a circuit or electronic structure can range from low-level transistor material layout to high-level description languages. High levels of abstraction can be used to design circuits and systems using hardware description languages ​​('HDL') such as VHDL, Verilog, SystemVerilog, SystemC, MyHDL or OpenVera. The HDL description can be converted to a logic level register transfer level ('RTL') description, a gate level description, a layout level description or a mask level description. Each lower level of abstraction adds more useful detail to the design description, for example, more detail of the modules that comprise the description. Abstract descriptions at lower levels of abstraction can be computer generated, derived from a design library, or created by another design automation process. An example of a specification language at a lower level of abstraction that is used to specify a more detailed description is SPICE, which is used for detailed descriptions of circuits with many analog components. Descriptions at each level of abstraction can be used by the corresponding tools for that layer (e.g., formal verification tools). The design process can use Fig.11 The sequence depicted in . The described process is enabled by an EDA product (or tool).

[0122] During system design 1114, the functionality of the integrated circuit to be manufactured is specified. The design may be optimized for desired characteristics, such as power consumption, performance, area (physical and / or lines of code), and cost reduction, etc. The design may be divided into different types of modules or components at this stage.

[0123] During logic design and functional verification 1116, modules or components in a circuit are specified in one or more description languages, and the functional accuracy of the specifications is checked. For example, the components of a circuit can be verified to generate outputs that match the specification requirements of the circuit or system being designed. Functional verification can use simulators and other programs such as test bench generators, static HDL checkers, and formal verifiers. In some embodiments, special component systems referred to as "simulators" or "prototyping systems" are used to accelerate functional verification.

[0124] During synthesis and design for test 1118, the HDL code is converted to a netlist. In some embodiments, the netlist can be a graph structure, where the edges of the graph structure represent components of the circuit and where the nodes of the graph structure represent how the components are interconnected. Both the HDL code and the netlist are layered artifacts that can be used by EDA products to verify that the integrated circuit performs according to the specified design when manufactured. The netlist can be optimized for the target semiconductor manufacturing technology. In addition, the finished integrated circuit can be tested to verify that the integrated circuit meets the requirements of the specification.

[0125] During netlist verification 1120, the netlist is checked to see if it meets the timing constraints and corresponds to the HDL code. During design planning 1122, the overall floor plan of the integrated circuit is constructed and analyzed for timing and top-level routing.

[0126] During layout or physical implementation 1124, physical layout (positioning circuit components such as transistors or capacitors) and wiring (connecting circuit components through multiple conductors) occur, and selection of cells from a library can be performed to enable specific logic functions. As used herein, the term "cell" can specify a group of transistors, other components, and interconnections that provide Boolean logic functions (e.g., AND, OR, NOT, XOR) or storage functions (such as flip-flops or latches). As used herein, a circuit "block" can refer to two or more cells. Both cells and circuit blocks can be referred to as modules or components, and can be used both as physical structures and in simulations. Parameters such as size are specified for the selected cell (based on a "standard cell"), and the parameters can be accessed in a database for use by EDA products.

[0127] During analysis and extraction 1126, the circuit functionality is verified at the layout level, which allows refinement of the layout design. During physical verification 1128, the layout design is checked to ensure that manufacturing constraints are correct, such as DRC constraints, electrical constraints, lithography constraints, and that the circuit system functionality matches the HDL design specifications. During resolution enhancement 1130, the geometry of the layout is transformed to improve the way the circuit design is manufactured.

[0128] During tape-out, data is created for use in producing lithography masks (after applying lithography enhancements, if applicable). During mask data preparation 1132, the "tape-out" data is used to produce lithography masks used to produce finished integrated circuits.

[0129] Computer systems (e.g. Fig.13 Computer system 1300 or Fig.12 The storage subsystem of the host system 1207) can be used to store programs and data structures that are used by some or all of the EDA products described herein and products for developing library cells and physical and logical designs that use the library.

[0130] Fig.12 An abstract diagram of an example simulation environment 1200 is depicted. The simulation environment 1200 can be configured to verify the functionality of a circuit design. The simulation environment 1200 can include a host system 1207 (e.g., a computer that is part of an EDA system) and a simulation system 1202 (e.g., a set of programmable devices such as a field programmable gate array (FPGA) or a processor). The host system generates data and information by constructing the simulation system using a compiler 1210 to simulate a circuit design. The circuit design to be simulated can be referred to as a CUT, which can also be referred to as a design under test ("DUT"), where the data and information from the simulation are used to verify the functionality of the CUT.

[0131] The host system 1207 may include one or more processors. In embodiments where the host system includes multiple processors, the functions performed by the host system described herein may be distributed among the multiple processors. The host system 1207 may include a compiler 1210 to convert specifications written in a description language representing a CUT and generate data (e.g., binary data) and information for constructing the simulation system 1202 to simulate the CUT. The compiler 1210 may convert the CUT, change the CUT, restructure the CUT, add new functionality to the CUT, and / or control the timing of the CUT.

[0132] The host system 1207 and the simulation system 1202 use signals carried by the simulation connection to exchange data and information. The connection can be, but is not limited to, one or more cables, such as a cable with a pin structure compatible with the Recommended Standard 232 (RS232) or Universal Serial Bus (USB) protocol. The connection can be a wired communication medium or network, such as a local area network or a wide area network, such as the Internet. The connection can be a wireless communication medium or a network with one or more access points, which uses wireless protocols such as Bluetooth or IEEE 1202.11. The host system 1207 and the simulation system 1202 can exchange data and information through a third device such as a network server.

[0133] The simulation system 1202 includes multiple FPGAs (or other modules), such as FPGAs 12041 and 12042 and an additional FPGA 1204 N . Each FPGA may include one or more FPGA interfaces through which the FPGAs are connected to other FPGAs (and potentially other simulation components) so that the FPGAs exchange signals. FPGA interfaces may be referred to as input / output pins or FPGA pads. Although the simulator may include an FPGA, embodiments of the simulator may include other types of logic blocks to replace or supplement the FPGA used to simulate the CUT. For example, the simulation system 1202 may include a custom FPGA, a dedicated ASIC for simulation or prototyping, memory, and input / output devices.

[0134] A programmable device may include an array of programmable logic blocks and an interconnection hierarchy that enables the programmable logic blocks to be interconnected according to descriptions in the HDL code. Each programmable logic block may enable complex combinational functions or enable logic gates, such as AND and XOR logic blocks. In some embodiments, the logic block may also include a memory element / device, which may be a simple latch, a flip-flop, or other memory block. Depending on the length of the interconnections between different logic blocks, signals may arrive at the input terminals of the logic blocks at different times and may therefore be temporarily stored in the memory element / device.

[0135] FPGA 12041-804 N Can be placed on one or more of the boards 12121 and 12122 and additional board 1212 M Multiple boards can be placed into simulation unit 12141. The boards within the simulation unit can be connected using the simulation unit's backplane or any other type of connection. In addition, multiple simulation units (e.g., 12141 and 12142 to 1214 K ) can be connected to each other by cables or any other means to form a multi-simulation unit system.

[0136] For a CUT to be simulated, the host system 300 transmits one or more bit files to the simulation system 1202. The bit file may specify a description of the CUT and may further specify partitions of the CUT created by the host system 1207, the partitions having trace and injection logic, mappings of the partitions to the FPGA of the simulator, and design constraints. Using the bit file, the simulator builds an FPGA to perform the functions of the CUT. In some embodiments, one or more FPGAs of the simulator may have trace and injection logic built into the silicon of the FPGA. In such an embodiment, the FPGA may not be constructed by the host system to simulate trace and injection logic.

[0137] The host system 1207 receives a description of the CUT to be simulated. In some embodiments, the CUT description is in a description language (e.g., register transfer language (RTL)). In some embodiments, the CUT description is in a netlist-level file or a mixture of a netlist-level file and an HDL file. If part of the CUT description or the entire CUT description is in HDL, the host system can synthesize the CUT description to create a gate-level netlist using the CUT description. The host system can use the netlist of the CUT to divide the CUT into multiple partitions, wherein one or more partitions include tracking and injection logic. The tracking and injection logic tracks interface signals exchanged via the interface of the FPGA. In addition, the tracking and injection logic can inject the tracked interface signals into the logic of the FPGA. The host system maps each partition to the FPGA of the simulator. In some embodiments, the tracking and injection logic is included in a selection partition of a set of FPGAs. The tracking and injection logic can be built into one or more FPGAs of the simulator. The host system can synthesize a multiplexer to be mapped to the FPGA. The tracking and injection logic can use the multiplexer to inject the interface signal into the CUT logic.

[0138] The host system creates a bit file that describes each partition of the CUT and the mapping of the partitions to the FPGA. For partitions that include trace and injection logic, the bit file also describes the included logic. The bit file can include placement and routing information and design constraints. The host system stores the bit file and information that describes which FPGAs will emulate each component of the CUT (e.g., which FPGAs each component is mapped to).

[0139] Upon request, the host system transfers the bit file to the simulator. The host system signals the simulator to start the simulation of the CUT. During the simulation of the CUT or at the end of the simulation, the host system receives simulation results from the simulator via the simulation connection. The simulation results are data and information generated by the simulator during the simulation of the CUT, including the interface signals that have been traced by the trace and injection logic of each FPGA and the status of the interface signals. The host system can store the simulation results and / or transmit the simulation results to another processing system.

[0140] After simulation of the CUT, the circuit designer can request to debug components of the CUT. If such a request is made, the circuit designer can specify the time period of the simulation to be debugged. The host system uses the stored information to identify which FPGAs are simulating components. The host system retrieves the stored interface signals associated with the time period and tracked by the trace and injection logic of each identified FPGA. The host system signals the emulator to re-simulate the identified FPGA. The host system transmits the retrieved interface signals to the emulator to re-simulate the components within the specified time period. The trace and injection logic of each identified FPGA injects its corresponding interface signals received from the host system into the logic of the CUT mapped to the FPGA. In the case of multiple re-simulations of the FPGA, the merged results produce a complete debug view.

[0141] The host system receives from the simulation system signals tracked by the logic of the identified FPGA during the re-simulation of the component. The host system stores the signals received from the simulator. The signals tracked during the re-simulation may have a higher sampling rate than during the initial simulation. For example, in the initial simulation, the tracking signal may include the component state saved every X milliseconds. However, in the re-simulation, the tracking signal may include the state saved every Y milliseconds, where Y is less than X. If the circuit designer requests to view the waveform of the signal tracked during the re-simulation, the host system may retrieve the stored signal and display a signal diagram. For example, the host system may generate the waveform of the signal. Afterwards, the circuit designer may request to re-simulate the same component or re-simulate another component in different time periods.

[0142] Host system 1207 and / or compiler 1210 may include subsystems, such as but not limited to design synthesizer subsystem, mapping subsystem, runtime subsystem, result subsystem, debugging subsystem, waveform subsystem and storage subsystem. Subsystems may be constructed and enabled as individual or multiple modules, or two or more may be constructed as modules. These subsystems together constitute a simulator and monitor simulation results.

[0143] The design synthesizer subsystem converts the HDL representing the CUT 1205 into gate-level logic. For a CUT to be simulated, the design synthesizer subsystem receives a description of the CUT. If the description of the CUT is in whole or in part in HDL (e.g., RTL or other level of abstraction), the design synthesizer subsystem synthesizes the HDL of the CUT to create a gate-level netlist with the description of the CUT in terms of gate-level logic.

[0144] The mapping subsystem partitions the CUT and maps the partitions to the simulator FPGA. The mapping subsystem uses the netlist of the CUT to divide the gate-level CUT into multiple partitions. For each partition, the mapping subsystem retrieves the gate-level description of the tracking and injection logic and adds the logic to the partition. As described above, the tracking and injection logic included in the partition is used to track signals (track interface signals) exchanged via the interface of the FPGA to which the partition is mapped. The tracking and injection logic can be added to the CUT before the partition. For example, the design synthesizer subsystem can add the tracking and injection logic before or after synthesizing the HDL of the CUT.

[0145] In addition to including trace and injection logic, the mapping subsystem may include additional trace logic in the partitions to trace the state of certain CUT components that are not traced and injected with trace. The mapping subsystem may include the additional trace logic in the CUT before partitioning or in the partitions after partitioning. The design synthesizer subsystem may include additional trace logic in the HDL description of the CUT before synthesizing the HDL description.

[0146] The mapping subsystem maps each partition of the CUT to the FPGA of the simulator. For the partitioning and mapping, the mapping subsystem uses design rules, design constraints (e.g., timing or logic constraints), and information about the simulator. For the components of the CUT, the mapping subsystem stores information in the storage subsystem that describes which FPGA will simulate each component.

[0147] Using the partitions and mappings, the mapping subsystem generates one or more bit files that describe the created partitions and the mapping of the logic to each FPGA of the simulator. The bit files may include additional information such as the constraints of the CUT and the connections between the FPGAs and the routing information for the connections within each FPGA. The mapping subsystem may generate a bit file for each partition of the CUT and store the bit file in the storage subsystem. Based on the requirements of the circuit designer, the mapping subsystem transfers the bit file to the simulator, and the simulator may use the bit file to build an FPGA to simulate the CUT.

[0148] If the emulator includes a dedicated ASIC that contains trace and injection logic, the mapping subsystem can generate a specific structure that connects the dedicated ASIC to the CUT. In some embodiments, the mapping subsystem can save information about the traced / injected signals and the storage location of the information on the dedicated ASIC.

[0149] The runtime subsystem controls the simulation performed by the simulator. The runtime subsystem can cause the simulator to start or stop performing the simulation. In addition, the runtime subsystem can provide input signals and data to the simulator. The input signal can be provided directly to the simulator through a connection, or it can be provided to the simulator indirectly through other input signal devices. For example, the host system can control the input signal device to provide the input signal to the simulator. The input signal device can be, for example, a test board (directly or through a cable), a signal generator, another simulator, or another host system.

[0150] The result subsystem processes simulation results generated by the simulator. During simulation and / or after the simulation is completed, the result subsystem receives simulation results from the simulator generated during simulation. The simulation results include signals tracked during simulation. Specifically, the simulation results include interface signals tracked by the tracking and injection logic of each FPGA simulation, and may include signals tracked by additional logic included in the CUT. Each tracking signal may span multiple cycles of the simulation. The tracking signal includes multiple states, and each state is associated with a simulation time. The result subsystem stores the tracking signal in the storage subsystem. For each stored signal, the result subsystem may store information indicating which FPGA generated the tracking signal.

[0151] The debug subsystem allows the circuit designer to debug a CUT component. After the simulator simulates the CUT and the result subsystem receives the interface signals traced by the trace and injection logic during simulation, the circuit designer can request to debug the component of the CUT by re-simulating the component for a specific time period. In the request to debug the component, the circuit designer identifies the component and indicates the simulation time period to be debugged. The circuit designer's request may include a sampling rate that indicates how often the logic that traces the signal should save the state of the debug component.

[0152] The debug subsystem uses the information stored by the mapping subsystem in the storage subsystem to identify one or more FPGAs of the emulator that are emulating the component. For each identified FPGA, the debug subsystem retrieves from the storage subsystem the interface signals tracked by the trace and injection logic of the FPGA during the time period indicated by the circuit designer. For example, the debug subsystem retrieves the state associated with the time period tracked by the trace and injection logic.

[0153] The debug subsystem transmits the retrieved interface signals to the emulator. The debug subsystem instructs the debug subsystem to use the identified FPGAs and, for each identified FPGA's trace and injection logic, inject its corresponding trace signal into the FPGA's logic to re-emulate the component within the requested time period. The debug subsystem may further transmit the sampling rate provided by the circuit designer to the emulator so that the trace logic traces the state at appropriate intervals.

[0154] To debug a component, the simulator can use the FPGA to which the component has been mapped. In addition, re-simulation of the component can be performed at any point in time specified by the circuit designer.

[0155] For the identified FPGA, the debug subsystem can send instructions to the emulator to load multiple emulator FPGAs with the same configuration of the identified FPGA. The debug subsystem also signals the emulator to use multiple FPGAs in parallel. Each FPGA from the multiple FPGAs is used with a different time window of the interface signal to generate a larger time window in a shorter time. For example, the identified FPGA may take an hour or more to use a certain amount of cycles. However, if multiple FPGAs have the same data and structure as the identified FPGA, and each of these FPGAs runs a subset of cycles, the emulator may take several minutes to let the FPGAs use all cycles together.

[0156] The circuit designer can identify a hierarchy or a list of CUT signals to re-simulate. To accomplish this, the debug subsystem determines the FPGA required to simulate the hierarchy or the list of signals, retrieves the necessary interface signals, and transfers the retrieved interface signals to the simulator for re-simulation. Thus, the circuit designer can identify any element (e.g., component, device, or signal) of the CUT to debug / re-simulate.

[0157] The waveform subsystem generates waveforms using traced signals. If the circuit designer requests to view the waveform of a signal traced during a simulation run, the host system retrieves the signal from the storage subsystem. The waveform subsystem displays a graph of the signal. For one or more signals, the waveform subsystem can automatically generate a graph of the signal when the signal is received from the simulator.

[0158] Fig.13 An example machine of a computer system 1300 is shown in which a set of instructions may be executed, the set of instructions being used to cause the machine to perform any one or more of the methodologies discussed herein. In alternative implementations, the machine may be connected (e.g., networked) to other machines in a LAN, an intranet, an extranet, and / or the Internet. The machine may operate in the form of a server or a client machine in a client-server network environment, in a peer-to-peer (or distributed) network environment, or in a cloud computing infrastructure or environment.

[0159] The machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a network appliance, a server, a network router, a switch or a bridge, or any machine capable of executing a set of instructions (sequentially or otherwise) that specify actions to be taken by the machine. In addition, although a single machine is shown, the term "machine" should also be considered to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methods discussed herein.

[0160] The example computer system 1300 includes a processing device 1302, a main memory 1304 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM)), a static memory 1306 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage device 1318, which communicate with each other via a bus 1330.

[0161] Processing device 1302 represents one or more processors, such as a microprocessor, a central processing unit, etc. More specifically, the processing device can be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor that implements other instruction sets, or a processor that implements a combination of instruction sets. Processing device 1302 can also be one or more special processing devices, such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, etc. Processing device 1302 can be configured to execute instructions 1326 to perform the operations and steps described herein.

[0162] The computer system 1300 may also include a network interface device 1308 to communicate over a network 1320. The computer system 1300 may also include a video display unit 1310 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)), an alphanumeric input device 1312 (e.g., a keyboard), a cursor control device 1314 (e.g., a mouse), a graphics processing unit 1322, a signal generating device 1316 (e.g., a speaker), a graphics processing unit 1322, a video processing unit 1328, and an audio processing unit 1332.

[0163] The data storage device 1318 may include a machine-readable storage medium 1324 (also referred to as a non-transitory computer-readable medium) having stored thereon one or more sets of instructions 1326 or software embodying any one or more of the methodologies or functions described herein. The instructions 1326 may also reside completely or at least partially within the main memory 1304 and / or the processing device 1302 during execution thereof by the computer system 1300, the main memory 1304 and the processing device 1302 also constituting machine-readable storage media.

[0164] In some implementations, the instructions 1326 include instructions for implementing functions corresponding to the present disclosure. Although the machine-readable storage medium 1324 is shown as a single medium in the example implementation, the term "machine-readable storage medium" should be considered to include a single medium or multiple media (e.g., a centralized or distributed database, and / or associated caches and servers) that store one or more sets of instructions. The term "machine-readable storage medium" should also be considered to include any medium that can store or encode a set of instructions executed by a machine and cause the machine and processing device 1302 to perform any one or more instructions in the method of the present disclosure. Therefore, the term "machine-readable storage medium" should be understood to include, but is not limited to, solid-state memory, optical media, and magnetic media.

[0165] Some portions of the foregoing detailed description have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the art of data processing to most effectively convey the substance of their work to others skilled in the art. An algorithm may be a sequence of operations leading to a desired result. These operations are operations requiring physical manipulation of physical quantities. Such quantities may take the form of electrical or magnetic signals capable of being stored, combined, compared, and otherwise manipulated. Such signals may be referred to as bits, values, elements, symbols, characters, items, numbers, etc.

[0166] It should be remembered, however, that all of these and similar terms are associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless otherwise clear from the present disclosure, it should be understood that throughout the description certain terms refer to the actions and processes of a computer system or similar electronic computing device to manipulate and transform data represented as physical (electronic) quantities in the computer system's registers and memories into other data similarly represented as physical quantities in the computer system's memories or registers or other such information storage devices.

[0167] The present disclosure also relates to an apparatus for performing the operations herein. The apparatus may be specially constructed for the intended purpose, or it may include a computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer-readable storage medium, such as, but not limited to, any type of disk, including a floppy disk, an optical disk, a CD-ROM, a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic or optical card, or any type of medium suitable for storing electronic instructions, each coupled to a computer system bus.

[0168] The algorithms and displays presented herein are not inherently related to any particular computer or other device. Various other systems may be used together with the program according to the teachings herein, or it may prove convenient to construct a more specialized device to perform the method. In addition, the present disclosure is not described with reference to any particular programming language. It should be understood that a variety of programming languages ​​may be used to implement the teachings of the present disclosure as described herein.

[0169] One or more processors may also be used to support performance of related operations in a "cloud computing" environment or as "software as a service" (SaaS). For example, at least some operations may be performed by a set of processors available at a distributed or remote system that are accessible via a communications network (e.g., the Internet) and through one or more software interfaces (e.g., application program interfaces (APIs)).

[0170] As used herein, the term "module" refers to a tangible data and information processing device, typically limited in size and / or complexity. For example, the term "module" may refer to one or more methods or processes that can transform data and information. The term "module" may also refer to a combination of one or more methods and processes in a computer program. The term "module" may also refer to a small network of digital logic devices, where the interconnection of the logic devices provides structure to the network. Methods and processes including modules specified in a special language (such as SystemC) can be used to generate specifications for a network of digital logic devices for processing data and information, with the results being exactly the same as those obtained from the methods and processes.

[0171] The present disclosure may be provided as a computer program product or software, which may include a machine-readable medium having instructions stored thereon, which may be used to program a computer system (or other electronic device) to perform a process according to the present disclosure. A machine-readable medium includes any mechanism for storing information in a machine (e.g., computer) readable form. For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium, such as a read-only memory ("ROM"), a random access memory ("RAM"), a disk storage medium, an optical storage medium, a flash memory device, etc.

[0172] In the above disclosure, the implementation of the present disclosure has been described with reference to the specific example implementation of the present disclosure. It is obvious that various modifications may be made to it without departing from the broader spirit and scope of the implementation of the present disclosure as set forth in the following claims. Where the present disclosure refers to certain elements in the singular tense, more than one element may be depicted in the figure, and similar elements are marked with similar numbers. Therefore, the present disclosure and the accompanying drawings are considered to be illustrative rather than restrictive.< / f>

Claims

1. A method for single-pass diagnosis of multiple chain defects in a circuit under test (CUT), the method comprising: A plurality of scan chains are selected by a processor in the CUT, wherein: The plurality of scan chains include a first scan chain and a second scan chain, The first scan chain includes a plurality of first scan units connected to form the first scan chain, and The second scan chain includes a plurality of second scan units connected to form the second scan chain; wherein The first scan chain and the second scan chain are defective scan chains; The processor determines the presence of at least the following: a first defect in the first scan chain, and a second defect in the second scan chain; mapping, by the processor, the first defect to a first range of a first scanning unit, and mapping the second defect to a second range of a second scanning unit; The processor locates the first defect in a first scanning unit of the first range and the second defect in a second scanning unit of the first range or the second range based at least in part on a first failure capture pattern; wherein The first fail capture pattern is selected based on the ranking score such that a fail capture pattern having a largest range of potentially defective scan chains is selected; dynamically selecting a subsequent failure capture pattern based on an updated ranking score calculated according to the first failure capture pattern; and A first position corresponding to the first scanning unit and a second position corresponding to the second scanning unit are output by the processor. The method of claim 1 , wherein the second range is narrower than the first range. The method according to claim 1 , wherein the failure capture pattern is an element of a failure capture pattern set.

4. The method according to any one of claims 1 to 2, further comprising: A first defect type corresponding to the first defect and a second defect type corresponding to the second defect are identified by the processor.

5. The method of claim 4, wherein each of the first defect type and the second defect type comprises stuck at 0, stuck at 1, slow rise, slow fall, slow rise and fall, fast rise, fast fall, fast rise and fall, or a combination thereof.

6. The method of any one of claims 1 to 2, wherein the fail capture mode fails after scanning in at least one uncompressed test stimulus, applying a capture clock, and scanning out at least one uncompressed faulty capture test response.

7. The method according to any one of claims 1 to 2, wherein selecting the failure capture mode comprises: injecting, by the processor, a first fault candidate within the first range; executing, by the processor, simulation of the CUT; as well as A first ranking score for the first fault candidate is calculated, by the processor, based at least in part on the simulation and the injection of the CUT.

8. The method according to claim 7, further comprising: injecting, by the processor, the second fault candidate within the first range or the second range based at least in part on a simulation of a non-faulty CUT and an injection of a second fault candidate, wherein the second fault candidate is a composite fault obtained by superposition of a plurality of fault effects corresponding to the second fault candidate within the first range or the second range; updating, by the processor, the simulation of the non-faulty CUT to propagate any changes based on the modification; as well as A second ranking score for the second fault candidate is calculated, by the processor, based at least in part on the simulation of the non-faulty CUT and the injection of the second fault candidate.

9. The method of claim 3, wherein the selecting, the determining, the mapping, the locating, and the outputting are performed in a single pass for the set of failure capture patterns.

10. The method according to claim 7, further comprising: modifying, by the processor, a load value of the first fault candidate; updating, by the processor, the simulation of the CUT to propagate any changes based on the modification; as well as A ranking score for the first scan unit is calculated by the processor based at least in part on the simulation of the CUT and the injection of the first fault candidate, independent of any test compression scheme for the CUT.

11. The method of claim 10, wherein the ranking score is part of a data structure configured to store a signature of at least the first defect or the second defect.

12. The method of claim 7, wherein the subsequent fail-catch mode is dynamically selected in response to at least one of the ranking score, the mapping of the first range or the second range, an updated mapping, an updated ranking score, or a combination thereof.

13. The method according to any one of claims 1 to 2, further comprising: The second range is simulated by the processor before simulating the first range, wherein the first range is narrower than the second range.

14. A non-transitory computer readable medium storing thereon instructions which, when executed by a processor, cause the processor to implement the method according to any one of claims 1 to 13.

15. A system comprising: Memory, storage applications; as well as A processor connected to the memory and configured to at least implement the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Integrated circuit test method and test apparatus

    CN101300499A

  • Test apparatus for generating reference scan chain test data and test system

    CN103154755A

  • Thermal-driving testability design structure and method capable of reducing small delay defect over-testing

    CN104569790A

  • Integrated circuit with scanning test and test method thereof

    CN106526463A

  • Scan chain re-ranking method and device, and computer program product

    CN108226763A