Test generation for structured similar circuits

By analyzing the structural similarity of circuit designs, modifying and generating test vector sets, the problem of lengthy test vector generation in existing technologies is solved, achieving fast and efficient test vector generation, which is suitable for testing circuits with similar structures.

CN117425895BActive Publication Date: 2026-11-27SIMENS INDASTRI SOFTVEAR INK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202180099151.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-14
Publication Date
2026-11-27
Estimated Expiration
2041-04-14

AI Technical Summary

Technical Problem

Existing technologies fail to effectively utilize the structural similarity between circuits when generating test vectors, resulting in a lengthy test vector generation process that cannot quickly identify testable bottlenecks, and is particularly inefficient in iterative design processes.

Method used

By receiving test vector sets of the first and second circuit designs, analyzing their structural similarity, modifying the test vector sets, and performing fault simulation, a test vector set for the second circuit design is generated. By utilizing the propagation process of input and output signatures, the structural characteristics of the circuit design are captured, reducing the need for repeated test generation.

Benefits of technology

A fast test vector generation based on structural similarity was achieved, which reduced testing time and resource consumption, improved the efficiency of test vector generation, and is suitable for testing structurally similar circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117425895B_ABST
    Figure CN117425895B_ABST
Patent Text Reader

Abstract

The first circuit design and the second circuit design are analyzed to determine portions of the second circuit design that are structurally similar to portions of the first circuit design. A first set of test vectors for the first circuit design is modified to generate a second set of test vectors for the second circuit design by reusing values of bits in the first set of test vectors associated with portions of the first circuit design as values of bits in the second set of test vectors associated with portions of the second circuit design. Fault simulation is performed on the second circuit design using the second set of test vectors to determine a subset of faults that the second set of test vectors is unable to detect. Test vector generation is performed with respect to the subset of faults to generate a third set of test vectors for the second circuit design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The currently disclosed techniques relate to circuit testing. Various embodiments of the disclosed techniques may be particularly useful for generating test vectors for circuits exhibiting broad structural similarity. Background Technology

[0002] The digital revolution has led to a dramatic increase in the complexity and density of integrated circuits. For complex and dense integrated circuits, the time required to test, debug, and verify circuits becomes a bottleneck in chip design. State-of-the-art design flows are iterative due to the need to fix bugs and improve performance and power consumption constraints. In iterative design flows, test generation is typically performed repeatedly early on to identify testability bottlenecks that cannot be identified using approximate methods such as testability metrics. In the early stages of the design flow, the speed of test generation is crucial for rapid convergence of the design process, as the test set does not require optimization.

[0003] A large number of homogeneous cores can be seen in traditional processors, gaming processors, and graphics processing units (GPUs). The cores of integrated circuits such as central processing units (CPUs), graphics processing units (GPUs), and artificial intelligence chips exhibit significant structural similarities. Furthermore, new designs that reuse the same cores also show considerable structural similarity to previous designs. In addition, netlists before and after placement and routing, as well as circuits that have undergone engineering change orders (ECOs) or retiming, also exhibit significant structural similarities. If the test set for a second circuit can be obtained primarily by transforming the test set generated for the first circuit without repeating the entire test generation process, the runtime for analyzing the testability of the second circuit can be significantly reduced.

[0004] However, traditional test generation processes do not currently utilize the structural similarity between circuits. The incremental test generation technique disclosed in Sang-Hoon Song and LL Kinney's "Incremental Test Vector Generation" (Digest of Papers Eleventh Annual 1993 IEEE VLSI Test Symposium, Atlantic City, NJ, USA, 1993, pp. 244-250) only considers a single version of the design. The disclosed technique is based on the idea that starting with a test generated for one fault, it is faster to convert the current test vector into a test vector for another fault in the same design than starting with all unspecified test vectors.

[0005] While the structural correspondence between two circuits is considered in A. Dutta, N. Tuttle, and K. Anandh's "Canonical ordering of instances to immunize the FPGAplace and route flow from ECO-induced variance" (International Symposium on Quality Electronic Design (ISQED), Santa Clara, CA, 2013, pp. 359-363), the techniques used to determine structural similarity are not suitable for rapid test vector generation for certain circuit designs (e.g., those following engineering change orders). In the disclosure process, all gate instances are ordered. During ordering, an integer value is calculated for each gate instance using a linear combination of gate type, number of fan-entries, number of fan-exits, and the terminal node name of the gate instance. Additionally, the terminal node names of connected fan-entries and fan-exits are also used. The value assigned to a gate instance is defined as its signature. After assigning signature values ​​to all gate instances, a forward traversal of the circuit design from input to output is performed to obtain the latest signature values ​​for the gate instances. This is achieved by linearly combining the signatures of the fan-entry gates for each gate instance. The gate instances are then sorted based on the calculated signature values, ensuring minimal change in the gate instance order even if the ECO process alters the order. Pure forward traversal cannot capture certain structural differences and is therefore unsuitable for accelerating test vector generation. Summary of the Invention

[0006] Various aspects of the disclosed technology relate to rapid test vector generation based on structural similarity. In one aspect, a method includes: receiving a first test vector set generated for a first circuit design, a second circuit design, and a fault set, the first test vector set being used for test vector generation for the second circuit design; analyzing the first and second circuit designs to determine portions of the second circuit design that are structurally similar to portions of the first circuit design; modifying the first test vector set to generate a second test vector set for the second circuit design, the modification including: reusing bit values ​​from the first test vector set associated with portions of the first circuit design as bit values ​​from the second test vector set associated with portions of the second circuit design; performing fault simulation on the second circuit design using the second test vector set and the fault set to determine a subset of faults in the fault set that cannot be detected by the second test vector set; performing test vector generation for the fault subsets to generate a third test vector set for the second circuit design; and storing the second and third test vector sets in a non-transitory computer-readable medium.

[0007] The modification may further include: assigning random values ​​to the remaining bits of the second test vector set.

[0008] The analysis may include comparing a first output signature and a first input signature used for a first circuit design with a second output signature and a second input signature used for a second circuit design. The analysis may further include generating a second output signature using a forward propagation process traversing the second circuit design from input (main input, scan cell, or both) to output (main output, scan cell, or both); and generating a second input signature using a backward propagation process traversing the second circuit design from output to input. Generating the second output signature may include assigning one or more prime numbers to the input; and assigning prime numbers to devices in the second circuit design, predefined output signature calculation formulas, and predefined input signature calculation formulas.

[0009] Based on the circuit structure of the first circuit design, a first input signature can be obtained by propagating a first output signature from the output (main output, scanning unit, or both) of the first circuit design to the input (main input, scanning unit, or both) of the first circuit design; based on the circuit structure of the second circuit design, a second input signature can be obtained by propagating a second output signature from the output (main output, scanning unit, or both) of the second circuit design to the input (main input, scanning unit, or both) of the second circuit design.

