Integrated circuit and method for memory testing

By designing methods to bypass and enable error correction circuits in the memory, and using redundancy and ECC logic to detect and repair errors in the memory, the problem of conventional MBIST being unable to effectively detect and repair multiple errors is solved, improving efficiency Memory yield and reliability.

CN110993011BActive Publication Date: 2024-08-30ARM LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN201910922495.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-26
Publication Date
2024-08-30
Estimated Expiration
2039-09-26

AI Technical Summary

Technical Problem

Conventional memory built-in self-test (MBIST) cannot detect or repair multiple errors in memory, especially due to the lack of error correction coding (ECC) logic, resulting in insufficient RAM yields.

Method used

An integrated circuit and method are designed to utilize redundancy and ECC logic to correct multiple bit errors by receiving input data and bypassing error correction circuitry to detect individual errors or enabling error correction circuitry to repair errors in the data. , including 3-bit errors.

Benefits of technology

The yield rate of the memory is improved. By effectively utilizing redundancy and ECC logic to repair errors in the memory, the detection and repair capabilities of multi-bit errors are enhanced, and the reliability of the memory is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110993011B_ABST
    Figure CN110993011B_ABST
Patent Text Reader

Abstract

Various implementations described herein relate to an integrated circuit having a first circuit and a second circuit. The first circuit receives first input data and bypasses an error correction circuit to determine whether the first input data has one or more first errors. The second circuit receives second input data and enables the error correction circuit to determine whether the second input data has one or more second errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to memory testing technology. Background Art

[0002] This section is intended to provide information relevant to understanding the various technologies described herein. As implied by the title of this section, this is a discussion of related technologies that should not in any way imply that they are prior art. Generally, related technologies may or may not be considered prior art. Therefore, it should be understood that any statement in this section should be read from this perspective, rather than any admission of prior art.

[0003] Conventional memory built-in self-test (MBIST) can find some errors; however, other errors cannot be detected or repaired using MBIST because conventional MBIST does not use error correction coding (ECC) for other error repairs. Like this, it is necessary to improve memory testing, thereby effectively using MBIST and ECC logic to improve the yield of random access memory (RAM). Summary of the invention

[0004] In a first aspect of the present application, an integrated circuit is provided, which may include: a first circuit, receiving first input data, and bypassing an error correction circuit to determine whether the first input data has one or more first errors; and a second circuit, receiving second input data, and enabling the error correction circuit to determine whether the second input data has one or more second errors.

[0005] In a second aspect of the present application, a method is provided, which may include: receiving first input data and second input data; bypassing an error correction circuit to determine whether the first input data has one or more first errors; and enabling the error correction circuit to determine whether the second input data has one or more second errors.

[0006] In a third aspect of the present application, a method is provided, which may include: receiving full width data having a first number of bits, wherein the first number of bits includes a second number of bits and a third number of check bits for error correction coding (ECC); bypassing an error correction circuit to determine whether the full width data has one or more first errors; allowing the one or more first errors in the full width data to be repaired by using redundancy; receiving functional data having the second number of bits; enabling the error correction circuit to determine whether the functional data has one or more second errors; and allowing the one or more second errors in the functional data to be repaired by using error correction coding (ECC). BRIEF DESCRIPTION OF THE DRAWINGS

[0007] This document describes various technical implementations with reference to the accompanying drawings. However, it should be understood that the accompanying drawings only illustrate various implementations described herein and are not meant to limit the embodiments of the various technologies described herein.

[0008] Figure 1 A diagram of a memory circuit is shown in accordance with various implementations described herein.

[0009] Figures 2 to 6 A diagram of a memory testing circuit is shown in accordance with various implementations described herein.

[0010] Figures 7 and 8 A diagram illustrating a method for testing a memory according to various implementations described herein. DETAILED DESCRIPTION

[0011] Various implementations described herein are all related to and directed to various test schemes and technologies for memory applications. For example, various schemes and technologies described herein are directed to the memory built-in self-test (MBIST) used for effective redundancy and ECC to improve the yield rate of memory cells. Some MBIST tests determine some errors in the absence of ECC and use redundancy to repair some errors. In some instances, redundancy repair can refer to column and / or row redundancy repair. If there are still some errors after redundancy repair, MBIST usually determines this tested chip as a bad memory chip. Some of these errors can be repaired using ECC logic. It is expected that some errors can be repaired using ECC logic to improve the yield rate of RAM (for example, eMRAM). Therefore, various schemes and technologies described herein are directed to using MBIST for testing and using redundancy and ECC to repair. Therefore, in various implementations, for some errors, ECC correction can be used to correct (or repair) multiple bits, while still retaining one or more bits for ECC correction in other field errors (in-field error). To overcome the deficiencies of conventional MBIST techniques, the memory testing scheme and techniques described herein provide for building a memory system to interface with an MBIST controller to bypass ECC, enable and use ECC logic, and also detect 3-bit errors.

[0012] Now refer to Figures 1 to 8 Various implementations of memory test circuits for memory applications are described in greater detail.

[0013] Figure 1 Shown is a block diagram of a memory circuit 100 according to various implementations described herein.

