DRAM testing method, device, readable storage medium and electronic device
Through two rounds of testing and a wrap-around access strategy, the problem of low DRAM test fault coverage in the existing technology is solved, and effective detection of multi-storage unit faults is achieved and the reliability of test results is improved.
Patent Information
- Application Number
- CN202011267707.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-13
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-11-13
AI Technical Summary
Existing DRAM testing methods are difficult to effectively detect multiple memory cell faults, especially bridging faults and coupling faults, resulting in low test fault coverage and insufficient reliability of test results.
Using a two-round test method, the DRAM to be tested performs preset test data writing and wrap-around reading, and obtains the final test results through the comparison results of the first and second rounds, using the preset burst length and wrap-around access strategy coverage More test blind spots can trigger multiple memory cell failures.
It improves the fault coverage rate, enhances the reliability of test results, can detect chip defects that are difficult to find in the existing technology, and improves the benignness of the product.
Smart Images

Figure CN112331256B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of DRAM chip testing, and in particular to a DRAM testing method, device, readable storage medium and electronic equipment. Background Art
[0002] Dynamic Random Access Memory (DRAM) is a semiconductor memory and an indispensable component of modern computer systems. Different platforms include double data rate synchronous dynamic random access memory (DDR) modules used in personal computers or servers and low power double data rate (LPDDR) chips used in embedded ARM architecture.
[0003] The basic storage unit of DRAM is cell. Computers and embedded systems store and read data by writing high or low levels in cells. However, due to the influence of process technology, the storage cell may cause data storage failure when reading and writing, resulting in low access rate.
[0004] In order to solve the above problems, the current DRAM adopts the burst read / write mode. As long as the starting column address and burst length are specified, the memory will automatically perform read / write operations on the corresponding number of storage units in sequence. That is, the read and write operations in a storage array are performed in units of burst length (BurstLength, BL). The read and write of multiple bits (such as 8 or 16 bits) of column addresses are operated at a time, and the data composed of 0 and 1 is accessed in each burst length. For example, if the address is located at row 0 and the burst length is 8 bits, then 1 bit of data is written to each bit in the space from row 0, column 0 to row 0, column 7, for a total of 8 bits. The second burst length is from row 0, column 8 to column 15, and so on. When all the storage locations of a row are written, the memory controller (MemoryController, MC) locates the address of the next row and continues the same operation. The above method makes data access more efficient, but there are still the following shortcomings. The memory test performed by the above method makes it difficult to stimulate multi-cell faults such as bridging faults (Bridging Fault, BF) and coupling faults (Coupling Fault, CF) between cells, the test fault coverage is low, and the reliability of the test results is low. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a DRAM testing method, device, readable storage medium and electronic device, which can improve the coverage of faults when testing DRAM.
[0006] In order to solve the above technical problems, a technical solution adopted by the present invention is:
[0007] A DRAM testing method comprises the following steps:
[0008] Perform two rounds of testing on the DRAM to be tested, and obtain a first comparison result and a second comparison result respectively;
[0009] The tests include:
[0010] Writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data;
[0011] Traversing the DRAM to be tested in units of a preset burst length until the entire storage array of the DRAM to be tested is traversed;
[0012] For the target storage unit corresponding to the preset burst length traversed, write the inverse of the preset test data to the target storage unit, perform wraparound reading of data on the target storage unit, and compare the read data with the corresponding written data;
[0013] The preset test data of the first round of testing is the inverse of the preset test data of the second round of testing;
[0014] A test result of the DRAM to be tested is obtained according to the first comparison result and the second comparison result.
[0015] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0016] A DRAM testing device, comprising:
[0017] A data reading and writing module is used to perform two rounds of testing on the DRAM to be tested, and obtain a first comparison result and a second comparison result respectively;
[0018] The tests include:
[0019] Writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data;
[0020] Traversing the DRAM to be tested in units of a preset burst length until the entire storage array of the DRAM to be tested is traversed;
[0021] For the target storage unit corresponding to the preset burst length traversed, write the inverse of the preset test data to the target storage unit, perform wraparound reading of data on the target storage unit, and compare the read data with the corresponding written data;
[0022] The preset test data of the first round of testing is the inverse of the preset test data of the second round of testing;
[0023] A testing module is used to obtain a test result of the DRAM to be tested according to the first comparison result and the second comparison result.
[0024] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0025] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, each step in the above DRAM testing method is implemented.
[0026] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0027] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements each step of the above-mentioned DRAM testing method when executing the computer program.
[0028] The beneficial effects of the present invention are as follows: the present invention performs two rounds of testing on the DRAM to be tested, performs a surround access to all storage cells into which preset test data has been written, obtains a comparison result in the surround access process, and obtains a final test result through the comparison results of the two rounds of testing. Compared with the memory test performed in the prior art in a burst read / write mode, which is difficult to detect multiple storage cell failures, the present invention can cover the previous test blind spots and detect chip defects that are difficult to detect in the existing technology, so that multiple storage cell failures such as bridging failures and coupling failures are stimulated, thereby improving the fault coverage, enhancing the reliability of the test results, and thus improving the product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A flowchart of steps in a DRAM testing method according to an embodiment of the present invention;
[0030] Figure 2 A schematic diagram of the structure of a DRAM testing device according to an embodiment of the present invention;
[0031] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present invention;
[0032] Figure 4 A schematic diagram of a memory array of a DRAM to be tested in which data is written in a first preset unit of rows in a DRAM testing method according to an embodiment of the present invention;
[0033] Figure 5 A schematic diagram of a traversal in a DRAM testing method according to an embodiment of the present invention;
[0034] Figure 6 A schematic diagram of memory cells to be accessed surrounding a target memory cell in a DRAM testing method according to an embodiment of the present invention;
[0035] Figure 7 A schematic diagram of clockwise wraparound access in a DRAM testing method according to an embodiment of the present invention;
[0036] Figure 8 A schematic diagram of a memory array of a DRAM to be tested in which data is written in columns as first preset units in a DRAM testing method according to an embodiment of the present invention;
[0037] Fig. 9 FIG. 4 is a schematic diagram of a counterclockwise surrounding access in a DRAM testing method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0039] like Figure 1 As shown, an embodiment of the present invention provides a DRAM testing method, comprising the steps of:
[0040] Perform two rounds of testing on the DRAM to be tested, and obtain a first comparison result and a second comparison result respectively;
[0041] The tests include:
[0042] Writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data;
[0043] Traversing the DRAM to be tested in units of a preset burst length until the entire storage array of the DRAM to be tested is traversed;
[0044] For the target storage unit corresponding to the preset burst length traversed, write the inverse of the preset test data to the target storage unit, perform wraparound reading of data on the target storage unit, and compare the read data with the corresponding written data;
[0045] The preset test data of the first round of testing is the inverse of the preset test data of the second round of testing;
[0046] A test result of the DRAM to be tested is obtained according to the first comparison result and the second comparison result.
[0047] From the above description, it can be seen that the beneficial effects of the present invention are: the present invention performs two rounds of tests on the DRAM to be tested, performs a surround access to all storage cells that have been written with preset test data, obtains comparison results in the surround access process, and obtains the final test results through the comparison results of the two rounds of tests. Compared with the memory test performed in the burst read and write mode in the prior art, it is difficult to detect multiple storage unit failures. The present invention can cover the previous test blind spots and detect chip defects that are difficult to detect in the existing technology, so that multiple storage unit failures such as bridging failures and coupling failures are stimulated, thereby improving fault coverage, enhancing the reliability of test results, and thus improving product benignity.
[0048] Further, performing wraparound reading of data from the target storage unit includes:
[0049] Determine storage units adjacent to the target storage unit to obtain a set of adjacent storage units;
[0050] Reading data from adjacent storage cells in the adjacent storage cell set one by one in a preset order, and comparing the read data with the corresponding written data until data is read from each adjacent storage cell in the adjacent storage cell set;
[0051] The data of the target storage unit is read, and the read data is compared with the inverse of the preset test data.
[0052] Furthermore, reading data from adjacent storage units in the adjacent storage unit set one by one according to a preset order includes:
[0053] With the target storage unit as the center, data of the adjacent storage units corresponding to the eight positions of the target storage unit are read one by one in a preset order. If the adjacent storage unit does not exist in any position, data reading of the adjacent storage unit corresponding to the position is omitted.
[0054] From the above description, it can be seen that by taking the target storage unit as the center, data are read one by one from the adjacent storage units corresponding to the 8 positions of the target storage unit in a preset order, and the read data is compared with the corresponding written data until data is read from each adjacent storage unit set in the adjacent storage unit set. This can cover the previous test blind areas, stimulate faults between cells, and improve the fault coverage during testing.
[0055] Furthermore, after comparing the read data with the corresponding written data, the following steps are also included:
[0056] Writing the preset test data into the compared storage unit;
[0057] The compared storage cells include the adjacent storage cells and the target storage cells.
[0058] From the above description, it can be seen that based on the refresh characteristics of the dynamic memory, by writing preset test data to the compared storage unit, the loss of the preset test data previously written to the storage unit can be avoided, which can well simulate the user's actual usage environment of the DRAM chip and ensure the reliability and accuracy of the test.
[0059] Furthermore, writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data includes:
[0060] The preset test data is written starting from the low-order address of each first preset read / write unit of the DRAM to be tested in units of the preset burst length until all storage units of the DRAM to be tested are written with data.
[0061] It can be seen from the above description that by writing preset test data to the DRAM to be tested in units of burst length, the data writing speed can be improved, and the time complexity is low, which is suitable for mass production testing.
[0062] Furthermore, the preset order includes a clockwise direction or a counterclockwise direction.
[0063] As can be seen from the above description, the preset order includes a clockwise direction or a counterclockwise direction, which allows the tester to select the test order of the surrounding access by himself, and has high flexibility.
[0064] Further, obtaining the test result of the DRAM to be tested according to the first comparison result and the second comparison result includes:
[0065] If the first comparison result and the second comparison result are both consistent, the test result is success; otherwise, the test result is failure.
[0066] It can be seen from the above description that by obtaining the first comparison result and the second comparison result respectively through two rounds of testing, it is possible to detect chip defects that are difficult to find, improve the fault coverage during testing, and ensure the reliability of the test.
[0067] like Figure 2 As shown, another embodiment of the present invention provides a DRAM testing device, comprising:
[0068] A data reading and writing module is used to perform two rounds of testing on the DRAM to be tested, and obtain a first comparison result and a second comparison result respectively;
[0069] The tests include:
[0070] Writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data;
[0071] Traversing the DRAM to be tested in units of a preset burst length until the entire storage array of the DRAM to be tested is traversed;
[0072] For the target storage unit corresponding to the preset burst length traversed, write the inverse of the preset test data to the target storage unit, perform wraparound reading of data on the target storage unit, and compare the read data with the corresponding written data;
[0073] The preset test data of the first round of testing is the inverse of the preset test data of the second round of testing;
[0074] A testing module is used to obtain a test result of the DRAM to be tested according to the first comparison result and the second comparison result.
[0075] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements each step of the above DRAM testing method.
[0076] like Figure 3 As shown, another embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements each step of the above-mentioned DRAM testing method when executing the computer program.
[0077] The DRAM testing method, device, computer-readable storage medium and electronic device of the present invention can be applied to the testing of any type of DRAM, such as DDR and LPDDR products of various generations, and are described below through specific implementation methods:
[0078] Embodiment 1
[0079] Please refer to Figure 1 , a DRAM testing method, comprising the steps of:
[0080] S1, performing two rounds of testing on the DRAM to be tested, and obtaining a first comparison result and a second comparison result respectively;
[0081] The tests include:
[0082] S11, writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data;
[0083] Specifically, the preset test data is written starting from the low-order address of each first preset read / write unit of the DRAM to be tested in units of a preset burst length until all storage units of the DRAM to be tested are written with data;
[0084] Wherein, the first preset read-write unit can be flexibly set according to actual needs, for example, it can be set to a column or a row;
[0085] The burst length (BL) is determined by the JEDEC standard and can also be set freely, that is, multiple bits (such as 8 bits or 16 bits) are operated at one time for corresponding reading and writing. For example, when writing data based on rows, if the address is row 0 and the burst length is 8 bits, the first 8 bits of the data to be written are written at the same time starting from the position of row 0 and column 0, and then the second burst length is used to write the 9-16 bits of the data to be written. The writing continues until all the storage locations of row 0 are written, and then the address of the next row is relocated, and the operation of the previous row is continued until the data is written to the entire disk. The reading of data is similar.
[0086] In this embodiment, the first preset unit is a row, such as Figure 4 As shown;
[0087] For example, the preset test data is written starting from the first column of the first row. After the first row is written, the preset test data is written starting from the first column of the second row, and so on, until data is written to each row of the DRAM to be tested;
[0088] S12, traversing the DRAM to be tested in units of a preset burst length until the entire storage array of the DRAM to be tested is traversed;
[0089] For the target storage unit corresponding to the preset burst length traversed, write the inverse of the preset test data into the target storage unit, and determine the storage unit adjacent to the target storage unit to obtain a set of adjacent storage units;
[0090] Specifically, performing wraparound reading of data from the target storage unit includes:
[0091] S121, determining storage units adjacent to the target storage unit to obtain a set of adjacent storage units;
[0092] S122, reading data from adjacent storage cells in the set of adjacent storage cells one by one according to a preset order, and comparing the read data with the corresponding written data until data is read from each adjacent storage cell in the set of adjacent storage cells;
[0093] S123, reading the data of the target storage unit, and comparing the read data with the inverse of the preset test data;
[0094] S124, reading the data of the target storage unit, and comparing the read data with the inverse of the preset test data;
[0095] The step of reading data from adjacent storage units in the set of adjacent storage units one by one according to a preset order comprises:
[0096] Taking the target storage unit as the center, the adjacent storage units corresponding to the eight positions of the target storage unit are read one by one in a preset order. If the adjacent storage unit does not exist in any position, the data reading of the adjacent storage unit corresponding to the position is omitted, and the read data is compared with the corresponding written data until each adjacent storage unit in the adjacent storage unit set is read;
[0097] The preset order includes a clockwise direction or a counterclockwise direction. In this embodiment, the preset order is a clockwise direction. Figure 6-7 As shown;
[0098] The reading one by one includes reading at intervals of n storage units, where n is greater than or equal to 0. In this embodiment, the reading is performed at intervals of 0 storage units, such as Figure 6-7 As shown;
[0099] For example, the storage cells in the W direction are read first, and the read data are compared with the corresponding written data, and then the storage cells in the NW direction are read, and the read data are compared with the corresponding written data, and then the storage cells in the N direction are read, and the read data are compared with the corresponding written data, and so on, until each adjacent storage cell in the set of adjacent storage cells has its data read;
[0100] After comparing the read data with the corresponding written data, the following steps are also included:
[0101] Writing the preset test data into the compared storage unit; the compared storage unit includes the adjacent storage unit and the target storage unit;
[0102] After the first round of testing is completed, the second round of testing is performed, and the preset test data of the first round of testing is the inverse of the preset test data of the second round of testing;
[0103] S2. Obtaining a test result of the DRAM to be tested according to the first comparison result and the second comparison result;
[0104] If the first comparison result and the second comparison result are both consistent, the test result is successful; otherwise, the test result is failed;
[0105] In this embodiment, the specific reference Figure 4-7 First, the first round of testing is performed on the DRAM to be tested:
[0106] The test data to be written is defined as D=01010101…0101, and its inverse is / D=10101010…1010. Assuming that the preset burst length is BL=8 bits, then D=01010101, / D=10101010;
[0107] First, the address located is row 0, column 0, and the test data D is written from the storage unit corresponding to row 0, column 0 according to BL. After writing row 0, the test data D is written from row 1, column 0, and so on, until the entire storage array is written with data, such as Figure 4 As shown;
[0108] Secondly, all storage cells are traversed from row 0 and column 0 until the entire storage array is traversed, and / D is written to the target storage cell (Victim Cell, VC) in the traversed BL, such as Figure 5 As shown;
[0109] Then, taking VC as the center, determine the adjacent storage unit sets corresponding to the 8 directions of VC, such as Figure 6 As shown, they are W (west), NW (northwest), N (north), NE (northeast), E (east), SE (southeast), S (south), and SW (southwest);
[0110] If there is no adjacent storage unit in any direction of VC, the data reading of the adjacent storage unit corresponding to the direction is omitted. For example, if the 0th row and the 0th column is VC, the adjacent storage unit set corresponding to VC is S (south), SE (southeast), and E (east). The data of the storage units corresponding to the three directions of S (south), SE (southeast), and E (east) are read one by one in a preset order.
[0111] Then, the storage unit in the W direction is read, the read data is compared with D to check whether there is an error, and then written into D. Figure 7 (a)
[0112] Read the storage unit in the NW direction, compare the read data with D, check whether there is any error, and write it into D. Figure 7 (b)
[0113] Read the storage unit in the N direction, compare the read data with D, check whether there is an error, and write it into D. Figure 7(c)
[0114] Read the storage unit in the NE direction, compare the read data with D, check whether there is any error, and write it into D. Figure 7 (d)
[0115] Read the storage unit in the E direction, compare the read data with D, check whether there is an error, and write it into D. Figure 7 (e)
[0116] Read the storage unit in the SE direction, compare the read data with D, check whether there is any error, and write it into D. Figure 7 (f)
[0117] Read the storage unit in the S direction, compare the read data with D, check whether there is an error, and write it into D. Figure 7 (g) as shown;
[0118] Read the storage unit in the SW direction, compare the read data with D, check whether there is an error, and write it into D. Figure 7 (h)
[0119] Read VC, compare the read data with / D, check whether there is any error, and write it into D. Figure 7 (i) as shown;
[0120] Obtaining a first comparison result;
[0121] In the second round of testing, the written test data D is defined as 10101010, and its inverse number / D is defined as 01010101. The above steps are performed to obtain a second comparison result.
[0122] If the first comparison result and the second comparison result are both consistent, the test result is successful; otherwise, the test result is failed.
[0123] Embodiment 2
[0124] Please refer to Figure 8-9 The difference between the second embodiment and the first embodiment is that the first preset unit is a column, the preset order is counterclockwise, and the reading operation is performed at intervals of 1 storage unit;
[0125] Specifically, Figure 8 As shown, the located address is the 0th column and the 0th row. The test data D is written from the storage unit corresponding to the 0th column and the 0th row according to BL, that is, the test data D is written from the 0th column and the 0th row to the 7th column and the 0th row. After writing, the test data D is written from the 0th column and the 1st row. After writing all the rows from the 0th column to the 7th column, all the rows from the 8th column to the 15th column are written in the order of the rows, and so on, until the entire storage array is written with data, as shown in FIG. Figure 8 As shown;
[0126] Secondly, all storage cells are traversed starting from the 0th column and the 0th row until the entire storage array is traversed, and / D is written to the target storage cell (Victim Cell, VC) in the traversed BL;
[0127] Then, taking VC as the center, determine the adjacent storage unit sets corresponding to the eight directions of VC, which are W (west), NW (northwest), N (north), NE (northeast), E (east), SE (southeast), S (south), and SW (southwest);
[0128] Then, the storage unit in the S direction is read, the read data is compared with D to check whether there is an error, and then written into D. Fig. 9 (a)
[0129] Read the storage unit in the E direction, compare the read data with D, check whether there is an error, and write it into D. Fig. 9 (b)
[0130] Read the storage unit in the N direction, compare the read data with D, check whether there is an error, and write it into D. Fig. 9 (c)
[0131] Read the storage unit in the W direction, compare the read data with D, check whether there is an error, and write it into D. Fig. 9 (d)
[0132] Read the storage unit in the SW direction, compare the read data with D, check whether there is an error, and write it into D. Fig. 9 (e)
[0133] Read the storage unit in the SE direction, compare the read data with D, check whether there is any error, and write it into D. Fig. 9 (f)
[0134] Read the storage unit in the NE direction, compare the read data with D, check whether there is any error, and write it into D. Fig. 9 (g) as shown;
[0135] Read the storage unit in the NW direction, compare the read data with D, check whether there is any error, and write it into D. Fig. 9 (h)
[0136] Read VC, compare the read data with / D, check whether there is any error, and write it into D. Fig. 9 (i) as shown;
[0137] obtaining a first comparison result;
[0138] In the second round of testing, the written test data D is defined as 10101010, and its inverse number / D is defined as 01010101. The above steps are performed to obtain a second comparison result.
[0139] If the first comparison result and the second comparison result are both consistent, the test result is successful; otherwise, the test result is failed.
[0140] Embodiment 3
[0141] Please refer to Figure 2 , a DRAM testing device, comprising:
[0142] A data reading and writing module is used to perform two rounds of testing on the DRAM to be tested, and obtain a first comparison result and a second comparison result respectively;
[0143] The tests include:
[0144] Writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data;
[0145] Traversing the DRAM to be tested in units of a preset burst length until the entire storage array of the DRAM to be tested is traversed;
[0146] For the target storage unit corresponding to the preset burst length traversed, write the inverse of the preset test data to the target storage unit, perform wraparound reading of data on the target storage unit, and compare the read data with the corresponding written data;
[0147] The preset test data of the first round of testing is the inverse of the preset test data of the second round of testing;
[0148] A testing module is used to obtain a test result of the DRAM to be tested according to the first comparison result and the second comparison result.
[0149] Embodiment 4
[0150] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, each step of the DRAM testing method in the first embodiment or the second embodiment can be implemented.
[0151] Embodiment 5
[0152] Please refer to Figure 3 , an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements each step of the DRAM testing method in Embodiment 1 or Embodiment 2 when executing the computer program.
[0153] In summary, the present invention provides a DRAM detection method, device, readable storage medium and electronic device, which perform two rounds of tests on the DRAM to be tested. In the process of writing preset test data to the DRAM to be tested, the writing is performed in units of preset burst length, which can improve the data writing speed and has low time complexity, and is convenient for mass production testing. In the process of reading data around the target storage unit, the adjacent storage units are read one by one in a preset order, and the preset order includes clockwise and counterclockwise, which improves the flexibility of the test. After comparing the read data with the corresponding written data, the preset test data is written to the compared storage unit. Based on the refresh characteristic of the dynamic memory, the loss of the preset test data previously written to the storage unit is avoided. It is close to the user's use environment, and the DRAM to be tested is accessed around, the previous test blind area is covered, and the chip defects that are difficult to be found in the existing technology are detected, so that multiple storage unit faults such as bridging faults and coupling faults are stimulated, the fault coverage is improved, the reliability of the test results is enhanced, and the product quality is improved.
[0154] In the above embodiments provided in the present application, it should be understood that the disclosed methods, devices, computer-readable storage media, and electronic devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple components or modules can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or components or modules, which can be electrical, mechanical or other forms.
[0155] The components described as separate components may or may not be physically separated, and the components shown as components may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the components may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0156] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each component may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0157] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0158] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0159] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0160] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A DRAM testing method, characterized in that: Includes steps: Perform two rounds of testing on the DRAM to be tested, and obtain a first comparison result and a second comparison result respectively; The tests include: Writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data; Traversing the DRAM to be tested in units of a preset burst length until the entire storage array of the DRAM to be tested is traversed; For the target storage unit corresponding to the preset burst length traversed, write the inverse of the preset test data to the target storage unit, perform wraparound reading of data on the target storage unit, and compare the read data with the corresponding written data; The preset test data of the first round of testing is the inverse of the preset test data of the second round of testing; Obtaining a test result of the DRAM to be tested according to the first comparison result and the second comparison result; The wrapping reading of data from the target storage unit includes: Determine storage units adjacent to the target storage unit to obtain a set of adjacent storage units; Reading data from adjacent storage cells in the adjacent storage cell set one by one in a preset order, and comparing the read data with the corresponding written data until data is read from each adjacent storage cell in the adjacent storage cell set; The data of the target storage unit is read, and the read data is compared with the inverse of the preset test data.
2. A DRAM testing method according to claim 1, characterized in that: Reading data from adjacent storage units in the adjacent storage unit set one by one according to a preset order includes: With the target storage unit as the center, the adjacent storage units corresponding to the eight positions of the target storage unit are read one by one in a preset order. If the adjacent storage unit does not exist in any position, the data reading of the adjacent storage unit corresponding to the position is omitted.
3. A DRAM testing method according to claim 1, characterized in that: After comparing the read data with the corresponding written data, the following steps are also included: Writing the preset test data into the compared storage unit; The compared storage cells include the adjacent storage cells and the target storage cells.
4. A DRAM testing method according to claim 1, characterized in that: Writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data includes: The preset test data is written starting from the low-order address of each first preset read / write unit of the DRAM to be tested in units of the preset burst length until all storage units of the DRAM to be tested are written with data.
5. A DRAM testing method according to any one of claims 1 to 3, characterized in that: The preset order includes a clockwise direction or a counterclockwise direction.
6. A DRAM testing method according to any one of claims 1 to 4, characterized in that: The step of obtaining the test result of the DRAM to be tested according to the first comparison result and the second comparison result includes: If the first comparison result and the second comparison result are both consistent, the test result is success; otherwise, the test result is failure.
7. A DRAM testing device, characterized in that: include: A data reading and writing module is used to perform two rounds of testing on the DRAM to be tested, and obtain a first comparison result and a second comparison result respectively; The tests include: Writing preset test data to the DRAM to be tested until all storage cells of the DRAM to be tested are written with data; Traversing the DRAM to be tested in units of a preset burst length until the entire storage array of the DRAM to be tested is traversed; For the target storage unit corresponding to the preset burst length traversed, write the inverse of the preset test data to the target storage unit, perform wraparound reading of data on the target storage unit, and compare the read data with the corresponding written data; The preset test data of the first round of testing is the inverse of the preset test data of the second round of testing; A testing module, configured to obtain a test result of the DRAM to be tested according to the first comparison result and the second comparison result; The wrapping reading of data from the target storage unit includes: Determine storage units adjacent to the target storage unit to obtain a set of adjacent storage units; Reading data from adjacent storage cells in the adjacent storage cell set one by one in a preset order, and comparing the read data with the corresponding written data until data is read from each adjacent storage cell in the adjacent storage cell set; The data of the target storage unit is read, and the read data is compared with the inverse of the preset test data.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step in a DRAM testing method as claimed in any one of claims 1 to 6 is implemented.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, each step in the DRAM testing method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Loop-transmission chip testing method and device and computer equipment
CN108802601A
Synchronous dynamic random access memory testing method and device
CN111627490A