[0010] A first output signature and a first input signature can be stored, wherein each first output signature is associated with a corresponding first input signature in the first input signature; a second output signature and a second input signature can be stored, wherein each second output signature is associated with a corresponding second input signature in the second input signature.

[0011] On the other hand, there is one or more non-transitory computer-readable media storing computer-executable instructions for causing one or more processors to perform the methods described above.

[0012] On the other hand, there is a system comprising one or more processors programmed to perform the methods described above.

[0013] The accompanying independent and dependent claims set forth certain innovative aspects. Features in the dependent claims may be appropriately combined with features in the independent claims and other dependent claims, and not merely features expressly listed in the claims.

[0014] The foregoing has described certain objectives and advantages of various aspects of the innovation. It should be understood, of course, that not all of these objectives or advantages can necessarily be achieved according to any particular implementation of the disclosed technology. Therefore, by way of example, those skilled in the art will recognize that the disclosed technology may be embodied or implemented in a manner that achieves or optimizes one or more advantages taught herein, without necessarily achieving other objectives or advantages taught or suggested herein. Attached Figure Description

[0015] Figure 1 A programmable computer system is shown, which allows for various embodiments of the disclosed technology to be employed.

[0016] Figure 2 Examples of rapid test vector generation tools according to various embodiments of the disclosed technology are shown.

[0017] Figure 3 It is a flowchart showing the process for generating test vectors based on structural similarity, which can be implemented according to various examples of the disclosed techniques.

[0018] Figure 4 The diagram shows the grouped devices in the circuit design and the prime numbers they are assigned.

[0019] Figure 5 Examples of calculating output signatures according to certain embodiments of the disclosed technology are shown.

[0020] Figure 6 Examples of calculating input signatures according to certain embodiments of the disclosed technology are shown.

[0021] Figure 7 An example of a circuit with five logic cones is shown.

[0022] Figure 8 A table is shown, summarizing the experimental results of the modified circuit design obtained by introducing a change in gate type.

[0023] Figure 9 A table is shown, summarizing the experimental results of the modified circuit design obtained by introducing sequence variations. Detailed Implementation

[0024] General considerations

[0025] Various aspects of the disclosed technology relate to fast test vector generation based on structural similarity. In the following description, numerous details are set forth for illustrative purposes. However, those skilled in the art will recognize that the disclosed technology can be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid obscuring the disclosed technology.

[0026] Some of the techniques described herein can be implemented as software instructions stored on a computer-readable medium, program instructions executed on a computer, or a combination of both. For example, some of the disclosed techniques can be implemented as part of an electronic design automation (EDA) tool. This approach can be performed on a single computer or a networked computer.

[0027] Although the operations of the disclosed methods are described in a specific order for ease of presentation, it should be understood that this description includes reordering unless a specific order is required by the specific language described below. For example, in some cases, operations described sequentially may be reordered or executed concurrently. Furthermore, for simplicity, the disclosed flowcharts and block diagrams generally do not show the various ways in which a particular method can be combined with other methods.

[0028] Detailed descriptions of methods or apparatus sometimes use terms such as “generate,” “analyze,” and “modify” to describe the function / structure of the disclosed method or apparatus. These terms are high-level descriptions. The actual operation or function / structure corresponding to these terms will vary depending on the specific implementation, and can be readily identified by those skilled in the art.

[0029] Furthermore, as used herein, the term "design" is intended to include data describing the entire integrated circuit device. The term is also intended to include smaller sets of data describing one or more components of the entire device, such as a portion of the integrated circuit device. Additionally, the singular forms "a," "an," and "described" also include the plural forms, unless the context clearly specifies otherwise. Furthermore, the term "comprising" means "including in an open-ended sense."

[0030] Exemplary operating environment

[0031] Various examples can be implemented by executing software instructions using a computing device (such as a programmable computer). Accordingly, Figure 1An illustrative example of a computing device 101 is shown. As illustrated in the figure, the computing device 101 includes a computing unit 103 having a processing unit 105 and a system memory 107. The processing unit 105 can be any type of programmable electronic device for executing software instructions, but it is conventionally a microprocessor. The system memory 107 may include both a read-only memory (ROM) 109 and a random access memory (RAM) 111. As those skilled in the art will understand, both the read-only memory (ROM) 109 and the random access memory (RAM) 111 can store software instructions for execution by the processing unit 105.

[0032] Processing unit 105 and system memory 107 are directly or indirectly connected to one or more peripheral devices via bus 113 or an alternative communication structure. For example, processing unit 105 or system memory 107 may be directly or indirectly connected to one or more additional memory storage devices, such as a hard disk drive 115, a removable disk drive 117, an optical disk drive 119, or a flash memory card 121. Processing unit 105 and system memory 107 may also be directly or indirectly connected to one or more input devices 123 and one or more output devices 125. Input devices 123 may include, for example, a keyboard, pointing devices (such as a mouse, touchpad, stylus, trackball, or joystick), a scanner, a camera, and a microphone. Output devices 125 may include, for example, a monitor display, a printer, and speakers. According to various examples of computer 101, one or more of peripheral devices 115 to 125 may be housed within computing unit 103. Alternatively, one or more of the peripheral devices 115 to 125 may be located outside the housing for the computing unit 103 and connected to the bus 113 via, for example, a Universal Serial Bus (USB) connection.

[0033] In some embodiments, computing unit 103 may be directly or indirectly connected to one or more network interfaces 127 for communicating with other devices constituting the network. Network interfaces 127 convert data and control signals from computing unit 103 into network messages according to one or more communication protocols, such as Transmission Control Protocol (TCP) and Internet Protocol (IP). Furthermore, interface 127 may employ any suitable connection proxy (or combination of proxies) for connecting to the network, including, for example, a wireless transceiver, modem, or Ethernet connection. Such network interfaces and protocols are well known in the art and will not be discussed in more detail here.

[0034] It should be understood that computer 101 is shown as an example only and is not intended to be limiting. Other options include... Figure 1The computer 101 shown may include one or more computing devices to implement various embodiments of the disclosed technology, wherein the one or more computing devices include only Figure 1 The subset of components shown, or including alternative combinations of components, covers those not included in Figure 1 The components shown in the diagram. For example, various embodiments of the disclosed technology can be implemented using a multiprocessor computer, multiple single-processor and / or multiple multiprocessor computers arranged in a network, or some combination of both.

[0035] Test design, test vector generation, and test execution.

