Electronic device and method of operating the same
By using the scan chain structure of latches and multiplexers in 3D integrated circuits for inter-die testing, the problem of low efficiency and accuracy of die interconnection testing in 3D integrated circuits is solved, and efficient faults are achieved Identification and positioning improve the reliability of the circuit.
Patent Information
- Application Number
- CN202110370328.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2016-06-02
- Filing Date
- 2017-05-16
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2037-05-16
AI Technical Summary
In 3D integrated circuits, existing technologies are difficult to effectively perform die-to-die interconnect testing, especially in high-density and vertical stacking scenarios, where test efficiency and accuracy are challenged.
A scan chain structure including latches and multiplexers is used to transmit scan test patterns or signals between dies through functional paths to achieve interconnection testing between dies and identify DC and DC values through multi-clock frequency testing. AC defects.
It improves the efficiency and accuracy of inter-die interconnection testing, can effectively identify and locate faults, reduces test time, and improves the reliability of 3D integrated circuits.
Smart Images

Figure CN113203944B_ABST
Abstract
Description
[0001] Divisional application
[0002] This application is a divisional application of patent application number 201710341840.8, entitled “Scanning Structure for Interconnect Testing in 3D Integrated Circuits”, filed on May 16, 2017. Technical Field
[0003] Embodiments of the present invention generally relate to the field of electronic circuits, and more particularly, to electronic devices and methods of operating the same. Background Art
[0004] This 3D-IC approach uses a combination of standard single damascene processes, wafer thinning, and direct copper-to-copper thermocompression bonding. Hybrid bonding is a more economical die-to-wafer integration process suitable for vertical stacking and high-density die-to-die interconnects.
[0005] Typically, direct hybrid bonding is compatible with die-to-die (D2D) and wafer-on-wafer (WoW) bonding. In direct hybrid bonding, the dual damascene copper and silicon oxide hybrid interface between the dies serves as a conductive connection between the full-area substrate bonding mechanism and the pads and / or vias on the corresponding dies.
[0006] Design-for-Testing ("DFT") refers to integrated circuit design techniques that add specific testability capabilities to hardware product designs. DFT components make it easier to develop and apply various types of manufacturing tests to the designed hardware. The purpose of manufacturing testing is to verify that the hardware product does not contain manufacturing defects that could adversely affect the normal operation of the product. Scan chains are an example of a technique implemented in the DFT process. Summary of the invention
[0007] According to some embodiments of the present invention, a device is provided, comprising: a first die; and a second die stacked under the first die, wherein an interconnection is provided between the first die and the second die, and at least one of the first die or the second die has a circuit for performing a function and providing a functional path, wherein each of the first die and the second die comprises: a plurality of latches, including a corresponding latch corresponding to each of the interconnections; and a plurality of multiplexers, each multiplexer being connected to a corresponding one of the plurality of latches and a corresponding functional path, and being configured to receive and select a scan test pattern or signal from the functional path for output during a scan chain test of the first die and the second die.
[0008] According to some other embodiments of the present invention, a device is also provided, including: a first die; and a second die stacked under the first die, at least one of the first die or the second die includes a level converter and there is an interconnection between the first die and the second die, at least one of the first die or the second die has a circuit for performing a function, and the circuit has a functional path, wherein each of the first die and the second die includes: a plurality of latches and a plurality of multiplexers, the plurality of latches including corresponding latches corresponding to each of the interconnections, each multiplexer is connected to a corresponding latch of the plurality of latches and a corresponding functional path, and is configured to receive and select a scan test pattern or signal from the functional path to be output during a scan chain test of the first die and the second die.
[0009] According to some other embodiments of the present invention, a device is also provided, including: a first die having a plurality of first latches arranged thereon, wherein one of the plurality of first latches is operably connected to an adjacent one of the plurality of first latches; and a second die having a plurality of second latches arranged thereon, wherein one of the plurality of second latches is operably connected to an adjacent one of the plurality of second latches, wherein each latch of the plurality of first latches on the first die corresponds to a latch of the second plurality of latches on the second die, wherein each group of corresponding latches is operably connected, and wherein a scan path includes a closed loop containing each of the plurality of first latches and a plurality of second latches, wherein one of the plurality of second latches is operably connected to another of the plurality of second latches through an inverter.
[0010] According to some further embodiments of the present invention, a method is also provided, comprising the following steps: selecting an interconnect segment having a plurality of latches, wherein one latch among the plurality of latches is operably connected to another latch among the plurality of latches through an inverter; performing a first test on the selected interconnect segment: if the selected interconnect segment passes the first test, displaying a description that the selected interconnect segment is fault-free; if the selected interconnect segment fails the first test: performing a second test on the plurality of latches in the selected interconnect segment: if the plurality of latches fails the second test, determining whether the fault is a fixed-1 fault or a fixed-0 fault; and determining the location of the fault. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The following detailed description may be read in conjunction with the accompanying drawings to better understand the various aspects of the present disclosure. It should be noted that, in accordance with standard practice in the industry, various functional components are not drawn to scale. In fact, for clarity of discussion, the size of each functional component may be increased or decreased arbitrarily.
[0012] Figure 1A is a cross-sectional view of a hybrid-bonded 3DIC according to some embodiments.
[0013] Figure 1B is a schematic diagram of a serial cross-scan structure according to some embodiments.
[0014] Figure 2A is a schematic diagram of a serial cross-scan structure with a D flip-flop and a scan flip-flop according to some embodiments.
[0015] Figure 2B is a schematic diagram of a scan flip-flop according to some embodiments.
[0016] Figure 2C is a schematic diagram of a D flip-flop according to some embodiments.
[0017] Figure 3 is a schematic diagram of a serial cross-scan structure with a D flip-flop and a multiplexer according to some embodiments.
[0018] Figure 4 is a schematic diagram of a scan structure with unequal inputs and outputs between dies according to some embodiments.
[0019] Figure 5 is a schematic diagram of a scan structure with connections between flip-flops, according to some embodiments, where the flip-flops are located in the same die but are not adjacent to each other.
[0020] Figure 6 is a schematic diagram of a scanning structure with multiple scan outputs according to some embodiments.
[0021] Figure 7 is a schematic diagram of a scan structure with shared functional triggers according to some embodiments.
[0022] Figure 8 is a schematic diagram of a scan structure with a level shifter according to some embodiments.
[0023] Fig.9A is a schematic diagram of a scan architecture with on-chip test generation and comparison according to some embodiments.
[0024] Fig. 9B is a schematic diagram of a test pattern generator for on-chip test generation according to some embodiments.
[0025] Fig. 9C is a schematic diagram of a test response comparison unit for on-chip test generation and comparison according to some embodiments.
[0026] Fig.10is a schematic diagram of a determination cycle built-in self-test structure according to some embodiments.
[0027] Fig.11 is a block diagram of a determination loop built-in self-test structure according to some embodiments.
[0028] Fig.12 is a schematic diagram of a trouble-free circuit of four flip-flops and a corresponding logic table according to some embodiments.
[0029] Fig.13 is a circuit schematic diagram and corresponding logic table with a stuck-on-1 fault in the first position of four flip-flops according to some embodiments.
[0030] Fig.14 is a circuit schematic diagram and corresponding logic table having a stuck-on-1 fault in the second position of four flip-flops according to some embodiments.
[0031] Fig.15 is a circuit schematic diagram and corresponding logic table having a stuck-on-1 fault in the third position of four flip-flops according to some embodiments.
[0032] Fig.16 is a circuit schematic diagram and corresponding logic table having a stuck-on-1 fault in the fourth position of four flip-flops according to some embodiments.
[0033] Fig.17 is a circuit schematic diagram and corresponding logic table having a stuck-at-0 fault in the first position of four flip-flops according to some embodiments.
[0034] Fig.18 is a logic table of a circuit with 7 flip-flops in a sustained fault according to some embodiments.
[0035] Fig.19 is a logic table of a circuit with 7 flip-flops in a set fault according to some embodiments.
[0036] Fig. 20 is a schematic diagram of a fault-free on-chip scan chain with seven flip-flops and corresponding logic waveforms according to some embodiments.
[0037] Fig.21 Schematic diagram of an on-chip scan chain with seven flip-flops having persistent conflicts and corresponding logic waveforms according to some embodiments.
[0038] Fig. 22 FIG. 4 is a schematic diagram of an on-chip scan chain with seven flip-flops having setting conflicts and corresponding logic waveforms according to some embodiments.
[0039] Fig.23is a flow chart showing a method for determining a loop built-in self-test structure according to some embodiments. DETAILED DESCRIPTION
[0040] The following disclosure provides many different embodiments or examples for realizing the different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present invention. Of course, these are merely examples and are not intended to limit the present invention. For example, in the following description, forming a first component above or on a second component may include an embodiment in which the first component and the second component are formed in direct contact, and may also include an embodiment in which an additional component may be formed between the first component and the second component so that the first component and the second component may not be in direct contact. In addition, the present invention may repeat reference numerals and / or characters in various examples. This repetition is for the purpose of simplicity and clarity, and does not itself indicate the relationship between the various embodiments and / or configurations discussed.
[0041] Furthermore, for ease of description, spatially relative terms such as "below," "beneath," "lower," "above," "upper," etc. may be used herein to describe the relationship of one element or component to another (or additional) elements or components as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein should likewise be interpreted accordingly.
[0042] Figure 1A1 is a cross-sectional view of a 3D stack of hybrid bonding according to some embodiments. The top die 100 includes a semiconductor (e.g., silicon) substrate 101, and the bottom die includes a semiconductor (e.g., silicon) substrate 201. Both substrates 101 and 201 include functional circuits. The functional circuits include active devices such as transistors shown in substrates 101 and 102 and interconnects 110, 210 in each die. The interconnect layer 110 of the top die 100 and the interconnect layer 210 of the bottom die 200 are connected by hybrid bonding structures 301 and 302. FIG. 1B is a schematic diagram of a serial cross-scan structure according to some embodiments. The serial cross-scan structure includes an upper die 1100 and a lower die 1200. The upper die 1100 is stacked above the lower die 1200. According to some embodiments, the bonding between the upper die 1100 and the lower die 1200 is a hybrid bonding, which is a solution for vertical stacking and can provide high-density die-to-die interconnection, with a low-cost competitive advantage. For example, according to some embodiments, the pitch between the interconnects is 1um or less. Compared with 3DIC in which the connectors between active devices on the stacked die include substrate through vias (TSVs), hybrid bonding can reduce leakage, power consumption, and device footprint. Each line 1302, 1303, 1304...1309 represents a combination of one or more through holes and / or one or more pads in each upper die 1100 and lower die 1200.
[0043] In other embodiments (not shown), the interconnects between stacked dies in the 3DIC include TSVs. In other embodiments (not shown), the 3DIC is a stacked CMOS package where the interconnects between layers include inter-layer vias (ITVs), also known as inter-level vias (ILVs).
[0044] Some embodiments of the scan chain include the following signal groups to control and observe the scan mechanism. Scan_in (SI) and Scan_out (SO) are the input and output of the scan chain, respectively. The shift enable pin (SE) is a special signal added to the design. When SE is issued, each latch in the scan chain will be connected to the corresponding bit of the shift register. During testing of the IC, the clock signal is used to control all latches or flip-flops in the chain. Any test pattern (e.g., a vector of random 0s and 1s) can be input into the latch chain, and the state of each latch can be read out.
[0045] like Figure 1BAs shown, the structure includes a wrapper around the interface between the upper die 1100 and the lower die 1200. The wrapper includes each wrapper unit (e.g., flip-flops 1121-1128 and 1221-1228) in each die 1100, 1200 located on each side of each inter-die connection 1302-1309. Additional intra-die connections 1151-1154 and 1251-1253 are added to form a scan path 1900, which is used as a shift register during scan chain testing. The scan shift path (scan path) is the route followed by the signal during scan testing. According to some embodiments, the scan shift path includes latches in the upper die and the lower die and corresponding interconnects between the dies and connections between latches in the same die. According to some embodiments, the scan shift path starts from a scan input and ends at at least one scan output. The scan path consists of a set of continuously connected latches and interconnects between and within the die that are used to shift data from scan input to scan output.
[0046] The upper die 1100 includes a test and clock control unit 1110 and a plurality of flip-flops 1121, 1122, 1123, 1124, 1125, 1126, 1127, and 1128. According to some embodiments, the flip-flops 1121 ... 1128 are of the same type; according to other embodiments, the flip-flops 1121 ... 1128 are of two or more different types. The test and clock control unit 1110 transmits a clock signal CLK1 through a line 1140. The clock signal CLK1 controls the flip-flops 1121 ... 1128 through lines 1141, 1142, 1143, 1144, 1145, 1146, 1147, and 1148, respectively. The test and clock control unit 1110 controls the flip-flops 1121 ... 1128 through lines 1131, 1132, 1133, 1134, 1135, 1136, 1137, and 1138, respectively. The output of trigger 1121 is transmitted to the input of trigger 1122 via line 1151; the output of trigger 1123 is transmitted to the input of trigger 1124 via line 1152; the output of trigger 1125 is transmitted to the input of trigger 1126 via line 1153; and the output of trigger 1127 is transmitted to the input of trigger 1128 via line 1154.
[0047] Likewise, the lower die 1200 includes a test and clock control unit 1210 and a plurality of flip-flops 1221, 1222, 1223, 1224, 1225, 1226, 1227, and 1228. According to some embodiments, the flip-flops 1221 ... 1228 are of the same type of flip-flops; according to other embodiments, the flip-flops 1221 ... 1228 are of different types of flip-flops. The test and clock control unit 1210 transmits a clock signal CLK2 through a line 1240, and the clock signal CLK2 controls the flip-flops 1221 ... 1228 through 1241, 1242, 1243, 1244, 1245, 1246, 1247, and 1248, respectively. The test and clock control unit 1210 controls the flip-flops 1221 ... 1228 through 1231, 1232, 1233, 1234, 1235, 1236, 1237, and 1238, respectively. The scan in signal 1301 is transmitted to flip-flop 1221. The output of flip-flop 1222 is transmitted to the input of flip-flop 1223 via line 1251; the output of flip-flop 1224 is transmitted to the input of flip-flop 1225 via line 1252; the output of flip-flop 1226 is transmitted to the input of flip-flop 1227 via line 1253; the output of flip-flop 1228 is scan output 1310. The test and clock control unit 1110 in the upper die 1100 communicates with the test and clock control unit 1210 in the lower die 1200 via line 1312.
[0048] The inter-die scan path 1900 designated by the dashed lines can be created by embedding at least one functional path in the scan shift path. A functional path is not dedicated to the scan chain for testing purposes only, but is a path included in functional circuits that perform other non-test functions. The functional path may include one or more interconnect lines and / or interconnect vias within one of the dies. According to some embodiments, the embedded functional path includes other passive and / or active elements. The scan chain is used as a shift register during scan chain testing. In some embodiments, the functional path connected to the circuit is connected to a multiplexer in the scan shift path, and the multiplexer can be used to select a test pattern input or signal in the functional path connected to the functional circuit. In this way, in addition to Figure 1B1200, which allows the scan chain test to be performed on the entire functional path. The inter-die scan path 1900 starts with a scan in signal 1301 and then sequentially transmits through flip-flop 1221, line 1302, flip-flop 1121, line 1151, flip-flop 1122, line 1303, line 1303, flip-flop 1222, line 1251, flip-flop 1223, line 1304, flip-flop 1123, line 1252, flip-flop 1124, line 1305, flip-flop 1224, line 1252, flip-flop 1225, line 1306, flip-flop 1125, etc. The inter-die scan path 1900 passes between the upper die 1100 and the lower die 1200 until it reaches the flip-flop 1228 in the lower die 1200. The output of the flip-flop 1228 is transmitted to the scan output 1310 to complete the inter-die scan path 1900. As discussed above, a functional path is a path contained in a circuit that performs a non-scan chain test function, and such a functional path is not dedicated to the scan chain wrapper cell structure. Functional paths 1302, 1303, 1304, 1305, 1306, 1307, 1308, and 1309 are embedded in the shift path of the scan path 1900. During scanning, CLK1 and CLK2 remain the same and synchronized. According to some embodiments, the shift clock frequency is scanned during scan chain testing to check for timing related defects caused by weak shorts or opens and DC defects. According to some embodiments, the clock frequencies CLK1 and CLK2 are scanned in the range of 50MHz to 2GHz during scan chain testing. According to some embodiments, dummy connectors have been added to form a continuous chain of wrapper cells between the upper die and the lower die to effectively form a single shift register used during scan chain testing. According to some embodiments, testing is performed by shifting operations at multiple different clock frequencies. Each time the clock changes to a new frequency, a new clock leading edge occurs. Each flip-flop can use the leading edge of the new clock to trigger capture. At the leading edge of the new clock, the flip-flop outputs the captured value from its corresponding D input to its corresponding Q output to shift the data along the shift path. Therefore, there is no requirement for a separate capture function that triggers capture by setting the scan enable (SE=0). For example, according to some embodiments, the scan chain test pattern is generated by a general-purpose processor programmed to execute a program such as an automatic test pattern generator (ATPG). If the scan chain test fails at low speed, hard defects are detected. If the scan chain test fails at high speed, resistance or weak defects are detected. According to some embodiments, speeds below 50MHz are considered low speeds, speeds in the range of 50MHz and 500Mhz are considered high speeds, and speeds of 500MHz and above are considered ultra-high speeds. If the 3DIC fails the DC test, it indicates that the 3DIC contains at least one hard open or short defect.If the 3DIC passes the DC test, then perform an AC test at a first frequency. If the 3DIC passes the AC test at the first frequency, then increase the shift frequency and repeat the AC test. Increase the shift frequency for one or more iterations and repeat the AC test until the 3DIC fails the AC test. The maximum frequency at which the 3DIC passes the scan chain test. The presence of an AC defect is calculated by correlating the measured pass frequency and the expected shift frequency. The test or shift frequency is the speed at which data is transferred from the bottom die 1200 to the top die 1100 through the interconnect or functional path. Therefore, the maximum pass shift frequency reflects the actual speed of the interconnect or functional path. Figure 2A 2 is a schematic diagram of a serial cross scan structure with a D flip-flop and a scan flip-flop according to some embodiments. The schematic diagram of FIG. 2 has the same order of connectors 2302-2308 as the embodiment shown in FIG. 1, but the embodiment in FIG. 2 has two different types of flip-flops. Flip-flops 2121, 2123, 2125, 2127, 2222, 2224, 2226, and 2228 are D flip-flops, while flip-flops 2122, 2124, 2126, 2128, 2221, 2223, 2225, and 2227 are "scan flip-flops". The scan flip-flops 2800 in FIG. 2 all include Figure 2B The conventional D flip-flop 2801 and multiplexer 2802 are shown. The scan flip-flop is used for inter-die scan testing, while the D flip-flop is used for intra-die scan testing. The scan chain follows the same shift path implemented in FIG1. The details of the D flip-flop and the scan flip-flop are shown in FIG1. Figure 2B shown.
[0049] According to some embodiments, Figure 2B is a schematic diagram of a scan flip-flop, and Figure 2C 2800 includes a conventional D flip-flop 2801 and a multiplexer 2802. Multiplexer 2802 has two inputs: a scan input 2803 and a functional path input 2804. Output 2805 of multiplexer 2802 is transmitted to D flip-flop 2801, and output 2806 of D flip-flop is transmitted to another die via one or more conductive vias and / or one or more conductive pads (not shown). In contrast, D flip-flop 2901 receives a functional path signal from a path in a functional circuit in another die via input 2902, and D flip-flop 2901 has an output 2903. A functional circuit is a circuit in one of the dies that performs a function and is not specifically used during scan chain test operations.
[0050] Figure 3 is a schematic diagram of a serial cross-scan structure with a D flip-flop and a multiplexer according to some embodiments. Figure 3The embodiment in FIG. 1 is similar to the embodiment in FIG. 2 , except that Figure 3 In an embodiment of the present invention, a multiplexer is used to select a functional path signal from a connection path through a functional circuit in the same die as the flip-flop or to select a scan chain value output from the flip-flop. The value selected by the multiplexer is then provided to the other die.
[0051] According to some embodiments, a multiplexer 3161 is inserted at the output of the flip-flop 3122. One input 3161A of the multiplexer 3161 receives the output of the flip-flop 3122, and another input 3161B of the multiplexer 3161 receives a signal from a functional path of the functional circuit 3170 within the upper die 3100. The output of the multiplexer 3161 is transmitted to the flip-flop 3222 in the lower die 3200 through the inter-die functional path 3303. Similarly, multiplexers 3162, 3163, and 3164 are inserted at the outputs of the respective flip-flops 3124, 3126, and 3128 of the upper die 3100, and multiplexers 3261, 3262, 3263, and 3264 are inserted at the outputs of the respective flip-flops 3221, 3223, 3225, and 3227 of the lower die 3200. Multiplexer inputs 3161B, 3162B, 3163B, and 3164B are all connected to functional circuits in upper die 3100 and functional paths of functional circuits 3170. Similarly, multiplexer inputs 3261B, 3262B, 3263B, and 3264B in lower die 3200 are all connected to other functional circuits (not shown) in lower die 3200. Scan paths 3900 of the scan chain are indicated by dashed lines.
[0052] Figure 4 4 is a schematic diagram of a serial cross-scan structure with unequal inputs and outputs between dies according to some embodiments. For example, the upper die 4100 and the lower die 4800 may be of different types. Figure 4In the example shown, the upper die 4100 has one inter-die output 4309 (shown as a solid line), but the lower die 4800 has four inter-die outputs 4302, 4304, 4306, 4308 (shown as a solid line). Compared to FIG. 1, there are only five flip-flops in the upper die, four of which are D flip-flops (i.e., 4121, 4122, 4123, and 4124) that receive inputs from the lower die; the fifth flip-flop 4125 of the upper die is a scan flip-flop that provides an output to the lower die. The lower die has five corresponding flip-flops, four of which are scan flip-flops (i.e., 4221, 4222, 4223, and 4224) that provide outputs to corresponding D flip-flops (i.e., 4121, 4122, 4123, and 4124) in the upper die; the fifth flip-flop 4225 in the lower die is a D flip-flop that receives inputs from the scan flip-flop 4125 in the upper die.
[0053] In some embodiments, Figure 4 As shown, dummy interconnects 4303, 4305, and 4307 (shown as dashed lines) are added to allow scan chain test data to flow between the upper die and the lower die. According to some embodiments, dummy connectors are added to form a continuous chain of wrapper cells between the upper die and the lower die to effectively form a single shift register used during scan chain testing. Dummy connectors are interconnects that are provided for scan chain testing but are not used by any functional circuits during other operations (except scan chain testing). Since the dummy interconnects between the dies are only used during scan chain testing (not used during normal operation), adjacent wrapper cells that provide signals to the dummy interconnects do not use multiplexers to select between test pattern input signals and functional path input signals. Adjacent wrapper cells that provide signals to the dummy interconnects may include latches without multiplexers. The dummy interconnects 4303, 4305, and 4307 allow the flip-flops 4121-4125 and 4201-4205 to operate as shift registers during the scan chain test. Figure 4 As shown by the arrows, the triggers 4201, 4121, 4222, 4122, 4223, 4123, 4224, 4124, 4125 and 4225 are included in sequence.
[0054] Figure 5is a schematic diagram of a scan structure with connections between flip-flops according to some embodiments, wherein the flip-flops are located in the same die but are not adjacent to each other. There are three D flip-flops (5121, 5122, and 5124) in the upper die 5100 for receiving inputs from corresponding scan flip-flops (i.e., 5221, 5222, 5224) in the lower die 5200. There are two scan flip-flops (5123 and 5125) in the upper die 5100 for sending outputs to corresponding D flip-flops (5223 and 5225) in the lower die 5200. In this case, the flip-flop adjacent to the D flip-flop 5121 in the upper die 5100 is another D flip-flop 5122. In some 3DIC designs, it is impractical or undesirable for designers to insert dummy interconnects to direct the output of the D flip-flop 5121 to the adjacent scan flip-flop 5222 in the lower die 5200. Using Figure 5 According to the method shown, the output 5303 of the D flip-flop 5121 can be directed to a non-adjacent scan flip-flop (e.g., 5123) in the upper die, so that the output 5304 of the non-adjacent flip-flop 5123 passes through the lower die 5200 and is connected to the D flip-flop 5223 in the lower die 5200. Similarly, the output 5305 of the D flip-flop 5223 is directed to the scan flip-flop 5222 in the lower die 5200. Then, the output 5306 of the scan flip-flop 5222 passes through the upper die 5100 and is connected to the D flip-flop 5122. The output 5307 of the D flip-flop 5122 passes through the lower die 5200 again and is connected to the non-adjacent scan flip-flop 5224 in the lower die 5200. Then, the shift path continues to pass through the upper die 5100 through 5308 to reach the D flip-flop 5124, and then through 5309 to reach the scan flip-flop 5125. After passing through the D flip-flop 5225 in the lower die 5200 via 5310, the shift path is completed at the scan output 5311. The scan path 5900 of the scan chain is illustrated by the dotted line. The scan path 5900 includes flip-flops 5221, 5121, 5123, 5223, 5222, 5122, 5224, 5124, 5125 and 5225 in sequence.
[0055] Figure 6 is a schematic diagram of a scanning structure with multiple scan outputs according to some embodiments. Figure 6 The examples in Figure 2A00104 , except that instead of having only one scan output 2310, there are four different taps for scan outputs 6310A, 6310B, 6310C, and 6310D. The first scan output 6310A comes from the path between the D flip-flop 6222 and the scan flip-flop 6223, the second scan output 6310B comes from the path between the D flip-flop 6224 and the scan flip-flop 6225, the third scan output 6310C comes from the path between the D flip-flop 6226 and the scan flip-flop 6227, and finally, the fourth scan output 6310D comes from the output of the D flip-flop 6228. Multiple scan outputs allow users of various fault diagnosis algorithms to determine the specific location of a defect. The scan path 6900 of the scan chain is illustrated using dashed lines, similar to the above reference. Figure 2A Similar to the discussion.
[0056] Figure 7 is a schematic diagram of a scan structure with shared functional triggers according to some embodiments. Figure 7 The examples in Figure 2A , except that the intra-die flip-flops 7123, 7125, 7222, and 7224 are "shared function flip-flops" rather than dedicated D flip-flops. The shared function flip-flops are used during scan chain testing and are also used by functional circuits within one of the dies that perform operations other than scan chain testing. The D flip-flops 7123 and 7125 are part of the functional circuit 7810 in the upper die. The D flip-flops 7222 and 7224 are part of the logic unit 7820 in the lower die. The intra-die flip-flops 7123, 7125, 7222, and 7224 are not dedicated to scan chain testing. Instead, each flip-flop 7123, 7125, 7222, and 7224 is contained in a separate logic circuit (e.g., in its own logic unit 7810 and 7820, respectively). From a functional perspective, it is generally possible to use shared flip-flops during scan chain testing and during normal operation, but providing dedicated flip-flops for scan chain testing can simplify wiring in some IC designs. For example, in some embodiments, Figure 7 The shared flip-flops shown in can be used to reduce die size. Figure 7 The scan path 7900 of the scan chain is shown using dotted lines and includes flip-flops 7221, 7121, 7122, 7222, 7223, 7123, 7124, 7224, 7225, 7125, 7126, 7226, 7227, 7127, 7228, and 7128 in sequence.
[0057] Figure 8 is a schematic diagram of a scan structure with a level shifter according to some embodiments. Figure 8 The examples in Figure 4Similar to the embodiment in FIG. 8900 , the upper die 8100 has four D flip-flops 8121, 8122, 8123, and 8124 for receiving inputs from scan flip-flops 8221, 8222, 8223, and 8224 in the lower die 8200, respectively; the upper die 8100 has one scan flip-flop 8125 for sending signals to the D flip-flop 8225 in the lower die 8200. The scan path 8900 is similar to the embodiment in FIG. 8900 . Figure 4 8100 and 8200. The schematic diagram is similar to the scan path 4900 in the upper die and includes triggers 8221, 8121, 8222, 8122, 8223, 8123, 8224, 8124, 8125 and 8225. The difference is that eight level converters 8401, 8402, 8403, 8404, 8405, 8405, 8407 and 8408 are inserted along the scan path 8900 in the connector between the upper die and the lower die. Although the schematic diagram shows level converters 8401-8408 between the die 8100 and 8200, separate level converters can also be included in the upper die 8100 and / or the lower die 8200. The implementation of the level converter between the upper die and the lower die allows the inclusion of dies with two or more different voltage levels in the same 3DIC. When the upper die and the lower die implement different technologies, their voltage levels may be different. According to some embodiments, upper dies and lower dies of different technologies may be stacked in the same 3DIC via a level shifter. The level shifter may be included in FIG. Figure 7 The scan path 8900 of the scan chain is illustrated using dashed lines and includes flip-flops 8221, 8121, 8222, 8122, 8223, 8123, 8224, 8124, 8125, and 8225.
[0058] Fig.9A FIG. 9 is a schematic diagram of a scan structure with on-chip scan chain test data generation and comparison according to some embodiments. Figure 3 Similar to the embodiment in FIG. 1 , there are eight flip-flops 9121, 9122, 9123, 9124, 9125, 9126, 9127, and 9128 in the upper die 9100 and eight flip-flops 9221, 9222, 9223, 9224, 9225, 9226, 9227, and 9228 in the lower die 9200. The test and clock control unit 9210 is different from the test and clock control units 3110 and 3210. In accordance with some embodiments, the scan receiving test (such as the one in FIG. 1 ) from the upper die and the lower die outside 3301 is performed. Figure 3Unlike the example shown in FIG. 9 , the test pattern is generated inside the test and clock control unit 9210 in the die, including the first trigger in the scan chain shift pattern (e.g., the lower die 9200 in the example of FIG. 9 ). The scan chain test data sequence is generated on the chip and then transmitted to the first trigger through the interconnect 9301. Then, a scan path similar to the scan path 3900 is followed, and the scan output 9310 is transmitted to the test and clock control unit 9210, where it can be compared on the chip. According to some embodiments, on-chip test generation and comparison facilitates scan chain testing without the need for external test generation and comparison. In other embodiments, external test generation and comparison can shorten the time for test generation and comparison. On-chip test generation and comparison can be implemented in FIGS. 1 to 13 . Figure 8 The scan path 9900 of the scan chain is shown using dashed lines and includes flip-flops 9221, 9121, 9122, 9222, 9223, 9123, 9124, 9224, 9225, 9125, 9126, 9226, 9227, 9127, 9128, and 9228.
[0059] Fig. 9B is a schematic diagram of a test pattern generator for on-chip test generation according to some embodiments. D flip-flop 901 has output 902, which is fed to the input of inverter 903. The output 904 of the inverter is fed back to the input of D flip-flop 901. Output 902 can be used as Fig.9A 9301 in the scan input. In other embodiments, other test pattern generators are used.
[0060] Fig. 9C Schematic diagram of a test response comparison unit for on-chip test generation and comparison according to some embodiments. Scan output 910 is fed to comparator 907 via counter 905 as input 906. Another input 909 of comparator 907 is calculated based on the scan length and the generated pattern. The values of input 906 and input 909 are compared in comparator 907, and output 908 indicates whether the 3DIC passes the scan chain test.
[0061] Figure 1 to Fig. 9C The embodiments in the foregoing may be combined with each other, and the inclusion of one embodiment does not exclude another embodiment. Although the above example includes two dies to simplify the description, the methods and structures described therein may be applied to a 3DIC including more than two dies (eg, four, six, or eight dies).
[0062] Fig.10 is a schematic diagram of a determination cycle built-in self-test structure according to some embodiments. Fig.10The embodiment in FIG. 9A is similar to the embodiment in FIG. 9A. The upper die 10100 is stacked on top of the lower die 10200. According to some embodiments, the upper die 10100 applies eight flip-flops (10121, 10122, 10123, 10124, 10125, 10126, 10127, and 10128), and the lower die 10200 has eight flip-flops (10221, 10222, 10223, 10224, 10225, 10226, 10227, and 10228). The eight flip-flops in the upper die 10100 and the eight flip-flops in the lower die 10200 are as follows: Fig.9A The test and clock control unit 10110 in the upper die 10100 is interconnected in a manner similar to the flip-flops shown in FIG. Fig.9A The eight flip-flops in the upper die are connected in a similar manner as shown in . Fig.10 The difference from FIG. 9A is in the lower die 10200. The output 10255 of the eighth flip-flop 10228 in the lower die 10200 is connected to the inverter 10230. The output signal from the flip-flop 10228 is inverted by the inverter 10230 and then transmitted to two different locations: first, the inverted signal 10251 is transmitted back to the input of the first flip-flop 10221 in the lower die 10200; second, the inverted signal 10251 is transmitted to the analyzer unit 10213 in the lower die 10200.
[0063] The test and clock control unit 10110 in the upper die 10100 is connected to the test and clock control unit 10211 in the lower die 10200. The phase-locked loop (PLL) unit 10212 controls the clock and control unit 10211. The output of the clock and control unit 10211 is also transmitted to the analyzer unit 10213 in the lower die 10200. The clock and control unit 10211 transmits the clock signal to each of the eight flip-flops in the lower die 10200. The clock and control unit 10211 also transmits the set and reset signals to each of the eight flip-flops in the lower die 10200. The set and reset signals are implemented to initialize the flip-flops. The analyzer unit 10213 receives signals from the flip-flop scan chain and the clock and control unit 10211 to perform analysis tasks to diagnose the type of faults in the flip-flop scan chain and find the location of the faults therein. Scan path 10900 includes a set of continuously connected latches and interconnects between and within the die for shifting data from scan input to scan output. According to some embodiments, scan path 10900 includes flip-flop 10221, interconnect 10301, flip-flop 10121, connection 10151, flip-flop 10122, interconnect 10302, flip-flop 10222, connection 10252, flip-flop 10223, interconnect 10303, flip-flop 10123, connection 10152, flip-flop 10124, interconnect 10304, flip-flop 10224, connection 10253, flip-flop 10225, interconnect 10305, flip-flop 10125, connection 10153, flip-flop 10126, interconnect 10306, flip-flop 10226, connection 10254, flip-flop 10227, Interconnect 10307, flip-flop 10127, connection 10154, flip-flop 10128, interconnect 10308, flip-flop 10228, output 10255, inverter 10230 that inverts the output signal, and connection 10251 that feeds the inverted output to the input of the first flip-flop 10221 to form a scan path. Details of the analysis and diagnosis steps will be discussed below.
[0064] Fig.111 is a block diagram of a deterministic loop built-in self-test structure according to some embodiments. The deterministic loop built-in self-test structure 11000 includes a plurality of interconnected segments, which are labeled as interconnection segment 1 (11100) to interconnection segment X (11200). The deterministic loop built-in self-test structure 11000 also includes a multiplexer 11300, a first counter unit 11301 for counting the number of persistent conflicts, a second counter unit 11302 for counting the number of set conflicts, and a comparison unit 11303 for comparing the output of the first counter unit 11301 with the output of the second counter unit 11302. According to some embodiments, a persistent conflict occurs when a flip-flop holds an old value and cannot change from 1 to 0 or from 0 to 1 when it should change. According to some embodiments, a set conflict occurs when new data arrives at the flip-flop earlier than a predetermined time. The deterministic cycle built-in self-test structure 11000 further includes a control logic unit 11304, a test access port (TAP) unit 11305, a phase-locked loop (PLL) unit 11306, a clock controller 11307, and a single pulse unit 11308. The TAP unit 11305 is connected to a JTAG bus. According to IEEE Standard 1149.1, the JTAG bus is a standard test access port and boundary scan structure.
[0065] The first interconnection segment 11100 includes a first multiplexer 11101, a second multiplexer 11102, a plurality of flip-flops 11103, 11104, 11105, 11106, 11107, 11108, 11109, 11110, and a diagnostic unit 11111. According to some embodiments, a first input 11101A of the first multiplexer 11101 is connected to a scan input signal 11309, and a second input 11101B of the first multiplexer 11101 is connected to second inputs of all subsequent interconnection segments until a second input 11201B of the first multiplexer 11201 of an Xth interconnection segment 11200. The output of the first multiplexer 11101 is connected to the first input 11102A of the second multiplexer 11102, and the second input 11102B of the second multiplexer 11102 is connected to the QB (QB stands for "Q bar", the inversion of Q) output of the last flip-flop 11110QB. The output 11102C is connected to the D input 11103D of the first flip-flop 11103, and the Q output 11103Q is connected to the D input 11104D of the subsequent flip-flop 11104. The Q output of each flip-flop is connected to the D input of the subsequent flip-flop in a similar manner. The clock signal 11112 provides a clock signal to each flip-flop 11103, 11104, 11105, 11106, 11107, 11108, 11109, and 11110. The output 11110Q of the last flip-flop 11110 is transmitted as an input to the multiplexer 11300. The output 11110Q of the last flip-flop 11110 in the first interconnection segment 11100 is also connected to the first input of the first multiplexer in the second interconnection segment (not shown in the figure). The diagnostic unit 11111 also includes an OR gate 11111A as a set detector and an XOR gate 11111B as a persistence detector. The detailed operation of the OR gate 11111A as a set detector and the XOR gate 11111B as a persistence detector is described in detail in Fig.21 and 22 discussed in.
[0066] All subsequent interconnection segments up to interconnection segment X 11200 are configured in a similar manner to interconnection segment 111100. The second inputs of the first multiplexers of the plurality of interconnection segments 1 to X are connected together. The Q output of the last flip-flop in each of the plurality of flip-flops is transmitted as an input to multiplexer 11300 in a manner similar to 11110Q. The output of the diagnostic unit is also connected to multiplexer 11300 in a manner similar to diagnostic unit 11111. The Q output of the last flip-flop of each interconnection segment (except the last interconnection segment X) is connected to the first input of the first multiplexer in the subsequent interconnection segment.
[0067] Output 11300A is transmitted to the first counter unit 11301 and the second counter unit 11302 to respectively count the continuous fault and the set fault. The outputs of the first counter unit 11301 and the second counter unit 11302 are transmitted to the comparison unit 11303 for comparison to determine whether the test is passed; Fig.23 The test is discussed in detail in the description of step 2303 in . The output 11300B of the multiplexer 11300 is transmitted to the control logic unit 11304 for further processing. The clock control unit 11307 provides a first control signal 11307A for controlling the single pulse unit 11308 by connecting to the clock input of the flip-flop in a similar manner to the clock signal 11112, and provides a second control signal 11307B for providing a clock signal for all interconnected segments. The third clock signal 11307C controls the first counter 11301 and the second counter 11302.
[0068] The control logic unit 11304 provides start and stop signals 11304A to control the start and stop of the clock controller unit 11307. The control logic unit 11304 provides a diagnostic signal 11304B, which is connected to the selector signal of the first multiplexer in each interconnect segment for setting and continuous diagnostics. The details of the setting and continuous diagnostics are discussed in the following figure. The control logic unit 11304 provides set and reset signals 11304C to the single pulse unit 11308, the first counter unit 11301, the second counter unit 11302, and each flip-flop in each interconnect segment. The control logic unit 11304 also provides a selector signal 11304D to control the selector of the second multiplexer in each interconnect segment. In addition, the control logic unit 11304 is also connected to the first counter unit 11301, the second counter unit 11302, and the TAP unit 11305. The PLL unit 11306 accepts an external slow clock to control the clock controller 11307.
[0069] Fig.12 1 is a schematic diagram of a fault-free circuit of four flip-flops according to some embodiments and a corresponding logic table. According to some embodiments, there are four flip-flops 1201, 1202, 1203, and 1204 in interconnect segment 1205. According to some embodiments, interconnect segment 1205 is Fig.111201 is the first interconnection segment. The output 1201Q (Q1) of the first flip-flop 1201 is connected to the D input 1202D of the second flip-flop 1202, the output 1202Q (Q2) is connected to the D input 1203D of the third flip-flop, the Q output 1203Q (Q3) is connected to the D input 1204D of the fourth flip-flop, and the Q output of the fourth flip-flop 1204 is 1204Q (Q4). The QB output 1204QB of the fourth flip-flop 1204 is connected to the D input of the first flip-flop 1201. QB represents the inversion of Q-bar or Q. The set signals "S" of all four flip-flops are connected to the set signal 11304C of the control logic unit 11304, as shown in FIG. Fig.11 Likewise, the reset signals "R" of all four flip-flops are connected to the reset signal 11304C of the control logic unit 11034, as shown in FIG. Fig.11 The clocks of all flip-flops are controlled by the clock signal 11307B of the clock controller unit 11307, as shown in FIG. Fig.11 shown.
[0070] According to some embodiments, the circuit implemented by flip-flops 1201 to 1204 is a fault-free circuit. According to some embodiments, Table 120 is used to illustrate the Q output values of flip-flops 1201 to 1204 under the conditions of clock cycles 0, 1, 2, 3, 4, 5, 6, 7, and 8. According to some embodiments, for a circuit with N flip-flops, it takes 2N clock cycles to return to its initial state, so this circuit is a finite state machine with 2N states. Fig.12 In Table 120, N=4, so 2N=8. Therefore, the circuit with 4 flip-flops is a finite state machine with 8 states. In Table 120, for each clock cycle from 0 to 8, there are 4 Q values corresponding to the Q outputs of the flip-flops: Q1, Q2, Q3, and Q4. In clock cycle 0, all Q values are 0; in clock cycle 8, this circuit returns to the initial state where all Q values are equal to 0. In clock cycle 1, the value 1 is shifted out at Q1; in clock cycle Q2, the value 1 is shifted out at Q1 and A2; in clock cycle 3, the value 1 is shifted out at Q1, Q2, and Q3; in clock cycle 4, the value 1 is shifted out at all Qs from Q1 to Q4. In clock cycle 4, four values 1 are shifted into the fault-free circuit 1205. Since there is no fault in circuit 1205, it takes another 4 cycles for the circuit to return to the initial state where all Q values are equal to 0. During clock cycles 0 to 8, the output sequence of Q4 is as follows: 0, 0, 0, 0, 1, 1, 1, 1, 0, as shown in the last column labeled Q4 in Table 120. The numbers 0 and 1 play a key role in determining the fault state of the flip-flops in interconnect segment 1205. According to some embodiments, for a non-faulty circuit with N flip-flops (2N cycles), there are N 1s and N 0s at the Q output of the last flip-flop. Fig.12 In the example of a fault-free circuit, there are 4 0s and 4 1s in the 8 cycles of Q4 data.
[0071] Fig.13 is a circuit schematic diagram and corresponding logic table with a stuck-on-1 fault in the first position of four flip-flops according to some embodiments. Fig.13 Shown with Fig.12 A similar configuration, where the interconnect 1305 includes four flip-flops 1301 , 1302 , 1303 , and 1304 . Fig.13 and Fig.12 The difference is the stuck-at-1 (SA1) fault at the first flip-flop 1301, such as Fig.13 SA1 is shown. SA1 fault may be at D1, between D1 and Q1, or at Q1. The "reset" signal resets the output of the flip-flop to 1 at the appropriate clock cycle.
[0072] Similarly, Table 130 shows the Q output states of flip-flops 1301 to 1304 under clock cycles 0 to 8. When the circuit has a fault, such as Fig.12 As shown, the circuit is no longer a finite state machine, and the circuit does not return to its initial state after 2N cycles. Under the conditions of clock cycles 1 to 8, the number of 1s and 0s in the Q4 output is no longer equal. According to some embodiments, for 2N cycles, there are N-1 0s and N+1 1s in the Q4 output. As shown in Table 130, since the flip-flop 1301 has an SA1 fault, the Q output value Q1 is "fixed" to 1, which propagates to the next flip-flop in the next clock cycle. For the remaining 8 clock cycles, the Q1 value remains at 1. Once Q2 reaches 1, 1 is also propagated to the next flip-flop after another clock cycle. Finally, the value 1 reaches Q4, and since Q1 is "fixed" to 1, it keeps Q2, Q3, and Q4 at the value 1 after 4 clock cycles. After 8 clock cycles, the number of 1s is 4+1=5, and the number of 0s is 4-1=3.
[0073] Fig.14 is a circuit schematic diagram and corresponding logic table having a stuck-on-1 fault in the second position of four flip-flops according to some embodiments. Fig.14 Another similar configuration 1405 is shown, having four flip-flops 1401, 1402, 1403, and 1404, and Fig.14 and Fig.13 The difference is Fig.14 The second position has a fixed 1 fault.
[0074] The difference between table 140 and 130 is that in table 130, Q1 is fixed to 1 for all 8 clock cycles, while in table 140, Q2 is fixed to 1 for all 8 clock cycles. According to some embodiments, after 2N clock cycles, there are N-2 0s and N+2 1s at the Q4 output. Fig.13 resemblance, Fig.14 The configuration in is also not a 2N finite state machine. According to some embodiments, when N=4, there are two (4-2=2) 0s and six (4+2=6) 1s in the Q4 output.
[0075] Fig.15 FIG. 1 is a circuit diagram and corresponding logic table of a circuit having a stuck-on fault in the third position of four flip-flops according to some embodiments. Another stuck-on fault in the third position is as follows Fig.15 As shown, interconnection segment 1505 has a similar configuration and includes four flip-flops 1501, 1502, 1503, and 1504. The difference between Table 150 and Table 130 is that the Q3 value is fixed to 1 for all eight clock cycles. According to some embodiments, for 2N clock cycles, there are N-3 0s and N+3 1s in the Q4 output data. Interconnection segment configuration 1505 is not a finite state machine, and the circuit does not return to its initial state. When N is equal to 4 (such as Fig.15 As shown), in Table 150, Q4 has 1 (4-3=1) 0 and seven (4+3=7) 1s.
[0076] Fig.16 FIG. 1 is a circuit diagram and corresponding logic table of a circuit having a stuck-on 1 fault in the fourth position of four flip-flops according to some embodiments. Another stuck-on 1 fault is as follows Fig.16 As shown in the fourth position in FIG. 16 , interconnection segment 1605 has a similar configuration and includes four flip-flops 1601, 1602, 1603, and 1604. The difference between Table 160 and Table 130 is that the Q4 value is fixed to 1 in all eight clock cycles. According to some embodiments, for 2N clock cycles, there are N-4 0s and N+4 1s in the Q4 output data. Interconnection segment configuration 1605 is not a finite state machine, and the circuit does not return to its initial state. When N is equal to 4 (as shown in FIG. 16 ), Q4 in Table 160 has 0 (4-4=0) 0s and eight (4+4=8) 1s.
[0077] In summary, for a fault-free flip-flop chain of length N, the number of 0s and 1s is equal after 2N clock cycles. When the flip-flop chain is initialized to all 0s (called "reset"), after 2N cycles, if the number of 1s in the output of the last flip-flop is greater than the number of 0s, it can be concluded that there is a stuck-on-1 fault in the flip-flop chain path. The location of the stuck-on-1 fault can be further determined by the number of 1s observed at the last flip-flop (QN, the Q output of the Nth flip-flop). If the number of 1s is 2N, the stuck-on-1 fault is located at the input of the last (or Nth) flip-flop in the flip-flop chain; if the number of 1s is 2N-1, the stuck-on-1 fault is located at the input of the (N-1)th flip-flop; if the number of 1s is 2N-2, the stuck-on-1 fault is located at the input of the (N-2)th flip-flop; if the number of 1s is N+1, there is a stuck-on-1 fault or there is a setup conflict in the first flip-flop of the flip-flop scan chain.
[0078] If the number of 1s is less than the number of 0s, there is a setup / hold conflict in the trigger chain. A hold conflict occurs when a trigger holds an old value and fails to change from 1 to 0 or 0 to 1 when it should. A setup conflict occurs when new data arrives at a trigger earlier than expected.
[0079] When the number of 0s is equal to 2N, there is a stuck-at-0 fault in the flip-flop scan chain. The location of the stuck-at-0 fault can be found by initializing the flip-flop scan chain to 0.
[0080] Fig.17 is a circuit diagram and corresponding logic table with a stuck-at-0 fault in the first position of four flip-flops according to some embodiments. Fig.13Similarly, interconnect segment 1705 includes four flip-flops 1701, 1702, 1703, and 1704. The first difference is that the "set" signal sets the output of the flip-flop to 0 at the appropriate clock cycle. The second difference is that the stuck-at-0 fault (rather than the stuck-at-1 fault) is located in the first flip-flop 1701. The structure of table 170 is similar to table 130. At clock cycle 0, all flip-flops are initialized to 1; at clock cycle 1, 0 is "set" to the first flip-flop 1701, and at each subsequent clock cycle, 0 is "set" to the other subsequent flip-flops in the chain. By comparing tables 130 and 170, it can be clearly seen that table 170 is the opposite of table 130, because when all 1s in table 170 are replaced with 0s and 0s are replaced with 1s, the result is the same as table 130, and vice versa. According to some embodiments, when the stuck-at-0 fault is located between the first flip-flop 1701 and the second flip-flop 1702, the corresponding table can be obtained by reversing table 140. According to the same logic, when the stuck-0 fault is located between the second trigger 1702 and the third trigger 1703 , the corresponding table can be obtained by inverting the table 150 ; when the stuck-0 fault is located between the third trigger 1703 and the fourth trigger 1704 , the corresponding table can be obtained by inverting the table 160 .
[0081] Similar to the method of determining the presence and location of a stuck-on-1 fault discussed above, a method of determining the presence and location of a stuck-on-0 fault is discussed below.
[0082] The first step is to determine the presence of a stuck-at-0 fault. When the number of 1s is less than the number of 0s, there is a stuck-at-0 fault in the flip-flop scan chain path. Then, the location of the stuck-at-0 fault can be further determined by the number of 0s observed at the last flip-flop. Similar to the setup discussed above, assuming there are N flip-flops in the scan chain, if the number of 0s is 2N, the stuck-at-0 fault is located at the input of the last flip-flop (or the Nth flip-flop); if the number of 0s is 2N-1, the stuck-at-0 fault is located at the input of the (N-1)th flip-flop in the scan chain; if the number of 0s is 2N-2, the stuck-at-0 fault is located at the input of the (N-2)th flip-flop in the scan chain; if the number of 0s is N+1, the stuck-at-0 fault is located at the input of the first flip-flop in the scan chain.
[0083] According to some embodiments, if the number of 1s is greater than the number of 0s, there is a stuck-on-1 fault and its location can be determined by initializing the scan chain to all 0s and then implementing Fig.16 The method discussed later was determined.
[0084] Fig.18is a circuit logic table of 7 flip-flops in a persistent fault according to some embodiments. A persistent conflict or persistent fault occurs when a flip-flop cannot hold data long enough (e.g. due to a delayed clock signal). In fact, a single flip-flop persistent conflict is equivalent to a scan chain that is one bit shorter, as shown below Fig.21 As shown. To detect a persistent conflict, the entire flip-flop scan chain of length N is initialized to all 0s, and then the test is run for 2N cycles. If the number of 1s observed on the last flip-flop is less than the number of 0s, there is a persistent fault (or set fault, as shown in Figure 19) in the flip-flop scan chain. In the example shown in Table 180, the flip-flop scan chain has 7 flip-flops (N=7). After 14 (2N) clock cycles, 6 1s and 8 0s are observed on the last (7th) flip-flop. Since the number of 1s (6) is less than the number of 0s (8), a possible persistent fault is detected in the flip-flop chain.
[0085] Fig.19 is a logic table of a circuit with 7 flip-flops in set failure according to some embodiments. A set conflict or set failure occurs when data in a flip-flop arrives earlier than the expected time. In fact, a single flip-flop set conflict is equivalent to a scan chain that is one bit longer, as follows Fig. 22 As shown. Use the above Fig.18 In a similar manner as discussed above, the entire flip-flop scan chain is initialized to 0, and after 2N clock cycles, if the number of 1s is less than the number of 0s, there is a set fault or a persistent fault in the scan chain. In the example shown in Table 190, the flip-flop scan chain has 7 flip-flops (N=7). After 14 (2N) clock cycles, 6 1s and 8 0s are observed on the last (7th) flip-flop. Since the number of 1s (6) is less than the number of 0s (8), a possible set fault is detected in the flip-flop chain. According to some embodiments, for persistent faults and set faults, Fig.18 and Fig.19 The method shown in produces the same result, therefore, after determining that the number of 1s is less than the number of 0s after 2N clock cycles of the last flip-flop, an additional step needs to be implemented to distinguish between setup faults and persisted faults.
[0086] According to some embodiments, a ring counter is a counter composed of circular shift registers. The output of the last shift register is fed to the input of the first register. The Johnson counter is an inverted ring counter. Figure 12-17 The interconnected segments shown are all Johnson counters, since QB (Q-bar, the inverse of the Q output) is fed to the input of the first flip-flop.
[0087] According to some embodiments, Johnson counters are implemented to diagnose setup and hold failures. According to some embodiments, a built-in self-test (BIST) based solution is implemented to meet scan-out timing and high-speed scan shift clock specifications.
[0088] Fig. 20 Schematic diagram of a fault-free on-chip scan chain with 7 flip-flops according to some embodiments and corresponding logic waveforms. According to some embodiments, seven flip-flops 2001 to 2007 are implemented in a flip-flop scan chain, and each flip-flop has a D input (e.g., 2001D), a Q output (e.g., 2001Q), a clock (2001CLK), and a reset (e.g., 2001CLR). In the last flip-flop, there is also a QB (Q-bar, the inversion of Q) signal for implementing a Johnson counter. The single pulse generator unit 2010 generates a clock signal for all flip-flops in the flip-flop scan chain, and line 200 connects the single pulse generator unit 2010 with the first flip-flop 2001, and connects each flip-flop and its successor (except the last one). Signal 2021 is a clock signal, and signal 2022 is a corresponding shift chain. Signal 2023 is an initial pulse signal generated by the single pulse generator unit 2010. Signals 2024, 2025, 2026, 2027, 2028, 2029, and 2030 are corresponding pulse signals shifted along the flip-flop scan chain paths. Fig. 20 A fault-free flip-flop scan chain is shown. There are no faults in the scan chain and there is only one flip-flop holding a 1 value in any clock cycle.
[0089] Fig.21 FIG. 1 is a schematic diagram of an on-chip scan chain with seven flip-flops having continuous conflicts and corresponding logic waveforms according to some embodiments. According to some embodiments, Fig.21 Shown with Fig. 20 Similar configuration as shown in Fig.21 The third flip-flop in has a persistent fault. As discussed above, a scan chain with a persistent fault is equivalent to a scan chain that is one bit shorter. Fig. 20 Similar to the description of , signal 2121 is a clock cycle signal and signal 2122 is a shift signal. Signals 2123 to 2130 are signals observed at flip-flops 2101 to 2107. Signal 2131 is the logical XOR of signals 2123 to 2130. There is an overlap between signal 2126 and signal 2127. Accordingly, XOR signal 2131 generates a pulse at the corresponding position and the shift counter is frozen at this signal. Therefore, the value of the shift counter determines the position of the flip-flop with a persistent fault (i.e., the third flip-flop). According to some embodiments, a longer flip-flop scan chain can be divided into shorter chains that overlap one flip-flop to reduce the XOR tree timing impact.
[0090] Fig. 22 FIG. 1 is a schematic diagram of a scan chain on a chip with seven triggers having conflicting settings and corresponding logic waveforms according to some embodiments. According to some embodiments, Fig. 22 Shown with Fig. 20 Similar configuration, except that the fourth flip-flop has a set fault. As discussed above, a scan chain with a set fault is equivalent to a scan chain that is one bit longer. Fig. 20 Similar to the discussion in , signal 2221 is a clock cycle signal and signal 2222 is a shift signal. Signals 2223 to 2230 are signals observed by flip-flops 2201 to 2207. Signal 2231 is a logical OR of signals 2223 to 2230. Between signal 2226 and signal 2227, OR signal 2231 generates a pulse at a corresponding position, and the shift counter is frozen at the signal. Therefore, the value of the shift counter determines the position of the flip-flop with a set fault (i.e., the third flip-flop). According to some embodiments, Fig.21 Similar to the discussion in , a longer flip-flop scan chain can be broken into shorter chains that overlap one flip-flop to reduce the OR tree timing impact.
[0091] Fig.23 is a flow chart showing a method for determining a loop built-in self-test structure according to some embodiments. According to some embodiments, Fig.23 The flowchart in FIG. 1 summarizes the discussion of the above method. According to some embodiments, determining the cyclic built-in self-test method in Fig.11 The circuit structure shown is implemented.
[0092] According to some embodiments, at step 2301, Fig.11The determined cycle built-in self-test circuit 11100 in the embodiment of the present invention is switched to a pass / fail mode by the control logic unit 11034. In step 2302, the control logic unit 11304 selects the interconnect segment under test by controlling the multiplexers 11102B to 11202B. Once the interconnect segment, such as the interconnect segment 11100, is selected, the determined cycle self-test is run by initializing all flip-flops in the scan chain to 0 in step 2303. Then, 1s are continuously shifted for 2N clock cycles, where N is the number of flip-flops in the scan chain of the interconnect segment. In step 2304, the number of 1s and the number of 0s observed on the last flip-flop are compared to determine whether the test result is a pass or a fail. In step 2305, if the number of 1s and 0s is equal, no fault is detected and the selected interconnect segment is a fault-free circuit. If the number of 1s and 0s is not equal, in step 2306, the circuit 11100 is switched to the diagnostic mode and a stuck-on 1 fault or a stuck-on 0 fault is determined. In step 2307, if the number of 1s is greater than the number of 0s, there is a stuck-on-1 fault in the path of the selected interconnect segment. In step 2308, the location of the stuck-on-1 fault is determined. In step 2309, if the number of 0s is equal to 2N, there is a stuck-on-0 fault in the scan chain of the selected interconnect segment. In step 2310, the location of the stuck-on-0 fault is determined. In step 2309, if the number of 1s is less than the number of 0s, there is a set fault or a persistent fault. Then, in step 2311, the method determines whether there is a set fault or a persistent fault in the scan chain. In step 2311, the scan chain is initialized to 1 and 0s are continuously shifted for 2N clock cycles, where N is the number of flip-flops in the scan chain of the interconnect segment. The number of 1s and the number of 0s observed on the last flip-flop are compared. The diagnostic unit 11111 is activated to detect the fault according to the detection result. Fig.21 and Fig. 22 The method shown in FIG. 23 determines whether there is a setup fault or a persistent fault. In step 2312, by using OR gate 11211A, a non-zero output signal on OR gate 11211A generates the location of the setup fault; in step 2313, by using XOR gate 11211B, a non-zero output signal on XOR gate 11211B generates the location of the persistent fault. According to some embodiments, Fig.11 The above steps are repeated for each interconnect segment in circuit 11100 to determine the type of faults and the location of each fault in each interconnect segment.
[0093] Different embodiments using the concepts provided herein can use clock synchronization with a single clock speed to ensure that shift testing does not require complex synchronization of two clocks or full-speed conversion generation. The present method allows a single pass stream to be used for DC and AC testing. The present method can provide actual functional inter-die connections (i.e., connections used during operations other than scan chain testing) as part of scan chain shift testing. Embodiments of the present disclosure are applicable to designs with a large or small number of interconnects. Although the above examples are described using a 3DIC with hybrid bonding, the structures and methods described herein can be applied to any 3DIC and any 2.5D IC (with an interposer).
[0094] In some embodiments, the device includes a first die and a second die stacked below the first die, the first die and the second die are interconnected. At least one of the first die or the second die has a circuit for performing a function and providing a functional path. Each of the first die and the second die includes a plurality of latches and a plurality of multiplexers, the plurality of latches including a latch corresponding to each interconnect. Each multiplexer is connected to a corresponding one of the plurality of latches and is configured to receive and select a scan test pattern or signal from the functional path to output during a scan chain test of the first die and the second die.
[0095] In some embodiments, the device includes a first die and a second die stacked below the first die. At least one of the first die or the second die includes a level converter and the first die is interconnected with the second die. At least one of the first die or the second die has a circuit that performs a function. The circuit has a functional path. Each of the first die and the second die includes a plurality of first latches and a plurality of first multiplexers, and the plurality of first latches include a corresponding latch corresponding to each interconnection. Each multiplexer is respectively connected to a corresponding one of the plurality of latches and is configured to receive and select a scan test pattern or signal from the functional path to be output during a scan chain test of the first die and the second die.
[0096] In some embodiments, a testing method includes configuring at least one multiplexer, the multiplexer being used to select a test path or a functional path to be included in a scan chain path during a scan chain test of a stack comprising a first die and a second die, the first die and the second die being interconnected, at least one of the first die or the second die having a circuit to perform a function and to include the functional path. A clock of the first die is synchronized with a clock of the second die. A test pattern is transmitted into the scan chain path. The transmission is repeated at multiple clock frequencies to check for DC and AC defects in the stack.
[0097] According to some embodiments of the present invention, a device is provided, comprising: a first die; and a second die stacked under the first die, wherein an interconnection is provided between the first die and the second die, and at least one of the first die or the second die has a circuit for performing a function and providing a functional path, wherein each of the first die and the second die comprises: a plurality of latches, including a corresponding latch corresponding to each of the interconnections; and a plurality of multiplexers, each multiplexer being connected to a corresponding one of the plurality of latches and a corresponding functional path, and being configured to receive and select a scan test pattern or signal from the functional path for output during a scan chain test of the first die and the second die.
[0098] In the above device, the plurality of latches in the first die and the second die include D flip-flops.
[0099] The above device further includes: a plurality of level converters for changing the amplitude of a signal transmitted between the first die and the second die.
[0100] In the above device, a corresponding one of the plurality of multiplexers is connected to alternating latches of the plurality of latches in the first die.
[0101] In the above device, a corresponding one of the multiplexers in the first die is connected to non-adjacent latches of the multiple latches in the first die or the second die, respectively.
[0102] In the above device, the first die has a first clock, and the second die has a second clock, and the first clock and the second clock are synchronized with each other.
[0103] In the above device, a corresponding one of the multiple multiplexers receives an input from a corresponding one of the multiple latches in the first die, receives another input from a functional path in the first die, and transmits an output to a corresponding one of the multiple latches in the second die.
[0104] In the above device, one of the multiple latches in the first die is connected to output a signal to one of the multiple multiplexers in the second die, and receives an input signal from an adjacent latch of the multiple latches in the first die, wherein the adjacent latch does not output a signal to any of the multiple multiplexers in the second die.
[0105] In the above device, the plurality of latches in the first die and the second die are of different types.
[0106] In the above-mentioned device, the multiple latches include a subset of the multiple latches, each latch in the subset transmits a signal from one of the first die and the second die to a corresponding latch in the other of the first die and the second die, and each latch in the subset is connected to the first input of a corresponding one of the multiple multiplexers.
[0107] In the above device, the plurality of latches are connected in a chain, the chain has a first scan chain output, and the output of at least one latch except the last one of the plurality of latches is transmitted to a second scan chain output.
[0108] In the above device, two or more multiplexers of the plurality of multiplexers have taps for outputting signals from the device.
[0109] In the above device, at least one second scan chain output signal is transmitted to a test control unit of the first die or the second die.
[0110] In the above device, the plurality of latches include a first number of latches located in the first die and a second number of latches located in the second die, wherein the first number and the second number are different from each other.
[0111] In the above-mentioned device, the multiple latches include latches in the first die that are not connected to the corresponding multiplexer or functional path, and the latches that are not connected to the corresponding multiplexer or functional path are configured to transmit signals to the corresponding latches in the second die through pseudo connections used during scan chain testing.
[0112] According to some other embodiments of the present invention, a device is also provided, including: a first die; and a second die stacked under the first die, at least one of the first die or the second die includes a level converter and there is an interconnection between the first die and the second die, at least one of the first die or the second die has a circuit for performing a function, and the circuit has a functional path, wherein each of the first die and the second die includes: a plurality of latches and a plurality of multiplexers, the plurality of latches including corresponding latches corresponding to each of the interconnections, each multiplexer is connected to a corresponding latch of the plurality of latches and a corresponding functional path, and is configured to receive and select a scan test pattern or signal from the functional path to be output during a scan chain test of the first die and the second die.
[0113] In the above device, the level converter that outputs the signal to the first die increases the amplitude of the signal output to the first die.
[0114] In the above device, the level converter that outputs the signal to the second die reduces the amplitude of the signal output to the second die.
[0115] In the above device, the first die and the second die are configured to operate at different operating voltages.
[0116] According to some other embodiments of the present invention, a device is also provided, including: a first die having a plurality of first latches arranged thereon, wherein one of the plurality of first latches is operably connected to an adjacent one of the plurality of first latches; and a second die having a plurality of second latches arranged thereon, wherein one of the plurality of second latches is operably connected to an adjacent one of the plurality of second latches, wherein each latch of the plurality of first latches on the first die corresponds to a latch of the second plurality of latches on the second die, wherein each group of corresponding latches is operably connected, and wherein a scan path includes a closed loop containing each of the plurality of first latches and a plurality of second latches, wherein one of the plurality of second latches is operably connected to another of the plurality of second latches through an inverter.
[0117] In the above device, the second die further includes a clock and control unit.
[0118] In the above device, the second die further includes a phase-locked loop unit.
[0119] In the above device, the second die further includes an analyzer unit.
[0120] According to some further embodiments of the present invention, a method is also provided, comprising the following steps: selecting an interconnect segment having a plurality of latches, wherein one latch among the plurality of latches is operably connected to another latch among the plurality of latches through an inverter; performing a first test on the selected interconnect segment: if the selected interconnect segment passes the first test, displaying a description that the selected interconnect segment is fault-free; if the selected interconnect segment fails the first test: performing a second test on the plurality of latches in the selected interconnect segment: if the plurality of latches fails the second test, determining whether the fault is a fixed-1 fault or a fixed-0 fault; and determining the location of the fault.
[0121] In the above method, the first test on the selected interconnect segment also includes: initializing all latches in the interconnect segment to 0; continuously shifting 1 to the latches in the interconnect segment within 2N clock cycles, where N is the number of latches in the interconnect segment; and comparing the number of 1s and the number of 0s observed in the last latch.
[0122] In the above method, it also includes determining whether there is a setup fault or a persistent fault.
[0123] In the above method, the determining whether there is a setup fault or a persistent fault also includes: initializing all latches in the interconnect segment to 1; continuously shifting 0 to the latches in the interconnect segment within 2N clock cycles, where N is the number of latches in the interconnect segment; comparing the number of 1s and the number of 0s observed in the last latch; performing an OR operation in all latches; and performing an XOR operation in all latches.
[0124] The foregoing summarizes the features of multiple embodiments so that those skilled in the art can better understand the various aspects of the present disclosure. Those skilled in the art will understand that they can easily use the present disclosure as a basis for designing or modifying other processes or structures to achieve the same purposes and / or achieve the same advantages as the embodiments introduced herein. Those skilled in the art should also be aware that such equivalent structures do not depart from the spirit and scope of the present disclosure, and that they can make various modifications, substitutions and changes without departing from the spirit and scope of the present disclosure.
Claims
1. An electronic device comprising: a first die having a first plurality of latches disposed thereon, wherein one of the first plurality of latches is operably connected to an adjacent one of the first plurality of latches; and a second die having a second plurality of latches disposed thereon, wherein one of the second plurality of latches is operably connected to an adjacent one of the second plurality of latches, wherein each latch of the first plurality of latches on the first die corresponds to one latch of the second plurality of latches on the second die, wherein each set of corresponding latches is operably connected, and Wherein the scan path comprises a closed loop including each of the first plurality of latches and the second plurality of latches, wherein one of the second plurality of latches is operably connected to another of the second plurality of latches through an inverter.
2. The device according to claim 1, wherein The second die also includes a clock and control unit.
3. The device according to claim 1, wherein The second die also includes a phase locked loop unit.
4. The device according to claim 1, wherein The second die also includes an analyzer unit.
5. The device according to claim 1, wherein The first plurality of latches and the second plurality of latches include D flip-flops.
6. The device according to claim 1, further comprising: A plurality of level shifters are used to change the amplitude of a signal transmitted between the first die and the second die.
7. The device according to claim 1, wherein The first die has a first clock, the second die has a second clock, and the first clock and the second clock are synchronized with each other.
8. The device according to claim 1, wherein The first plurality of latches in the first die and the second plurality of latches in the second die are not of the same type.
9. The device according to claim 1, wherein The first plurality of latches includes a subset of latches, each latch in the subset transmitting a signal from the first die to a corresponding latch in the second die.
10. The device according to claim 1, wherein: the first plurality of latches comprising a first number of latches; the second plurality of latches comprises a second number of latches; and The first number and the second number are different from each other.
11. An electronic device comprising: a first tube core; as well as a second die stacked below the first die, with interconnections between the first die and the second die, Wherein, each of the first tube core and the second tube core comprises: a plurality of latches including a respective latch corresponding to each of the interconnects; and a plurality of multiplexers, each multiplexer being connected to a corresponding one of the plurality of latches and a corresponding functional path, the functional path being a path in a functional circuit included in a corresponding die, wherein a corresponding multiplexer of the plurality of multiplexers in the first die is connected to a subset of latches within the plurality of latches in one of the first die and the second die, Among the plurality of latches, subsets of the latches are not adjacent to each other, wherein a scan path comprises a closed loop including each of the plurality of latches in the first die and the second die.
12. The device according to claim 11, wherein The plurality of latches in the first die and the second die include D flip-flops.
13. The device according to claim 11, wherein Corresponding ones of the plurality of multiplexers are connected to alternating ones of the plurality of latches in the first die.
14. The device according to claim 11, wherein A corresponding one of the multiple multiplexers receives one input from a corresponding one of the multiple latches in the first die, receives another input from a functional path in the first die, and sends an output to a corresponding one of the multiple latches in the second die.
15. The device according to claim 11, wherein One of the plurality of latches in the first die is connected to output a signal to one of the plurality of multiplexers in the second die and to receive an input signal from an adjacent latch of the plurality of latches in the first die, wherein the adjacent latch does not output a signal to any of the plurality of multiplexers in the second die.
16. The device according to claim 11, wherein The plurality of latches includes a subset of the plurality of latches, each latch in the subset transmitting a signal from one of the first die and the second die to a corresponding latch in the other of the first die and the second die, and each latch in the subset connected to a first input of a corresponding one of the plurality of multiplexers.
17. The device according to claim 11, wherein The plurality of latches are connected in a chain having a first scan chain output, and an output of at least one latch except a last latch of the plurality of latches is transferred to a second scan chain output.
18. The device according to claim 11, wherein Two or more of the plurality of multiplexers have tap portions for outputting signals from the electronic device.
19. The device according to claim 11, wherein The multiple latches include latches in the first die that are not connected to corresponding multiplexers or functional paths, and the latches that are not connected to the corresponding multiplexers or the functional paths are configured to transmit signals to corresponding latches in the second die through test connections used during scan chain testing.
20. An electronic device comprising: a first tube core; as well as a second die stacked below the first die, at least one of the first die and the second die comprising a level shifter and interconnections between the first die and the second die, Wherein, each of the first tube core and the second tube core comprises: a plurality of latches, including a respective latch corresponding to each of the interconnects, and a plurality of multiplexers, each multiplexer connected to a corresponding latch of the plurality of latches and a corresponding functional path and arranged to receive and select one of a signal from the functional path and a scan test pattern for output during a scan chain test of the first die and the second die, the functional path being a path in a functional circuit included in the corresponding die, wherein the plurality of latches in the first die include a first latch that is not connected to a multiplexer, and Wherein, the scan path includes a closed loop including each of the plurality of latches in the first die and the second die.
21. A method of operating an electronic device, comprising the steps of: selecting an interconnect segment having a plurality of latches, wherein one latch of the plurality of latches is operatively connected to another latch of the plurality of latches through an inverter; Perform the first test on the selected interconnect segment: If the selected interconnect segment passes the first test, displaying a description that the selected interconnect segment is fault-free; If the selected interconnect segment fails the first test: Then a second test is performed on the plurality of latches in the selected interconnect segment: If the plurality of latches fail the second test, determining whether the fault is a stuck-on-1 fault or a stuck-on-0 fault; and The location of the fault is determined.
22. The method according to claim 21, wherein: The first test on the selected interconnect segment further comprises: Initializing all latches in the interconnect segment to 0; successively shifting ones into latches in the interconnect segment over 2N clock cycles, where N is the number of latches in the interconnect segment; and Compare the number of 1s and the number of 0s observed in the last latch.
23. The method of claim 21, further comprising determining whether a setup fault or a persistent fault exists.
24. The method according to claim 23, wherein: The determining whether there is a setup fault or a persistent fault further comprises: Initializing all latches in the interconnect segment to 1; successively shifting 0s into latches in the interconnect segment over 2N clock cycles, where N is the number of latches in the interconnect segment; Compare the number of 1s and the number of 0s observed in the last latch; Perform an OR operation on all latches; and Perform an XOR operation on all latches.
