Test method and test system
By writing initial data and verification data in DRAM and overwriting data in the storage module to test the ECC function, the limitations of the ECC function testing environment in the prior art are solved, and simple and reliable after the memory is put into use ECC function verification ensures the authenticity of the test environment and the reliability of the data.
Patent Information
- Application Number
- CN202110955470.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-19
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-08-19
AI Technical Summary
The prior art has limited the testing environment for the error detection and correction function (ECC) in dynamic random memory (DRAM), and lacks simple and reliable testing methods to determine whether the ECC function is normal.
By writing initial data and verification data to the storage module and overwriting data in the same address, using the ECC module to generate and verify the correction data, determine whether the function of the ECC module is abnormal, and test the ECC function.
It provides a method that can simply and reliably test the ECC function after the memory is put into use, ensuring the authenticity of the test environment and the reliability of the data, and being able to verify the ECC function after the memory is put into use.
Smart Images

Figure CN115910183B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of semiconductor circuit testing, and in particular to a testing method and a testing system. Background Art
[0002] Dynamic Random Access Memory (DRAM) is widely used in modern electronic systems due to its high storage density and fast transmission speed. With the development of semiconductor technology, DRAM technology is becoming more and more advanced, and the integration of storage units is becoming higher and higher; at the same time, various applications have higher and higher requirements on DRAM performance, power consumption and reliability.
[0003] In order to ensure that data is stored error-free, an error correction function (Error Correction Code, ECC) is introduced to verify the stored data to improve the accuracy of DRAM data storage. That is, ensuring the correct operation of the ECC function can ensure that the stored data is error-free to a certain extent.
[0004] However, the applicant has found that the current testing environment for the ECC function in DRAM is relatively limited, and there is an urgent need to design a simple and reliable testing method to test whether the ECC function in DRAM is normal. Summary of the invention
[0005] The embodiments of the present application provide a testing method and a testing system, which can also test whether the ECC function in the memory is normal after the memory is put into use.
[0006] An embodiment of the present application provides a testing method, which is applied to a memory, wherein the memory includes a storage module and an ECC module, and includes: writing first initial data into the storage module, wherein the ECC module encodes and generates first verification data corresponding to the first initial data based on the first initial data, and writes the first verification data into the storage module; writing second initial data into the same address of the storage module, wherein the second initial data stored in the storage module overwrites the first initial data, wherein the first initial data and the second initial data have data differences; reading the second initial data and the first verification data in the storage module, wherein the ECC module encodes and generates second verification data corresponding to the second initial data based on the second initial data, and verifies and corrects the second initial data based on the first verification data and the second verification data; reading first read data of the memory, and judging whether the function of the ECC module is abnormal based on the first read data, wherein the first read data is the second initial data verified and corrected by the ECC module.
[0007] An embodiment of the present application provides a test system, which is applied to the above-mentioned test method, including: a first data providing module, configured to provide first initial data to a memory; a second data providing module, configured to provide second initial data to the memory, and the first initial data and the second initial data have data differences; a control module, configured to control the opening or closing of an ECC module of the memory according to a control signal; a data analysis module, configured to obtain first read data output by the memory, and based on the first read data, determine whether the function of the ECC module is abnormal, the first read data being the verified and corrected second initial data output by the memory.
[0008] After storing the first initial data and the first verification data in the storage module, the second initial data is stored in the storage module, that is, the initial data is annotated with errors, and then the first read data read out of the memory is used to determine whether the ECC function of the memory is normal. That is, after the memory is put into use, the ECC function can still be verified in a relatively simple way, the test environment is real, and the obtained test data is more reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A schematic diagram of the structure of a memory provided in one embodiment of the present application;
[0010] Figure 2 A flow chart of a testing method provided in one embodiment of the present application;
[0011] Figure 3 A specific data flow diagram of a test method provided in one embodiment of the present application;
[0012] Figure 4 A schematic diagram of the structure of another memory provided in one embodiment of the present application;
[0013] Figure 5 A schematic diagram of the structure of a test system provided in another embodiment of the present application;
[0014] Figure 6 A schematic diagram of the structure of another testing system provided in another embodiment of the present application. DETAILED DESCRIPTION
[0015] In order to ensure that data is stored error-free, an error correction function (Error Correction Code, ECC) is introduced to verify the stored data to improve the accuracy of DRAM data storage. That is, ensuring the correct operation of the ECC function can ensure that the stored data is error-free to a certain extent.
[0016] The applicant has found that the current testing environment for the ECC function in DRAM is relatively limited, and there is an urgent need to design a simple and reliable testing method to test whether the ECC function in DRAM is normal.
[0017] An embodiment of the present application provides a testing method, which is applied to a memory, wherein the memory includes a storage module and an ECC module, and includes: writing first initial data into the storage module, wherein the ECC module encodes and generates first verification data corresponding to the first initial data based on the first initial data, and writes the first verification data into the storage module; writing second initial data into the same address of the storage module, wherein the second initial data stored in the storage module overwrites the first initial data, wherein the first initial data and the second initial data have data differences; reading the second initial data and the first verification data in the storage module, wherein the ECC module encodes and generates second verification data corresponding to the second initial data based on the second initial data, and verifies and corrects the second initial data based on the first verification data and the second verification data; reading first read data of the memory, and judging whether the function of the ECC module is abnormal based on the first read data, wherein the first read data is the second initial data verified and corrected by the ECC module.
[0018] Those skilled in the art will appreciate that, in the various embodiments of the present application, many technical details are provided in order to enable readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can also be implemented.
[0019] Figure 1 A schematic diagram of the structure of a memory provided in this embodiment, Figure 2 A flow chart of a testing method provided in this embodiment, Figure 3 A specific data flow diagram of a test method provided in this embodiment, Figure 4 This is a schematic diagram of the structure of another memory provided in this embodiment. The test method provided in this embodiment is further described in detail below in conjunction with the accompanying drawings, as follows:
[0020] It should be noted that the test for ECC in the present application is specifically used to test whether ECC repairs real data based on verification data, wherein the real data table represents the data to be stored, and the verification data is the inspection data compiled and generated by the ECC module based on the data to be stored.
[0021] In one example, refer to Figure 1, a test method is applied to a memory, the memory comprising: an interface module 100, a storage module 300 and an ECC module 200, wherein the ECC module 200 is used to perform error detection and correction on data stored in the storage module 300, and the storage module 300 is used to store real data and check data; the interface module 100 is used to obtain real data to be stored in the storage module 300, and to output the read data of the memory, wherein the data between the interface module 100 and the ECC module 200 is transmitted via a first data path 115.
[0022] for Figure 1 , the real data includes the first initial data Data1, the read data of the memory includes the first read data Read1, and the verification data includes the first verification data Parity1.
[0023] refer to Figure 2 , the testing method specifically includes steps 101 to 104.
[0024] Step 101 : writing first initial data Data1 and first verification data Parity1 into the storage module 300 .
[0025] Specifically, the first initial data Data1 is written into the storage module 300 , the ECC module 200 generates first parity data Parity1 corresponding to the first initial data Data1 based on the encoding of the first initial data Data1 , and writes the first parity data Parity1 into the storage module 300 .
[0026] Combination Figure 1 and Figure 3 The interface module 100 obtains the first initial data Data1 and transmits the first initial data Data1 to the ECC module 200. The ECC module 200 compiles and generates the first verification data Parity1 according to the first initial data Data1. Then, the ECC module 200 stores the first initial data Data1 and the first verification data Parity1 in the storage module 300.
[0027] It should be noted that, in the present embodiment, the first initial data Data1 is illustrated by taking a 128-bit binary number as an example, which does not constitute a limitation of the present embodiment; in specific applications, the data length of the first initial data Data1 can be adjusted according to the data length required to be stored in the memory, and accordingly, the first check data Parity1 compiled and generated by the ECC module 200 based on the first initial data Data1 is an 8-bit binary number.
[0028] In one example, the first initial data Data1 is stored in the data storage area of the storage module 300, and the first verification data Parity1 is stored in the verification storage area of the storage module 300; further, the first initial data Data1 stored in the data storage area is stored in 16 groups of 8 bits to ensure that the storage space of each storage unit in the data storage area is consistent with the storage space of the storage unit in the verification storage area. It should be noted that the real data stored in the data storage area can be divided according to the division method of the storage space of the memory storage unit, and this embodiment does not constitute a limitation on the division of data during data storage.
[0029] Step 102 , writing the second initial data Data2 into the storage module 300 .
[0030] Specifically, the second initial data Data2 is written into the same address of the storage module 300 , and the second initial data Data2 stored in the storage module 300 covers the first initial data Data1 , wherein the first initial data Data1 has a data difference with the second initial data.
[0031] Combination Figure 1 and Figure 3 Before writing the second initial data Data2 into the storage module 300, the ECC module 200 is turned off, the interface module 100 writes the second initial data Data2 into the storage module 300, and after the second initial data Data2 is written into the storage module 300, the ECC module 200 is turned on.
[0032] Since the memory stores data in the form of level storage, and the level stored data may cause the written data and the read data to be different due to the change of the level, it is necessary to use ECC to detect and correct the written data and the read data. This embodiment controls the opening and closing of the ECC module 200 to prevent the ECC module 200 from transmitting the check data compiled and generated according to the second initial module Data2 to the storage module 300, thereby injecting errors into the real data, thereby simulating errors in the data stored in the storage module 300.
[0033] In one example, disabling the ECC module 200 includes disabling the encoding function of the ECC module 200, and enabling the ECC module 200 includes enabling the encoding function of the ECC module 200. That is, by disabling the encoding function of the ECC module 200, the ECC module 200 is prevented from encoding and generating check data according to the second initial data Data2.
[0034] In another example, closing the ECC module 200 includes: closing the data transmission channel for accessing the verification data between the ECC module 200 and the storage module 300; opening the ECC module 200 includes: opening the data transmission channel for accessing the verification data between the ECC module 200 and the storage module 300. That is, by closing the data transmission channel for accessing the verification data between the ECC module 200 and the storage module 300, it is ensured that the first verification data Parity1 in the storage module 300 is not overwritten, and although the ECC module 200 generates the verification data according to the second initial data Data2 encoding, it cannot be stored in the storage module 300.
[0035] For the ECC function of commonly used memories, if only one bit of the real data in the storage module 300 of the memory is changed, the real data can be repaired according to the verification data. If the number of bits of the real data that have changed is greater than 1, the ECC module 200 cannot repair the initial data. Therefore, in this embodiment, the first initial data Data1 and the second initial data Data2 have only one bit of data difference to ensure that the second initial data Data2 after the injection error can be repaired by the ECC module.
[0036] Step 103 , reading out the second initial data Data2 and the first verification data Parity1 in the storage module 300 .
[0037] Specifically, the second initial data Data2 and the first check data Parity1 in the storage module 300 are read out, the ECC module 200 encodes the second initial data Data2 to generate the second check data Parity2 corresponding to the second initial data Data2, and checks and corrects the second initial data Data2 based on the first check data Parity1 and the second check data Parity2.
[0038] Combination Figure 1 and Figure 3 The storage module 300 reads the second initial data Data2 and the first check data Parity1 to the ECC module 200. The ECC module 200 encodes the second initial data Data2 to generate the second check data Parity2 corresponding to the second initial data Data2. The ECC module 200 checks and corrects the second initial data Data2 according to the first check data Parity1 and the second check data Parity2.
[0039] Step 104 , obtaining first read data Read1 of the memory, and determining whether the ECC module function is abnormal based on the first read data Read1 .
[0040] Specifically, the first read data Read1 of the memory is read, and based on the first read data Read1, it is determined whether the function of the ECC module 200 is abnormal, wherein the first read data Read1 is the second initial data Data2 verified and corrected by the ECC module 200 .
[0041] In an example, if the read first read data Read1 is the same as the first initial data Data1 to be written, it means that the initial data after the error is successfully repaired by the ECC module 200, and the ECC module 200 functions normally; if the read first read data Read1 is different from the first initial data Data1 to be written, it means that the initial data after the error is not repaired by the ECC module 200, and the ECC module 200 functions abnormally.
[0042] In addition, refer to Figure 4 In one example, the process of reading the first read data Read1 of the memory also includes: reading the second read data Read2 of the memory, where the second read data Read2 is the second parity data Parity2 generated by the ECC module 200 based on the second initial data Data2.
[0043] In one example, the second read data Read2 is outputted using a mask pad of the memory.
[0044] The normal data reading and writing process of the memory may involve mask operation, and the memory mask operation is based on whether the control end sends a mask and whether the relevant mask function is turned on. The mask operation will not be used when testing the ECC of the memory, that is, when testing the ECC, the mask pad of the memory is equivalent to having no effect. Therefore, the mask pad is used to output the second read data Read2, and there is no need to add a pad to the memory, and the external structure of the memory will not be changed.
[0045] In one example, the first data path 115 is used for the interface module 100 to transmit real data to the ECC module 200; the second data path 125 is used for the ECC module 200 to transmit verification data to the interface module 100, and the accuracy of data transmission is ensured by classified transmission of data.
[0046] For a memory in normal operation, its ECC function will not output verification data after verification and repair. In some embodiments, the second data path 125 is turned on based on an external control signal, which further ensures that the memory will output the second read data Read2 only when the ECC function is tested.
[0047] When the first initial data Data1 and the second initial data Data2 have one and only one data difference, the first verification data Parity1 and the second verification data Parity2 have one and only one data difference.
[0048] For the second read data Read2, judging whether the function of the ECC module 200 is abnormal includes: obtaining the first check data Parity1 corresponding to the first initial data Data1 based on the encoding method of the ECC module 200; obtaining the check data corresponding to the first read data Read1 based on the encoding method of the ECC module; if the check data is the same as the first check data Parity1, and the check data has a data difference of one bit with the second read data Read2, the function of the ECC module 200 is normal; if the check data is different from the first check data Parity1, or the data difference between the check data and the second read data Read2 is not one bit, the function of the ECC module 200 is abnormal. That is, the ECC function of the memory can also be tested by the read second read data Read2.
[0049] In addition, in practical applications, the above-mentioned testing methods for real data and verification data can be combined to provide double protection to further ensure the accuracy of the test results.
[0050] Since the memory stores data in the form of level storage, and the level-stored data may cause the written data and the read data to be different due to the change of the level, it is necessary to use ECC to detect and correct the written data and the read data. In this embodiment, after storing the first initial data and the first verification data in the storage module, the second initial data is stored in the storage module, that is, the initial data is error-annotated, and then the first read data read from the memory is used to determine whether the ECC function of the memory is normal. That is, after the memory is put into use, the ECC function can still be verified in a relatively simple way, the test environment is real, and the obtained test data is more reliable.
[0051] The above division of various steps is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. Adding insignificant modifications to the process or introducing insignificant designs that do not change the core design of the process are all within the scope of protection of this patent.
[0052] Another embodiment of the present application provides a test system, which is applied to the above-mentioned test method, including: a first data providing module, configured to provide first initial data to the memory; a second data providing module, configured to provide second initial data to the memory, and the first initial data and the second initial data have data differences; a control module, configured to control the opening or closing of the ECC module of the memory according to a control signal; a data analysis module, configured to obtain first read data output by the memory, and based on the first read data, determine whether the function of the ECC module is abnormal, the first read data being the verified and corrected second initial data output by the memory.
[0053] Figure 5 A schematic diagram of the structure of a test system provided in this embodiment, Figure 6 This is a schematic diagram of the structure of another test system provided in this embodiment. The test system provided in this embodiment is further described in detail below in conjunction with the accompanying drawings, as follows:
[0054] refer to Figure 5 , a test system 400, for testing an ECC module of a memory, comprising:
[0055] The first data providing module 401 is configured to provide first initial data Data1 to the memory.
[0056] It should be noted that, in the present embodiment, the first initial data Data1 is illustrated by taking a 128-bit binary number as an example, which does not constitute a limitation of the present embodiment; in specific applications, the data length of the first initial data Data1 can be adjusted according to the data length required to be stored in the memory, and accordingly, the first check data Parity1 generated by the ECC module of the memory based on the first initial data Data1 is an 8-bit binary number.
[0057] The second data providing module 402 is configured to provide second initial data Data2 to the memory, wherein the first initial data Data1 and the second initial data Data2 have data differences.
[0058] Since the memory stores data in the form of level storage, and the level stored data may cause the written data and the read data to be different due to the change of the level, it is necessary to use ECC to detect and correct the written data and the read data. This embodiment controls the opening and closing of the ECC module to prevent the ECC module from transmitting the verification data compiled and generated according to the second initial module Data2 to the storage module, thereby injecting errors into the real data, thereby simulating errors in the data stored in the storage module.
[0059] For the ECC function of commonly used memories, if only one bit of the real data in the storage module of the memory is changed, the real data can be repaired according to the verification data. If the number of bits of the real data that have changed is greater than 1, the ECC module cannot repair the initial data. Therefore, in this embodiment, the first initial data Data1 and the second initial data Data2 have only one bit of data difference to ensure that the second initial data Data2 after the injection error can be repaired by the ECC module.
[0060] The control module 403 is configured to control the opening or closing of the ECC module of the memory according to the control signal.
[0061] In one example, turning off the ECC module includes: turning off the encoding function of the ECC module; turning on the ECC module includes: turning on the encoding function of the ECC module. That is, by turning off the encoding function of the ECC module, the ECC module is prevented from encoding and generating check data according to the second initial data Data2.
[0062] In another example, closing the ECC module includes: closing the data transmission channel for accessing the verification data between the ECC module and the storage module; opening the ECC module includes: opening the data transmission channel for accessing the verification data between the ECC module and the storage module. That is, by closing the data transmission channel for accessing the verification data between the ECC module and the storage module, it is ensured that the first verification data Parity1 in the storage module is not overwritten, and although the ECC module generates verification data according to the second initial data Data2 encoding, it cannot be stored in the storage module.
[0063] The data analysis module 404 is configured to obtain the first read data Read1 output by the memory, and determine whether the function of the ECC module of the memory is abnormal based on the first read data Read1, wherein the first read data Read1 is the verified and corrected second initial data Data2 output by the memory.
[0064] Specifically, the data analysis module 404 includes: an acquisition unit 414, configured to acquire the first read data Read1 of the memory data; a judgment unit 424, connected to the first data providing module 401 and the acquisition unit 414, and judging whether the function of the memory ECC module is abnormal based on the first read data Read1 and the first initial data Data1.
[0065] For the judgment unit 424, if the read first read data Read1 is the same as the first initial data Data1 to be written, it means that the initial data after the injection error is successfully repaired by the ECC module and the ECC module functions normally; if the read first read data Read1 is different from the first initial data Data1 to be written, it means that the initial data after the injection error is not repaired by the ECC module and the ECC module functions abnormally.
[0066] In an example, the process of reading the first read data Read1 of the memory also includes: reading the second read data Read2 of the memory, where the second read data Read2 is the second parity data Parity2 generated by the ECC module based on the second initial data Data2.
[0067] Specifically, refer to Figure 6 The data analysis module 504 is configured to also obtain the second read data Read2 output by the memory, where the second read data Read2 is the second parity data Parity2 generated by the ECC module based on the second initial data Data2.
[0068] Judging whether the function of the ECC module of the memory is abnormal based on the first read data Read1 includes: judging whether the function of the ECC module is abnormal based on the first read data Read1 and the second read data Read2.
[0069] In this example, the data analysis module 504 includes: an acquisition unit 514, configured to acquire the first read data Read1 and the second read data Read2 output by the memory; a processing unit 524, connected to the first data providing module 401 and the acquisition unit 514, configured to acquire the first verification data Parity1 corresponding to the first initial data Data1 and the third verification data Parity3 corresponding to the first read data Read1 based on the encoding method of the ECC module; a judgment unit 534, connected to the acquisition unit 514 and the processing unit 524, judges whether the function of the ECC module is abnormal based on the first verification data Parity1, the second read data Read2 and the third verification data Parity3.
[0070] For the judgment unit 534, if the third verification data Parity3 is the same as the first verification data Parity1, and the third verification data Parity3 and the second read data Read2 have a data difference of one bit, the judgment unit 534 outputs a prompt message indicating that the ECC module functions normally; if the third verification data Parity3 is different from the first verification data Parity1, or the data difference between the third verification data Parity3 and the second read data Read2 is not one bit, the judgment unit 534 outputs a prompt message indicating that the ECC module functions abnormally.
[0071] In addition, in practical applications, the above-mentioned testing methods for real data and verification data can be combined to provide double protection to further ensure the accuracy of the test results.
[0072] Since the memory stores data in the form of level storage, and the level-stored data may cause the written data and the read data to be different due to the change of the level, it is necessary to use ECC to detect and correct the written data and the read data. In this embodiment, after storing the first initial data and the first verification data in the storage module, the second initial data is stored in the storage module, that is, the initial data is error-annotated, and then the first read data read from the memory is used to determine whether the ECC function of the memory is normal. That is, after the memory is put into use, the ECC function can still be verified in a relatively simple way, the test environment is real, and the obtained test data is more reliable.
[0073] It is worth mentioning that all units involved in this embodiment are logical units. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this application, but this does not mean that there are no other units in this embodiment.
[0074] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present application, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present application.
Claims
1. A testing method, applied to a memory, wherein the memory comprises a storage module and an ECC module, characterized in that: include: Writing first initial data into the storage module, wherein the ECC module encodes and generates first verification data corresponding to the first initial data based on the first initial data, and writes the first verification data into the storage module; Writing second initial data into the same address of the storage module, the second initial data stored in the storage module overwriting the first initial data, wherein the first initial data and the second initial data have data differences; The second initial data and the first verification data in the storage module are read out, the ECC module generates second verification data corresponding to the second initial data by encoding based on the second initial data, and verifies and corrects the second initial data based on the first verification data and the second verification data; Reading first read data from the memory, and judging whether the function of the ECC module is abnormal based on the first read data, wherein the first read data is the second initial data verified and corrected by the ECC module; The process of reading out the first read data of the memory further includes: reading out the second read data of the memory, where the second read data is the second check data generated by the ECC module based on the second initial data encoding; The first initial data and the second initial data have one and only one data difference, and the first verification data and the second verification data have one and only one data difference; The determining, based on the first read data, whether the function of the ECC module is abnormal includes: Based on the encoding method of the ECC module, obtaining first verification data corresponding to the first initial data; Based on the encoding method of the ECC module, obtaining the check data corresponding to the first read data; If the check data is the same as the first check data, and the check data has a one-bit data difference from the second read data, the ECC module functions normally; If the verification data is different from the first check data, or the data difference between the verification data and the second read data is not one bit, the ECC module functions abnormally.
2. The testing method according to claim 1, characterized in that: Writing the second initial data into the storage module includes: closing the ECC module, writing the second initial data into the storage module, and opening the ECC module after the second initial data is written into the storage module.
3. The testing method according to claim 2, characterized in that: include: The shutting down the ECC module comprises: shutting down the encoding function of the ECC module; The enabling of the ECC module includes: enabling an encoding function of the ECC module.
4. The testing method according to claim 2, characterized in that: include: The shutting down of the ECC module comprises: shutting down a data channel between the ECC module and the storage module for accessing verification data; The enabling of the ECC module includes: enabling a data channel between the ECC module and the storage module for accessing verification data.
5. The testing method according to claim 1, characterized in that: The determining whether the function of the ECC module is abnormal also includes: if the first read data read out is the same as the first initial data written in, the ECC module functions normally; if the first read data read out is different from the first initial data written in, the ECC module functions abnormally.
6. A test system, applied to the test method according to any one of claims 1 to 5, characterized in that: include: A first data providing module is configured to provide first initial data to the memory; A second data providing module is configured to provide second initial data to the memory, wherein the first initial data and the second initial data have data differences; A control module, configured to control the opening or closing of the ECC module of the memory according to the control signal; a data analysis module configured to obtain first read data output by the memory, and to determine whether the function of the ECC module is abnormal based on the first read data, wherein the first read data is the second initial data output by the memory after verification and correction; and to obtain second read data output by the memory, wherein the second read data is the second verification data generated by the ECC module based on the second initial data encoding; The determining whether the function of the ECC module of the memory is abnormal based on the first read data includes: determining whether the function of the ECC module is abnormal based on the first read data and the second read data; The data analysis module includes: an acquisition unit, configured to acquire the first read-out data and the second read-out data output by the memory; a processing unit connected to the first data providing module and the acquiring unit, and configured to acquire first verification data corresponding to the first initial data and third verification data corresponding to the first read data based on an encoding method of the ECC module; a judging unit connected to the acquiring unit and the processing unit, and judging whether a function of the ECC module is abnormal based on the first verification data, the second read data and the third verification data; The method of judging whether the function of the ECC module is abnormal based on the first verification data, the second read-out data and the third verification data includes: if the third verification data is the same as the first verification data, and the third verification data and the second read-out data have a data difference of one bit, the judgment unit outputs prompt information indicating that the function of the ECC module is normal; if the third verification data is different from the first verification data, or the data difference between the third verification data and the second read-out data is not one bit, the judgment unit outputs prompt information indicating that the function of the ECC module is abnormal.
7. The test system according to claim 6, characterized in that: The first initial data and the second initial data have one and only one data difference.
8. The test system according to claim 6, characterized in that: The judgment unit is also connected to the first data providing module, and judges whether the function of the ECC module is abnormal based on the first read data and the first initial data.
9. The test system according to claim 8, characterized in that: The determining whether the function of the ECC module is abnormal based on the first read data and the first initial data includes: If the first read data is the same as the first initial data, the judgment unit outputs prompt information indicating that the function of the ECC module is normal; If the first read data is different from the first initial data, the judgment unit outputs prompt information indicating that the ECC module is abnormal in function.
Citation Information
Patent Citations
Method for verifying error correction code function of a computer system
US20030182611A1