[0036] The reduction in feature size increases the likelihood that manufacturing defects in integrated circuits will lead to faulty chips. Even very small defects can cause transistors or interconnects to fail. Even a single faulty transistor or wire can cause the entire chip to malfunction. Manufacturing defects are unavoidable regardless of whether the manufacturing process is in the prototyping or mass production stage. Therefore, it is necessary to test chips during manufacturing. Furthermore, faulty chips need to be diagnosed to improve and maintain production yield.

[0037] Testing typically involves applying a set of test stimuli (test vectors) to the circuit under test (DUT) and then analyzing the response generated by the DUT. Functional testing attempts to verify that the DUT operates according to its functional specifications, while structural testing attempts to determine that the DUT has been correctly assembled from a number of low-level building blocks as specified in the structural netlist, and that these low-level building blocks and their wiring connections have been manufactured without defects. For structural testing, it is assumed that if functional verification has shown the correctness of the netlist, and structural testing has confirmed the correct assembly of the structural circuit elements, then the circuit should function correctly. Structural testing has been widely adopted, at least in part, because it allows test (test vector) generation to focus on testing a limited number of relatively simple circuit elements, rather than having to deal with an exponentially exponentially increasing number of functional states and state transitions.

[0038] To facilitate the development and application of test vectors, certain testability features are added to the circuit design; this is known as Design for Testability (DFT). Scan testing is the most common DFT method. In a basic scan test scheme, all or most of the internal sequential state elements (latches, flip-flops, etc.) of the circuit design are made controllable and observable via a serial interface. These functional state elements are often replaced by dual-purpose state elements called scan cells. Scan cells are connected together to form a scan chain—a serial shift register used to shift in test vectors and out test responses. Scan cells can operate as originally intended for functional purposes (functional / task mode) and can also operate as a unit in a scan chain used for scanning (scan mode). Widely used types of scan cells include edge-triggered flip-flops with bidirectional multiplexers for data input. The bidirectional multiplexer is typically controlled by a single control signal called scan_enable, which selects the input signal for the scan cell from either the scan signal input or the system signal input. Scan signal inputs are typically connected to the output of another scan unit, while system signal inputs are connected to functional logic. Scan units can serve as both control points and observation points. Control points can be used to set certain logic values ​​at locations within the circuit under test, trigger (activate) faults, and propagate incorrect values ​​to observation points. Scan testing allows the test device to access deeply embedded gates through major inputs / outputs and / or some physical test points, eliminating the need for complex state transition sequences when attempting to control or observe what is happening at some internal circuit elements.

[0039] Test vectors used for scan testing are typically generated through an Automated Test Vector Generation (ATPG) process. ATPG typically focuses on a set of faults derived from a gate-level fault model. A defect is a flaw or physical defect that occurs in a device during the manufacturing process. A fault model (or simply fault) is a description of how a defect alters the design behavior. For a given target fault, ATPG consists of two phases: fault activation and fault propagation. Fault activation establishes a signal value at the fault location that is opposite to the signal value generated by the fault. Fault propagation propagates the fault effects forward by sensitizing a path from the fault location to the scan cell or main output. If the test response value captured by the scan cell or main output differs from the expected value, a fault is said to have been detected at a certain location by the test vector. The purpose of ATPG is to find test vectors that, when applied to a circuit, enable the tester to distinguish between correct circuit behavior and faulty circuit behavior caused by one or more specific faults. The effectiveness of ATPG is measured by the fault coverage achieved against the fault model and the number of vectors generated (test vector count), which should be proportional to the test application time. Here, fault coverage is defined as the ratio of the number of detected faults to the total number of faults.

[0040] The most popular fault model used in practice is the single-stuck-at fault model. In this model, one of the signal lines in the circuit is assumed to be stuck at a fixed logic value, regardless of what input is supplied to the circuit. The stuck-at fault model is a logic fault model because no delay information is associated with the fault definition. Delay faults are errors in circuit function based on the timing of the circuit. They are caused by the finite rise and fall times of signals in gates and the propagation delay of interconnections between gates. Transition faults are used to simplify the modeling of point defects that affect the delay of the input or output of a gate. In scan-based testing, transition faults are associated with an additional delay (large enough that the delay of any path through the fault point exceeds a clock cycle). Intra-cell fault models can be derived using transistor-level circuit simulation (analog simulation). This method can accurately locate the defect within a cell for various intra-cell defects.

[0041] In circuit design and manufacturing processes, manufacturing tests screen out chips (dies) that contain defects. However, this testing alone does not identify the cause of potentially unacceptably low or fluctuating yields. Physical Failure Analysis (PFA) can examine faulty chips to locate one or more defect locations and identify the root cause. This process typically involves etching away certain layers and then imaging the silicon surface using a scanning electron microscope or focused ion beam system. This PFA process is laborious and time-consuming. To facilitate the PFA process, diagnostics (also known as scan diagnostics) are often employed to narrow down the possible locations of the one or more defects based on analysis of the fault log (failure file). The fault log typically contains information about when (e.g., tester cycle) the test failed, where (e.g., in which tester channel) it failed, and how (e.g., with what logic value) it failed, as well as which test vectors generated the expected test response. Layout information from the circuit design can also be used to further reduce the number of suspected defects.