[0014] like Figure 1As shown, the memory circuit 100 may include various circuits, including an address decoder 102, a memory array 104, error correction coding (ECC) bits 106, an ECC encoder 110, and an ECC decoder 120. The address decoder 102 may receive an address (A[m-1:0]) for accessing bit cells arranged in columns and rows in the memory array 104. The memory array 104 receives input data (D[n-1:0]), and similarly, the ECC encoder 110 receives the input data (D[n-1:0]) and generates ECC bits 106 associated with the input data (D[n-1:0]). Since the input data (D[n-1:0]) is processed and the ECC bits 106 for the input data (D[n-1:0]) are generated, the ECC encoder 110 has an impact on the data setup time. The memory array provides output data (Dout: Q[n-1:0]) as output test data (QTST[n-1:0]). The ECC decoder 120 receives the output data (Q[n-1:0]) and the ECC bits 106 from the memory array 104, and the ECC decoder 120 decodes the output data (Q[n-1:0]) and the ECC bits 106 (E1). Since the output data (Q[n-1:0]) is processed and the ECC bits 106 (E1) associated with the output data (Q[n-1:0]) are decoded, the ECC decoder 120 has an impact on the data access time. In some instances, with respect to E1 (i.e., the ECC bits 106), there may be some added logic external to the memory to write back the corrected (or repaired) data to prevent (or at least inhibit) a single bit error from later becoming a multiple bit error (e.g., a double bit (i.e., 2-bit) error).

[0015] In some implementations, the data input (D[n-1:0]) can be encoded into the additional ECC bit 106 using the ECC check bit generation logic, and the functional data bit (n) and the ECC bit (ecc) can be written into the memory. When reading out, the complete data bit (m) and the ECC bit (ecc) can be used to decode into a syndrome. The syndrome can be used for error detection and correction. The final data output has n bits. Therefore, the functional data bus width is n bits, and the ECC has a multi-bit (ecc) error correction capability (e.g., 2-bit and 3-bit error correction capability). The complete memory macro (functional + ecc) data bus width has m bits, where m = n + ecc. Similarly, the additional ECC check bit (ecc) involves (mn) bits, where ecc = mn. In addition, when the ECC check enable is enabled, MBIST 230 can be configured to mask bits [m-1:n].

[0016] In various implementations, each bit cell in the memory array 104 may also be referred to as a memory cell, and each bit cell may be configured to store at least one data bit value (e.g., a data value associated with a logical "0" or "1"). Each row of bit cells in the memory array 104 may include any number of bit cells or memory cells arranged in various configurations, such as a two-dimensional (2D) memory array having columns and rows of multiple bit cells arranged in a 2D grid pattern with 2D indexing capabilities. Each bit cell may be implemented using a random access memory (RAM) circuit or some other type of volatile type memory. For example, each memory cell may include a multi-transistor static RAM (SRAM) cell, including various types of SRAM cells, such as a 6T CMOS SRAM and / or other types of complementary MOS (CMOS) SRAM cells (e.g., 4T, 8T, 10T, or more transistors per bit). In other examples, each memory cell may be implemented using an embedded magnetoresistive RAM (eMRAM) cell or some other type of non-volatile memory cell.

[0017] Generally, there are multiple types of memory structures: one-wordline devices (i.e., single port) and multi-wordline devices (i.e., multi-port memory, such as dual-port memory). A one-wordline device (e.g., ROM, RAM, DRAM, SRAM, etc.) may refer to a device having only one access port, which may be referred to as an access device. The bit line may utilize a single-track or dual-track architecture. Transistor types (e.g., N-type MOS and P-type MOS) may be referred to as access transistors. In some scenarios, high-density SRAM bit cells implemented with transistors of minimum size may limit the Vmin of the design. However, in FinFET technology, device sizing quantization remains a challenge for compact 6T SRAM bit cells with transistors of minimum size. Therefore, in some implementations, carefully optimized design memory auxiliary circuits may be used to achieve low-power memory operations. In addition, each bit cell in the memory array 104 can be accessed with a word line WL and complementary bit lines BL, NBL.

[0018] Typically, a static RAM bit cell may include a 6T bit cell, which may have an access port controlled by a word line (WL). In some other cases, a static RAM bit cell may be implemented using a 5T bit cell, a 4T 2R bit cell, or various other types of CMOS SRAM cells (e.g., 8T, 10T, or more transistors per bit). In addition, multiple word lines may be formed to multiple access ports in each bit cell. Due to the presence of multiple access ports, the multi-port access device in each bit cell may vary, whereby some access devices (by port) are NFETs, and some access devices (by port) are PFETs. Although these access devices can be effectively varied in each single bit cell, their number of ports may not be easily divided into equal capacitance and / or power. Therefore, although these multi-port transistor types can vary in each bit cell, it will also be necessary to vary between arrays (such as the left half array and the right half array).

[0019] In some implementations, other RAM bit cells may include eMRAM cells. Unlike conventional RAM cells (e.g., SRAM), data in eMRAM is stored using magnetic storage elements rather than using charge or current. The magnetic element can be composed of two ferromagnetic plates separated by a thin insulating layer, where one plate has a set polarity due to a permanent magnet and the other plate is selectively magnetized to show a resistance difference between the plates. This configuration is called a magnetic tunnel junction and forms the structure for MRAM cells. To store data, when the two plates have the same magnetization alignment (low resistance state), this can be interpreted as a logical 1 state, and when the magnetization alignment is different (high resistance state), this can be interpreted as a logical 0 state.

[0020] The memory circuit 100, including each bit cell in the memory array 104, can be implemented as an integrated circuit (IC) having various types of memory circuits (e.g., random access memory (RAM), and / or any other type of memory (including any type of volatile memory and non-volatile memory)). The memory circuit 100 can be implemented as an IC having a single-rail and / or dual-rail memory architecture. The memory circuit 100 can also be integrated with computing circuits and related components on a single chip. In addition, the memory circuit 100 can be implemented in embedded systems for various types of electronic, mobile, and or biometric applications.

