Memory detection method, circuit, device, equipment and storage medium
By performing packet detection and exclusive-OR logic operations on the memory during the wafer testing phase, the problem of low detection efficiency in the prior art is solved, fast and accurate memory detection is achieved, and cost is reduced.
Patent Information
- Application Number
- CN202210212388.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2042-03-01
AI Technical Summary
During the wafer testing phase, existing memory detection methods are inefficient, resulting in wasted time and high testing costs, and it is impossible to quickly detect defects in the memory cell matrix.
By writing test data into part of the memory storage unit, reading in groups and performing XOR logic operations, the compressed group detection information is used to determine whether there are defects in the storage unit, and the detection efficiency is improved.
It realizes rapid detection of memory unit defects in memory, shortens detection time, reduces testing costs, and improves detection efficiency.
Smart Images

Figure CN114582411B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of semiconductor technology, and in particular to a memory detection method, circuit, device, equipment and storage medium. Background Art
[0002] Before a chip leaves the factory, it usually has to go through a series of tests before it can be used as a product, such as wafer testing (Circuit Probing, referred to as CP testing), final testing (Final Test, referred to as FT testing), etc. Among them, in the wafer testing (CP testing) stage, it is necessary to test the memory cell matrix of the memory chip, which is mainly to quickly detect the cells with errors in the memory cell matrix so as to quickly repair the defects and avoid affecting subsequent manufacturing. The traditional detection method for the memory cell matrix can only perform detection operations on a row and a column, resulting in low test efficiency, a lot of waste of time, and high test costs. Summary of the invention
[0003] The following is a summary of the subject matter of the detailed description of the present disclosure. This summary is not intended to limit the scope of the claims.
[0004] The present disclosure provides a memory detection method, circuit, device, equipment and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a memory detection method is provided, the memory detection method comprising:
[0006] Writing test data into at least a portion of the storage cells of the memory;
[0007] opening a word line connected to the memory cell;
[0008] 2N storage units corresponding to an even number of input and output pins are taken as a compression group, and target data stored in each storage unit in the compression group is read, where N is a positive integer;
[0009] 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;
[0010] Based on the detection information, it is determined whether the storage unit in the compression group has defects.
[0011] According to some embodiments of the present disclosure, the step of performing calculations 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:
[0012] Compare the target data in the two storage units corresponding to the two different input and output pins according to a first preset method to obtain N comparison result information; wherein the first preset method includes an exclusive OR logic operation;
[0013] The detection information of the compression group is determined according to the comparison result information.
[0014] According to some embodiments of the present disclosure, determining the detection information of the compression group according to the comparison result information includes:
[0015] Inputting the N comparison result information into the corresponding N transistors respectively;
[0016] Divide the N transistors into two comparison groups, and obtain state information of the transistors in each comparison group;
[0017] Determining output information of the comparison group according to state information of each transistor in each comparison group;
[0018] Detection information of the compression group is determined according to the output information.
[0019] According to some embodiments of the present disclosure, the transistor comprises an NMOS transistor.
[0020] According to some embodiments of the present disclosure, determining the detection information of the compression group according to the output information includes:
[0021] Perform a logical OR operation on the output information of the two comparison groups, and use the operation result as the detection information of the compression group.
[0022] According to some embodiments of the present disclosure, determining whether the storage unit in the compression group has a defect according to the detection information includes:
[0023] When the operation result is a low level, it is determined that the storage unit in the compression group has a defect;
[0024] When the operation result is a high level, it is determined that the storage unit in the compression group has no defects.
[0025] According to some embodiments of the present disclosure, the detection method further includes:
[0026] After each of the compression groups completes the detection, the comparison group is controlled to perform a reset operation.
[0027] According to some embodiments of the present disclosure, the detection method further includes:
[0028] The preset data other than the target data stored in each of the storage units 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.
[0029] A second aspect of the present disclosure provides a memory detection circuit, the memory detection circuit comprising:
[0030] A compression circuit, the compression circuit comprising a first processing circuit, the first processing circuit, the first processing circuit being connected to an even number of input and output pins of a memory, the input and output pins corresponding to 2N storage units of the memory, the first processing circuit comprising N logic gates, each of the logic gates being connected to input and output pins corresponding to two of the storage units, wherein N is a positive integer;
[0031] The detection circuit, the second processing circuit includes N transistors, the N transistors are respectively connected to the output ends of the N logic gates of the first processing circuit, the N transistors are respectively two comparison groups, and the detection circuit includes output ends corresponding to the two comparison groups respectively;
[0032] A judgment circuit is connected to the output ends corresponding to the two comparison groups respectively.
[0033] According to some embodiments of the present disclosure, the judgment circuit includes a judgment logic gate, and the judgment logic gate is connected to output ends corresponding to the two comparison groups respectively.
[0034] According to some embodiments of the present disclosure, the memory detection circuit further includes a reset circuit, and the reset circuit is connected between the output end of the transistor corresponding to each of the comparison groups and the input end of the judgment logic gate.
[0035] According to some embodiments of the present disclosure, the compression circuit further includes a latch connected to the even-numbered input and output pins.
[0036] According to some embodiments of the present disclosure, the detection circuit further includes a pre-charging circuit, which is connected to the input end of the judgment circuit and is used to pre-charge the input end of the judgment circuit to a high level.
[0037] A third aspect of the present disclosure provides a memory detection device, the memory detection device comprising:
[0038] A writing module, used for writing test data into at least part of the storage units of the memory;
[0039] A control module, used for opening a word line connected to the storage unit;
[0040] A reading module, used for taking the 2N storage units corresponding to the even-numbered input and output pins as a compression group, and reading the target data stored in each storage unit in the compression group, wherein N is a positive integer;
[0041] A judgment module, used for determining the detection information of the compression group according to a preset processing method and the target data;
[0042] The judgment module is further used to determine whether the storage unit in the compression group has defects based on the detection information.
[0043] According to some embodiments of the present disclosure, the detection device further includes a reset module, which is used to control the comparison group to perform a reset operation after each compression group completes the detection.
[0044] According to some embodiments of the present disclosure, the detection device further includes a buffer for caching preset data stored in each of the storage units except the target data;
[0045] The control module is also used for:
[0046] The preset data is controlled not to participate in a process of reading a target stored in each of the storage units.
[0047] A fourth aspect of the present disclosure provides a memory detection device, the memory detection device comprising:
[0048] processor;
[0049] a memory for storing processor-executable instructions;
[0050] Wherein, the processor is configured to execute the memory detection method as described in the first aspect.
[0051] According to a fifth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a memory testing device, the memory testing device is enabled to perform the memory detection method described in the first aspect.
[0052] The memory detection method, circuit, device, equipment and storage medium provided by the embodiments of the present disclosure solve the problems of low operating efficiency, waste of time and waste of detection resources in the prior art when performing wafer testing. The memory detection method disclosed in the present disclosure can improve the memory detection efficiency, shorten the detection time, save a lot of time for subsequent processes, and save testing costs.
[0053] Other aspects will be apparent upon reading and understanding the drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The accompanying drawings incorporated into the specification and constituting a part of the specification illustrate embodiments of the present disclosure and are used together with the description to explain the principles of the embodiments of the present disclosure. In these drawings, similar reference numerals are used to represent similar elements. The drawings described below are some embodiments of the present disclosure, rather than all embodiments. For those skilled in the art, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 is a flow chart of a memory detection method according to an exemplary embodiment;
[0056] Figure 2 is a schematic diagram showing the connection between a memory word line and a memory cell according to an exemplary embodiment;
[0057] Figure 3a is a schematic diagram of a data input structure according to an exemplary embodiment;
[0058] Figure 3b is a schematic diagram of a data input structure according to an exemplary embodiment;
[0059] Figure 4a is a schematic diagram of a compression group according to an exemplary embodiment;
[0060] Figure 4b is a schematic diagram of a compression group according to an exemplary embodiment;
[0061] Figure 5a is a schematic diagram of a compression circuit according to an exemplary embodiment;
[0062] Figure 5b is a schematic diagram of a detection circuit and a judgment circuit according to an exemplary embodiment
[0063] Figure 6 is a schematic diagram showing a compressed storage unit according to an exemplary embodiment;
[0064] Figure 7 is a block diagram of a memory detection device according to an exemplary embodiment;
[0065] Figure 8 is a block diagram of a memory detection device according to an exemplary embodiment. DETAILED DESCRIPTION
[0066] 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 are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure. It should be noted that the embodiments in the present disclosure and the features in the embodiments can be arbitrarily combined with each other without conflict.
[0067] Before a chip leaves the factory, it usually has to go through a series of tests before it can be used as a product, such as using a chip probe to perform wafer testing (Circuit Probing, referred to as CP testing) and final testing (Final Test, referred to as FT testing). Among them, during the wafer testing (CP testing) stage, the memory cell matrix of the memory chip needs to be tested, which is mainly to quickly detect problematic memory cells in the memory cell matrix, so as to quickly repair the defects and avoid affecting subsequent processes.
[0068] For a write operation defined in the microelectronic product standard, only one row and one column can be operated. For a read operation, only 64 bits of data can be read, resulting in low test efficiency. If the read operation described above is still used for testing during the wafer test (CP test) stage, a lot of time will be wasted and test costs will be consumed. Therefore, it is necessary to design a memory detection method to perform this stage test so that the storage cells in the entire memory can be detected faster.
[0069] In order to solve the above problems, the present disclosure provides a memory detection method. In the memory detection method, test data is first written into at least part of the storage cells. When reading data, the storage cells are grouped according to the input and output pins, and the 2N storage cells corresponding to the even number of input and output pins are used as a compression group. The target data stored in the compression group is operated, and the detection information of the compression group is finally determined, and then whether the storage cells in the compression group are defective is determined based on the detection information. Since the storage cells in the memory are divided into compression groups for detection, a large number of storage cells can be detected in one detection process, so that whether the storage cells in the memory are defective can be quickly detected, while ensuring the detection accuracy and reliability, and improving the detection efficiency.
[0070] The exemplary embodiment of the present disclosure provides a memory detection method, such as Figure 1 As shown, the memory detection method provided in this embodiment includes the following steps:
[0071] S110, writing the test data into at least part of the storage units of the memory;
[0072] S120, opening the word line connected to the memory cell;
[0073] S130, taking 2N storage units corresponding 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, where N is a positive integer;
[0074] S140, performing calculations on the target data corresponding to the compression group according to a preset processing method to determine detection information of the compression group;
[0075] S150. Determine whether a storage unit in the compression group has defects based on the detection information.
[0076] In step S110, since it is necessary to detect whether the storage unit can store data normally in the wafer testing stage, that is, to detect whether the written data is consistent with the read data, before performing subsequent detection steps, it is necessary to first write the test data into at least part of the storage unit of the memory, and then read the test data through subsequent steps, and then detect whether the storage unit has defects by comparing the written test data and the read data.
[0077] When writing test data, it is necessary to determine which part of the memory cells in the memory are to be tested, and then write the test data into this part of the memory cells. For example, all the memory cells in the memory may be tested, and then the test data may be written into all the memory cells in the memory at the same time. For another example, part of the memory cells may be tested, and after determining the range of the memory cells to be tested, the test data may be written into the selected memory cells.
[0078] refer to Figure 2 As shown, the test data is first written into the storage unit that needs to be tested in the memory. In one example, 16 banks in the memory are selected, that is, Figure 2 The memory bank 0, memory bank 1, memory bank 2, ..., memory bank 15 are shown in FIG. It should be noted that a memory cell is usually the smallest memory cell in a memory, each memory cell stores one bit of data, each memory bank contains many memory cells, each memory bank contains two memory blocks (halfbank), and the amount of data stored in each memory block is half of that in the memory bank. It should be noted that at least some of the memory cells in step S110 may be memory cells corresponding to a row of word lines in a memory block, and when the compression group is subsequently compressed, 64 bits of data stored corresponding to a word line may be compressed into 1 bit, or two 32 bits of data may be compressed into 1 bit.
[0079] In order to test whether there are problems with the storage cells in the 16 storage banks and whether they can store data normally, test data is written to each storage bank. For example, in compression mode, an activation command is used to activate and open a row of word lines in each of the two storage blocks in each storage bank, that is, 32 word lines are opened to pre-store test data used in the detection process in the storage cells connected to each word line. Specifically, in this embodiment, there are 16 storage banks, 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 a total of 32 word lines.
[0080] In order to improve the accuracy and convenience of the test, when writing test data, it is necessary to ensure that the test data written in each port used to write test data is consistent. Figure 2 As shown, the port for writing test data in this embodiment includes a row address latch 111, a command latch 112 and a storage memory address latch 113. The row address latch 111, the command latch 112 and the storage memory address latch 113 can 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 decoder 114, and the command decoder 114 is electrically connected to the first control module 100 and the second control module 200 respectively; the storage memory address latch 113 is electrically connected to the storage memory address decoder 115, and the storage memory address decoder 115 is electrically connected to the second control module 200. 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 storage memory address latch 113 is connected to the second amplifier 03. Each amplifier is provided with a positive input terminal and a negative input terminal, and 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 a row address signal, the positive input terminal of the first amplifier 02 is a voltage signal terminal of an activation command, and the positive input terminal of the second amplifier 03 is a voltage signal terminal of an address signal of a storage memory. The test data to be written into the storage unit is written into the storage unit through the above ports.
[0081] In this embodiment, a word line of each storage block in the 32 storage blocks in the 16 storage banks is opened through an activation command to ensure that each storage cell connected by the word line in the 32 storage blocks in the 16 storage banks is written with consistent test data, that is, to ensure that the pulses received by each storage cell are the same, so as to avoid detection errors in the subsequent detection process caused by writing different test data, for example, inconsistent data written to each storage cell affects subsequent judgment operations, thereby causing misjudgment of whether the storage cell is faulty.
[0082] In step S120, refer to Figure 2As shown, the first signal line 311 is electrically connected to the memory bank 0 to the memory bank 15, respectively, and the first signal line 311 is also electrically connected to the first control module 100; the second signal line 322 is electrically connected to the memory bank 0 to the memory bank 15, respectively, and the second signal line 322 is also electrically connected to the second control module 200. Among them, the input end of the first control module 100 is electrically connected to the row address latch 111 and the command decoder 114, respectively, and the first control module 100 is used to receive the row address signal transmitted by the row address latch 111, and to receive 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 to receive the memory bank address signal and the activation command.
[0083] The test data to be read from the storage unit and written into the storage unit is defined as the target data. In the process of reading the target data, the first signal line 311 and the second signal line 322 electrically connected to the storage bank 0 to the storage bank 15 are first opened. Then, the activation command amplified by the first amplifier 02 is transmitted to the command latch 112 for latching, and is transmitted from the command latch 112 to the command decoder 114, 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, opens the word line of a storage block in each storage bank 0 to the storage bank 15 (a total of 16 storage banks), that is, opens 16 word lines.
[0084] When 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 to open the word line of another storage block in each of the storage banks 0 to 15 (a total of 16 storage banks), that is, to open 16 word lines. Therefore, in the compression mode, the first control module 100 outputs a control signal to the first signal line 311, and the second control module 200 outputs a control signal to the second control line 322 to open the word line of each storage block contained in each storage bank in the storage bank 0 to 15, that is, a total of 32 word lines are opened through one activation instruction.
[0085] In an exemplary embodiment, referring to Figure 3a and Figure 3b , and refer to Figure 2As shown, in the storage unit of the storage bank in this embodiment, in addition to storing test data, other preset data other than test data can also be written into the storage units of storage bank 0 to storage bank 15. In order to avoid other preset data being read when reading target data, 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 allocation, memory addressing and combination control signal and other functions. In this embodiment, the input end of the decoder 330 is electrically connected to the row address latch 111, the command latch 112 and the storage bank address latch 113 respectively. The test data and other preset data that need to be written into the storage units in storage bank 0 to storage bank 15 are transmitted from the row address latch 111, the command latch 112 and the storage bank address latch 113 to the decoder 330 according to the source and function of the signal, and are transmitted to the storage units in storage bank 0 to storage bank 15 through the decoder 330.
[0086] In some possible embodiments, Figure 3b and Figure 2 As shown, latches or triggers are set at the input and output pins 700 corresponding to memory banks 0 to 15. In order to improve the reliability of data operation, latches are set at the input and output pins 700 of each memory cell, that is, Figure 3b The latches 341, 342, ..., 3416 shown in the figure have a one-to-one correspondence with the number of memory banks, wherein the corresponding input-output pin 700 of each memory bank is connected to the latch via a pin of a logic NOR gate, and the other pin of the logic NOR gate is connected to the voltage end of the address signal of the memory bank.
[0087] Each latch is provided with an input port, an output port (i.e., an output-enabled port), a reset port, and a latch activation command port. The latch activation command port is used to receive a 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, and after receiving the reset command, the latch is reset, and the data input therein can be stored again. The output port of the latch is output enabled. In this embodiment, storage unit 0 is set corresponding to latch 341, storage unit 1 is set corresponding to latch 342, ..., storage unit 15 is set corresponding to latch 3416, and the test data is passed as follows Figure 3a The decoder 330 shown enters memory banks 0 to 15 and enters the Figure 3b The storage is performed in the latch corresponding to the memory bank shown in FIG.
[0088] When the latch does not receive the latch activation command, its output port does not change with the input signal of the input port, remains in the original state, and does not output the data input by the latch input port. When the latch receives the latch activation command, the output port will output data. Figure 3b As shown in , when the latch activation command ports of latches 341 to 3416 do not receive the latch activation command, no matter what data is input to the input port of each latch, it will not be output from the output port of the latch, thereby saving other preset data stored in the repository without affecting the output status of the test data in the repository, and avoiding other preset data stored in the repository from affecting the read target data.
[0089] According to another embodiment of the present disclosure, Figure 2 The input and output pins 700 of the memory bank 0 to the memory bank 15 shown in FIG. 7 may not have latches set, but triggers set. Figure 3a After the decoder 330 shown, it can be written into the memory bank 0 to the memory bank 15. Before the clock signal comes, the trigger will make the output port of the trigger keep outputting the data written from the input port unchanged. After receiving the clock signal, the trigger changes the state of the output port of the trigger, and outputs the data received by the trigger after receiving the clock signal from the output port of the trigger. Therefore, the storage unit is connected to the trigger, which not only ensures that the test data in the storage unit is not 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.
[0090] In step S130, Figure 4a , 4b As shown, Figure 4a and 4b The DQ shown in the figure is used to represent the input and output pins of the memory, and is used as the data port for writing data into the storage unit. It can be applied to memory models such as DDR3 DRAM, DDR4 DRAM, DDR5DRAM, etc., where DRAM (Dynamic Random Access Memory) generally refers to dynamic random access memory. Figure 4a As shown in Figure 1, data can be transferred to and from an external controller via 8 DQs. Figure 2 , there are 16 memory banks from memory bank 0 to memory bank 15, that is, 32 memory blocks. For the data writing of a row of word lines in a memory block, when the burst length (BL) is 8, 8 data ports will input 64 bits of data. The 8 data ports correspond to a compression group 44. bit is the data bit of the storage unit, such as Figure 4aAs shown, 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 will appreciate that the burst length is not limited to this. For example, Figure 4b As shown, the burst length can be 4, then one data port corresponds to 4 data bits, that is, one data port DQ0 corresponds to bit0 to bit3, another data port DQ1 corresponds to bit4 to bit7, and so on.
[0091] It should be noted that this embodiment takes the memory bank 0 to the memory bank 15 as an example. Figure 4a and Figure 4b The data compression method of a word line of two storage blocks of a storage memory is used to illustrate. In addition to forming a compression group by using a burst length of 4 or 8, in the implementation process, the compression group division can be performed by using a method in which the target data stored in 2N storage units is a compression group, where N is a positive integer, such as 1, 2, 3, 4, etc.
[0092] like Figure 4a and 4b As shown, after forming multiple compression groups 44, the information in the compression groups 44 is XOR compared, and each four ports are compressed into 1 bit of data. When the information in the compression groups 44 is XOR compared, different comparison methods can be used. In one example, the data between two compression groups 44 can be compared, such as performing an XOR operation on the data in DQ0 and DQ1 to obtain a first result, performing an XOR operation on the data in DQ2 and DQ3 to obtain a second result, and then performing an XOR comparison on the first result and the second result to obtain a final result, and the output operation result is compressed into 1 bit. In another example, each storage unit in each compression group 44 can be XORed in pairs, and each compression group outputs a comparison result A, that is, DQ0 outputs a comparison result A0, DQ1 outputs a comparison result A1, and so on. Then, the comparison result A0 output by DQ0 and the comparison result A output by DQ1 are subjected to an XOR operation to output a first result; after the data in DQ2 and DQ3 are subjected to similar processing as above, a second result is output, and then the first result and the second result are subjected to an XOR comparison to obtain a final result, and the output operation result is compressed 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 the compression groups 44 are subjected to an XOR operation, and finally the target data stored in 2N storage units are compressed to 1 bit, thereby achieving the purpose of quickly detecting the storage units.
[0093] Since only 64 bits of information can be written or read when writing or reading data in the traditional way, each detection can only target the storage cells corresponding to a row of word lines during a data writing or reading operation, resulting in low detection efficiency. In this embodiment, in a detection process, an activation instruction can simultaneously open the word lines in each storage block of 32 storage blocks, and each word line will output 64 bits of information, so that 2048 bits of information can be obtained during a writing or reading operation, greatly improving the detection efficiency during the detection process.
[0094] Reference Figure 4a and compressed storage unit reference Figure 6 As shown in , when the data in a compression group 44 is 8 bits, the 64 bits of data corresponding to a word line will be compressed into 2 bits, that is, the 64 bits corresponding to a word line in a storage block are compressed into 2 bits. Then the information in each storage memory is compressed into 4 bits, as shown in Figure 6 In the embodiment shown, 16 storage banks, namely, 2048 bits of information in storage bank 0 to storage bank 15 are finally compressed into 64 bits. Specifically, storage bank 0 includes two storage blocks, each storage block is compressed into 2 bits, and each storage block includes 4 bits of compressed data. The 4 bits of data are marked as bit0' to bit3', respectively. Then storage bank 0 corresponds to the compressed information of bit0' to bit3', storage bank 1 corresponds to the compressed information of bit8' to bit11'... and so on. It can be seen that storage bank 0 to storage unit 7 correspond to compressed bit0' to bit31' in total. Similarly, storage bank 8 to storage bank 15 also correspond to compressed bit0' to bit31'. Therefore, among the 16 storage banks, storage bank 0 to storage bank 15 correspond to a total of 64 bits of compressed information. The compressed 64 bits of information can be read out through one command, and there is no need to write or read data to each storage bank multiple times in one row and one column, thereby achieving the purpose of quickly reading test data.
[0095] In step S140, the implementation process may include the following two steps:
[0096] S141. Compare target data in two storage units corresponding to two different input and output pins according to a first preset method to obtain N comparison result information; wherein the first preset method includes an exclusive-OR logic operation.
[0097] S142: Determine detection information of the compression group according to the comparison result information.
[0098] 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 is obtained by Figure 5a The circuit shown implements XOR logic operation on two data bits to finally obtain 8-bit compressed group information. For 64 bits corresponding to a row of word lines in a storage block, a 32-bit comparison result is finally obtained through XOR logic operation.
[0099] In step S142, refer to Figure 5b As shown, the N comparison result information is respectively input to the corresponding N transistors, the N transistors are divided into two comparison groups 444, the state information of the transistors in each comparison group 444 is obtained, and the output information of the comparison group 444 is determined according to the state information of each transistor in each comparison group 444, and the detection information of the compression group 44 is determined according to the output information. Specifically, 16-bit data is input to Figure 5b 16 transistors are shown in FIG. 16. The 16 transistors are divided into two comparison groups 444, each comparison group 444 includes 8 transistors. The input end of one comparison group 444 is connected to the first inverter 04, and the input end of the other comparison group 444 is connected to the second inverter 05. In the process of reading the target data, the input ends of the first inverter 04 and the second inverter 05 are both input with a high-level read signal READT, and after being inverted by the first inverter 04 and the second inverter 05, a low-level signal READB is output to the two comparison groups 444 respectively.
[0100] The transistors include NMOS transistors. When the comparison result information is output as a high level, the comparison result information is output as a low level through the NMOS transistor; when the comparison result information is low level, the comparison result information is output as a high level after passing through the NMOS transistor. In this embodiment, the comparison result information of the storage unit in the compression group 44 is input to the corresponding transistor, and the transistors are divided into Figure 5b The two comparison groups 444 shown in the figure have comparison result information output through transistors. When the comparison result information output of the storage cells are all 0, the comparison result information is output as a high level after passing through the transistors. If one comparison result information is output as 1, the transistor outputs a low level. Figure 5b The circuit shown in the figure is divided into 8-bit comparison groups for two-by-two compression. Two compression groups with a total of 16 bits are compressed into 1 bit. Figure 5a The compressed 32 bits are compressed to finally obtain a 2-bit comparison result. For 16 storage banks, that is, 32 storage blocks, 2048 bits are compressed to 64 bits.
[0101] In step S150, it is determined whether the storage unit in the compression group has defects based on the detection information. When the operation result is a low level, it is determined that the storage unit in the compression group has defects, and when the operation result is a high level, it is determined that the storage unit in the compression group has no defects. In an exemplary embodiment, the detection information of the two comparison groups 444 is obtained by Figure 5b The judgment circuit 111 shows an OR-NOT logic operation. When the operation result is a low level, it is determined that the storage unit in the compression group has a defect. When the operation result is a high level, it is determined that the storage unit in the compression group has no defect. In this way, a fast detection of the memory is completed, saving the time wasted in the traditional method of individually detecting a row and a column of data for each storage unit.
[0102] In addition, it should be noted that after completing the detection of each compression group, the comparison group should be controlled to perform a reset operation, so as to delete the information of each detection process in the comparison group, so as to facilitate multiple and rapid detection of polarity in subsequent processes and achieve the effect of cyclic detection.
[0103] refer to Figure 5a , Figure 5b , a memory detection circuit diagram according to an exemplary embodiment is shown. Figure 5a and Figure 5b As shown, the memory detection circuit includes: a compression circuit 555, a detection circuit 666 and a judgment circuit 111. Figure 5a As shown, the compression circuit 555 includes a first processing circuit 511, and the first processing circuit 511 is connected to an even number of input and output pins 700 of the memory (see Figure 2 ) corresponding to 2N storage units. 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 storage units in a row of word lines in a storage block, that is, 64-bit data. For the input and output pin DQ0, 8-bit data will be output, namely DQ0 BIT0, DQ0 BIT1 to DQ0BIT7. For the input and output pin DQ1, 8-bit data will be output, namely DQ1 BIT0, DQ1 BIT1 to DQ1 BIT7. Similarly, for the input and output pin DQ7, 8-bit data will be output, namely DQ7 BIT0, DQ7 BIT1 to DQ7 BIT7.
[0104] 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, N is a positive integer, that is, every two storage units use one logic gate to perform logic judgment and output logic results. 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 operate on the test data in the storage unit. For example, if the data in 2N storage units is compressed into N-bit data, then after passing through the compression circuit 555, the 64-bit data of 64 storage units corresponding to a row of word lines in a storage block can be compressed and output as 32-bit data.
[0105] The detection circuit 666 includes a second processing circuit 611, referring to Figure 5b As shown, the second detection circuit 611 includes N transistors, which are respectively connected to the output ends of the N logic gates of the first processing circuit 511, and the N transistors are divided into two comparison groups 444. The detection circuit 666 also includes output ends corresponding to the two comparison groups 444. The N transistors in the second processing circuit 611 are connected to the output ends of the logic gates of the first processing circuit 511. The test data directly enters the N transistors in the second processing circuit 611 after being calculated by the first processing circuit 511, and is output by the N transistors of the two comparison groups 444 to form the output information of the two comparison groups 444. Among them, the N transistors can be NMOS tubes, which are used to output the output information of the two comparison groups 444. Since consistent data is pre-stored in the storage unit, after the XOR logic operation is performed by the compression circuit 555, if there is no abnormality in the storage unit, 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 there is an abnormality in the storage unit, the compression circuit 555 will output a high-level signal, the NMOS tube in the comparison group 444 will be turned on, and the comparison group 444 will output a low-level signal.
[0106] The judgment circuit 111 is connected to the output terminals corresponding to the two comparison groups 444, and makes a final judgment on the output information of the two comparison groups 444. In one embodiment of the present disclosure, the judgment circuit 111 includes a NOT gate and a NOR gate, and the output terminals corresponding to 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 input terminal of the NOR gate, so as to make a final judgment on the output information of the two comparison groups 444. When the operation result is a low level, it is determined that the storage unit in the compression group 44 has a defect, and when the operation result is a high level, it is determined that the storage unit in the compression group 44 has no defect.
[0107] In an exemplary embodiment, reference Figure 5bAs shown, the detection circuit also includes a reset circuit 333, which is connected between the output end of the transistor corresponding to each comparison group 444 and the judgment logic gate of the judgment circuit 111. The reset circuit 333 is used to reset the memory after each detection to facilitate the next detection.
[0108] In an exemplary embodiment, the compression circuit 555 also includes a latch (see Figure 3b ), the latch is connected to an even number of input and output pins 700 (refer to Figure 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.
[0109] In an exemplary embodiment, the detection circuit further includes a precharge circuit 222, which is connected to the output end of each comparison group 444 and the input end of the judgment circuit 111, and is used to precharge the input end of the judgment circuit 111 to a high level before the reading operation. The precharge circuit 222 includes a PMOS tube. During the precharge process, the gate end of the PMOS tube is connected to a low level and the PMOS tube is turned on. During the reading operation, the gate end of the PMOS tube is connected to a high level and the PMOS tube is turned off. When the input end of the judgment circuit 111 is at a high level during the reading operation, that is, when each NMOS tube in the comparison group 444 is turned off, the judgment result after the non-logical and non-OR logic operation of the judgment circuit 111 is a high level, that is, the storage unit corresponding to the comparison group 444 is correct. When any NMOS tube in the comparison group 444 is turned on so that the output result of the comparison group 444 is a low level, the two comparison groups 444 are output as a low level after the non-logical and non-OR logic operation of the judgment circuit 111, then in this case, it can be judged that the storage unit corresponding to the comparison group 444 is wrong.
[0110] Figure 7 A memory detection device is shown 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.
[0111] A writing module 210, configured to write the test data into at least part of the storage units of the memory;
[0112] A control module 220 configured to open a word line connected to a memory cell;
[0113] The reading module 230 is configured to take 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.
[0114] The judgment module 240 is configured to determine the detection information of the compression group based on the preset processing method and the target data, and is also configured to determine whether the storage unit in the compression group has defects according to the detection information.
[0115] In an exemplary embodiment, the detection device further includes a reset module 250, which is used to control the comparison group to perform a reset operation after each compression group completes the detection, so as to facilitate multiple and rapid cyclic use.
[0116] In an exemplary embodiment, the detection device further includes a latch for caching preset data stored in each of the storage units except the target data, and the control module 220 is further configured to control the preset data not to participate in the process of reading the target data stored in each storage unit.
[0117] Figure 8 4 is a block diagram of a device for memory detection according to an exemplary embodiment, namely, a computer device 400. For example, the computer device 400 may be provided as a terminal device. Figure 6 The computer device 400 includes a processor 401, and the number of processors can be set to one or more as needed. The computer device 400 also includes a memory 402, which is used to store instructions that can be executed by the processor 401, such as application programs. The number of memories can be set to one or more as needed. The application programs stored therein can be one or more. The processor 401 is configured to execute instructions to perform the above-mentioned memory detection method.
[0118] It will be appreciated by those skilled in the art that the embodiments of the present disclosure may be provided as methods, devices (equipment), or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing 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 cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer, etc. In addition, it is well known to those skilled in the art that communication media generally contain computer-readable instructions, data structures, program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0119] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is provided, such as a memory 402 including instructions, and the instructions can be executed by a processor 401 of an apparatus 400 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0120] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a memory testing device, enables the memory testing device to perform the memory detection method in the above embodiment.
[0121] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, apparatuses (devices) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0124] In the present disclosure, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that an article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the article or device comprising the elements.
[0125] Although the preferred embodiments of the present disclosure have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present disclosure.
[0126] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the intent of the present disclosure also includes these modifications and variations.
Claims
1. A method for detecting a memory, characterized in that: The detection method comprises: Writing test data into at least a portion of the storage cells of the memory; opening a word line connected to the memory cell; 2N storage units corresponding to an even number of input and output pins are taken as a compression group, and target data stored in each storage unit in the compression group is read, where 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; determining, based on the detection information, whether the storage unit in the compression group has a defect; The step of calculating the target data corresponding to the compression group according to a preset processing method to determine the detection information of the compression group includes: Compare the target data in the two storage units corresponding to the two different input and output pins according to a first preset method to obtain N comparison result information; wherein the first preset method includes an exclusive OR logic operation; Determining detection information of the compression group according to the comparison result information; Wherein, determining the detection information of the compression group according to the comparison result information includes: Inputting the N comparison result information into the corresponding N transistors respectively; Divide the N transistors into two comparison groups, and obtain state information of the transistors in each comparison group; Determining output information of the comparison group according to state information of each transistor in each comparison group; Detection information of the compression group is determined according to the output information.
2. The detection method according to claim 1, characterized in that: The transistor comprises an NMOS transistor.
3. The detection method according to claim 1, characterized in that: The step of determining the detection information of the compression group according to the output information includes: Perform a logical OR operation on the output information of the two comparison groups, and use the operation result as the detection information of the compression group.
4. The detection method according to claim 3, characterized in that: The step of determining, based on the detection information, whether the storage unit in the compression group has a defect comprises: When the operation result is a low level, it is determined that the storage unit in the compression group has a defect; When the operation result is a high level, it is determined that the storage unit in the compression group has no defects.
5. The detection method according to claim 1, characterized in that: The method further comprises: After each of the compression groups completes the detection, the comparison group is controlled to perform a reset operation.
6. The detection method according to claim 1, characterized in that: The method further comprises: The preset data other than the target data stored in each of the storage units 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.
7. A memory detection circuit, characterized in that: The memory detection circuit comprises: A compression circuit, the compression circuit comprising a first processing circuit, the first processing circuit being connected to an even number of input and output pins of a memory, the input and output pins corresponding to 2N storage units of the memory, the first processing circuit comprising N logic gates, each of the logic gates being connected to input and output pins corresponding to two of the storage units, wherein N is a positive integer; The detection circuit, the second processing circuit includes N transistors, the N transistors are respectively connected to the output ends of the N logic gates of the first processing circuit, the N transistors are divided into two comparison groups, and the detection circuit includes output ends corresponding to the two comparison groups respectively; A judgment circuit is connected to the output ends corresponding to the two comparison groups respectively.
8. The memory detection circuit according to claim 7, characterized in that: The judgment circuit includes a judgment logic gate, and the judgment logic gate is connected to the output ends corresponding to the two comparison groups respectively.
9. The memory detection circuit according to claim 8, characterized in that: The memory detection circuit further includes a reset circuit, and the reset circuit is connected between the output end of the transistor corresponding to each comparison group and the input end of the judgment logic gate.
10. The memory detection circuit according to claim 7, characterized in that: The compression circuit further includes a latch connected to the even-numbered input and output pins.
11. The memory detection circuit according to claim 7, characterized in that: The detection circuit also includes a pre-charging circuit, which is connected to the input end of the judgment circuit and is used to pre-charge the input end of the judgment circuit to a high level.
12. A memory detection device, characterized in that: The memory detection device comprises: A writing module, used for writing test data into at least part of the storage units of the memory; A control module, used for opening a word line connected to the storage unit; A reading module, used for taking the 2N storage units corresponding to the even-numbered input and output pins as a compression group, and reading the target data stored in each storage unit in the compression group, wherein N is a positive integer; A judgment module, used for determining the detection information of the compression group according to a preset processing method and the target data; The judgment module is further used to determine whether the storage unit in the compression group has defects according to the detection information; Wherein, determining the detection information of the compression group according to the preset processing method and the target data includes: Compare the target data in the two storage units corresponding to the two different input and output pins according to a first preset method to obtain N comparison result information; wherein the first preset method includes an exclusive OR logic operation; Determining detection information of the compression group according to the comparison result information; Wherein, determining the detection information of the compression group according to the comparison result information includes: Inputting the N comparison result information into the corresponding N transistors respectively; Divide the N transistors into two comparison groups, and obtain state information of the transistors in each comparison group; Determining output information of the comparison group according to state information of each transistor in each comparison group; Detection information of the compression group is determined according to the output information.
13. The memory detection device according to claim 12, characterized in that: The detection device also includes a reset module, which is used to control the comparison group to perform a reset operation after each compression group completes the detection.
14. The memory detection device according to claim 12, characterized in that: The detection device further includes a buffer for caching preset data stored in each of the storage units except the target data; The control module is also used for: The preset data is controlled not to participate in the process of reading the target data stored in each of the storage units.
15. A memory detection device, characterized in that: The detection equipment comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 6.
16. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor, the processor is enabled to perform the method according to any one of claims 1 to 6.