[0042] Test applications in chip manufacturing testing are typically performed by Automated Test Equipment (ATE) (a type of tester). Scan-based testing consumes significant storage space and test time on the ATE. The amount of data increases with the number of logic gates on the chip, while the number of scan cells remains constant. However, practical considerations and ATE specifications often limit both the number of pins available for scan input / output and the maximum scan frequency. There is a strong need to reduce the amount of test data that needs to be loaded onto the ATE and ultimately onto the circuit under test. Fortunately, test vectors are compressible, primarily because only 1% to 5% of the test vector bits are typically specified bits (bits of interest), while the remainder are unspecified bits (don't-care bits). Unspecified bits can take any value without affecting fault coverage. Test compression also leverages the fact that test cubes tend to be highly correlated. Test cubes are deterministic test vectors where don't-care bits are not filled by ATPG. Correlation exists because faults in the circuit are structurally correlated.

[0043] Various test compression techniques have been developed. Typically, additional on-chip hardware is inserted before and after the scan chain. The hardware added before the scan chain (decompressor) is configured to decompress test stimuli from the ATE (Automatic Test Equipment), while the hardware added after the scan chain (compressor) is configured to compress the test responses captured by the scan chain. The decompressor expands data from n tester channels to fill more than n scan chains. Increasing the number of scan chains shortens each scan chain and thus reduces the number of clock cycles required for shifting in each test vector. Therefore, test compression not only reduces the amount of data stored on the tester but also reduces the test time for a given test data bandwidth.

[0044] All of the above processes, including design insertion for testing, test vector generation, and logic diagnostics, are typically performed by various electronic design automation tools, such as Mentor Graphics' Tessent suite of software tools from Wilsonville, Oregon.

[0045] Quick test vector generation tool

[0046] Figure 2 An example of a rapid test vector generation tool 200 according to various embodiments of the disclosed technology is shown. As shown, the rapid test vector generation tool 200 includes a structural similarity analysis unit 210, a test vector modification unit 220, a fault simulation unit 230, and a test vector generation unit 240. Some implementations of the rapid test vector generation tool 200 may cooperate (or combine) with one or both of an input database 205 and an output database 255.

[0047] As will be discussed in detail below, the rapid test vector generation tool 200 can receive a first circuit design, a second circuit design, a first test vector set generated for the first circuit design, and a fault set for generating test vectors for the second circuit design. The structural similarity analysis unit 210 can analyze the first and second circuit designs to determine the parts of the second circuit design that are structurally similar to those of the first circuit design. The test vector modification unit 220 can modify the first test vector set to generate a second test vector set for the second circuit design. The modification includes reusing bits of the first test vector set associated with parts of the first circuit design as corresponding bits of the second test vector set. The fault simulation unit 230 can perform fault simulation on the second circuit design using the second test vector set and the fault set to determine a subset of faults in the fault set that cannot be detected by the second test vector set. The test vector generation unit 240 can perform test vector generation for the fault subsets to generate a third test vector set for the second circuit design. The rapid test vector generation tool 200 can then store the second and third test vector sets together as test vectors for the second circuit design in the output database 255.

[0048] As previously stated, various examples of the disclosed techniques can be implemented by one or more computing systems, such as... Figure 1 The computational system shown. Therefore, one or more of the structural similarity analysis unit 210, test vector modification unit 220, fault simulation unit 230, and test vector generation unit 240 can be integrated into one or more computational systems (such as...). Figure 1 The disclosed technology is implemented by executing programming instructions on one or more processors in the computing system shown. Correspondingly, other embodiments of the disclosed technology can be implemented by software instructions stored on a non-transitory computer-readable medium, which instruct one or more programmable computers / computer systems to perform the functions of one or more of the structural similarity analysis unit 210, test vector modification unit 220, fault simulation unit 230, and test vector generation unit 240. As used herein, the term "non-transitory computer-readable medium" refers to a computer-readable medium capable of storing data for future retrieval and not propagating electromagnetic waves. For example, a non-transitory computer-readable medium may be a magnetic storage device, an optical storage device, or a solid-state storage device.

[0049] It should also be understood that, although the structural similarity analysis unit 210, the test vector modification unit 220, the fault simulation unit 230, and the test vector generation unit 240 are in Figure 2These units may be displayed as separate units, but some or all of them may be implemented at different times using a single computer (or a single processor in a host computer) or a single computer system, or components of these units may be implemented at different times.

[0050] In various examples of the disclosed technology, input database 205 and output database 255 can be implemented using any suitable computer-readable storage device. That is, either input database 205 or output database 255 can be implemented using any combination of computer-readable storage devices, such as microcircuit storage devices (e.g., read-write memory (RAM), read-only memory (ROM), electronically erasable and programmable read-only memory (EEPROM), or flash memory microcircuit devices), CD-ROM disks, digital video disks (DVDs), or other optical storage devices. Computer-readable storage devices may also include magnetic cassettes, magnetic tapes, magnetic disks or other magnetic storage devices, holographic storage devices, or any other non-transitory storage medium that can be used to store the desired information. Although input database 205 and output database 255 are... Figure 2 These databases are displayed as separate units, but some or all of them can be implemented using a single data storage medium. Fast test vector generation based on structural similarity.

[0051] Figure 3 Flowchart 300 is shown, illustrating a process for generating test vectors based on structural similarity, which can be implemented according to various embodiments of the disclosed technology. For ease of understanding, reference will be made to... Figure 2 The Quick Test Vector Generation Tool 200 and Figure 3 The flowchart 300 shown illustrates a method for generating test vectors based on structural similarity, which can be employed according to various embodiments of the disclosed technology. However, it should be understood that alternative implementations of the fast test vector generation tool 200 can be used to perform the method for generating test vectors based on structural similarity shown in flowchart 400 according to various embodiments of the disclosed technology. Similarly, the fast test vector generation tool 200 can also be used to perform other methods for generating test vectors based on structural similarity according to various embodiments of the disclosed technology.

[0052] In operation 310, the rapid test vector generation tool 200 receives a first circuit design, a second circuit design, a first set of test vectors generated for the first circuit design, and a set of faults generated for the test vectors against the second circuit design. The first and second circuit designs are structurally similar. They may originate from the same circuit design. For example, the second design can be obtained by modifying the first circuit design based on an engineering change order. The first and second circuit designs can be an entire circuit design or parts of a design, such as cores or circuit blocks. Nowadays, many integrated circuits contain billions of transistors. It is nearly impossible to design them as planar (unpartitioned). Electronic design automation (EDA) tools also cannot handle them efficiently. Furthermore, there is a high rate of intellectual property (IP) reuse from one design to another. Large designs known as System-on-a-Chip (SOC) consist of a large number of “cores” used as building blocks (also called circuit blocks). Each core is typically designed and verified separately first, and then integrated with other cores to form the entire SOC. This is known as hierarchical design. Ideally, most of the design and verification work is done at the core level because cores are smaller and easier to manage. This allows integration and chip-level verification work to be done at the top level. All work done at the kernel level can also be completed ahead of time while working on the kernel and removed from the critical path as the integrated circuit board (SOC) approaches its tape-out deadline. Test vectors generated for testing the kernel can be reused to test multiple instances of that kernel, thus reducing not only vector generation time but also testing time.

[0053] The first test vector set can be generated through a conventional automatic test vector generation process or this process itself, but it must be based on another test vector set used for another circuit design. The fault set used to generate test vectors for the second circuit design and the fault set used to generate test vectors for the first circuit design may share a large number of faults due to the structural similarity of the two circuit designs.

[0054] In operation 320, the structural similarity analysis unit 210 analyzes the first circuit design and the second circuit design to determine the parts of the second circuit design that are structurally similar to those of the first circuit design. According to various embodiments of the disclosed technology, the analysis may include comparing a first output signature and a first input signature for the first circuit design with a second output signature and a second input signature for the second circuit design. The input / output signatures of the devices can be numbers calculated based on the device type and its corresponding logic cone. The input / output signatures of the circuit design can be obtained by traversing the circuit design from output / input to the input / output of interest and by using the input / output signatures of the encountered devices. The input / output signatures thus obtained can capture certain structural characteristics of the circuit design. The input of the circuit design can be a main input or a scan unit. Similarly, the output of the circuit design can be a main output or a scan unit. It should be noted that the input signature and output signature of the first circuit design can be calculated in operation 320 or during the vector generation process of generating the first test vector set.

[0055] The structural similarity analysis unit 210 can use a forward propagation process to derive a first output signature and a second output signature, and then use a backward propagation process to derive a first input signature and a second input signature. For a specific circuit design, the forward propagation process can start from some numbers at the inputs (main input, scan unit, or both) and propagate these numbers through the devices to the outputs (main output, scan unit, or both). The backward propagation process can start from the output signature just derived at the output and propagate backward through the devices to the inputs. According to certain embodiments of the disclosed technology, the structural similarity analysis unit 210 can assign prime numbers, predefined output signature calculation formulas, and predefined input signature calculation formulas to the devices in the circuit design being analyzed, and use one or more prime numbers as initial numbers at the inputs for the forward and backward propagation processes. Here, the prime numbers assigned to the devices are called the device mask. The devices can be divided into several groups (device type or gate type), and each group is assigned a unique prime number randomly selected within a predetermined range (such as between 1 million and 15 million).

[0056] The resulting first signature output and first input signature can be stored in a first dictionary, wherein each first output signature is associated with a corresponding first input signature in the first input signature, and the input of a first circuit design with the corresponding first input signature drives the output of a first circuit design with each first output signature. The resulting second output signature and second input signature can also be stored in a second dictionary, wherein each second output signature is associated with a corresponding second input signature in the second input signature, and the input of a second circuit design with the corresponding second input signature drives the output of a second circuit design with each second output signature.

[0057] Figure 4 This diagram illustrates the grouped devices in the circuit design and their assigned prime numbers. These devices are categorized into five types: 1) AND gates and NAND gates; 2) Wires and Buses; 3) OR gates and NOR gates; 4) XOR gates and XNOR gates; and 5) Buffers and Inverters. Each category has a prime number between 1 million and 15 million. For example, the prime number for the "OR and NOR gates" device type is 4,980,727, and the prime number for the "Buffer and Inverter" device type is 9,137,657. During signature calculation, a variable called "output inversion" can be used to distinguish between them. Figure 4 The gate types are shown in each category. For OR, AND, BUFFER, XOR, and WIRE gate types, "Output Inversion" can be set to false, while for NOR, NAND, INVERTER, XNOR, and BUS gate types, "Output Inversion" can be set to true. When "Output Inversion" is true, the two's complement of the computed value can be stored as the gate's signature.