[0021] Figures 2 to 6 A diagram of a memory testing circuit is shown in accordance with various implementations described herein.

[0022] Figure 2 2 shows a diagram of a memory test circuit 200 according to various implementations described herein. Figure 2As shown, the memory test circuit 200 includes a memory built-in self-test (MBIST) circuit 230 having a write input path circuit 202 and a read output path circuit 204 .

[0023] In some implementations, the write input path circuit 202 may include multiple built-in self-test multiplexer (BistMux) input devices (BMI_1, BMI_2) and an ECC encoder 210. MBIST 230 may provide first test data (TD[m-1:n]) to a first built-in self-test multiplexer (BMI_1). The first test data (TD[m-1:n]) may be referred to as first data (D[m-1:n]). The first built-in self-test multiplexer (BMI_1) may receive the first data (D[m-1:n]) and receive the ECC encoded data (DECC[n-1:0]) via an ECC bypass path 212, and the first built-in self-test multiplexer (BMI_1) may provide the first data (D[m-1:0]) as output data based on an enable signal (ECC_en). In addition, MBIST 230 can provide second test data (TD[n-1:0]) to the second built-in self-test multiplexer (BMI_2). The second built-in self-test multiplexer (BMI_2) can receive the second test data (TD[n-1:0]) and the input data (Din[n-1:0]), and the second built-in self-test multiplexer (BMI_2) can provide the second data (D[n-1:0]) to the ECC encoder 210 and also to the ECC test path 214 based on the enable signal (ECC_en). The ECC encoder 210 can receive the second data (D[n-1:0]) from the second built-in self-test multiplexer (BMI_2), process the second data (D[n-1:0]), and then provide the ECC encoded data (DECC[n-1:0]) to the first built-in self-test multiplexer (BMI_1). Therefore, as Figure 2 As shown, the write input path circuit 202 can provide first data (D[m−1:0]) via the ECC bypass path 212 . In addition, the write input path circuit 202 can provide second data (D[n−1:0]) via the ECC test path 214 .

[0024] In some implementations, the functional data bus width has n bits, and the ECC has a multi-bit (ecc) error correction capability (e.g., 2-bit and 3-bit (or more) error correction capability). As described herein, the complete memory macro (functional + ecc) data bus width has m bits, where m = n + ecc. In addition, the additional ECC check bits (ecc) involve (mn) bits, where ecc = mn. In addition, when the ECC check enable (ECC_en) is enabled, MBIST 230 can be configured (or adapted) to mask bits [m-1:n].

[0025] In some implementations, the ECC encoder 210 may perform various functions and operations associated with error correction coding. For example, the ECC encoder 210 may generate ECC check bits based on input data (Din).

[0026] Therefore, if Figure 2 As shown, the memory test circuit 200 includes a first circuit (e.g., BMI_1, 212) that can receive first input data (e.g., TD[m-1:n], D[m-1:n]) and bypass the error correction circuit (e.g., via 212) to determine whether the first input data (e.g., TD[m-1:n], D[m-1:n]) has one or more first errors. In some instances, the first circuit (e.g., BMI_1, 212) can allow (or provide) the use of redundancy to repair the one or more first errors in the first input data (e.g., TD[m-1:n], D[m-1:n]). In some instances, the first error can refer to a data bit error and / or a random error found in a memory hardware component.

[0027] In addition, if Figure 2 As shown, the memory test circuit 200 includes a second circuit (e.g., BMI_1, 210, BMI_2, 214) that can receive second input data (e.g., TD[n-1:0], Din[n-1:0]) and can enable an error correction circuit (e.g., 210) to determine whether the second input data (e.g., TD[n-1:0], Din[n-1:0]) has one or more second errors. In some instances, the second circuit (e.g., BMI_1, 210, BMI_2, 214) can allow the use of error correction coding (ECC) to repair the one or more second errors in the second input data (e.g., TD[n-1:0], Din[n-1:0]). In some instances, the second error can refer to a data bit error and / or a random error found in a memory hardware component.

[0028] The memory test circuit 200 may include a single memory built-in self-test circuit (e.g., MBIST 230) coupled to a first circuit (e.g., BMI_1, 212) and a second circuit (e.g., BMI_1, 210, BMI_2, 214) to provide first input data (e.g., TD[m-1:n], D[m-1:0]) to the first circuit (e.g., BMI_1, 212) and provide second input data (e.g., TD[n-1:0], Din[n-1:0]) to the second circuit (e.g., BMI_1, 210, BMI_2, 214). In addition, in some implementations, during MBIST (memory built-in self-test) testing of the first input data (e.g., TD[m-1:n], D[m-1:n]), the first circuit (e.g., BMI_1, 212) may bypass the use of the error correction circuit (e.g., 210).

[0029] The first input data (e.g., TD[m-1:n], D[m-1:0]) includes full width data having a first number (m) of bits, and the second input data (TD[n-1:0], Din[n-1:0]) may include functional data having a second number (n) of bits. Thus, the first number (m) of bits may include a second number (n) of bits and a third number (ecc) of check bits for error correction coding (ECC), where n=m+ecc.

