WO2023165044A1 - Memory detection method, circuit, apparatus and device, and storage medium - Google Patents

Memory detection method, circuit, apparatus and device, and storage medium Download PDF

Info

Publication number
WO2023165044A1
WO2023165044A1 PCT/CN2022/097517 CN2022097517W WO2023165044A1 WO 2023165044 A1 WO2023165044 A1 WO 2023165044A1 CN 2022097517 W CN2022097517 W CN 2022097517W WO 2023165044 A1 WO2023165044 A1 WO 2023165044A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
detection
circuit
information
compression group
Prior art date
Application number
PCT/CN2022/097517
Other languages
French (fr)
Chinese (zh)
Inventor
陆天辰
Original Assignee
长鑫存储技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长鑫存储技术有限公司 filed Critical 长鑫存储技术有限公司
Publication of WO2023165044A1 publication Critical patent/WO2023165044A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/006Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation at wafer scale level, i.e. wafer scale integration [WSI]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • G11C29/38Response verification devices
    • G11C29/40Response verification devices using compression techniques

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

Provided in the present disclosure are a memory detection method, circuit, apparatus and device, and a storage medium. The memory detection method comprises: writing test data into at least some storage units of a memory; turning on word lines connected to the storage units; taking 2N storage units, which correspond to an even number of input and output pins, as a compression group, and reading target data stored in each storage unit in the compression group, wherein N is a positive integer; according to a preset processing method, performing an operation on the target data corresponding to the compression group, so as to determine detection information of the compression group; and according to the detection information, determining whether there are defects in the storage units in the compression group.

Description