[0058] As previously mentioned, the structural similarity analysis unit 210 can compute the output signature by propagating some prime numbers from the input to the output. The output signature of the gate can be computed using a formula that takes into account the signature of the gate input and the mask of the gate. Examples of formulas for the gate types AND, WIRE, OR, XOR, and BUFFER are shown in Equation (1) below:

[0059]

[0060] Examples of formulas for gate types NAND, BUS, NOR, XNOR, and INVERTER are shown in formula (2) below:

[0061]

[0062] The addition operations in formulas (1) and (2) are performed with carry. In formula (2), C represents two's complement. The rotation function refers to a left rotation operation. It should be noted that a right rotation operation can also be used for the rotation function.

[0063] Figure 5An example of calculating an output signature according to certain embodiments of the disclosed technology is shown. In the figure, circuit 500 has four inputs (P1, P2, P3, P4), two outputs (O1, O2), one AND gate (G2), one OR gate (G1), one NOR gate (G3), and two INVERTER gates (G4, G5). For simplicity, the signature in this example is calculated using 16-bit integers, with smaller prime values ​​used as masks. All inputs are initialized to the prime number 13, the mask for AND gate G2 (gate type 1) is assigned the prime number 37, the masks for OR gate G1 and NOR gate G3 (gate type 3) are assigned the prime number 23, and the masks for NVERTER gates G4 and G5 (gate type 5) are assigned the prime number 51.

[0064] The inputs to OR gate G1 are P1 and P2, and its output signature is initialized to 13. The output signature of OR gate G1 is calculated according to formula (1). First, the output signatures of inputs P1 and P2 are rotated. The output signature of the rotated inputs is 26 (from 0000 1101 to 0001 1010). Then, the rotated output signatures of P1 and P2 are added to the block gate mask. For OR gate G1, the formula for this value is 26 + 26 + 23 = 75. Rotating this result yields a value of 150 (from 0100 1011 to 10010110). This value is stored as the output signature of OR gate G1. The output signatures of gates G2, G4, and G5 can be calculated in the same way as shown in formula (1), and the output signature of gate G3 can be calculated in the way shown in formula (2). The output signatures of all gates are as follows: Figure 5 As shown.

[0065] After obtaining the output signatures, the structural similarity analysis unit 210 can calculate the input signatures by propagating these output signatures from the output to the input. An example of the formulas used to calculate the input signatures for gate types AND, WIRE, OR, XOR, and BUFFER is shown in formula (3) below:

[0066]

[0067] An example of the formula used to calculate the input signature for gate types NAND, BUS, NOR, XNOR, and INVERTER is shown in formula (4) below:

[0068]

[0069] The addition operations in formulas (3) and (4) are performed using carry.

[0070] Figure 6 Examples of calculating input signatures according to certain embodiments of the disclosed technology are shown. Circuit 600 and Figure 5The circuit 500 is the same. The input signatures of outputs O1 and O2 are initialized to their output signatures. The algorithm traverses the circuit from output to input. The input signatures of gates G1, G2, G4 and G5 can be calculated in the same way as shown in formula (3), and the input signature of gate G3 can be calculated as shown in formula (4). For example, gate G3 is a NOR gate of gate type 3 with a mask of 23. Gates G4 and G5 are fan-out gates of gate G3, and both have an input signature value of 52190. The input signature value of gates G4 and G5 after rotation is 38845. The input signature values ​​of gates G4 and G5 after rotation are added with carry. Using a 16-bit integer, the result is 12155. This value is EXORed with the gate type 3 mask, and the result is 12140. As mentioned before, the output inverted variable of the NOR logic gate is set to true. The input signature of gate G3 is the two's complement of 12140, which is 53395.

[0071] The following shows examples of detailed algorithms for signature computation that can be implemented according to certain embodiments of the disclosed technology:

[0072] Signature calculation for Algorithm 1 circuit

[0073] Input: Design

[0074] Output: Output signature, input signature, dictionary

[0075] initialization:

[0076] 1: For each gate, assign a value of 0 to its output signature and input signature.

[0077] 2: Initialize all output signatures of the main input to a prime number 1 randomly selected between 1 million and 15 million.

[0078] 3: Initialize all output signatures of the pseudo-main input to a prime number 2 randomly selected between 1 million and 15 million.