[0030] The read output path circuit 204 may include a built-in self-test multiplexer output device (BMO) and an ECC decoder 220. The read output path circuit 204 may receive a first output (Q) data (Q[m-1:0]) and a second output (Q) data (Q[n-1:0]). The MBIST 230 may receive the first output data (Q[m-1:0]) as the first test data (TQ[m-1:n]). The ECC decoder 220 may receive the second output data (Q[n-1:0]), process / decode / detect multi-bit errors, and provide decoded data (QECC[n-1:0]) to the built-in self-test multiplexer output device (BMO). In addition, the ECC decoder 220 may generate and provide error flags for multi-bit error detection, and in some instances, the multi-bit errors may include 3-bit errors or errors of more bits. The built-in self-test multiplexer output device (BMO) can receive the second output data (Q[n-1:0]) and the decoded data (QECC[n-1:0]), and the built-in self-test multiplexer output device (BMO) can provide the second output data (Q[n-1:0]) as the second test data (TQ[n-1:0]).

[0031] In some implementations, ECC decoder 220 may perform various functions and operations associated with error correction decoding. For example, ECC decoder 220 may generate ECC syndromes, generate ECC error locations, correct ECC errors, and may also generate ECC error detection flags.

[0032] Therefore, if Figure 2 As shown, the memory test circuit 200 includes a third circuit (e.g., 220) that can determine whether the first input data (D[m-1:0] or Q[m-1:0]) has a multi-bit error (e.g., a 3-bit error). Thus, the third circuit (e.g., 220) can generate a multi-bit error flag after detecting a multi-bit error in the first input data (D[m-1:0] or Q[m-1:0]). In some instances, the multi-bit error includes a 3-bit error, and the third circuit (e.g., 220) can detect a 3-bit error in the first input data (D[m-1:0] or Q[m-1:0]). In some instances, when the ECC check enable is enabled, MBIST 230 can be configured to mask bits [m-1:n].

[0033] In some implementations, such as Figure 2 As described, at least one built-in self-test multiplexer device can be inserted in a memory wrapper. Thus, the following can be applied:

[0034] ECC_check_enable = 0 will bypass the ECC logic and check the full m bits;

[0035] ECC_check_enable = 1 will use the ECC logic and check n bits; and

[0036] ECC_check_enable=1 will check the error flag for 3-bit errors.

[0037] Figure 3 A diagram of a memory test circuit 300 is shown in accordance with various implementations described herein.

[0038] like Figure 3 As shown, the memory test circuit 300 may include a plurality of memory built-in self-test (MBIST) circuits 230A, 230B having a write input path circuit 302 and a read output path circuit 304 . Figure 3 The memory test circuit 300 is similar to Figure 2 Memory test circuit 200 of the present invention, wherein similar components have similar scope, features and related characteristics as described herein.

[0039] The plurality of MBIST circuits 230A, 230B include a first MBIST circuit 230A and a second MBIST circuit 230B. The first MBIST circuit 230A can provide test input data (TD0[n-1:0]) to the second built-in self-test multiplexer (BMI_2), and the first MBIST circuit 230A can receive decoded data (QECC[n-1:0]) from the ECC decoder 220 as test output data (TQ0[n-1:0]). The second MBIST circuit 230B can provide test input data (TD1[m-1:n]) to the first built-in self-test multiplexer (BMI_1), and the second MBIST circuit 230B can provide test input data (TD1[n-1:0]) to the second built-in self-test multiplexer (BMI_2). In addition, the second MBIST circuit 230B can receive output (Q) data (Q[m-1:0]) as test output data (TQ1[m-1:n]) and test output data (TD1[n-1:0]). In addition, the second built-in self-test multiplexer (BMI_2) can receive test input data (TD1[n-1:0]) from the second MBIST 230B, receive test input data (TD0[n-1:0]) from the first MBIST 230A, and receive data input (Din[n-1:0]).

[0040] Figure 3 The write input path circuit 302 can be connected with Figure 2 The write input path circuit 202 of the embodiment operates similarly. For example, the second built-in self-test multiplexer (BMI_2) can provide the second data (D[n-1:0]) to the ECC decoder 210 via the ECC test circuit 214 based on the enable signal (ECC_en). The ECC encoder 210 can receive the second data (D[n-1:0]) from the second built-in self-test multiplexer (BMI_2), process the second data (D[n-1:0]), and provide the ECC encoded data (DECC[n-1:0]) to the first built-in self-test multiplexer (BMI_1). The first built-in self-test multiplexer (BMI_1) can receive the first data (D[m-1:n]) via the ECC bypass path 212 and receive the ECC encoded data (DECC[n-1:0]), and the first built-in self-test multiplexer (BMI_1) can provide the first data (D[m-1:0]) based on the enable signal (ECC_en). Additionally, write input path circuit 302 may provide first data (D[m−1:0]) via ECC bypass path 212 , and write input path circuit 302 may provide second data (D[n−1:0]) via ECC test path 214 .

[0041] Figure 3 The read output path circuit 304 can be connected with Figure 2 The read output path circuit 204 of MBIST 230A operates similarly. For example, the read output path circuit 304 can receive the second output (Q) data (Q[n-1:0]) and the first output (Q) data (Q[m-1:0]). MBIST 230A can receive the first output data (Q[m-1:0]) as test data (TQ1[m-1:n]) and as test data (TQ1[n-1:0]). ECC decoder 220 can receive the second output data (Q[n-1:0]), process / decode / detect multi-bit errors, and provide decoded data (QECC[n-1:0]) as test output data (TQ0[n-1:0]) to MBIST 230A. In addition, ECC decoder 220 can generate and provide error flags for multi-bit error detection, and in some instances, multi-bit errors can include 3-bit errors or errors of more bits.

[0042] In some implementations, such as Figure 3 As described above, multiple BIST multiplexer devices can be inserted into a memory wrapper. In this way, the following can be applied:

