TEST METHOD FOR MEMORY DEVICE
A test method for a memory device including the following steps is provided. A redundancy function of the memory device is disable and a first data is written to a first memory array. The redundancy function of the memory device is enabled and a second data is written to a second memory array. The first data and the second data are complementary. A redundancy information is read from a non-volatile memory block according to a margin condition and the second memory array is read based on the redundancy information to obtain a first readout data. A first test result is generated by comparing the second data and the first readout data. The second memory array includes a part of memory cells of the first memory array and at least one redundancy memory cell.
Latest Winbond Electronics Corp. Patents:
The invention relates to a test method for a memory device, in particular to a test method for a memory device of a dynamic random access memory.
2. Description of Related ArtIn a dynamic random access memory device, a plurality of redundancy memory cells are usually arranged to replace main memory cells damaged in a manufacturing process in order to improve a yield in manufacture. Above redundancy information in a replaced state is usually stored by a one-time programmable memory, and this one-time programmable memory can be embedded in a memory device.
Test actions for the one-time programmable memory are usually performed by a supplier. The supplier will carry out various test actions such as a normal condition and a margin condition on the one-time programmable memory. However, aberrance may be generated due to a processing process when the one-time programmable memory is embedded in a memory device of a dynamic random access memory. In the prior art, when test actions for the memory device are performed, test actions of various conditions are not performed again on the one-time programmable memory, while redundancy information in the one-time programmable memory is read only by the normal condition. In this way, the fault coverage in the test actions for the memory device will be reduced.
SUMMARY OF THE INVENTIONThe invention provides a test method for a memory device, which can effectively improve a fault coverage of a test.
The test method for the memory device of the invention includes the following steps. A redundancy function of the memory device is disabled and a first data is written to a first memory array. The redundancy function of the memory device is enabled and a second data is written to a second memory array. The first data and the second data are complementary. A redundancy information from a non-volatile memory block is read according to a margin condition and the second memory array is read to obtain a first readout data memory array based on the redundancy information. A first test result is generated by comparing the second data and the first readout data. The second memory array includes a part of memory cells of the first memory array and at least one redundancy memory cell.
Based on the foregoing, the invention makes the non-volatile memory block in the memory device respectively provide different redundancy information in a normal condition and the margin condition, and performs reading and writing actions for the memory arrays based on the different redundancy information, thereby detecting whether the non-volatile memory block can maintain normal operation in the margin condition or not. On the basis of a precondition of not significantly increasing test time of the memory device, the fault coverage of testing the memory device is improved, and reliability of the memory device is improved.
Referring to
In the present embodiment, the non-volatile memory block 120 can record a redundancy information FI. Part main memory cells in the memory 110 can be replaced with redundancy memory cells in the memory 110 when damaged, and normal operation of the memory device 100 is maintained. The redundancy information FI is configured to record an above redundancy state.
When performing the test actions, the test equipment TE may make the redundancy information FI in the non-volatile memory block 120 be read out, and make the redundancy information FI be loaded into the register chain LC. The register chain LC is constituted by a plurality of registers. Moreover, in a process of performing reading and writing test actions for the memory 110, when a redundancy function is enabled, the memory 110 may provide memory cells capable of working normally according to the redundancy information FI so as to perform the test actions.
With respect to a flow of the test actions, reference is made to a flow diagram of memory test actions according to an embodiment of the invention in
Then, in step S220, the redundancy function of the memory device is enabled, and a second data is written to a second memory array. The first memory array and the second memory array are the same in logical address herein. On the basis of a precondition of enabling the redundancy function, the second memory array includes part memory cells of the first memory array and one or more redundancy memory cells. Moreover, the above first data and the above second data are in a complementary state. Taking a data of eight bits as an example, the first data may be 11111111, and the second data may be 00000000. Or, the first data may also be set to be 00000000, and the second data may be 11111111.
It is worth mentioning that in step S220, the redundancy function of the memory device is carried out according to a redundancy information read from a non-volatile memory block under a normal condition. That is, compositions of the memory cells in the second memory array correspond to the redundancy information of the normal condition.
In step S230, according to a margin condition, a reading action for the non-volatile memory block in the memory device is carried out, and the redundancy information of the non-volatile memory block is read out. Then, a readout data is obtained by reading the second memory array based on the redundancy information.
In step S240, a test result is generated by carrying out a comparison action for the second data and the readout data. It is noted herein that since the readout data is read out based on the redundancy information of the margin condition, if the redundancy information of the margin condition is correct, the redundancy information of the margin condition and the redundancy information of the normal condition will be the same, and the second data and the readout data should be the same. Relatively, if the redundancy information of the margin condition is wrong, the redundancy information of the margin condition and the redundancy information of the normal condition will be different, and the second data and the readout data should be different. Therefore, according to the comparison action for the second data and the readout data, whether the non-volatile memory block can still normally operate under the margin condition or not can be obtained so as to judge whether the memory device can be delivered out normally or not.
Referring to
In step S330, a redundancy information in a non-volatile memory block in the memory device is read according to a margin condition. In the first embodiment, a normal condition relative to the margin condition is obtaining a redundancy information by reading the non-volatile memory block according to a normal readout voltage. While under the margin condition, a margin readout voltage is generated by increasing or decreasing a normal readout voltage, and the redundancy information is obtained by reading the non-volatile memory block according to the margin readout voltage. That is, the redundancy information corresponding to the normal readout voltage and the redundancy information corresponding to the margin readout voltage may be the same or may be different.
In step S340, a readout data is obtained by reading the second memory array based on the redundancy information corresponding to the margin readout voltage. A test result may be generated by judging the readout data. If the readout data and the second data are the same, the non-volatile memory block can still provide a correct redundancy information under the margin condition, and the test result is that a test is passed. Relatively, if the readout data and the second data are different, the non-volatile memory block cannot provide the correct redundancy information under the margin condition, and the test result is that the test is not passed. A memory device passing the test can be delivered out normally, while a memory device not passing the test must be detected (step S350).
Referring to
Referring to
In the second embodiment of the invention, in step S510, a redundancy function is disabled, and a writing action of a data 1 (a first data) is carried out on a first memory array. In step S520, the redundancy function is enabled, and a writing action of a data 0 (a second data) is carried out on a second memory array. Then, in step S530, a first data bit in a data bit pair in the non-volatile memory block is read, and a redundancy information is generated according to the first data bit. It is noted herein that different from a general condition, in the present embodiment, one bit in the redundancy information is generated only according to a single bit in the data bit pair, which serves as a margin condition.
Then, in step S540, a first readout data is obtained by reading the second memory array, and a test result is obtained by judging the first readout data. The test result can be obtained by comparing the first readout data and the second data herein. When a test is not passed, step S550 is performed, and this memory device is detected. After the test is passed, step S560 is performed.
In step S560, the redundancy information is updated by reading the non-volatile memory block according to a normal condition (the single bit of the redundancy information is represented by one data bit pair in the non-volatile memory block). In step S570, the redundancy function is disabled again, and 1 is written to the first memory array. In step S580, the redundancy function is enabled, and 0 is written to the second memory array.
Then, in step S590, a redundancy information is generated again by reading a second data bit in the data bit pair of the non-volatile memory block. Based on the updated redundancy information, in step S5100, a second readout data is obtained by reading the second memory array, and a test result is generated by judging the second readout data. The test result can be obtained by comparing the second readout data and the second data herein. When a test is not passed, step S5110 is performed, and this memory device is detected. After the test is passed, the tested memory device can be delivered out.
Referring to
Referring to
When tests in step S710, step S720 and step S730 all pass, step S740 may be performed. A redundancy information is read according to a normal condition, and reading and writing tests for a memory are performed according to the redundancy information. Secondary reading and writing tests for the memory in step S750 may be performed if the reading and writing tests in step S740 fail. In the reading and writing tests for the memory in steps S740 and S750, if the test in one thereof passes, the tested memory device may be subjected to a delivery action, while if the reading and writing tests for the memory in steps S740 and S750 both fail, the tested memory device may be judged to be a defective product, and a detection step (step S760) is performed.
Based on the above, the invention carries out the writing action on the memory arrays according to the redundancy information of the normal condition, and then carries out the reading-out action on the memory arrays according to the redundancy information of the margin condition. Whether the non-volatile memory block can provide the correct redundancy information in the margin condition or not can be judged by comparing a written data and a readout data, and thus whether the memory device can act normally or not is tested. A fault coverage of testing the memory device is effectively improved under the condition of not significantly increasing test time.
Claims
1. A test method for a memory device, comprising:
- disabling a redundancy function of the memory device and writing a first data to a first memory array;
- enabling the redundancy function of the memory device and writing a second data to a second memory array, wherein the first data and the second data are complementary;
- reading a redundancy information from a non-volatile memory block according to a margin condition and reading the second memory array based on the redundancy information to obtain a first readout data by; and
- generating a first test result by comparing the second data and the first readout data, wherein
- the second memory array comprises a part of memory cells of the first memory array and at least one redundancy memory cell.
2. The test method according to claim 1, wherein before the step of enabling the redundancy function of the memory device and writing the second data to the second memory array, the test method further comprises:
- reading the redundancy information from the non-volatile memory block according to a normal condition.
3. The test method according to claim 2, wherein the step of reading the redundancy information from the non-volatile memory block according to the normal condition comprises:
- obtaining the redundancy information by reading the non-volatile memory block according to a normal readout voltage.
4. The test method according to claim 3, wherein the step of reading the redundancy information from the non-volatile memory block according to the margin condition comprises:
- generating a margin readout voltage by increasing or decreasing the normal readout voltage and obtaining the redundancy information by reading the non-volatile memory block according to the margin readout voltage.
5. The test method according to claim 1, wherein the non-volatile memory block provides a plurality of data bit pairs to respectively correspond to a plurality of redundancy information bits in the redundancy information.
6. The test method according to claim 5, wherein the step of reading the redundancy information from the non-volatile memory block according to the margin condition and reading the second memory array based on the redundancy information to obtain the first readout data comprises:
- reading a plurality of first data bits in the data bit pairs of the non-volatile memory block and respectively generating the redundancy information bits according to the first data bits.
7. The test method according to claim 6, wherein after the step of generating the first test result by comparing the second data and the first readout data, the test method further comprises:
- reading the non-volatile memory block according to a normal condition to update the redundancy information.
8. The test method according to claim 7, further comprising:
- disabling the redundancy function of the memory device again and writing the first data to the first memory array;
- enabling the redundancy function of the memory device again and writing the second data to the second memory array;
- reading a plurality of second data bits in the data bit pairs of the non-volatile memory block and respectively updating the redundancy information bits according to the second data bits;
- reading the second memory array based on the updated redundancy information bits to obtain a second readout data; and
- generating a second test result by comparing the second data and the second readout data.
9. The test method according to claim 5, wherein before the step of writing the second data to the second memory array, the test method comprises:
- reading a plurality of first data bits in the data bit pairs of the non-volatile memory block and respectively generating the redundancy information bits according to the first data bits.
10. The test method according to claim 9, wherein after the step of writing the second data to the second memory array, the method comprises:
- reading a plurality of second data bits in the data bit pairs of the non-volatile memory block and respectively adjusting the redundancy information bits according to the second data bits.
Type: Application
Filed: Apr 20, 2020
Publication Date: Oct 21, 2021
Applicant: Winbond Electronics Corp. (Taichung City)
Inventor: Tzi-Wen Pan (Taichung City)
Application Number: 16/853,724