[0079] 4: Assign a different prime number as a mask for each type of gate.

[0080] Output signature

[0081] 5: For each gate from input to output i Execute (for each gate) i (from inputs to outputs)

[0082] 6: Revolving door i Sign the output at the input and add it.

[0083] 7: Military Family i The mask is added to the result of step 6.

[0084] 8: Rotate the output signature obtained in step 7

[0085] 9: Loop ends (end for)

[0086] 10: If Output_Invert is true, then...

[0087] 11: Supplementary Signature

[0088] 12: End (end if)

[0089] Enter signature

[0090] 13: Initialize all input signatures of the main output and pseudo-main output to their output signatures.

[0091] 14: For each gate from output to input i Execute (for each gate) i (from outputs to inputs)

[0092] 15: Regarding the door i For each fanout of gate, execute (for each fanout of gate) i do)

[0093] 16: Rotate Input Signature

[0094] 17: Combine the result from step 16 with the gate i Perform EXOR operation on the mask

[0095] 18: Loop ends

[0096] 19: Add a signature after step 17

[0097] 20: Loop ends

[0098] 21: If Output_Invert is true, then...

[0099] 22: Supplementary Signature

[0100] 23: End

[0101] dictionary

[0102] 24: Regarding the door as the observation point i Execute (for gate) i that is an observation point do)

[0103] 25: Store the inputs to the drive output in a vector.

[0104] 26: For each output signature, insert the input vector that drives the output cone.

[0105] 27: Loop ends

[0106] Algorithm 1 described above generates two dictionaries: dict1 and dict2, which are associated with the first and second circuit designs, respectively. Each dictionary contains output signatures as key values. Each key is associated with a set of vectors corresponding to the inputs driving the outputs (whose signatures are equal to the keys). Output cones with identical structures may have the same signature, but their input vectors may differ. Using the generated dictionaries, a set of input vectors from the cones in the first circuit can be mapped to a set of input vectors from the same cones in the second circuit design.

[0107] Once the first output signature and first input signature for the first circuit design, and the second output signature and second input signature for the second circuit design are calculated, the structural similarity analysis unit 210 can compare them to determine the parts of the second circuit design that are structurally similar to those of the first circuit design. This can be done by reading dictionaries dict1 and dict2. For each key in dict1 and dict2, the mapping is completed when the input signature of the input vector in dict1 matches the input signature of the input vector in dict2. Examples of detailed algorithms for signature comparison, which can be implemented according to certain embodiments of the disclosed technology, are shown below:

[0108] Algorithm 2 compares the signatures of circuit 1 and circuit 2.

[0109] Input: Input signature, dict1, dict2

[0110] Output: Mapping information

[0111] 1: Mark all vectors in dict1 and dict2 as unselected.

[0112] 2: Perform the following for each key in dict1:

[0113] 3: If the key is in dict2, then (if key in dict2 then)

[0114] 4: For each unselected vector1 in dict1 (key), execute (for every unselected vector1 in...)

[0115] dict1(key)do)

[0116] 5: For each unselected vector2 in dict2(key), execute (for every unselected vector2 in dict2(key)do)

[0117] 6: If the input signatures of vector1 and vector2 are equal, then...

[0118] 7: Map the input to a vector based on the input signature.

[0119] 8: Mark vector 1 and vector 2 as selected.

[0120] 9: End

[0121] 10: Loop ends

[0122] 11: Loop ends

[0123] 12: End

[0124] 13: Loop ends

[0125] In Algorithm 2 above, input signatures, dict1, and dict2 are given as inputs. The keys to these dictionaries are the output signatures. The algorithm finds the common output signatures in dict1 and dict2, and then iterates through the input vectors to find vectors in dict1 and dict2 that have the same input signature. Once a vector in dict1 matches a vector in dict2, these vectors are not considered in further mappings. In this way, the input is mapped from the first circuit design to the second circuit design in circuit sections with identical input and output cone structures. In experiments on some industrial circuits, the mapping algorithm accurately identified the identical cones in the two circuits.

[0126] It should be noted that the methods described above for determining input / output signatures are merely examples. Those skilled in the art will understand that other methods can be used to determine input / output signatures that capture the structural characteristics of a circuit design, and that parameters other than input / output signatures can be used to determine the structural similarity between two circuit designs.

[0127] Return to reference Figure 3In operation 330, the test vector modification unit 220 can modify the first test vector set to generate a second test vector set for the second circuit design. The modification includes reusing the values ​​of bits in the first test vector set associated with a portion of the first circuit design as the values ​​of corresponding bits in the second test vector set. Through various implementations of the disclosed technology, the test vector modification unit 220 can reuse the values ​​of bits in the first test vector set corresponding to inputs in the first circuit design whose input signatures match those in the second circuit design, and assign random values ​​to the remaining bits in the second test vector set. Structurally similar or identical cones will have the same input and output signatures in both circuit designs. Faults in such input and output cones in the second circuit design are highly likely to be detected by the second test vector set. However, the second test vector set may not detect faults in cones in the first circuit design that do not have similar counterparts, or even faults in cones that share inputs with structurally different cones in the first circuit design.

[0128] Figure 7 An example circuit design 700 with five logic cones 710, 720, 730, 740, and 750 is shown. The outputs of logic cones 710 to 750 are labeled O1 to O5, respectively. The inputs labeled 1 to 12 are either entirely within one of the logic cones 710 to 750 or shared by two of them. This circuit design 700 differs from another circuit design in the shaded area of ​​cone 720, while cones 710, 730, 740, and 750 are structurally identical in both designs. Cone 720 has output O2 and inputs 3, 4, and 5. The structural difference results in different output and input signatures for cone 720 in the two circuit designs. In contrast, the output signatures for O1, O3, O4, and O5 will remain the same. Figure 7 As shown, some inputs of cone 720 are shared with cone 710 (inputs 3 and 4). Therefore, in cone 710, the signatures of inputs 3 and 4 will differ between the two circuit designs. The test vector set obtained based on the above modifications to circuit design 700 is likely to detect faults in cones 730, 740, and 750 (where all input and output signatures remain identical), but not all faults in cones 710 and 720. Without calculating the input signatures, it is impossible to avoid matching the inputs of structurally different cones in the two circuits.

[0129] Return to reference Figure 3In operation 340, fault simulation unit 230 performs fault simulation on the second circuit design using a second test vector set and a fault set to identify a subset of faults in the fault set that cannot be detected by the second test vector set. Fault simulation unit 230 can be implemented using commercial fault simulation tools, such as the Tessent software suite from Siemens EDA in Wilsonville, Oregon. As previously mentioned, structural differences mean that the second test vector set may not detect all faults in the target fault set of the second circuit design. However, the largely structural similarity of the circuits ensures that the fault subset is a small set of faults within the fault set.