[0043] ECC_check_enable = 0 will bypass the ECC logic and check the full m bits;

[0044] ECC_check_enable = 1 will use the ECC logic and check n bits; and

[0045] ECC_check_enable=1 will use the error flags to intentionally corrupt the TQ output.

[0046] Figure 4 A diagram of a memory test circuit 400 is shown in accordance with various implementations described herein.

[0047] like Figure 4 As shown, the memory test circuit 400 may include a plurality of memory built-in self-test (MBIST) circuits 230A, 230B having a write input path circuit 402 and a read output path circuit 404 . Figure 4 The memory test circuit 400 is similar to Figure 3 Memory test circuit 300 of the present invention, wherein similar components have similar scope, features and related characteristics as described herein.

[0048] Figure 4 The write input path circuit 402 may be substantially similar to Figure 3 In addition, Figure 4 The read output path circuit 404 may be substantially similar to Figure 3The read output path circuit 304 of the MBIST 230A operates in the same manner as the read output path circuit 304 of the MBIST 230A, except that an error flag for a multi-bit error is provided to the MBIST 230A. For example, the ECC decoder 220 can receive the second output data (Q[n-1:0]), process / decode / detect the multi-bit error, and provide the decoded data (QECC[n-1:0]) to the MBIST 230A as the test output data (TQ0[n-1:0]). In addition, the ECC decoder 220 can generate an error identification for multi-bit error detection, and provide the error flag to the MBIST 230A as the ECC flag check input, and in some instances, the multi-bit error can include a 2-bit error, a 3-bit error, or an error of more bits.

[0049] In some implementations, such as Figure 4 As described above, multiple BIST multiplexer devices can be inserted into a memory wrapper. In this way, the following can be applied:

[0050] Two MBIST controllers can be used: MBIST_1 for m bits and MBIST0 for n bits;

[0051] ECC_check_enable = 0 will bypass the ECC logic and check the full m bits using MBIST_1;

[0052] ECC_check_enable=1 will use the ECC logic and check n bits using MBIST0; and

[0053] ECC_check_enable=1 will check the error flag for 3-bit errors by using MBIST0.

[0054] Figure 5 A diagram of a memory test circuit 500 is shown in accordance with various implementations described herein.

[0055] like Figure 5 As shown, the memory test circuit 500 may include a single memory built-in self-test (MBIST) circuit 230 having a write input path circuit 502 and a read output path circuit 504 . Figure 5 The memory test circuit 500 is similar to Figure 2 Memory test circuit 200 of the present invention, wherein similar components have similar scope, features and related characteristics as described herein.

[0056] Figure 5 The write input path circuit 502 may be substantially similar to Figure 22. For example, MBIST 230 may provide first data (M) to a first built-in self-test multiplexer (BMI_1) via ECC bypass path 212. The first built-in self-test multiplexer (BMI_1) may receive the first data (M, via ECC bypass path 212) and the ECC encoded data (M, from encoder 210), and the first built-in self-test multiplexer (BMI_1) may provide the first data (M) to a data input (Din) of memory circuit 240 based on an enable signal (ECC_en). MBIST 230 may provide second data (N) to a second built-in self-test multiplexer (BMI_2). The second built-in self-test multiplexer (BMI_2) may receive the second data (N) and the input data (Din), and the second built-in self-test multiplexer (BMI_2) may provide the second data (N) to an ECC encoder 210 via an ECC test path 214 based on an enable signal (ECC_en). The ECC encoder 210 may receive the second data (N) from the second built-in self-test multiplexer (BMI_2), process the second data (N), and provide ECC encoded data (M, from the encoder 210) to the first built-in self-test multiplexer (BMI_1).

[0057] Figure 5 The read output path circuit 504 may be substantially similar to Figure 2 The read output path 504 may be operated like the read output path circuit 204 of the memory circuit 240. For example, the read output path 504 may include a built-in self-test multiplexer output device (BMO) and an ECC decoder 220. The read output path 504 may receive a first output data (M) from a data output (Qout) of the memory circuit 240. The ECC decoder 220 may receive the first output data (M), process / decode / detect multi-bit errors, and provide decoded data (N) as a data output (Dout) to the built-in self-test multiplexer output device (BMO) via a data replicator 224. In addition, the ECC decoder 220 may generate and provide an error flag for multi-bit error detection, and in some instances, the multi-bit error includes a 2-bit error, a 3-bit error, or an error of more bits. The built-in self-test multiplexer output device (BMO) may receive the first output data (M) from the data output (Qout) of the memory circuit 240 and receive the replicated data (M) from the data replicator 224, and the built-in self-test multiplexer output device (BMO) may provide the output data (M) to the MBIST 230.

[0058] In some implementations, such as Figure 5 As described, at least one built-in self-test multiplexer device can be inserted in the memory wrapper. In this way, the following can be applied:

[0059] ECC_check_enable = 0 will bypass the ECC logic and check the full m bits;

[0060] ECC_check_enable = 1 will use the ECC logic and check n bits;

[0061] ECC_check_enable=1 will check the error flag for 3-bit errors; and

[0062] ECC_check_enable=1 copies the MSB 2 bits from n bits to m bits, for example,

[0063] 00 00 0000 0000=> 00 00 00 0000 0000

[0064] 11 11 1111 1111=> 11 11 11 1111 1111

[0065] 01 01 0101 0101=> 01 01 01 0101 0101

[0066] 10 10 1010 1010=> 10 10 10 1010 1010