存储器检测方法、电路、装置、设备及存储介质Memory detection method, circuit, device, equipment and storage medium
本公开基于申请号为202210212388.6,申请日为2022年03月01日,申请名称为“存储器检测方法、电路、装置、设备及存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。This disclosure is based on the Chinese patent application with the application number 202210212388.6, the application date is March 1, 2022, and the application name is "memory detection method, circuit, device, equipment and storage medium", and the priority of the Chinese patent application is claimed , the entire content of this Chinese patent application is hereby incorporated by reference into this disclosure.
技术领域technical field
本公开涉及一种存储器检测方法、电路、装置、设备及存储介质。The disclosure relates to a memory detection method, circuit, device, equipment and storage medium.
背景技术Background technique
芯片出厂前通常要经过一系列测试才能作为产品应用,如晶圆测试(Circuit Probing,简称CP测试)、最终测试(Final Test,简称FT测试)等。其中,在晶圆测试(CP测试)阶段需要针对存储器芯片的存储单元矩阵进行测试,其主要是在存储单元矩阵中快速检测出存在错误的单元,以便快速修补缺陷,避免影响后续制成。针对存储单元矩阵的传统检测方式只能进行一行一列的检测操作,导致测试效率不高,浪费大量时间,测试成本高。Before the chip leaves the factory, it usually needs to go through a series of tests before it can be used as a product, such as wafer test (Circuit Probing, referred to as CP test), final test (Final Test, referred to as FT test), etc. Among them, in the wafer test (CP test) stage, it is necessary to test the memory cell matrix of the memory chip, which is mainly to quickly detect faulty cells in the memory cell matrix, so as to quickly repair defects and avoid affecting subsequent manufacturing. The traditional detection method for the memory cell matrix can only perform detection operations of one row and one column, resulting in low testing efficiency, wasting a lot of time, and high testing costs.
发明内容Contents of the invention
以下是对本公开详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the subject matter described in detail in this disclosure. This summary is not intended to limit the scope of the claims.
本公开提供一种存储器检测方法、电路、装置、设备及存储介质。The disclosure provides a memory detection method, circuit, device, equipment and storage medium.
本公开的第一方面提供了一种存储器检测方法,所述存储器检测方法包括:A first aspect of the present disclosure provides a memory detection method, the memory detection method comprising:
将测试数据写入所述存储器的至少部分存储单元中;writing test data into at least some of the memory cells of the memory;
打开与所述存储单元连接的字线;opening a word line connected to the memory cell;
将偶数个输入输出引脚对应的2N个存储单元作为一个压缩组,读取所述压缩组中每个所述存储单元中存储的目标数据,其中,N为正整数;Using 2N storage units corresponding to an even number of input and output pins as a compression group, reading the target data stored in each storage unit in the compression group, wherein N is a positive integer;
根据预设处理方法对压缩组对应的所述目标数据进行运算,确定压缩组的检测信息;Performing operations on the target data corresponding to the compression group according to a preset processing method to determine the detection information of the compression group;
根据所述检测信息,确定所述压缩组中的所述存储单元是否存在缺陷。According to the detection information, it is determined whether the storage unit in the compression group has a defect.
根据本公开的一些实施例,所述根据预设处理方法对压缩组对应的所述目标数据进行运算,确定压缩组的检测信息,包括:According to some embodiments of the present disclosure, the operation of the target data corresponding to the compression group according to a preset processing method to determine the detection information of the compression group includes:
根据第一预设方法比较属于两个不同所述输入输出引脚对应的两个所述存储单元中的目标数据,获得N个比较结果信息;其中,所述第一预设方法包括异或逻辑运算;According to a first preset method, target data belonging to two storage units corresponding to two different input and output pins are compared to obtain N pieces of comparison result information; wherein, the first preset method includes XOR logic operation;
根据所述比较结果信息,确定所述压缩组的检测信息。Determine the detection information of the compression group according to the comparison result information.
根据本公开的一些实施例,所述根据所述比较结果信息,确定所述压缩组的检测信息,包括:According to some embodiments of the present disclosure, the determining the detection information of the compression group according to the comparison result information includes:
将N个所述比较结果信息分别输入至对应的N个晶体管;Inputting the N pieces of comparison result information into corresponding N transistors respectively;
将N个所述晶体管分为两个比较组,获取每个所述比较组中的所述晶体管的状态信息;dividing the N transistors into two comparison groups, and acquiring state information of the transistors in each comparison group;
根据每个所述比较组中的每个所述晶体管的状态信息,确定所述比较组的输出信息;determining the output information of the comparison group according to the state information of each of the transistors in each of the comparison groups;
根据所述输出信息,确定所述压缩组的检测信息。According to the output information, the detection information of the compression group is determined.
根据本公开的一些实施例,所述晶体管包括NMOS晶体管。According to some embodiments of the present disclosure, the transistor includes an NMOS transistor.
根据本公开的一些实施例,所述根据所述输出信息,确定所述压缩组的检测信息,包括:According to some embodiments of the present disclosure, the determining the detection information of the compression group according to the output information includes:
对两个所述比较组的所述输出信息进行或非逻辑运算,运算结果作为所述压缩组的检测信息。An NOR operation is performed on the output information of the two comparison groups, and the operation result is used as the detection information of the compression group.
根据本公开的一些实施例,所述根据所述检测信息,确定所述压缩组中的所述存储单元是否存在缺陷,包括:According to some embodiments of the present disclosure, the determining whether the storage unit in the compression group has a defect according to the detection information includes:
所述运算结果为低电平时,确定所述压缩组中的所述存储单元存在缺陷;When the operation result is low level, it is determined that the storage unit in the compression group is defective;
所述运算结果为高电平时,确定所述压缩组中的所述存储单元没有缺陷。When the operation result is at a high level, it is determined that the storage unit in the compression group has no defect.
根据本公开的一些实施例,所述检测方法还包括:According to some embodiments of the present disclosure, the detection method also includes:
每个所述压缩组完成检测后,控制所述比较组进行复位操作。After each compression group completes detection, the comparison group is controlled to perform a reset operation.
根据本公开的一些实施例,所述检测方法还包括:According to some embodiments of the present disclosure, the detection method also includes:
缓存每个所述存储单元中存储的除所述目标做数据外的预设数据,控制所述预设数据不参与读取每个所述存储单元中存储的目标数据过程。The preset data stored in each of the storage units except the target data is cached, and the preset data is controlled not to participate in the process of reading the target data stored in each of the storage units.
本公开的第二方面提供一种存储器检测电路,所述存储器检测电路包括:A second aspect of the present disclosure provides a memory detection circuit, the memory detection circuit comprising:
压缩电路,所述压缩电路包括第一处理电路,所述第一处理电路,所述第一处理电路连接于存储器的偶数个输入输出引脚,所述输入输出引脚对应于所述存储器的2N个存储单元,所述第一处理电路包括N个逻辑门,每一所述逻辑门连接于两个所述存储单元对应的输入输出引脚,其中,N为正整数;A compression circuit, the compression circuit includes a first processing circuit, the first processing circuit, the first processing circuit is connected to an even number of input and output pins of the memory, and the input and output pins correspond to 2N of the memory storage units, the first processing circuit includes N logic gates, each of which is connected to the corresponding input and output pins of the two storage units, where N is a positive integer;
检测电路,第二处理电路包括N个晶体管,所述N个晶体管分别连接于所述第一处理电路的N个逻辑门的输出端,所述N个晶体管分别为两个比较组,所述检测电路包括与两个比较组分别对应的输出端;The detection circuit, the second processing circuit includes N transistors, the N transistors are respectively connected to the output terminals of the N logic gates of the first processing circuit, the N transistors are respectively two comparison groups, and the detection The circuit includes output terminals respectively corresponding to the two comparison groups;
判断电路,所述判断电路连接于所述两个比较组分别对应的输出端。A judging circuit, the judging circuit is connected to the corresponding output ends of the two comparison groups.
根据本公开的一些实施例,所述判断电路包括判断逻辑门,所述判 断逻辑门连接于所述两个比较组分别对应的输出端。According to some embodiments of the present disclosure, the judging circuit includes a judging logic gate, and the judging logic gate is connected to output terminals respectively corresponding to the two comparison groups.
根据本公开的一些实施例,所述存储器检测电路还包括复位电路,所述复位电路连接于每个所述比较组对应的所述晶体管的输出端与所述判断逻辑门的输入端之间。According to some embodiments of the present disclosure, the memory detection circuit further includes a reset circuit connected between the output terminal of the transistor corresponding to each comparison group and the input terminal of the judgment logic gate.
根据本公开的一些实施例,所述压缩电路还包括锁存器,所述锁存器连接于所述偶数个输入输出引脚。According to some embodiments of the present disclosure, the compression circuit further includes a latch connected to the even number of input and output pins.
根据本公开的一些实施例,所述检测电路还包括预充电电路,所述预充电电路连接于所述判断电路的输入端,用于将所述判断电路的输入端预充电为高电平。According to some embodiments of the present disclosure, the detection circuit further includes a pre-charging circuit connected to the input terminal of the judging circuit for pre-charging the input terminal of the judging circuit to a high level.
本公开的第三方面提供一种存储器检测装置,所述存储器检测装置包括:A third aspect of the present disclosure provides a memory detection device, the memory detection device comprising:
写入模块,用于将测试数据写入所述存储器的至少部分存储单元中;A write module, configured to write test data into at least some of the storage units of the memory;
控制模块,用于打开与所述存储单元连接的字线;a control module, configured to open a word line connected to the memory unit;
读取模块,用于将偶数个输入输出引脚对应的2N个所述存储单元作为一个压缩组,读取所述压缩组中每个所述存储单元中存储的目标数据,其中,N为正整数;A reading module, configured to use the 2N storage units corresponding to an even number of input and output pins as a compression group, and read the target data stored in each storage unit in the compression group, where N is positive integer;
判断模块,用于根据预设处理方法和所述目标数据,确定所述压缩组的检测信息;A judging module, configured to determine detection information of the compression group according to a preset processing method and the target data;
所述判断模块,还用于根据所述检测信息,确定所述压缩组中的所述存储单元是否存在缺陷。The judging module is further configured to determine whether the storage unit in the compression group has a defect according to the detection information.
根据本公开的一些实施例,所述检测装置还包括复位模块,用于每个所述压缩组完成检测后,控制比较组进行复位操作。According to some embodiments of the present disclosure, the detection device further includes a reset module, configured to control the comparison group to perform a reset operation after each compression group completes the detection.
根据本公开的一些实施例,所述检测装置还包括缓存器,用于缓存每个所述存储单元中存储的除所述目标数据外的预设数据;According to some embodiments of the present disclosure, the detection device further includes a buffer for buffering preset data stored in each of the storage units except the target data;
所述控制模块还用于:The control module is also used for:
控制所述预设数据不参与读取每个所述存储单元中存储的目标过程。Controlling that the preset data does not participate in the process of reading the target stored in each of the storage units.
本公开的第四方面提供一种存储器检测设备,所述存储器检测设备包括:A fourth aspect of the present disclosure provides a memory detection device, the memory detection device comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行如第一方面所述的存储器检测方法。Wherein, the processor is configured to execute the memory detection method according to the first aspect.
根据本公开实施例的第五方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由内存测试设备的处理器执行时,使得内存测试设备能够执行如第一方面所述的存储器检测方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the memory testing device, the memory testing device can perform the operations described in the first aspect. The memory detection method.
本公开实施例所提供的存储器检测方法、电路、装置、设备及存储介质 中,解决了现有技术中在进行晶圆测试时操作效率低,浪费时间以及浪费检测资源等问题。使用本公开的存储器检测方法,可以提高存储器检测效率,缩短检测时间,为后续制程节省了大量时间,同时节省了测试成本。In the memory detection method, circuit, device, equipment and storage medium provided by the embodiments of the present disclosure, the problems of low operation efficiency, waste of time and waste of detection resources in the prior art during wafer testing are solved. Using the memory detection method of the present disclosure can improve the memory detection efficiency, shorten the detection time, save a lot of time for the subsequent manufacturing process, and save the test cost at the same time.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent to others upon reading and understanding the drawings and detailed description.
附图说明Description of drawings
并入到说明书中并且构成说明书的一部分的附图示出了本公开的实施例,并且与描述一起用于解释本公开实施例的原理。在这些附图中,类似的附图标记用于表示类似的要素。下面描述中的附图是本公开的一些实施例,而不是全部实施例。对于本领域技术人员来讲,在不付出创造性劳动的前提下,可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and, together with the description, serve to explain principles of the embodiments of the disclosure. In the drawings, like reference numerals are used to denote like elements. The drawings in the following description are some, but not all, embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without any creative work.
图1是根据一示例性实施例示出的存储器检测方法的流程图;FIG. 1 is a flow chart of a memory detection method shown according to an exemplary embodiment;
图2是根据一示例性实施例示出的存储器字线与存储单元连接的示意图;Fig. 2 is a schematic diagram showing the connection between memory word lines and memory cells according to an exemplary embodiment;
图3a是根据一示例性实施例示出的数据输入结构的示意图;Fig. 3a is a schematic diagram of a data input structure according to an exemplary embodiment;
图3b是根据一示例性实施例示出的数据输入结构的示意图;Fig. 3b is a schematic diagram of a data input structure shown according to an exemplary embodiment;
图4a是根据一示例性实施例示出的压缩组示意图;Fig. 4a is a schematic diagram of a compression group according to an exemplary embodiment;
图4b是根据一示例性实施例示出的压缩组示意图;Fig. 4b is a schematic diagram of a compression group according to an exemplary embodiment;
图5a是根据一示例性实施例示出的压缩电路的示意图;Fig. 5a is a schematic diagram of a compression circuit shown according to an exemplary embodiment;
图5b是根据一示例性实施例示出的检测电路和判断电路的示意图Fig. 5b is a schematic diagram of a detection circuit and a judgment circuit according to an exemplary embodiment
图6是根据一示例性实施例示出的存储单元压缩后的示意图;Fig. 6 is a schematic diagram of a compressed storage unit according to an exemplary embodiment;
图7是根据一示例性实施例示出的存储器检测装置的框图;Fig. 7 is a block diagram of a memory detection device according to an exemplary embodiment;
图8是根据一示例性实施例示出的存储器检测设备的框图。Fig. 8 is a block diagram of a memory detection device according to an exemplary embodiment.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the disclosed embodiments will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments It is a part of the embodiments of the present disclosure, but not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present disclosure. It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined arbitrarily with each other.
芯片出厂前通常要经过一系列测试才能作为产品应用,如使用芯片探针进行晶圆测试(Circuit Probing,简称CP测试),以及最终测试(Final Test,简称FT测试)等。其中,在晶圆测试(CP测试)阶段需要针对存储器芯片的存储单元矩阵进行测试,其主要是在存储单元矩阵中快速检测出存在问题的存储单元,以便于快速修补缺陷,避免影响后续制程。Before the chip leaves the factory, it usually needs to go through a series of tests before it can be used as a product, such as using chip probes for wafer testing (Circuit Probing, CP testing for short), and final testing (Final Test, FT testing for short). Among them, in the wafer test (CP test) stage, it is necessary to test the memory cell matrix of the memory chip, which is mainly to quickly detect the problematic memory cells in the memory cell matrix, so as to quickly repair defects and avoid affecting subsequent processes.
针对微电子产品标准定义的一次写操作,只能对一行一列进行操作。对于一次读操作,只能读取出64位的数据,导致测试效率不高。如 果在晶圆测试(CP测试)阶段还采用上文中的读取操作进行测试,将浪费大量时间,消耗测试成本。因此,需要设计出一种存储器检测方法,来进行这一阶段测试,以能够更快的对整个存储器内的存储单元进行检测。For a write operation defined by the microelectronics product standard, only one row and one column can be operated. For a read operation, only 64-bit data can be read, resulting in low test efficiency. If the above reading operation is also used for testing in the wafer testing (CP testing) stage, a lot of time will be wasted and testing costs will be consumed. Therefore, it is necessary to design a memory detection method to perform this stage of testing, so as to detect the storage units in the entire memory faster.
本公开示例性的实施例中提供了一种存储器检测方法。该存储器检测方法中,先将测试数据写入至少部分存储单元中。在对数据进行读取时,根据输入输出引脚对存储单元进行分组,偶数个输入输出引脚对应的2N个存储单元作为一个压缩组,对压缩组中存储的目标数据进行运算,最终确定压缩组的检测信息,进而根据检测信息确定出压缩组中的存储单元是否存在缺陷。由于对存储器中的存储单元分成压缩组进行检测,一次检测过程可以检测数量较多的存储单元,从而可以快速检测出存储器中的存储单元是否存在缺陷,在确保检测准确性和可靠性的同时,提升了检测效率。An exemplary embodiment of the present disclosure provides a memory detection method. In the memory testing method, test data is first written into at least part of the memory cells. When reading data, the storage units are grouped according to the input and output pins, and the 2N storage units corresponding to the even number of input and output pins are used as a compression group, and the target data stored in the compression group is calculated to finally determine the compression The detection information of the group, and then determine whether the storage units in the compression group have defects according to the detection information. Since the storage units in the memory are divided into compressed groups for detection, a large number of storage units can be detected in one detection process, so that it is possible to quickly detect whether the storage units in the memory are defective. While ensuring the accuracy and reliability of the detection, Improve detection efficiency.
本公开示例性的实施例中提供一种存储器检测方法,如图1所示,图1示出了根据本公开一示例性的实施例提供的存储器检测方法的流程图,图2-图8为存储器检测方法的各个阶段的示意图,下面结合图2-图8对存储器检测方法进行介绍。An exemplary embodiment of the present disclosure provides a memory detection method, as shown in FIG. 1, FIG. 1 shows a flow chart of a memory detection method provided according to an exemplary embodiment of the present disclosure, and FIGS. 2-8 are Schematic diagrams of various stages of the memory detection method, the memory detection method will be introduced below with reference to FIGS. 2-8 .
本公开的存储器检测方法中,本实施例对半导体结构不作限制,下面将以动态随机存储器(DRAM)为例进行介绍,但本实施例并不以此为限,本实施例中的半导体结构还可以为其他的结构。In the memory detection method of the present disclosure, this embodiment does not limit the semiconductor structure. The following will take dynamic random access memory (DRAM) as an example for introduction, but this embodiment is not limited thereto. The semiconductor structure in this embodiment is also Other configurations are possible.
如图1所示,本公开一示例性的实施例提供的一种存储器检测方法,包括如下的步骤:As shown in FIG. 1, a memory detection method provided by an exemplary embodiment of the present disclosure includes the following steps:
S110、将测试数据写入存储器的至少部分存储单元中;S110. Writing test data into at least some storage units of the memory;
S120、打开与存储单元连接的字线;S120, opening a word line connected to the memory cell;
S130、将偶数个输入输出引脚对应的2N个存储单元作为一个压缩组,读取压缩组中每个存储单元存储的目标数据,N为正整数;S130, using 2N storage units corresponding to an even number of input and output pins as a compression group, and reading the target data stored in each storage unit in the compression group, where N is a positive integer;
S140、根据预设处理方法对压缩组对应的目标数据进行运算,确定压缩组的检测信息;S140. Perform calculations on the target data corresponding to the compression group according to a preset processing method, and determine detection information of the compression group;
S150、根据检测信息,确定压缩组中的存储单元是否存在缺陷。S150. According to the detection information, determine whether there is a defect in the storage unit in the compression group.
在步骤S110中,由于在晶圆测试阶段需要检测出存储单元是否可以正常存储数据,即检测写入的数据与读出的数据是否是一致的,因此,在进行后续的检测步骤之前,需要先将测试数据写入存储器的至少部分存储单元中,再通过后续的步骤读取出测试数据,进而通过比较写入的测试数据和读取出的数据检测出存储单元是否存在缺陷。In step S110, since it is necessary to detect whether the memory cell can normally store data during the wafer test stage, that is, to detect whether the written data is consistent with the read data, therefore, before performing subsequent detection steps, it is necessary to first Writing test data into at least part of the storage units of the memory, and then reading the test data through subsequent steps, and then detecting whether the storage unit is defective by comparing the written test data with the read data.
在写入测试数据时,要确定出对存储器中的哪一部分存储单元进行检测,而后向这部分存储单元中写入测试数据。比如,可以是对存储器的全部存储单元进行检测,则同时向存储器的全部存储单元中写入测试数据。再比如,也可以对存储器的部分存储单元进行检测,确定好所要检测的存储单元的范围后,将测试数据写入选定的存储单元内。When writing test data, it is necessary to determine which part of the storage unit in the memory is to be tested, and then write test data into this part of the storage unit. For example, it may be to test all the storage units of the memory, and write test data to all the storage units of the memory at the same time. For another example, some storage units of the memory may also be tested, and after the range of the storage units to be tested is determined, test data is written into the selected storage units.
参考图2所示,先将测试数据写入存储器的需要进行测试的存储单元中,在一个示例中,选中了存储器中的16个存储库(bank),即图2中示出的存储库0、存储库1、存储库2、……、存储库15。需要说明的是,存储单元通常为存储器中最小的存储单元,每个存储单元中存储一个bit的数据,每个存储库包含很多个存储单元,每一存储库中包含两个存储块(half bank),每个存储块中存储的数据量为存储库的一半。需要说明的是,步骤S110中的至少部分存储单元可以是存储块中一行字线对应的存储单元,在后续对压缩组进行压缩时,可以将一条字线对应存储的64bit的数据压缩为1bit,也可以将两个32bit的数据压缩为1bit。With reference to shown in Fig. 2, test data is written in the storage unit that needs to be tested in memory earlier, in an example, selected 16 storage banks (bank) in the memory, i.e. storage bank 0 shown in Fig. 2 , Repository 1, Repository 2, ..., Repository 15. It should be noted that the storage unit is usually the smallest storage unit in the memory, and one bit of data is stored in each storage unit, and each storage bank contains many storage units, and each storage bank contains two storage blocks (half bank ), the amount of data stored in each storage block is half that of the repository. It should be noted that at least some of the storage units in step S110 may be storage units corresponding to a row of word lines in the storage block. When the compression group is subsequently compressed, the 64-bit data corresponding to a word line may be compressed into 1 bit. It is also possible to compress two 32bit data into 1bit.
为了测试这16个存储库中的存储单元是否存在问题,是否能正常存储数据,将测试数据写入至各存储库。例如,在压缩模式下,通过一个激活命令激活打开每个存储库中两个存储块中的每个存储块的一行字线,即打开32个字线,以向每个字线上连接的存储单元中预存储检测过程使用的测试数据。具体的,本实施例中共有16个存储库,每个存储库包括两个存储块,则共有32个存储块,激活命令激活每个存储块的一行字线,则激活命令共激活32条字线。In order to test whether there is a problem with the storage units in the 16 storage banks and whether data can be stored normally, the test data is written into each storage bank. For example, in the compressed mode, a row of word lines for each of the two memory blocks in each memory bank is activated by an activation command, that is, 32 word lines are opened to supply memory connected to each word line. The test data used in the detection process is pre-stored in the unit. Specifically, there are 16 storage banks in this embodiment, and each storage bank includes two storage blocks, so there are 32 storage blocks in total. The activation command activates a row of word lines in each storage block, and the activation command activates 32 word lines in total. Wire.
为了提升测试准确性和便捷性,在写入测试数据时,要保证每个用于写入测试数据的端口中写入的测试数据均一致。参考图2所示,本实施例中用于写入测试数据的端口包括行地址锁存器111、命令锁存器112和存储库地址锁存器113。行地址锁存器111、命令锁存器112和存储库地址锁存器113均可以分别接收指令,其中,行地址锁存器111与第一控制模块100电连接;命令锁存器112与命令解码器114连接,命令解码器114分别与第一控制模块100和第二控制模块200电连接;存储库地址锁存器113与存储库地址解码器115电连接,存储库地址解码器115与第二控制模块200电连接。行地址锁存器111的输入端连接第三放大器01,命令锁存器112的输入端连接第一放大器02,存储库地址锁存器113的输入端连接第二放大器03。对于每一个放大器均设置有正输入端和负输入端,每个放大器的负输入端均为命令与地址参考电压信号端,第三放大器01的正输入端为行地址信号的电压信号端,第一放大器02的正输入端为激活命令的电压信号端,第二放大器03的正输入端为存储库的地址信号的电压信号端。需要写入至存储单元中的测试数据,通过上述各个端口后写入至存储单元中。In order to improve test accuracy and convenience, when writing test data, it is necessary to ensure that the test data written in each port used to write test data is consistent. Referring to FIG. 2 , the ports for writing test data in this embodiment include a row address latch 111 , a command latch 112 and a bank address latch 113 . The row address latch 111, the command latch 112 and the memory bank address latch 113 can all receive instructions respectively, wherein the row address latch 111 is electrically connected to the first control module 100; the command latch 112 is connected to the command The decoder 114 is connected, and the command decoder 114 is electrically connected with the first control module 100 and the second control module 200 respectively; the memory bank address latch 113 is electrically connected with the memory bank address decoder 115, and the memory bank address decoder 115 is electrically connected with the second memory bank address decoder 115. The two control modules 200 are electrically connected. The input end of the row address latch 111 is connected to the third amplifier 01 , the input end of the command latch 112 is connected to the first amplifier 02 , and the input end of the bank address latch 113 is connected to the second amplifier 03 . Each amplifier is provided with a positive input terminal and a negative input terminal. The negative input terminal of each amplifier is a command and address reference voltage signal terminal. The positive input terminal of the third amplifier 01 is a voltage signal terminal of the row address signal. The positive input terminal of the first amplifier 02 is the voltage signal terminal of the activation command, and the positive input terminal of the second amplifier 03 is the voltage signal terminal of the address signal of the storage bank. The test data that needs to be written into the storage unit is written into the storage unit after passing through each of the above-mentioned ports.
在本实施例中,通过激活命令打开16个存储库中的32个存储块中每个存储块的一条字线,以保证16个存储库的32个存储块中字线连接的每个存储单元都写入一致的测试数据,也即保证每个存储单元接收到的脉冲都是一样的,以避免写入不同的测试数据导致后续检测过程中发生检测错误,比如,对每个存储单元写入的数据不一致而影响后续的判断操作,进而造成对存储单元是否存在故障的误判。In this embodiment, one word line in each of the 32 memory blocks in the 16 memory banks is opened by an activation command to ensure that each memory cell connected to the word line in the 32 memory blocks of the 16 memory banks is Write consistent test data, that is, ensure that the pulses received by each storage unit are the same, so as to avoid writing different test data and causing detection errors in the subsequent detection process, for example, the pulses written to each storage unit The inconsistency of the data will affect the subsequent judgment operation, thereby causing a misjudgment of whether the storage unit is faulty.
在步骤S120中,参考图2所示,第一信号线311分别与存储库0至存储 库15电连接,第一信号线311还与第一控制模块100电连接;第二信号线322分别与存储库0至存储库15电连接,第二信号线322还与第二控制模块200电连接。其中,第一控制模块100的输入端分别与行地址锁存器111和命令解码器114电连接,第一控制模块100用于接收行地址锁存器111传输的行地址信号,以及用于接收命令解码器114传输的激活命令。第二控制模块分别与命令解码器114和存储库地址解码器115电连接,第二控制模块用于接收存储库地址信号和激活命令。In step S120, as shown in FIG. 2, the first signal lines 311 are respectively electrically connected to the memory bank 0 to the memory bank 15, and the first signal lines 311 are also electrically connected to the first control module 100; the second signal lines 322 are respectively connected to The storage bank 0 is electrically connected to the storage bank 15 , and the second signal line 322 is also electrically connected to the second control module 200 . Wherein, the input terminals of the first control module 100 are respectively electrically connected with the row address latch 111 and the command decoder 114, and the first control module 100 is used for receiving the row address signal transmitted by the row address latch 111, and for receiving The activation command transmitted by the command decoder 114. The second control module is electrically connected to the command decoder 114 and the memory bank address decoder 115 respectively, and the second control module is used for receiving the memory bank address signal and the activation command.
将要从存储单元中读取的已经写入至存储单元中的测试数据定义为目标数据,在对目标数据进行读取过程中,首先打开与存储库0至存储库15电连接的第一信号线311和第二信号线322。接着,通过第一放大器02放大后的激活命令传输至命令锁存器112中进行锁存,并由命令锁存器112传输至命令解码器114中,进而传输至第一控制模块100。第一控制模块100接收到命令解码器114发来的激活命令时,第一控制模块100输出控制信号至第一信号线311,打开存储库0至存储库15(共16个存储库)中每个存储库中的一个存储块的字线,即打开16条字线。Define the test data written into the storage unit to be read from the storage unit as the target data, and in the process of reading the target data, first open the first signal line electrically connected to the storage bank 0 to the storage bank 15 311 and the second signal line 322. Next, the activation command amplified by the first amplifier 02 is transmitted to the command latch 112 for latching, and then transmitted to the command decoder 114 by the command latch 112 , and then transmitted to the first control module 100 . When the first control module 100 receives the activation command sent by the command decoder 114, the first control module 100 outputs a control signal to the first signal line 311 to open each of the storage banks 0 to 15 (16 storage banks in total). The word line of a memory block in a memory bank, that is, open 16 word lines.
当第二控制模块200接收到命令解码器114发来的激活命令后,第二控制模块200输出控制信号至第二信号线322,打开存储库0至存储库15(共16个存储库)中每个存储库中的另一个存储块的字线,即打开16条字线。因此,在压缩模式下,通过第一控制模块100输出控制信号至第一信号线311,以及通过第二控制模块200输出控制信号至第二控制线322,以打开存储库0至存储库15中每个存储库包含的每个存储块的字线,即通过一个激活指令共打开32个字线。After the second control module 200 receives the activation command sent by the command decoder 114, the second control module 200 outputs a control signal to the second signal line 322, and opens the storage bank 0 to the storage bank 15 (a total of 16 storage banks). The word lines of another memory block in each bank, that is, 16 word lines are turned on. Therefore, in the compression mode, the control signal is output to the first signal line 311 through the first control module 100, and the control signal is output to the second control line 322 through the second control module 200 to open the storage bank 0 to the storage bank 15. The word lines of each memory block included in each memory bank, that is, a total of 32 word lines are turned on by an activation command.
在一个示例性实施例中,参照图3a和图3b,并参照图2所示,本实施例中的存储库的存储单元中,除了存储测试数据之外,还可以向存储库0至存储库15的存储单元中写入除测试数据之外的其他预设数据。为了避免在读取目标数据时其他预设数据被读取,造成读取到的目标数据受到其他预设数据的影响,本实施例中设置了译码器330。译码器330具有广泛的用途,译码器不仅用于代码的转换、终端的数字显示,还用于数据分配、存储器寻址和组合控制信号等作用。在本实施例中,译码器330的输入端分别与行地址锁存器111、命令锁存器112和存储库地址锁存器113电连接,需要写入至存储库0至存储库15中的存储单元的测试数据和其他预设数据,根据信号的来源和作用不同,数据分别从行地址锁存器111、命令锁存器112和存储库地址锁存器113传输至译码器330,通过译码器330传输至存储库0至存储库15中的存储单元中。In an exemplary embodiment, referring to FIG. 3a and FIG. 3b , and referring to FIG. 2 , in the storage unit of the storage library in this embodiment, in addition to storing test data, it is also possible to store data from storage library 0 to storage library Write other preset data except test data in the storage unit of 15. In order to prevent other preset data from being read when the target data is read, causing the read target data to be affected by other preset data, a decoder 330 is provided in this embodiment. The decoder 330 has a wide range of uses. The decoder is not only used for code conversion and digital display of the terminal, but also for data distribution, memory addressing, and combined control signals. In this embodiment, the input terminals of the decoder 330 are electrically connected to the row address latch 111, the command latch 112 and the memory bank address latch 113 respectively, and need to be written into memory banks 0 to 15 The test data and other preset data of the storage unit are different according to the source and function of the signal, and the data are transmitted from the row address latch 111, the command latch 112 and the memory bank address latch 113 to the decoder 330 respectively, Transmit to the storage units in the storage bank 0 to the storage bank 15 through the decoder 330 .
在一些可能的实施例中,如图3b和图2所示,在存储库0至存储库15对应的输入输出引脚700处设置锁存器或触发器。为了提升数据操作可靠性,在每个存储单元的输入输出引脚700处设置锁存器,即图3b中示出的锁存器341、锁存器342、……、锁存器3416,锁存器的数量与存储库的数量 一一对应,其中,每个存储库的对应的输入输出引脚700通过一个逻辑或非门的一个引脚与锁存器连接,逻辑或非门的另一个引脚与存储库的地址信号的电压端连接。In some possible embodiments, as shown in FIG. 3 b and FIG. 2 , latches or flip-flops are set at the input and output pins 700 corresponding to memory bank 0 to memory bank 15 . In order to improve the reliability of data operation, a latch is provided at the input and output pin 700 of each storage unit, that is, the latch 341, the latch 342, ..., the latch 3416 shown in FIG. The number of registers is in one-to-one correspondence with the number of storage banks, wherein the corresponding input and output pins 700 of each storage bank are connected to the latch through one pin of a logic NOR gate, and the other pin of the logic NOR gate The pin is connected to the voltage terminal of the address signal of the memory bank.
每个锁存器都设置有输入端口、输出端口(即输出使能的端口)、复位端口和锁存器激活命令端口。锁存器激活命令端口用于接收锁存器激活命令,锁存器在接收到锁存器激活命令后对数据进行锁存。复位端口用于接收复位命令,在接收到复位命令后,锁存器复位,可以重新对输入至其中的数据进行存储。锁存器的输出端口输出使能。在本实施例中,存储单元0与锁存器341对应设置,存储单元1与锁存器342对应设置、……、存储单元15与锁存器3416对应设置,测试数据通过如图3a所示的译码器330进入到存储库0至存储库15中,并进入到如图3b中示出的与存储库对应的锁存器中进行锁存。Each latch is provided with an input port, an output port (that is, an output enable port), a reset port, and a latch activation command port. The latch activation command port is used to receive the latch activation command, and the latch latches the data after receiving the latch activation command. The reset port is used to receive a reset command. After receiving the reset command, the latch is reset, and the data input to it can be stored again. The output port of the latch is output enable. In this embodiment, the storage unit 0 is set correspondingly to the latch 341, the storage unit 1 is set correspondingly to the latch 342, ..., the storage unit 15 is set correspondingly to the latch 3416, and the test data is passed as shown in Fig. 3a The decoder 330 enters memory bank 0 to memory bank 15, and enters into the latch corresponding to the memory bank as shown in FIG. 3b for latching.
在锁存器未接收到锁存器激活命令时,其输出端口不随输入端口的输入信号发生变化,仍保持原状态,不会输出锁存器的输入端口输入的数据。当锁存器接收到锁存器激活命令后,输出端口处才会输出数据。如图3b中所示的,锁存器341至锁存器3416的锁存器激活命令端口在未接收到锁存器激活命令时,无论每个锁存器的输入端口输入什么数据,均不会从锁存器的输出端口输出,从而实现将存储库内存储的其他预设数据保存,不影响测试数据在存储库的输出状态,避免存储库内存储的其他预设数据影响读取的目标数据。When the latch does not receive the latch activation command, its output port does not change with the input signal of the input port, and remains in the original state, and does not output the data input by the input port of the latch. When the latch receives the latch activation command, the output port will output data. As shown in Figure 3b, when the latch activation command port of the latch 341 to the latch 3416 does not receive the latch activation command, no matter what data is input to the input port of each latch, no It will be output from the output port of the latch, so as to save other preset data stored in the memory bank, without affecting the output state of the test data in the memory bank, and avoid other preset data stored in the memory bank from affecting the reading target data.
根据本公开的另一个实施例,在图2中示出的存储库0至存储库15的输入输出引脚700处可以不设置锁存器,设置触发器。当测试数据通过如图3a所示的译码器330后,可以被写入存储库0至存储库15中。触发器在时钟信号来临前会使触发器的输出端口保持输出从输入端口写入的数据不变。当接收到时钟信号后,触发器改变触发器的输出端口的状态,将接收到时钟信号后,触发器接收到的数据从触发器的输出端口输出。因此,将存储单元设置与触发器连接,既保证了存储单元内测试数据不被其他预设数据影响,还可以保证测试数据写入存储单元后不会因存储单元自身结构而影响输出数据的准确性。According to another embodiment of the present disclosure, no latch may be provided at the input and output pins 700 of memory bank 0 to memory bank 15 shown in FIG. 2 , and flip-flops may be provided. After the test data passes through the decoder 330 shown in FIG. 3 a , it can be written into memory banks 0 to 15 . Before the clock signal comes, the flip-flop will keep the output port of the flip-flop to output the data written from the input port unchanged. After receiving the clock signal, the flip-flop changes the state of the output port of the flip-flop, and outputs the data received by the flip-flop after receiving the clock signal from the output port of the flip-flop. Therefore, connecting the storage unit to the trigger not only ensures that the test data in the storage unit will not be affected by other preset data, but also ensures that the accuracy of the output data will not be affected by the structure of the storage unit itself after the test data is written into the storage unit. sex.
在步骤S130中,如图4a、4b所示,图4a和4b中示出的DQ用于表征存储器的输入输出引脚,作为数据写入存储单元的数据端口。可以应用于型号为DDR3 DRAM、DDR4 DRAM、DDR5 DRAM等存储器,其中,DRAM(Dynamic Random Access Memory)一般指动态随机存取存储器。如图4a所示,可以通过8个DQ与外部控制器进行数据传输。参照图2,存储库0至存储库15共有16个存储库,即32个存储块。针对一个存储块中一行字线的数据写入而言,当突发长度(BL,Burst Length)为8时,8个数据端口将输入64bit(位)的数据。将8个数据端口对应一个压缩组44。bit为存储单元的数据位,如图4a所示,突发长度为8则一个数据端口对应8个数据位,即 bit0、bit1、…、bit7,也即一个数据端口DQ0对应了bit0至bit7,另一个数据端口DQ1对应了bit0至bit7,以此类推。本领域技术人员可以理解,突发长度不限于此,比如,如图4b所示,突发长度可以为4,则一个数据端口对应4个数据位,即一个数据端口DQ0对应了bit0至bit3,另一个数据端口DQ1对应了bit4至bit7,以此类推。In step S130, as shown in FIGS. 4a and 4b, the DQ shown in FIGS. 4a and 4b is used to represent the input and output pins of the memory, as the data port for writing data into the storage unit. It can be applied to DDR3 DRAM, DDR4 DRAM, DDR5 DRAM and other memories. Among them, DRAM (Dynamic Random Access Memory) generally refers to dynamic random access memory. As shown in Figure 4a, data transmission with an external controller can be performed through 8 DQs. Referring to FIG. 2, there are 16 memory banks in total from memory bank 0 to memory bank 15, that is, 32 memory blocks. For the data writing of one row of word lines in one memory block, when the burst length (BL, Burst Length) is 8, the 8 data ports will input 64bit (bit) data. The 8 data ports correspond to one compression group 44 . bit is the data bit of the storage unit, as shown in Figure 4a, if the burst length is 8, one data port corresponds to 8 data bits, namely bit0, bit1, ..., bit7, that is, one data port DQ0 corresponds to bit0 to bit7, Another data port DQ1 corresponds to bit0 to bit7, and so on. Those skilled in the art can understand that the burst length is not limited thereto. For example, as shown in FIG. Another data port DQ1 corresponds to bit4 to bit7, and so on.
在此需要说明的是,本实施例以具有存储库0至存储库15作为示例,上述图4a和图4b以一个存储库的两个存储块的一条字线的数据端口的对数据的压缩方式进行说明。除了可以采用突发长度为4或8的方式构成压缩组,在实施过程中可以采用2N个存储单元存储的目标数据为一个压缩组的方式进行压缩组划分,其中,N为正整数,比如N可以为1、2、3、4等。What needs to be explained here is that this embodiment takes memory bank 0 to memory bank 15 as an example, and the above-mentioned Figure 4a and Figure 4b use the data compression method of the data port of one word line of two memory blocks of one memory bank Be explained. In addition to using a burst length of 4 or 8 to form a compression group, in the implementation process, the target data stored in 2N storage units can be used as a compression group to divide the compression group, where N is a positive integer, such as N Can be 1, 2, 3, 4, etc.
如图4a和4b所示,在形成多个压缩组44后,对压缩组44中的信息进行异或比较,每四个端口压缩为1bit的数据。在对压缩组44中的信息进行异或比较时,可以采用不同的比较方式。在一个示例中,可以将两个压缩组44之间的数据进行比较,比如将DQ0和DQ1中的数据进行异或运算得到第一结果,DQ2和DQ3中的数据进行异或运算得到第二结果,然后再将第一结果和第二结果进行异或比较,得到最终的结果,将输出的运算结果压缩为1bit。在另一个示例中,可以将每个压缩组44内的各个存储单元进行两两异或运算,每个压缩组输出一个比较结果A,即,DQ0输出比较结果A0,DQ1输出比较结果A1,以此类推。然后,将DQ0输出的比较结果A0与DQ1输出的比较结果A再进行异或运算,输出第一结果;DQ2和DQ3中的数据经过上述类似处理后,输出第二结果,然后再将第一结果和第二结果进行异或比较,得到最终的结果,将输出的运算结果压缩为1bit。通过本实施例中的方法,可以将数量庞大的存储单元中存储的测试数据,划分为数量相对较少的压缩组44,然后再对压缩组44进行异或运算,最终将2N个存储单元中存储的目标数据压缩为1bit,实现快速对存储单元进行检测的目的。As shown in FIGS. 4 a and 4 b , after forming multiple compression groups 44 , XOR comparison is performed on the information in the compression groups 44 , and every four ports are compressed into 1-bit data. When performing XOR comparison on the information in the compressed group 44, different comparison methods can be used. In an example, the data between the two compression groups 44 can be compared, for example, the data in DQ0 and DQ1 can be XORed to obtain the first result, and the data in DQ2 and DQ3 can be XORed to obtain the second result , and then XOR compares the first result and the second result to obtain the final result, and compresses the output operation result to 1 bit. In another example, each storage unit in each compression group 44 can be subjected to pairwise XOR operation, and each compression group outputs a comparison result A, that is, DQ0 outputs comparison result A0, and DQ1 outputs comparison result A1, to And so on. Then, perform an XOR operation on the comparison result A0 output by DQ0 and the comparison result A output by DQ1, and output the first result; after the data in DQ2 and DQ3 have undergone the above-mentioned similar processing, output the second result, and then the first result Perform an XOR comparison with the second result to obtain the final result, and compress the output operation result to 1 bit. Through the method in this embodiment, the test data stored in a large number of storage units can be divided into a relatively small number of compression groups 44, and then an XOR operation is performed on the compression groups 44, and finally the test data stored in the 2N storage units The stored target data is compressed to 1 bit, so as to realize the purpose of quickly detecting the storage unit.
由于传统写入和读取数据时,只能写入或读取64位的信息,这样在进行一次数据的写入和读取操作过程中,每次检测只能针对一行字线对应的存储单元,造成检测效率低下。而在本实施例中,一次检测过程,一个激活指令可以同时打开32个存储块中每个存储块中的字线,每条字线都会输出64位的信息,这样在一次写入和读取操作时就可以有2048位的信息,大大提升了检测过程中检测效率。Since only 64-bit information can be written or read when traditionally writing and reading data, during a data writing and reading operation, each detection can only be performed on the memory cells corresponding to a row of word lines , resulting in low detection efficiency. In this embodiment, one detection process, one activation command can simultaneously open the word lines in each of the 32 memory blocks, and each word line will output 64-bit information, so that in one write and read 2048-bit information can be obtained during operation, which greatly improves the detection efficiency during the detection process.
参照图4a和压缩后的存储单元参考图6中所示,当一个压缩组44中的数据为8bit时,一条字线对应的64bit数据,会被压缩为2bit,即将一个存储块中一个字线对应的64bit压缩为2bit。则每个存储库内的信息都被压缩为4bit,如图6所示的实施例中16个存储库,即存储库0至存储库15中的2048位的信息最终被压缩为64bit。具体表现为存储库0包括两个存储块,每个存储块被压缩为2bit,则每个存储块包括了压缩后的4bit数据,将这4bit数据分别标记为bit0’至bit3’,则存储库0对应了压缩后的bit0’至bit3’的信息、存 储库1对应了压缩后的bit8’至bit11’的信息……以此类推,可知存储库0至存储单元7一共对应了压缩后的bit0’至bit31’。同理,存储库8至存储库15同样对应了压缩后bit0’至bit31’,由此,16个存储库中,存储库0至存储库15共对应了压缩后的64bit信息,该压缩后的64bit信息可以通过一个命令读出,不必再对每一存储库进行多次一行一列的写入数据或读取数据,以此达到了快速读取测试数据的目的。Referring to Fig. 4a and the compressed storage unit shown in Fig. 6, when the data in a compressed group 44 is 8 bits, the 64-bit data corresponding to a word line will be compressed to 2 bits, that is, a word line in a memory block The corresponding 64bit is compressed to 2bit. Then the information in each memory bank is compressed into 4 bits. In the embodiment shown in FIG. 6 , 16 memory banks, that is, 2048 bits of information in memory bank 0 to memory bank 15 are finally compressed into 64 bits. Specifically, storage bank 0 includes two storage blocks, each storage block is compressed to 2 bits, and each storage block includes compressed 4-bit data, and these 4-bit data are respectively marked as bit0' to bit3', then the storage bank 0 corresponds to the compressed bit0' to bit3' information, storage bank 1 corresponds to the compressed bit8' to bit11' information... By analogy, it can be known that storage bank 0 to storage unit 7 correspond to the compressed bit0 'to bit31'. Similarly, memory bank 8 to memory bank 15 also correspond to compressed bit0' to bit31', thus, among the 16 memory banks, memory bank 0 to memory bank 15 correspond to compressed 64-bit information, and the compressed The 64bit information can be read out with one command, and it is no longer necessary to write data or read data one row and one column multiple times for each storage bank, so as to achieve the purpose of quickly reading test data.
在步骤S140中,在实施过程中可以包括以下两个步骤:In step S140, the implementation process may include the following two steps:
S141、根据第一预设方法比较属于两个不同输入输出引脚对应的两个存储单元中的目标数据,获得N个比较结果信息;其中,所述第一预设方法包括异或逻辑运算。S141. Compare target data in two storage units corresponding to two different input and output pins according to a first preset method, and obtain N pieces of comparison result information; wherein, the first preset method includes an XOR logic operation.
S142、根据所述比较结果信息,确定所述压缩组的检测信息。S142. Determine detection information of the compression group according to the comparison result information.
在步骤S141中,对每个压缩组的每个存储单元进行异或逻辑运算,根据该逻辑运算得到一个比较结果信息。压缩组内每两个数据端口DQ的共816bit数据通过如图5a所示的电路,实现数据位两两异或逻辑运算最终得到8bit的压缩组信息,针对一个存储块中一行字线对应的64bit,通过异或逻辑运算最终得到32bit的比较结果。In step S141, an XOR logic operation is performed on each storage unit of each compression group, and a comparison result information is obtained according to the logic operation. The 816-bit data of each two data ports DQ in the compression group passes through the circuit shown in Figure 5a to realize the exclusive OR logic operation of two data bits and finally obtain the 8-bit compression group information. , and finally obtain a 32-bit comparison result through an XOR logic operation.
在步骤S142中,参照图5b所示,将N个比较结果信息分别输入至对应的N个晶体管,将N个晶体管分为两个比较组444,获取每个比较组444中的晶体管的状态信息,根据每个比较组444中的每个晶体管的状态信息,确定比较组444的输出信息,根据输出信息,确定压缩组44的检测信息。具体的,16bit数据输入至图5b中示出的16个晶体管中。16个晶体管划分为2个比较组444,每个比较组444中包含8个晶体管。一个比较组444的输入端连接第一反相器04,另一个比较组444的输入端连接第二反相器05,在对目标数据读取过程中,第一反相器04和第二反相器05的输入端均输入高电平的读信号READT,经过第一反相器04和第二反相器05反相之后,分别向两个比较组444输出低电平信号READB。In step S142, as shown in FIG. 5b, input N comparison result information into corresponding N transistors respectively, divide N transistors into two comparison groups 444, and obtain state information of transistors in each comparison group 444 , according to the state information of each transistor in each comparison group 444, determine the output information of the comparison group 444, and determine the detection information of the compression group 44 according to the output information. Specifically, 16-bit data is input into the 16 transistors shown in FIG. 5b. The 16 transistors are divided into two comparison groups 444, and each comparison group 444 includes 8 transistors. The input end of one comparison group 444 is connected to the first inverter O4, and the input end of the other comparison group 444 is connected to the second inverter O5. In the process of reading target data, the first inverter O4 and the second inverter The input terminals of the inverter 05 both input a high-level read signal READT, and after being inverted by the first inverter 04 and the second inverter 05 , output a low-level signal READB to the two comparison groups 444 respectively.
其中,晶体管包括NMOS晶体管,当比较结果信息输出为高电平时,比较结果信息通过NMOS管输出为低电平;当比较结果信息为低电平时,比较结果信息通过NMOS管后输出为高电平。如在本实施例中,将压缩组44内存储单元的比较结果信息输入至其对应的晶体管中,将晶体管分成如图5b所示的两个比较组444,比较结果信息通过晶体管输出,其中,当存储单元的比较结果信息输出都为0时,比较结果信息通过晶体管后输出为高电平。假如有一个比较结果信息输出为1,则晶体管输出低电平。通过如图5b所示的电路,分为8bit一比较组进行两两压缩,两个压缩组共16bit压缩为1bit。针对一个存储块中一行字线,将经过图5a压缩得到的32bit进行压缩,最终得到2bit的比较结果,针对16个存储库,即32个存储块,则将2048bit压缩为64bit。Wherein, the transistor includes an NMOS transistor. When the comparison result information is output at a high level, the comparison result information is output at a low level through the NMOS transistor; when the comparison result information is at a low level, the comparison result information is output at a high level after passing through the NMOS transistor. . As in this embodiment, the comparison result information of the storage units in the compression group 44 is input into its corresponding transistors, and the transistors are divided into two comparison groups 444 as shown in FIG. 5b, and the comparison result information is output through the transistors, wherein, When the comparison result information output of the storage unit is all 0, the comparison result information is output as a high level after passing through the transistor. If a comparison result information output is 1, the transistor outputs a low level. Through the circuit shown in Figure 5b, it is divided into 8bits and one comparison group to perform two-two compression, and the total 16bits of the two compression groups are compressed into 1bit. For a row of word lines in a memory block, the 32 bits obtained through compression in Figure 5a are compressed to obtain a 2-bit comparison result. For 16 memory banks, that is, 32 memory blocks, 2048 bits are compressed into 64 bits.
在步骤S150中,根据检测信息,确定压缩组中的存储单元是否存在缺 陷。当运算结果为低电平时,确定压缩组中的存储单元存在缺陷,当运算结果为高电平时,确定压缩组中的存储单元没有缺陷。在一个示例性实施例中,两个比较组444的检测信息通过如图5b中判断电路111所示的或非逻辑运算,当运算结果是低电平时,确定压缩组中的存储单元存在缺陷,当运算结果为高电平时,确定压缩组中的存储单元没有缺陷,以此完成了存储器的快速检测,节省了传统方法中对每个存储单元单独进行一行一列数据检测所浪费的时间。In step S150, according to the detection information, it is determined whether there is a defect in the storage unit in the compression group. When the operation result is low level, it is determined that there is a defect in the storage unit in the compression group, and when the operation result is high level, it is determined that there is no defect in the storage unit in the compression group. In an exemplary embodiment, the detection information of the two comparison groups 444 is subjected to an NOR logic operation as shown in the judgment circuit 111 in FIG. When the operation result is at a high level, it is determined that the storage units in the compression group have no defects, thereby completing the rapid detection of the memory, saving the time wasted in the traditional method of individually performing data detection of one row and one column for each storage unit.
另外,需要说明的是,在对每个压缩组完成检测后,要控制比较组进行复位操作,从而将比较组中每次检测过程中的信息进行删除,便于在后续过程中极性多次、快速检测,实现循环检测的效果。In addition, it should be noted that after the detection of each compression group is completed, the comparison group should be controlled to perform a reset operation, so as to delete the information in each detection process in the comparison group, which is convenient for multiple polarities, Rapid detection to achieve the effect of circular detection.
参考图5a、图5b,根据一示例性实施例示出的一种存储器检测电路图。如图5a和图5b所示,存储器检测电路包括:压缩电路555、检测电路666和判断电路111。参考图5a所示,压缩电路555包括第一处理电路511,第一处理电路511连接存储器的偶数个输入输出引脚700(参见图2)对应的2N个存储单元。以8个输入输出引脚且突发长度为8举例说明,8个输入输出引脚700对应一个存储块中一行字线的64个存储单元,即64bit数据,针对输入输出引脚DQ0会输出8bit数据,分别为DQ0 BIT0、DQ0 BIT1至DQ0 BIT7,针对输入输出引脚DQ1会输出8bit数据,分别为DQ1 BIT0、DQ1 BIT1至DQ1 BIT7,以此类推,针对输入输出引脚DQ7会输出8bit数据,分别为DQ7 BIT0、DQ7 BIT1至DQ7 BIT7。Referring to FIG. 5a and FIG. 5b , a memory detection circuit diagram is shown according to an exemplary embodiment. As shown in FIG. 5 a and FIG. 5 b , the memory detection circuit includes: a compression circuit 555 , a detection circuit 666 and a judgment circuit 111 . Referring to FIG. 5 a , the compression circuit 555 includes a first processing circuit 511 , and the first processing circuit 511 is connected to 2N storage units corresponding to an even number of input and output pins 700 (see FIG. 2 ) of the memory. Taking 8 input and output pins and a burst length of 8 as an example, the 8 input and output pins 700 correspond to 64 memory cells of a row of word lines in a memory block, that is, 64bit data, and the input and output pin DQ0 will output 8bit Data, respectively DQ0 BIT0, DQ0 BIT1 to DQ0 BIT7, for the input and output pin DQ1 will output 8bit data, respectively DQ1 BIT0, DQ1 BIT1 to DQ1 BIT7, and so on, for the input and output pin DQ7 will output 8bit data, They are DQ7 BIT0, DQ7 BIT1 to DQ7 BIT7.
其中,第一处理电路511包括N个逻辑门,每一逻辑门连接于两个存储单元对应的两个输入输出引脚,N为正整数,即每两个存储单元使用一个逻辑门进行逻辑判断并输出逻辑结果。存储单元内存入的测试数据通过偶数个输出引脚进入到第一处理电路511的逻辑门,以快速对存储单元内的测试数据进行运算,如将2N个存储单元内的数据压缩为Nbit数据,则经过压缩电路555后,即一个存储块中一行字线对应的64个存储单元的64bit数据可压缩并输出为32bit数据。Wherein, the first processing circuit 511 includes N logic gates, each logic gate is connected to two input and output pins corresponding to two storage units, and N is a positive integer, that is, one logic gate is used for each two storage units for logic judgment And output the logical result. The test data stored in the storage unit enters the logic gate of the first processing circuit 511 through an even number of output pins to quickly perform operations on the test data in the storage unit, such as compressing the data in 2N storage units into Nbit data, After passing through the compression circuit 555, that is, the 64-bit data of 64 memory cells corresponding to a row of word lines in a memory block can be compressed and output as 32-bit data.
检测电路666包括第二处理电路611,参考图5b所示,第二检测电路611包括N个晶体管,N个晶体管分别连接于第一处理电路511的N个逻辑门的输出端,N个晶体管分为两个比较组444,检测电路666还包括与两个比较组444分别对应的输出端。第二处理电路611中的N个晶体管连接第一处理电路511的逻辑门输出端,测试数据通过第一处理电路511运算后直接进入到第二处理电路611中的N个晶体管中,通过两个比较组444的N个晶体管输出后形成两个比较组444的输出信息。其中,N个晶体管可以为NMOS管,用于输出两个比较组444的输出信息。由于存储单元中预存储了一致的数据,通过压缩电路555进行异或逻辑运算之后,若存储单元无异常,则压缩电路555会输出低电平信号,比较组444中的NMOS管不导通;若存储单元存在异常时,压缩电路555会输出高电平信号,比较组444中的 NMOS管会导通,比较组444会输出低电平信号。The detection circuit 666 includes a second processing circuit 611, as shown in FIG. For the two comparison groups 444 , the detection circuit 666 also includes output terminals respectively corresponding to the two comparison groups 444 . The N transistors in the second processing circuit 611 are connected to the logic gate output terminals of the first processing circuit 511. After the test data is calculated by the first processing circuit 511, it directly enters the N transistors in the second processing circuit 611. The output information of two comparison groups 444 is formed after the outputs of the N transistors of the comparison group 444 . Wherein, the N transistors may be NMOS transistors for outputting the output information of the two comparison groups 444 . Since consistent data is pre-stored in the storage unit, after the exclusive OR logic operation is performed by the compression circuit 555, if the storage unit is normal, the compression circuit 555 will output a low-level signal, and the NMOS tube in the comparison group 444 will not be turned on; If the storage unit is abnormal, the compression circuit 555 will output a high-level signal, the NMOS transistor in the comparison group 444 will be turned on, and the comparison group 444 will output a low-level signal.
判断电路111连接于两个比较组444分别对应的输出端,对两个比较组444的输出信息进行最终的判断。其中,在本公开的一个实施例中,判断电路111包括非门以及或非门,两个比较组444分别对应的输出端分别连接一个非门,两个非门的输入端连接或非门的输入端,用于对两个比较组444的输出信息作出最终的判断。当判断当运算结果是低电平时,确定压缩组44中的存储单元存在缺陷,当运算结果为高电平时,确定压缩组44中的存储单元没有缺陷。The judging circuit 111 is connected to the corresponding output terminals of the two comparison groups 444 , and finally judges the output information of the two comparison groups 444 . Wherein, in one embodiment of the present disclosure, the judging circuit 111 includes a NOT gate and a NOR gate, the corresponding output terminals of the two comparison groups 444 are respectively connected to a NOT gate, and the input terminals of the two NOT gates are connected to the NOR gate. The input terminal is used to make a final judgment on the output information of the two comparison groups 444 . When it is judged that the operation result is low level, it is determined that the storage unit in the compression group 44 has a defect, and when the operation result is high level, it is determined that the storage unit in the compression group 44 has no defect.
在一个示例性实施例中,参考图5b所示,检测电路还包括复位电路333,复位电路333连接于每个比较组444对应的晶体管的输出端与判断电路111的判断逻辑门之间,复位电路333用于对每次存储器检测后进行复位,便于下一次检测。In an exemplary embodiment, as shown in FIG. 5b, the detection circuit further includes a reset circuit 333, and the reset circuit 333 is connected between the output terminal of the transistor corresponding to each comparison group 444 and the judgment logic gate of the judgment circuit 111. Reset The circuit 333 is used to reset the memory after each detection, so as to facilitate the next detection.
在一个示例性实施例中,压缩电路555还包括锁存器(参照图3b),锁存器连接于偶数个输入输出引脚700(参照图2)。锁存器将存储单元内的数据进行缓存,保证其他预设数据不参与到读取每个存储单元中存储的目标数据的过程中。In an exemplary embodiment, the compression circuit 555 further includes a latch (refer to FIG. 3 b ), and the latch is connected to an even number of input and output pins 700 (refer to FIG. 2 ). The latch caches the data in the storage unit to ensure that other preset data does not participate in the process of reading the target data stored in each storage unit.
在一个示例性实施例中,检测电路还包括预充电电路222,预充电电路222连接于每个比较组444的输出端及判断电路111的输入端,用于在读取操作之前将判读电路111的输入端预充电为高电平。预充电电路222包括PMOS管,在预充电过程中,PMOS管栅极端连接低电平,PMOS管导通,在读取操作过程中,PMOS管栅极端连接高电平,PMOS管断开。当读取操作过程中判断电路111的输入端都为高电平时,即比较组444中每个NMOS管都断开时,通过判断电路111的非逻辑以及或非逻辑运算后判断结果为高电平,即比较组444对应的存储单元无误。当比较组444内的任一NMOS管导通使得比较组444输出结果为低电平时,两个比较组444经过判断电路111的非逻辑以及或非逻辑运算后输出为低电平,则此情况下即可判断比较组444对应的存储单元有误。In an exemplary embodiment, the detection circuit further includes a pre-charging circuit 222, and the pre-charging circuit 222 is connected to the output terminal of each comparison group 444 and the input terminal of the judging circuit 111, and is used to reset the judging circuit 111 before the read operation. The input is precharged high. The pre-charging circuit 222 includes a PMOS transistor. During the pre-charging process, the gate terminal of the PMOS transistor is connected to a low level, and the PMOS transistor is turned on. During the read operation, the gate terminal of the PMOS transistor is connected to a high level, and the PMOS transistor is turned off. When the input terminals of the judging circuit 111 are all at a high level during the read operation, that is, when each NMOS transistor in the comparison group 444 is disconnected, the judgment result is high after the non-logic and OR non-logic operations of the judging circuit 111 Flat, that is, the storage unit corresponding to the comparison group 444 is correct. When any NMOS transistor in the comparison group 444 is turned on so that the output result of the comparison group 444 is low level, and the output of the two comparison groups 444 is low level after the non-logic and OR non-logic operations of the judgment circuit 111, then this situation It can be judged that the storage unit corresponding to the comparison group 444 is wrong.
图7是根据一示例性实施例示出的一种存储器检测装置,该装置至少包括写入模块210、控制模块220、读取模块230和判断模块240。FIG. 7 shows a memory detection device according to an exemplary embodiment, the device at least includes a writing module 210 , a control module 220 , a reading module 230 and a judging module 240 .
写入模块210,被配置为将测试数据写入存储器的至少部分存储单元中;A writing module 210, configured to write test data into at least some storage units of the memory;
控制模块220,被配置为打开与存储单元连接的字线;a control module 220 configured to open a word line connected to the memory cell;
读取模块230,被配置为将偶数个输入输出引脚对应的2N个存储单元作为一个压缩组,读取压缩组中每个存储单元中存储的目标数据,其中,N为正整数。The reading module 230 is configured to use 2N storage units corresponding to an even number of input and output pins as a compression group, and read the target data stored in each storage unit in the compression group, where N is a positive integer.
判断模块240,被配置为根于预设处理方法和目标数据,确定压缩组的检测信息。还被配置为根据检测信息,确定压缩组中的存储单元是否存在缺陷。The judging module 240 is configured to determine the detection information of the compression group based on the preset processing method and target data. It is also configured to determine whether there is a defect in the storage unit in the compression group according to the detection information.
在一个示例性实施例中,检测装置还包括复位模块250,用于每个压缩组完成检测后,控制比较组进行复位操作,以便于多次、快速地进行循环使用。In an exemplary embodiment, the detection device further includes a reset module 250, configured to control the comparison group to perform a reset operation after each compression group completes the detection, so as to facilitate repeated and rapid cycle use.
在一个示例性实施例中,检测装置还包括锁存器,用于缓存每个所述存储单元中存储的除目标数据外的预设数据,控制模块220还被配置为控制预设数据不参与读取每个存储单元中存储的目标数据过程。In an exemplary embodiment, the detection device further includes a latch for buffering preset data stored in each of the storage units except the target data, and the control module 220 is also configured to control the preset data not to participate in The process of reading the target data stored in each storage unit.
图8是根据一示例性实施例示出的一种用于存储器检测的设备,即计算机设备400的框图。例如,计算机设备400可以被提供为终端设备。参照图6,计算机设备400包括处理器401,处理器的个数可以根据需要设置为一个或者多个。计算机设备400还包括存储器402,用于存储可由处理器401的执行的指令,例如应用程序。存储器的个数可以根据需要设置一个或者多个。其存储的应用程序可以为一个或者多个。处理器401被配置为执行指令,以执行上述存储器检测方法。Fig. 8 is a block diagram of a device for memory detection, that is, a computer device 400, according to an exemplary embodiment. For example, the computer device 400 may be provided as a terminal device. Referring to FIG. 6, a computer device 400 includes a processor 401, and the number of processors can be set to one or more as required. The computer device 400 also includes a memory 402 for storing instructions executable by the processor 401 , such as application programs. The number of memories can be set to one or more as required. It can store one or more applications. The processor 401 is configured to execute instructions to perform the above memory detection method.
本领域技术人员应明白,本公开的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质上实施的计算机程序产品的形式。计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质,包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质等。此外,本领域技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those skilled in the art should understand that the embodiments of the present disclosure may be provided as a method, an apparatus (device), or a computer program product. Accordingly, the present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data , including but not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can be used in Any other medium, etc. that stores desired information and can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media, as is well known to those skilled in the art.
在示例性实施例中,提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器402,上述指令可由装置400的处理器401执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is provided a non-transitory computer-readable storage medium including instructions, such as the memory 402 including instructions, which can be executed by the processor 401 of the device 400 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由内存测试设备的处理器执行时,使得内存测试设备能够执行上述实施例中的存储器检测方法。A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of the memory testing device, the memory testing device can execute the memory testing method in the above-mentioned embodiments.
本公开是参照根据本公开实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计 算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the present disclosure. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
本说明书中各实施例或实施方式采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分相互参见即可。Each embodiment or implementation manner in this specification is described in a progressive manner, each embodiment focuses on the differences from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
在本说明书的描述中,参考术语“实施例”、“示例性的实施例”、“一些实施方式”、“示意性实施方式”、“示例”等的描述意指结合实施方式或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施方式或示例中。In the description of this specification, descriptions with reference to the terms "embodiments", "exemplary embodiments", "some implementations", "exemplary implementations", "examples" and the like mean that the descriptions are described in conjunction with the implementations or examples. A specific feature, structure, material, or characteristic is included in at least one embodiment or example of the present disclosure.
在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
在本公开的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本公开和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本公开的限制。In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, or in a specific orientation. construction and operation are therefore not to be construed as limitations on the present disclosure.
可以理解的是,本公开所使用的术语“第一”、“第二”等可在本公开中用于描述各种结构,但这些结构不受这些术语的限制。这些术语仅用于将第一个结构与另一个结构区分。It can be understood that the terms "first", "second" and the like used in the present disclosure can be used to describe various structures in the present disclosure, but these structures are not limited by these terms. These terms are only used to distinguish one structure from another.
在一个或多个附图中,相同的元件采用类似的附图标记来表示。为了清楚起见,附图中的多个部分没有按比例绘制。此外,可能未示出某些公知的部分。为了简明起见,可以在一幅图中描述经过数个步骤后获得的结构。在下文中描述了本公开的许多特定的细节,例如器件的结构、材料、尺寸、处理工艺和技术,以便更清楚地理解本公开。但正如本领域技术人员能够理解的那样,可以不按照这些特定的细节来实现本公开。In one or more drawings, like elements are indicated with like reference numerals. For the sake of clarity, various parts in the drawings are not drawn to scale. Also, some well-known parts may not be shown. For simplicity, the structure obtained after several steps can be described in one figure. In the following, many specific details of the present disclosure, such as structures, materials, dimensions, processing techniques and techniques of devices, are described for a clearer understanding of the present disclosure. However, as will be understood by those skilled in the art, the present disclosure may be practiced without these specific details.
最后应说明的是:以上各实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述各实施例对本公开进行了详细的说明,本领域技术人 员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present disclosure, not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present disclosure.
工业实用性Industrial Applicability
本公开实施例的存储器检测方法、电路、装置、设备及存储介质中,先将测试数据写入至少部分存储单元中,在对数据进行读取时,根据输入输出引脚对存储单元进行分组,偶数个输入输出引脚对应的2N个存储单元作为一个压缩组,对压缩组中存储的目标数据进行运算,最终确定压缩组的检测信息,进而根据检测信息确定出压缩组中的存储单元是否存在缺陷。使得包含本公开的存储器检测方法、电路、装置、设备及存储介质,可以提高存储器检测效率,缩短检测时间,为后续制程节省了大量时间,同时节省了测试成本。In the memory detection method, circuit, device, device, and storage medium of the embodiments of the present disclosure, the test data is first written into at least some of the storage units, and when the data is read, the storage units are grouped according to the input and output pins, The 2N storage units corresponding to an even number of input and output pins are used as a compression group, and the target data stored in the compression group is calculated to finally determine the detection information of the compression group, and then determine whether the storage unit in the compression group exists according to the detection information defect. By including the memory detection method, circuit, device, equipment and storage medium of the present disclosure, the memory detection efficiency can be improved, the detection time can be shortened, a lot of time can be saved for the subsequent manufacturing process, and the test cost can be saved at the same time.