[0130] In operation 350, test vector generation unit 240 performs test vector generation on the fault subset to generate a third test vector set for the second circuit design. Test vector generation unit 240 can be implemented using commercial ATPG tools (such as the Tessent software suite from Siemens EDA, Wilsonville, Oregon). Due to the small fault subset, the ATPG process can be very short compared to conventional processes.

[0131] In operation 360, the rapid test vector generation tool 200 stores the second test vector set and the third test vector set together as test vectors for the second circuit design in the output database 255.

[0132] An embodiment of the disclosed technology was tested using 11 industrial circuits. The first experiment used a logic-changing circuit, and the second experiment used a sequential-changing circuit. In the first experiment, a similar design was obtained by introducing a change in one gate type at a time. This modified version of the circuit simulates designs that are very similar to each other, or due to ECOs or minor changes introduced during placement and routing in the design process. Figure 8Table 800 summarizes the results of the first experiment. For each circuit, ten different versions were generated by introducing a single modification at a random location in each version. The modifications involved changing the gate types in the gate-level netlist, such as changing AND to OR, AND to NAND, etc. Each row of Table 800 corresponds to one of 11 industrial circuits, showing several parameters averaged across the ten versions of the circuit. These results are shown under the sub-column “Modified Circuits”. The “Baseline Circuits” sub-column shows the results for the original circuit (baseline circuit) in the corresponding category. The first column, “Size”, gives the total number of gates in each circuit. The “Total Number of Cones in Baseline Circuits” column shows the total number of output cones present in the baseline circuit. The “Different Cones in Modified Circuits” column shows the number of output cones that changed in the modified circuit compared to the baseline circuit after the induced changes. The “Running Time” column shows the total time (in seconds) required to generate the test vectors. For the modified circuits, the total running time includes the time required for signature computation, mapping (comparison), and fault simulation, as well as incremental ATPG. The “Benefit” sub-column is obtained as the ratio of the running time of the baseline circuit to the average running time of the modified circuit. The "Test Vectors" column displays the total number of test vectors after ATPG. The "Increase (%)" sub-column shows the percentage increase in the number of test vectors. The last column, "Fault Coverage," shows the fault coverage achieved in the baseline circuit, as well as the average fault coverage seen in the modified circuit across different versions.

[0133] The "Different Cones in the Modified Circuit" column in Table 800 shows that, across 11 industrial circuits, introducing a change could affect the total number of output cones by 0.1% to 12.3%. Across 10 different circuit versions, the minimum and maximum number of affected cones differed by an average of 16%. Compared to the baseline circuit, the number of different output cones in the modified circuit directly impacts the time required for incremental ATPG. Fewer different cones result in more matched inputs, leading to a significant number of faults detected in the modified circuit after mapping the test vectors. By transforming the test set and then performing fault simulation, all faults from structurally identical cones in the modified circuit compared to the baseline circuit can be detected. The transformation of the test vectors improves the overall runtime of the modified circuit. This improvement in runtime is observed because only a small fraction of faults require the test generation process. This means that, for all different industrial circuits, an average runtime gain of 11x is achieved in the modified circuit to achieve the same fault coverage compared to the baseline circuit. The runtime gain varies depending on the circuit, ranging from 6x to 22x. This shows that by leveraging the structural similarity between circuits, test generation time can be significantly reduced.

[0134] The reduction in runtime helps in determining testability. Although the number of test vectors increases by an average of 14%, this can be mitigated by rerunning test vector generation after the design converges or when the number of vectors occasionally increases significantly.

[0135] The second experiment investigated the sequence changes in the circuit. Forward and reverse retiming were performed in the circuit, altering the total number of scan cells in the modified circuit compared to the baseline circuit. Figure 9 Table 900 presents the results of the sequential changes. Table 900 is tabulated in the same way as Table 800. The "#Number of Scan Cells Added" column in Table 900 gives the average number of scan cells added across the 10 modified versions of each circuit. Compared to the baseline circuit, the number of scan cells increased by 2-15 in the modified circuits. Table 900 shows that, compared to the baseline circuit, an average 12x improvement in runtime is needed to achieve the same fault coverage in the modified circuits. The results of the sequential changes are consistent with the conclusions drawn from Table 900. The time required for the incremental ATPG and total test generation process depends on the number of cones affected by the changes introduced in previous versions of the given circuit. Since the process focuses on the testability of the circuit, the average 11% increase in the number of test vectors seen in the modified circuits compared to the baseline circuits is acceptable. As mentioned earlier, this issue can be mitigated by rerunning the test vector generation.

[0136] in conclusion

[0137] The principles of the disclosed technology have been shown and described. It will be apparent to those skilled in the art that the disclosed embodiments can be modified in arrangement and detail without departing from these principles. Given the many possible embodiments to which the principles of the disclosed technology can be applied, it should be recognized that the illustrated embodiments are merely preferred examples of the technology and should not be considered as limiting the scope of the disclosed technology. Rather, the scope of the disclosed technology is defined by the appended claims and their equivalents. Therefore, we claim protection for all that falls within the scope and spirit of these claims as part of our disclosed technology.

Claims

1. A method for circuit testing executed by at least one processor of a computer, comprising: Receive a first test vector set generated for a first circuit design, a second circuit design, and a fault set generated for the test vectors of the second circuit design; Compare the first circuit design and the second circuit design to determine the parts of the second circuit design that are structurally similar to the parts of the first circuit design; Modify the first test vector set to generate a second test vector set for the second circuit design, the modification including reusing the values ​​of bits in the first test vector set associated with the portion of the first circuit design as the values ​​of bits in the second test vector set associated with the portion of the second circuit design; The second circuit design is simulated using the second test vector set and the fault set to determine a subset of faults in the fault set that cannot be detected by the second test vector set. Test vector generation is performed on the aforementioned fault subset to generate a third test vector set for the second circuit design; as well as The second test vector set and the third test vector set are stored in a non-transitory computer-readable medium.

2. The method according to claim 1, wherein, The comparison includes: The first output signature and the first input signature used for the first circuit design are compared with the second output signature and the second input signature used for the second circuit design.

3. The method according to claim 2, wherein, The comparison further includes: The second output signature is generated using a forward propagation process that traverses the second circuit design from input to output, wherein the input includes a main input, a scan unit, or both, and the output includes a main output, a scan unit, or both; and The second input signature is generated using a backpropagation process that traverses the second circuit design from the output to the input.

4. The method according to claim 3, wherein, Generating the second output signature includes: Assign one or more prime numbers to the input; and Assign prime numbers to the devices in the second circuit design, predefine output signature calculation formulas, and predefine input signature calculation formulas.