[0067] Figure 6 A diagram of a memory test circuit 600 is shown in accordance with various implementations described herein.

[0068] like Figure 6 As shown, the memory test circuit 600 may include a memory cluster 634, a multiplexer (MUX) 242, and a plurality of memory built-in self-test (MBIST) circuits 230A, 230B. Figure 6 The memory test circuit 600 is similar to Figures 2 to 3 Memory test circuits 200, 300, wherein similar components (eg, MBIST 230A, 230B) may have similar scopes, features, and related characteristics as described herein.

[0069] The memory cluster 634 may include an MBIST 230A, a MUX 242, and a plurality of repair packages 238A, 238B, ..., 238N, each of which has a memory circuit 240A, 240B, ..., 240N, respectively. The MBIST 230A provides a data signal to each repair package 238A, 238B, ..., 238N, and each repair package 238A, 238B, ..., 238N provides a data signal to the MUX 242. The MUX 242 provides a data signal to the ECC circuit 250, which may process / decode / detect a multi-bit error (e.g., a 3-bit error) and provide output data (Data_Out). The ECC circuit 250 may flag a multi-bit error (e.g., a 3-bit error) and flag damaged output data (Data_Out) for storage in a flag storage 252. MBIST 230B may receive output data (Data_Out) from ECC circuit 250 and provide multiple signals, such as clock, address (Addr), and input data (Data_In), to MUX 242.

[0070] In some implementations, such as Figure 6 As described above, multiple BIST multiplexer devices can be inserted into a memory wrapper. In this way, the following can be applied:

[0071] Two MBIST controllers can be used: MBIST_1 for m bits and MBIST_2 for n bits;

[0072] ECC_check_enable = 0 will bypass the ECC logic and check the full m bits by using MBIST_1, and MBIST_1 will test multiple memories in parallel to reduce the running time;

[0073] ECC_check_enable=1 will use the ECC logic and check n bits using MBIST_2; and

[0074] ECC_check_enable=1 will check the error flag for 3-bit errors by using MBIST_2.

[0075] Figures 7 and 8 A diagram illustrating a method for testing a memory according to various implementations described herein.

[0076] Figure 7 A process flow diagram of a method 700 for testing memory is shown in accordance with various implementations described herein.