Claims (18)

  1. 一种存储器的检测方法,所述检测方法包括:A detection method for a memory, the detection method comprising:
    将测试数据写入所述存储器的至少部分存储单元中;writing test data into at least some of the memory cells of the memory;
    打开与所述存储单元连接的字线;opening a word line connected to the memory cell;
    将偶数个输入输出引脚对应的2N个存储单元作为一个压缩组,读取所述压缩组中每个所述存储单元中存储的目标数据,其中,N为正整数;Using 2N storage units corresponding to an even number of input and output pins as a compression group, reading the target data stored in each storage unit in the compression group, wherein N is a positive integer;
    根据预设处理方法对压缩组对应的所述目标数据进行运算,确定压缩组的检测信息;Performing operations on the target data corresponding to the compression group according to a preset processing method to determine the detection information of the compression group;
    根据所述检测信息,确定所述压缩组中的所述存储单元是否存在缺陷。According to the detection information, it is determined whether the storage unit in the compression group has a defect.
  2. 根据权利要求1所述的检测方法,其中,所述根据预设处理方法对压缩组对应的所述目标数据进行运算,确定压缩组的检测信息,包括:The detection method according to claim 1, wherein said performing operations on the target data corresponding to the compression group according to a preset processing method to determine the detection information of the compression group includes:
    根据第一预设方法比较属于两个不同所述输入输出引脚对应的两个所述存储单元中的目标数据,获得N个比较结果信息;其中,所述第一预设方法包括异或逻辑运算;According to a first preset method, target data belonging to two storage units corresponding to two different input and output pins are compared to obtain N pieces of comparison result information; wherein, the first preset method includes XOR logic operation;
    根据所述比较结果信息,确定所述压缩组的检测信息。Determine the detection information of the compression group according to the comparison result information.
  3. 根据权利要求2所述的检测方法,其中,所述根据所述比较结果信息,确定所述压缩组的检测信息,包括:The detection method according to claim 2, wherein said determining the detection information of the compression group according to the comparison result information includes:
    将N个所述比较结果信息分别输入至对应的N个晶体管;Inputting the N pieces of comparison result information into corresponding N transistors respectively;
    将N个所述晶体管分为两个比较组,获取每个所述比较组中的所述晶体管的状态信息;dividing the N transistors into two comparison groups, and acquiring state information of the transistors in each comparison group;
    根据每个所述比较组中的每个所述晶体管的状态信息,确定所述比较组的输出信息;determining the output information of the comparison group according to the state information of each of the transistors in each of the comparison groups;
    根据所述输出信息,确定所述压缩组的检测信息。According to the output information, the detection information of the compression group is determined.
  4. 根据权利要求3所述的检测方法,其中,所述晶体管包括NMOS晶体管。The detection method according to claim 3, wherein the transistor comprises an NMOS transistor.
  5. 根据权利要求3所述的检测方法,其中,所述根据所述输出信息,确定所述压缩组的检测信息,包括:The detection method according to claim 3, wherein said determining the detection information of the compression group according to the output information comprises:
    对两个所述比较组的所述输出信息进行或非逻辑运算,运算结果作为所述压缩组的检测信息。An NOR operation is performed on the output information of the two comparison groups, and the operation result is used as the detection information of the compression group.
  6. 根据权利要求5所述的检测方法,其中,所述根据所述检测信息,确定所述压缩组中的所述存储单元是否存在缺陷,包括:The detection method according to claim 5, wherein, according to the detection information, determining whether there is a defect in the storage unit in the compression group comprises:
    所述运算结果为低电平时,确定所述压缩组中的所述存储单元存在缺陷;When the operation result is low level, it is determined that the storage unit in the compression group is defective;
    所述运算结果为高电平时,确定所述压缩组中的所述存储单元没有缺陷。When the operation result is at a high level, it is determined that the storage unit in the compression group has no defect.
  7. 根据权利要求3所述的检测方法,所述方法还包括:The detection method according to claim 3, said method further comprising:
    每个所述压缩组完成检测后,控制所述比较组进行复位操作。After each compression group completes detection, the comparison group is controlled to perform a reset operation.
  8. 根据权利要求1所述的检测方法,所述方法还包括:The detection method according to claim 1, said method further comprising:
    缓存每个所述存储单元中存储的除所述目标数据外的预设数据,控制所述预设数据不参与读取每个所述存储单元中存储的目标数据过程。The preset data stored in each of the storage units except the target data is cached, and the preset data is controlled not to participate in the process of reading the target data stored in each of the storage units.
  9. 一种存储器检测电路,所述存储器检测电路包括:A memory detection circuit, the memory detection circuit comprising:
    压缩电路,所述压缩电路包括第一处理电路,所述第一处理电路连接于存储器的偶数个输入输出引脚,所述输入输出引脚对应于所述存储器的2N个存储单元,所述第一处理电路包括N个逻辑门,每一所述逻辑门连接于两个所述存储单元对应的输入输出引脚,其中,N为正整数;A compression circuit, the compression circuit includes a first processing circuit, the first processing circuit is connected to an even number of input and output pins of the memory, the input and output pins correspond to 2N storage units of the memory, and the first A processing circuit includes N logic gates, each of which is connected to the corresponding input and output pins of the two storage units, where N is a positive integer;
    检测电路,第二处理电路包括N个晶体管,所述N个晶体管分别连接于所述第一处理电路的N个逻辑门的输出端,所述N个晶体管分为两个比较组,所述检测电路包括与两个比较组分别对应的输出端;The detection circuit, the second processing circuit includes N transistors, the N transistors are respectively connected to the output terminals of the N logic gates of the first processing circuit, the N transistors are divided into two comparison groups, and the detection The circuit includes output terminals respectively corresponding to the two comparison groups;
    判断电路,所述判断电路连接于所述两个比较组分别对应的输出端。A judging circuit, the judging circuit is connected to the corresponding output ends of the two comparison groups.
  10. 根据权利要求9所述的存储器检测电路,其中,所述判断电路包括判断逻辑门,所述判断逻辑门连接于所述两个比较组分别对应的输出端。The memory detection circuit according to claim 9, wherein the judging circuit comprises a judging logic gate, and the judging logic gate is connected to corresponding output terminals of the two comparison groups.
  11. 根据权利要求10所述的存储器检测电路,其中,所述存储器检测电路还包括复位电路,所述复位电路连接于每个所述比较组对应的所述晶体管的输出端与所述判断逻辑门的输入端之间。The memory detection circuit according to claim 10, wherein the memory detection circuit further comprises a reset circuit, the reset circuit is connected to the output end of the transistor corresponding to each comparison group and the judgment logic gate between the input terminals.
  12. 根据权利要求9所述的存储器检测电路,其中,所述压缩电路还包括锁存器,所述锁存器连接于所述偶数个输入输出引脚。The memory detection circuit according to claim 9, wherein the compression circuit further comprises a latch connected to the even number of input and output pins.
  13. 根据权利要求9所述的存储器检测电路,其中,所述检测电路还包括预充电电路,所述预充电电路连接于判断电路的输入端,用于将所述判断电路的输入端预充电为高电平。The memory detection circuit according to claim 9, wherein the detection circuit further comprises a pre-charging circuit, the pre-charging circuit is connected to the input terminal of the judgment circuit, and is used for pre-charging the input terminal of the judgment circuit to be high level.
  14. 一种存储器检测装置,所述存储器检测装置包括:A memory detection device, the memory detection device comprising:
    写入模块,用于将测试数据写入所述存储器的至少部分存储单元中;A write module, configured to write test data into at least some of the storage units of the memory;
    控制模块,用于打开与所述存储单元连接的字线;a control module, configured to open a word line connected to the memory cell;
    读取模块,用于将偶数个输入输出引脚对应的2N个所述存储单元作为一个压缩组,读取所述压缩组中每个所述存储单元中存储的目标数据,其中,N为正整数;A reading module, configured to use the 2N storage units corresponding to an even number of input and output pins as a compression group, and read the target data stored in each storage unit in the compression group, where N is positive integer;
    判断模块,用于根据预设处理方法和所述目标数据,确定所述压缩组的检测信息;A judging module, configured to determine detection information of the compression group according to a preset processing method and the target data;
    所述判断模块,还用于根据所述检测信息,确定所述压缩组中的所述存储单元是否存在缺陷。The judging module is further configured to determine whether the storage unit in the compression group has a defect according to the detection information.
  15. 根据权利要求14所述的存储器检测装置,所述检测装置还包括复位模块,用于每个所述压缩组完成检测后,控制比较组进行复位操作。The memory detection device according to claim 14, said detection device further comprising a reset module, configured to control the comparison group to perform a reset operation after each of the compression groups completes the detection.
  16. 根据权利要求14所述的存储器检测装置,所述检测装置还包括缓存器,用于缓存每个所述存储单元的中存储的除所述目标数据外的预设数据;The memory detection device according to claim 14, said detection device further comprising a buffer for buffering preset data stored in each of said storage units except said target data;
    所述控制模块还用于:The control module is also used for:
    控制所述预设数据不参与读取每个所述存储单元中存储的目标数据过程。Controlling that the preset data does not participate in the process of reading the target data stored in each of the storage units.
  17. 一种存储器检测设备,所述检测设备包括:A memory detection device, the detection device comprising:
    处理器;processor;
    用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
    其中,所述处理器被配置为执行如权利要求1至8任一项所述的方法。Wherein, the processor is configured to execute the method according to any one of claims 1-8.
  18. 一种计算机可读存储介质,当所述存储介质中的指令由处理器执行时,使得处理器能够执行如权利要求1至8任一项所述的方法。A computer-readable storage medium, when the instructions in the storage medium are executed by a processor, the processor can execute the method according to any one of claims 1 to 8.