5. The method according to claim 2, wherein, According to the circuit structure of the first circuit design, the first input signature is obtained by propagating the first output signature from the output of the first circuit design to the input of the first circuit design, wherein the output of the first circuit design includes the main output, a scanning unit, or both of the first circuit design, and the input of the first circuit design includes the main input, a scanning unit, or both of the first circuit design, and wherein, according to the circuit structure of the second circuit design, the second input signature is obtained by propagating the second output signature from the output of the second circuit design to the input of the second circuit design, wherein the output of the second circuit design includes the main output, a scanning unit, or both of the second circuit design, and the input of the second circuit design includes the main input, a scanning unit, or both of the second circuit design.

6. The method according to claim 2, wherein, The first output signature and the first input signature are stored, wherein each of the first output signatures is associated with a corresponding first input signature in the first input signatures, and wherein the second output signature and the second input signature are stored, wherein each of the second output signatures is associated with a corresponding second input signature in the second input signatures.

7. The method according to claim 1, wherein, The modification further includes: assigning random values ​​to the remaining bits in the second test vector set.

8. One or more non-transitory computer-readable media storing computer-executable instructions for causing one or more processors to perform a method comprising: Receive a first test vector set generated for a first circuit design, a second circuit design, and a fault set generated for the test vectors of the second circuit design; Compare the first circuit design and the second circuit design to determine the parts of the second circuit design that are structurally similar to the parts of the first circuit design; Modify the first test vector set to generate a second test vector set for the second circuit design, the modification including reusing the values ​​of bits in the first test vector set associated with the portion of the first circuit design as the values ​​of bits in the second test vector set associated with the portion of the second circuit design; The second circuit design is simulated using the second test vector set and the fault set to determine a subset of faults in the fault set that cannot be detected by the second test vector set. Test vector generation is performed on the aforementioned fault subset to generate a third test vector set for the second circuit design; as well as The second test vector set and the third test vector set are stored in a non-transitory computer-readable medium.

9. One or more non-transitory computer-readable media according to claim 8, wherein, The method further includes: The first output signature and the first input signature used for the first circuit design are compared with the second output signature and the second input signature used for the second circuit design.

10. One or more non-transitory computer-readable media according to claim 9, wherein, The comparison further includes: The second output signature is generated using a forward propagation process that traverses the second circuit design from input to output, wherein the input includes a main input, a scan unit, or both, and the output includes a main output, a scan unit, or both; and The second input signature is generated using a backpropagation process that traverses the second circuit design from the output to the input.

11. One or more non-transitory computer-readable media according to claim 10, wherein, Generating the second output signature includes: Assign one or more prime numbers to the input; and Assign prime numbers to the devices in the second circuit design, predefine output signature calculation formulas, and predefine input signature calculation formulas.

12. One or more non-transitory computer-readable media according to claim 9, wherein, According to the circuit structure of the first circuit design, the first input signature is obtained by propagating the first output signature from the output of the first circuit design to the input of the first circuit design, wherein the output of the first circuit design includes the main output, a scanning unit, or both of the first circuit design, and the input of the first circuit design includes the main input, a scanning unit, or both of the first circuit design. Furthermore, according to the circuit structure of the second circuit design, the second input signature is obtained by propagating the second output signature from the output of the second circuit design to the input of the second circuit design, wherein the output of the second circuit design includes the main output, a scanning unit, or both of the second circuit design, and the input of the second circuit design includes the main input, a scanning unit, or both of the second circuit design.

13. One or more non-transitory computer-readable media according to claim 9, wherein, The first output signature and the first input signature are stored, wherein each of the first output signatures is associated with a corresponding first input signature in the first input signatures, and wherein the second output signature and the second input signature are stored, wherein each of the second output signatures is associated with a corresponding second input signature in the second input signatures.

14. One or more non-transitory computer-readable media according to claim 8, wherein, The modification further includes: assigning random values ​​to the remaining bits in the second test vector set.

15. A system for circuit testing, comprising: One or more processors, said one or more processors being programmed to execute a method comprising: Receive a first test vector set generated for a first circuit design, a second circuit design, and a fault set generated for the test vectors of the second circuit design; Compare the first circuit design and the second circuit design to determine the parts of the second circuit design that are structurally similar to the parts of the first circuit design; Modify the first test vector set to generate a second test vector set for the second circuit design, the modification including reusing the values ​​of bits in the first test vector set associated with the portion of the first circuit design as the values ​​of bits in the second test vector set associated with the portion of the second circuit design; The second circuit design is simulated using the second test vector set and the fault set to determine a subset of faults in the fault set that cannot be detected by the second test vector set. Test vector generation is performed on the aforementioned subset of faults to generate a third test vector set for the second circuit design; and The second test vector set and the third test vector set are stored in a non-transitory computer-readable medium.

16. The system of claim 15, wherein the method further comprises: The first output signature and the first input signature used for the first circuit design are compared with the second output signature and the second input signature used for the second circuit design.

17. The system of claim 16, wherein the comparison further comprises: The second output signature is generated using a forward propagation process that traverses the second circuit design from input to output, wherein the input includes a main input, a scan unit, or both, and the output includes a main output, a scan unit, or both. as well as The second input signature is generated using a backpropagation process that traverses the second circuit design from the output to the input.

18. The system according to claim 17, wherein, Generating the second output signature includes: Assign one or more prime numbers to the input; and Assign prime numbers to the devices in the second circuit design, predefine output signature calculation formulas, and predefine input signature calculation formulas.

19. The system according to claim 16, wherein, According to the circuit structure of the first circuit design, the first input signature is obtained by propagating the first output signature from the output of the first circuit design to the input of the first circuit design, wherein the output of the first circuit design includes the main output, a scanning unit, or both of the first circuit design, and the input of the first circuit design includes the main input, a scanning unit, or both of the first circuit design. Furthermore, according to the circuit structure of the second circuit design, the second input signature is obtained by propagating the second output signature from the output of the second circuit design to the input of the second circuit design, wherein the output of the second circuit design includes the main output, a scanning unit, or both of the second circuit design, and the input of the second circuit design includes the main input, a scanning unit, or both of the second circuit design.

20. The system according to claim 16, wherein, The first output signature and the first input signature are stored, wherein each of the first output signatures is associated with a corresponding first input signature in the first input signatures, and wherein the second output signature and the second input signature are stored, wherein each of the second output signatures is associated with a corresponding second input signature in the second input signatures.

21. The system according to claim 15, wherein, The modification further includes: assigning random values ​​to the remaining bits in the second test vector set.

Citation Information

Patent Citations

  • Method and apparatus to reuse existing test patterns to test a single integrated circuit containing previously existing cores

    US5617431A