[0077] It should be understood that although method 700 may indicate a particular order in which operations are performed, in some cases, certain different portions of the operations may be performed in a different order on different systems. In other cases, additional operations and / or steps may be added to method 700 and / or omitted from it. Method 700 may be implemented in hardware and / or software. If implemented in hardware, method 700 may utilize various circuit components (e.g., those described herein with reference to Figures 1 to 6 If implemented in software, method 700 may be implemented as a program or software instruction process that may be configured for memory testing as described herein. In addition, if implemented in software, various instructions related to implementing method 700 may be stored in a memory and / or a database. For example, a computer or various other types of computing devices having a processor and a memory may be configured to perform method 700.

[0078] As reference Figure 7 As described and illustrated, method 700 can be used to test memory according to various schemes and techniques described herein above. For example, as described herein, method 700 can be used to improve memory testing for effective ECC usage, thereby improving yield.

[0079] At block 710, the method 700 may receive data (e.g., first input data and second input data). The first input data may include full width data having a first number of bits (m bits), and the second input data may include functional data having a second number of bits (n bits). In some implementations, the first number of bits (m bits) may include a second number of bits (n bits) and a third number of check bits (ecc bits) for error correction coding (ECC), where m=n+ecc. In addition, the additional ECC check bits (ecc) may be (mn) bits, where ecc=mn.

[0080] In piece 720, method 700 can bypass error correction circuit to determine whether the first input data has one or more first errors. In some instances, bypassing error correction circuit can occur during MBIST (memory built-in self test) test of the first input data. For example, MBIST can be operated for m bits without using ECC logic. If any error is found, method 700 can allow to use redundancy repair. In some instances, after redundancy repair, if there is also an error, method 700 can advance to next piece 730 to perform one or more additional operations.

[0081] In some implementations, method 700 may further include using redundancy to repair the one or more first errors in the first input data. Typically, the one or more first errors may refer to data bit errors and / or random errors found in the memory hardware component.

[0082] At piece 730, method 700 can enable error correction circuit to determine whether the second input data has one or more second errors.In some instances, MBIST can utilize ECC logic to run for n bit.If there is more than 3 bit errors, then read output can't be corrected by ECC, and this error result can be regarded as detecting bad memory chip.If there are 3 bit errors, then read output can be corrected, but this error result may still be regarded as detecting bad memory chip, because may not have the ability to repair field interior error (in-field error).In addition, if there is 2 bits or the error of still less bit, then read output can be corrected, and this error result can be regarded as detecting good memory chip.

[0083] In some implementations, method 700 may further include using error correction coding (ECC) to repair the one or more second errors in the second input data. Typically, the one or more second errors may refer to data bit errors and / or random errors found in the memory hardware component. In some implementations, method 700 may further include determining whether the second input data has a multi-bit error, and method 700 may further include generating a multi-bit error flag after detecting the multi-bit error in the second input data. The multi-bit error may include a 3-bit error, and determining whether the second input data has a multi-bit error includes determining whether the second input data has a 3-bit error.

[0084] In some implementations, the alternative test flow can be as follows. MBIST can utilize ECC logic to run for n bits, and 2 bits or less bit errors can be corrected using ECC, and 1 bit error correction capability is also left in the field. If there are 3 bits or more bit errors, additional operations can be run as follows. MBIST can run for m bits without using ECC logic, and if any error is found, redundancy repair can be used. After redundancy repair, some multi-bit errors may not be fully repaired with redundancy. Therefore, additional operations can be run as follows. MBIST can utilize ECC logic to run for n bits, and 2 bits or less bit errors can be corrected using ECC, and 1 bit error correction capability is still left in the field. If there are 3 bits or more bit errors, this error result can be regarded as determining a bad memory chip.

[0085] Figure 8A process flow diagram of a method 800 for testing memory is shown in accordance with various implementations described herein.

[0086] It should be understood that even though method 800 may indicate a particular order in which operations are performed, in some cases, certain different portions of the operations may be performed in a different order on different systems. In other cases, additional operations and / or steps may be added to method 800 and / or omitted from it. Method 800 may be implemented in hardware and / or software. If implemented in hardware, method 800 may utilize various circuit components (e.g., those described herein with reference to Figures 1 to 6 If implemented in software, method 800 may be implemented as a program or software instruction process that can be configured for the memory test described herein. In addition, if implemented in software, various instructions related to implementing method 800 may be stored in a memory and / or a database. For example, a computer or various other types of computing devices having a processor and a memory may be configured to perform method 800.

[0087] As reference Figure 8 As described and illustrated, method 800 can be used to test memory according to the various schemes and techniques described herein above. For example, as described herein, method 800 can be used to improve memory testing for effective ECC usage, thereby improving yield.

[0088] At block 810, method 800 may receive full width data having a first number of bits (e.g., m bits), wherein the first number of bits (e.g., m bits) includes a second number of bits (e.g., n bits) and a third number of check bits (e.g., ecc bits) for error correction coding (ECC). The full width data has m bits, where m=n+ecc. At block 820, method 800 may bypass the error correction circuit to determine whether the full width data has one or more first errors. At block 830, method 800 may allow the one or more first errors in the full width data to be repaired by using redundancy. At block 840, method 800 may receive functional data having a second number of bits. The functional data width has n bits. At block 850, method 800 may enable the error correction circuit to determine whether the functional data has one or more second errors. At block 860, method 800 may allow the one or more second errors in the functional data to be repaired by using error correction coding (ECC). In some examples, the ECC has multi-bit error correction capability, such as 3-bit error correction capability.

[0089] In some implementations, full width data may refer to a full memory macro (functional + ecc) data bus width of m bits, and functional data may refer to a functional data bus width of n bits, where m = n + ecc. In addition, the additional ECC check bits (ecc) may be (mn) bits, where ecc = mn.

[0090] In some implementations, method 800 may include determining whether the full width data has a multi-bit error, and method 800 may include generating a multi-bit error flag after detecting the multi-bit error in the full width data. In some implementations, the multi-bit error may include a 3-bit error, and determining whether the full width data has a multi-bit error includes determining whether the full width data has a 3-bit error.

[0091] Various implementations of integrated circuits are described herein. The integrated circuit may include a first circuit that receives first input data and bypasses error correction circuitry to determine whether the first input data has one or more first errors. The integrated circuit may include a second circuit that receives second input data and enables error correction circuitry to determine whether the second input data has one or more second errors.

[0092] Various implementations of the method are described herein. The method may include receiving first input data and second input data. The method may include bypassing an error correction circuit to determine whether the first input data has one or more first errors. The method may include enabling the error correction circuit to determine whether the second input data has one or more second errors.

[0093] Various implementations of the method are described herein. The method may include receiving full width data having a first number of bits, wherein the first number of bits includes a second number of bits and a third number of check bits for error correction coding (ECC). The method may include bypassing an error correction circuit to determine whether the full width data has one or more first errors. The method may include allowing the one or more first errors in the full width data to be repaired by using redundancy. The method may include enabling an error correction circuit to determine whether the functional data has one or more second errors. The method may include allowing the one or more second errors in the functional data to be repaired by using an error correction coding (ECC).

[0094] It should be noted that the subject matter of the claims is not limited to the implementations and illustrations provided herein, but includes modified forms of these implementations (including combinations of elements of parts of the claimed implementations and different implementations). It should be understood that in the development of any such implementation, as in any engineering or design project, many implementation-specific decisions should be made to achieve the developer's specific goals, such as compliance with system-related and business-related constraints, which may vary from implementation to implementation. In addition, it should be understood that such development work may be complex and time-consuming, but for ordinary technicians who benefit from this disclosure, it will be a routine task of design, manufacturing, and production.

[0095] Reference is made in detail to various implementations, examples of which are shown in the accompanying drawings. In the detailed description that follows, a large number of specific details are set forth in order to provide a comprehensive understanding of the disclosure provided herein. However, the disclosure provided herein can be practiced without these specific details. In other cases, well-known methods, processes, components, circuits, and networks are not described in detail to avoid unnecessarily obscuring the details of the present embodiment.

[0096] It should be understood that although the terms first, second, etc. are used herein to describe various elements, these elements are not limited by these terms. These terms are only used to distinguish elements from each other. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element. The first element and the second element are both elements, but they are not considered to be the same element.

[0097] The terms used in the description of the disclosure provided herein are to describe specific implementations and are not intended to limit the disclosure provided herein. As used in the description of the disclosure provided herein and the appended claims, the singular forms "one", "an" and "described" are intended to also include plural forms, unless the context clearly indicates otherwise. The term "and / or" used herein refers to and encompasses any and all possible combinations of one or more items in the items listed in association. When used in this specification, the terms "include", "comprise", "contain", and / or "have" specify the presence of recorded features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups.

[0098] As used herein, the term "if" may be understood to mean "when" or "uponce" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [a documented condition or event] is detected" may be understood to mean "uponce it is determined" or "in response to determining" or "uponce [a documented condition or event] is detected" or "in response to detecting [a documented condition or event]," depending on the context. The terms "up" and "down," "above" and "below," "upward" and "downward," "below" and "above," and other similar terms indicating relative positions above or below a given point or element may be used in conjunction with some implementations of the various techniques described herein.

[0099] While the foregoing is directed to implementations of various techniques described herein, other and further implementations may be devised in light of the disclosure herein as may be determined by the claims that follow.

[0100] Although the subject matter has been described in language specific to structural features and / or methodological acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1. An integrated circuit for memory testing, comprising: a first circuit that receives first input data and bypasses a first error correction circuit to determine whether the first input data has one or more first errors, wherein the first circuit includes a first multiplexer and is part of a write input path; a second circuit that receives second input data and enables the first error correction circuit to determine whether the second input data has one or more second errors, wherein the second circuit includes a second multiplexer and is part of the write input path; and a third circuit, being part of a read output path, wherein the third circuit comprises a second error correction circuit, The third circuit determines whether the second input data has a multi-bit error.

2. The integrated circuit of claim 1, wherein the third circuit generates a multi-bit error flag after detecting the multi-bit error in the second input data.

3. The integrated circuit of claim 1, wherein the multi-bit error comprises a 3-bit error, and wherein the third circuit detects a 3-bit error in the second input data.

4. The integrated circuit of claim 1 , wherein the first input data comprises full width data having a first number of bits, wherein the second input data comprises functional data having a second number of bits, and wherein the first number of bits comprises the second number of bits and a third number of check bits for error correction coding (ECC).

5. The integrated circuit of claim 1, further comprising a single memory built-in self-test (MBIST) circuit coupled to the first circuit and the second circuit so as to provide the first input data to the first circuit and provide the second input data to the second circuit.

6. The integrated circuit according to claim 1, further comprising a plurality of memory built-in self-test (MBIST) circuits coupled to the first circuit and the second circuit so as to provide the first input data to the first circuit and provide the second input data to the second circuit.

7. The integrated circuit of claim 1, wherein the first circuit bypasses use of the first error correction circuit during a memory built-in self-test (MBIST) test of the first input data.

8. The integrated circuit of claim 1, wherein the first circuit enables use of redundancy to repair the one or more first errors in the first input data.

9. The integrated circuit of claim 1, wherein the second circuit enables the one or more second errors in the second input data to be repaired using error correction coding (ECC).

10. A method for memory testing, comprising: receiving first input data and second input data; bypassing a first error correction circuit using at least a first multiplexer to determine whether the first input data has one or more first errors, wherein the first multiplexer is part of a write input path circuit; enabling the first error correction circuit using at least a second multiplexer to determine whether the second input data has one or more second errors, wherein the second multiplexer is part of the write input path circuit; as well as Determining whether the second input data has a multi-bit error is performed via a read output path circuit, wherein the read output path circuit includes a second error correction circuit.

11. The method of claim 10, wherein the first input data comprises full width data having a first number of bits, wherein the second input data comprises functional data having a second number of bits, and wherein the first number of bits comprises the second number of bits and a third number of check bits for error correction coding (ECC).

12. The method according to claim 10, further comprising: After the multi-bit error is detected in the second input data, a multi-bit error flag is generated via the read output path circuit.

13. The method of claim 12, wherein the multi-bit error comprises a 3-bit error, and wherein determining whether the second input data has a multi-bit error comprises determining whether the second input data has a 3-bit error.

14. The method of claim 10, wherein bypassing the first error correction circuit occurs during a memory built-in self-test (MBIST) test of the first input data.

15. The method of claim 10, further comprising enabling repair of the one or more first errors in the first input data by using redundancy.

16. The method of claim 10, further comprising allowing the one or more second errors in the second input data to be repaired by using error correction coding (ECC).

17. A method for memory testing, comprising: Receiving full width data having a first number of bits, wherein the first number of bits includes a second number of bits and a third number of check bits for error correction coding (ECC); bypassing a first error correction circuit using at least a first multiplexer to determine whether the full width data has one or more first errors, wherein the first multiplexer is part of a write input path circuit; enabling repair of the one or more first errors in the full-width data by using redundancy; receiving functional data having said second number of bits; enabling the first error correction circuit using at least a second multiplexer to determine whether the functional data has one or more second errors, wherein the second multiplexer is part of the write input path circuit; allowing the one or more second errors in the functional data to be repaired by using an error correction code ECC; and determining, via a read output path circuit, whether the full width data has a multi-bit error, Wherein, the read output path circuit includes a second error correction circuit.

18. The method according to claim 17, further comprising: After the multi-bit error is detected in the full width data, a multi-bit error flag is generated via the read output path circuit.

19. The method of claim 18, wherein the multi-bit error comprises a 3-bit error, and wherein determining whether the full width data has a multi-bit error comprises determining whether the full width data has a 3-bit error.

Citation Information

Patent Citations

  • Error correction circuit and method for reducing miscorrection probability and memory device including the circuit

    CN101211667A

  • Method for testing a memory and memory system

    CN104240768A

  • MBIST device for use with ECC-protected memories

    CN105976870A

  • Characterization of in-chip error correction circuits and related semiconductor memory devices / memory systems

    CN106297895A

  • Semiconductor memory devices and memory systems including the same

    US20160042809A1