PCT/CN2022/097517 2022-03-01 2022-06-08 Memory detection method, circuit, apparatus and device, and storage medium WO2023165044A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210212388.6A CN114582411A (en) 2022-03-01 2022-03-01 Memory detection method, circuit, device, equipment and storage medium
CN202210212388.6 2022-03-01

Publications (1)

Publication Number Publication Date
WO2023165044A1 true WO2023165044A1 (en) 2023-09-07

Family

ID=81774043

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/097517 WO2023165044A1 (en) 2022-03-01 2022-06-08 Memory detection method, circuit, apparatus and device, and storage medium

Country Status (2)

Country Link
CN (1) CN114582411A (en)
WO (1) WO2023165044A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114582411A (en) * 2022-03-01 2022-06-03 长鑫存储技术有限公司 Memory detection method, circuit, device, equipment and storage medium
CN117766007A (en) * 2022-09-19 2024-03-26 长鑫存储技术有限公司 Built-in self-test method and device
CN116486879B (en) * 2023-06-19 2023-11-03 全芯智造技术有限公司 Failure analysis method and device, readable storage medium and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662997A (en) * 2002-06-17 2005-08-31 飞思卡尔半导体公司 Method and apparatus for soft defect detection in a memory
US20070115739A1 (en) * 2005-11-24 2007-05-24 Via Technologies Inc. Output circuit of a memory and method thereof
CN108335715A (en) * 2017-01-18 2018-07-27 爱思开海力士有限公司 Nonvolatile semiconductor memory member and its operating method
CN210271794U (en) * 2019-10-16 2020-04-07 长鑫存储技术有限公司 Test circuit and memory chip using the same
US11145381B1 (en) * 2020-09-09 2021-10-12 Powerchip Semiconductor Manufacturing Corporation Memory with test function and test method thereof
CN114582411A (en) * 2022-03-01 2022-06-03 长鑫存储技术有限公司 Memory detection method, circuit, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662997A (en) * 2002-06-17 2005-08-31 飞思卡尔半导体公司 Method and apparatus for soft defect detection in a memory
US20070115739A1 (en) * 2005-11-24 2007-05-24 Via Technologies Inc. Output circuit of a memory and method thereof
CN108335715A (en) * 2017-01-18 2018-07-27 爱思开海力士有限公司 Nonvolatile semiconductor memory member and its operating method
CN210271794U (en) * 2019-10-16 2020-04-07 长鑫存储技术有限公司 Test circuit and memory chip using the same
US11145381B1 (en) * 2020-09-09 2021-10-12 Powerchip Semiconductor Manufacturing Corporation Memory with test function and test method thereof
CN114582411A (en) * 2022-03-01 2022-06-03 长鑫存储技术有限公司 Memory detection method, circuit, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114582411A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
WO2023165044A1 (en) Memory detection method, circuit, apparatus and device, and storage medium
US7301832B2 (en) Compact column redundancy CAM architecture for concurrent read and write operations in multi-segment memory arrays
US20150155055A1 (en) Test method of semiconductor memory device and semiconductor memory system
KR102076584B1 (en) Device and method of repairing memory cell and memory system including the same
US20020060934A1 (en) Semiconductor memory device and method of identifying programmed defective address thereof
US6515921B2 (en) Semiconductor storage device having redundancy circuit for replacement of defect cells under tests
KR20040070061A (en) Semiconductor memory device and test method
US10127999B2 (en) Nonvolatile memory and semiconductor device including the same
US9672939B2 (en) Memory devices, testing systems and methods
JPH06267295A (en) Semiconductor memory with built-in parallel bit test mode
JP2008097715A (en) Semiconductor memory and memory module
KR100746389B1 (en) Integrated semiconductor memory with a memory unit for storing addresses of defective memory cells
US9230693B1 (en) Repair circuit and semiconductor memory device including the same
US8867288B2 (en) Memory device and test method thereof
US20060203567A1 (en) Integrated memory circuit and method for repairing a single bit error
CN113223600B (en) Microelectronic device testing and associated methods, devices, and systems
US10535418B2 (en) Memory device including repair circuit and operation method thereof
US20160055920A1 (en) Semiconductor memory device and memory module having reconfiguration rejecting function
JP2001155498A (en) Dynamic integrated semiconductor memory having redundant unit of memory cell, and self-restoration method for memory cell of dynamic integrated semiconductor memory
KR20080080694A (en) Circuit and method for parallel test of memory device
US6809982B2 (en) Defective cell remedy method capable of automatically cutting capacitor fuses within the fabrication process
CN113362883B (en) Configurable Soft Post Package Repair (SPPR) scheme
US11929136B2 (en) Reference bits test and repair using memory built-in self-test
US11640843B2 (en) Semiconductor memory device and operating method thereof
US9330793B2 (en) Memory device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22929479

Country of ref document: EP

Kind code of ref document: A1