Test method and device for nonvolatile memory and test equipment
By switching the clock in the nonvolatile memory test to match the internal and peripheral clocks, the problem of clocks being out of synchronization in the nonvolatile memory read path test is solved, and the synchronization and accuracy of the test are achieved.
Patent Information
- Application Number
- CN202411212518.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-03
AI Technical Summary
In the field of integrated circuit technology, the internal clock and external clock of nonvolatile memory are not necessarily synchronized, resulting in the accuracy and synchronization of read path tests being affected.
By receiving the test start command, configure the test clock as a peripheral clock of nonvolatile memory, and configure the test data address to be read under the peripheral clock; switch the clock to the internal clock to read and cache the test data under the internal clock; After the data storage is complete, switch back to the peripheral clock to output the test data under the peripheral clock to ensure the synchronization of the test data.
It realizes synchronization and accuracy of non-volatile memory read path tests, ensuring that the test data is read under the internal clock and output under the peripheral clock, solving the test deviation problem caused by clock out of synchronization.
Smart Images

Figure CN119068959A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of integrated circuit technology, for example, to a testing method and device, and testing equipment for non-volatile memory. Background Art
[0002] At present, in the field of integrated circuit technology, the read path test of non-volatile memory is very important. How to ensure the accuracy of the read path test has become a technical problem that needs to be solved urgently.
[0003] In order to ensure the accuracy of the read path test, the related technology discloses a test method for a non-volatile memory, in which the signal entering from the input and output ports is latched by an address latch after passing through an address combination logic circuit; data is read from the non-volatile memory array according to the latched address; the read data is selected through the output path and transmitted to the input and output latch; the data in the output latch is output to the external port through the input and output ports.
[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art: In different test scenarios, the internal clock and external clock of the non-volatile memory may not be synchronized. If the internal clock and external clock are not synchronized, the data output from the non-volatile memory array to the external port in the related technology will have a clock deviation from the expected data, affecting the synchronization and accuracy of the test operation.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0007] The embodiments of the present disclosure provide a test method, an apparatus and a test device for a non-volatile memory to ensure the synchronization of a read path test operation of the non-volatile memory.
[0008] In some embodiments, the method includes: receiving a test start instruction, configuring a test clock to be a second clock of a non-volatile memory, and configuring an address of test data to be read under the second clock; switching the test clock to be a first clock of the non-volatile memory; wherein the first clock represents an internal clock and the second clock represents a peripheral clock; under the first clock, reading test data from the non-volatile memory and storing it in a cache area according to the test start instruction and the address of the test data to be read; after the test data storage is completed, switching the test clock to the second clock of the non-volatile memory; under the second clock, reading and outputting test data from the cache area to perform a verification test based on the test data.
[0009] Optionally, the type of the test data is address or data.
[0010] In some embodiments, at a first clock, test data is read from a non-volatile memory according to a test start instruction and the address of the test data to be read and stored in a cache area, including: parsing the test start instruction to determine a read mode; determining the test data of the non-volatile memory according to the address of the test data to be read; at the first clock, reading the test data to be read from the non-volatile memory according to the read timing corresponding to the read mode; and storing the test data in the cache area.
[0011] Optionally, the read mode includes a two-line read instruction or a four-line read instruction, and the two-line read instruction corresponds to a first read timing, and the four-line read instruction corresponds to a second read timing.
[0012] In some embodiments, the method further includes: after reading the test data from the non-volatile memory, performing data compression processing on the test data to obtain compressed test data; and storing the compressed test data in a cache area.
[0013] Optionally, performing data compression processing on the test data includes: performing data compression processing on the test data based on a data compression algorithm.
[0014] In some embodiments, outputting the test data at the second clock includes: outputting the test data through a single input / output port at the second clock.
[0015] In some embodiments, the method further includes: reading and outputting test data from a cache area at a second clock to obtain expected data after performing a verification test based on the test data; and verifying the performance of a non-volatile memory read path based on a match between the test data and the expected data.
[0016] In some embodiments, the first clock is configured in the following manner: obtaining a clock frequency upper limit threshold of the second clock; and configuring the clock frequency upper limit value of the first clock with a clock frequency greater than or equal to the clock frequency upper limit threshold.
[0017] In some embodiments, the device includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned test method for non-volatile memory when running the program instructions.
[0018] In some embodiments, the device is connected to a non-volatile memory array storing test data during testing, and includes a clock selector configured to: after receiving a test start instruction, configure the test clock to be the second clock of the non-volatile memory to configure the address of the test data to be read under the second clock; switch the test clock to the first clock of the non-volatile memory to read the test data from the non-volatile memory according to the test start instruction and the address of the test data to be read under the first clock and store it in a cache area; after the test data storage is completed, switch the test clock to the second clock of the non-volatile memory to read the test data from the cache area under the second clock, and output the test data to perform a verification test according to the test data. Wherein, the first clock represents the internal clock, and the second clock represents the peripheral clock.
[0019] In some embodiments, it also includes one or more of an address latch, an input / output latch, a compressed data latch, a test latch, and a data selector, wherein: the address latch is electrically connected to the non-volatile memory array and the clock selector, respectively, and is configured to latch the address of the selected test data to be read under the test clock; the input / output latch is arranged in a one-to-one correspondence with multiple input / output ports of the non-volatile memory array, and is electrically connected to the non-volatile memory array, and is configured to latch the test data read from the cache area; the compressed data latch is electrically connected to the input / output latch and the clock selector, respectively, and is configured to compress the test data read from the non-volatile storage area under the test clock to form compressed test data, and store the compressed test data in the cache area and then output it to the data selector; the test latch is configured to latch the address of the test data to be read according to the second clock; the data selector is configured to output the compressed test data.
[0020] In some embodiments, the test equipment further includes: a test equipment body; and the test device for non-volatile memory as described above, installed in the test equipment body.
[0021] The test method, apparatus and test device for non-volatile memory provided by the embodiments of the present disclosure can achieve the following technical effects: After receiving the test start instruction, the embodiment of the present disclosure configures the test clock to be the second clock of the non-volatile memory and configures the address of the test data to be read under the second clock, then switches the test clock to the first clock of the non-volatile memory, and performs subsequent test data reading and caching operations under the first clock. After the test data storage is completed, the test clock is switched to the second clock of the non-volatile memory to read and output the test data from the cache area under the second clock to perform a verification test based on the test data. The embodiment of the present disclosure ensures that the test phase performs test data reading and caching based on the internal clock of the non-volatile memory, and outputs the cached test data according to the peripheral clock through the switching operation of the test clock, thereby ensuring the synchronization of the non-volatile memory read path test operation.
[0022] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein: Figure 1 It is a circuit structure diagram of a device for non-volatile memory provided by the related art; Figure 2 is a schematic diagram of a circuit structure of a device for non-volatile memory provided by an embodiment of the present disclosure; Figure 3 is a schematic diagram of a testing method for a non-volatile memory provided by an embodiment of the present disclosure; Figure 4 is a schematic diagram of another testing method for a non-volatile memory provided by an embodiment of the present disclosure; Figure 5 is a schematic diagram of another testing method for a non-volatile memory provided by an embodiment of the present disclosure; Figure 6 is a schematic diagram of another testing method for a non-volatile memory provided by an embodiment of the present disclosure; Figure 7 Schematic diagram of a testing device for a non-volatile memory provided by an embodiment of the present disclosure.
[0024] Reference numerals: 10 (20, 70): Test device for non-volatile memory; 100 (200): non-volatile memory array; 100a: input and output port; 101: clock selector; 102 (202): address latch; 103 (204): input and output latch; 104: compressed data latch; 105: test latch; 106: data selector; 107 (203): output path; 108: address selector; 109 (201): Address combinational logic circuit; 700: processor; 701: memory; 702: communication interface; 703: bus. DETAILED DESCRIPTION
[0025] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0026] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0027] Unless otherwise stated, the term "plurality" means two or more.
[0028] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0029] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0030] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0031] Combination Figure 1 As shown, the related art discloses a method for testing a non-volatile memory, comprising the following steps: The test device 20 for volatile memory uses an address latch 202 to latch the signal entering from the input / output port 200a after passing through the address combination logic circuit 201; reads the test data from the non-volatile memory array 200 according to the latched address; the read test data is selected through the output path 203 and then transmitted to the input / output latch 204; the data in the output latch 204 is output to the external port through the input / output port 200a. The input / output port 200a includes IO0, IO1, IO2 and IO3.
[0032] Combination Figure 2 As shown, a test device 10 for a non-volatile memory is connected to a non-volatile memory array 100 storing test data during testing, and includes a clock selector 101 .
[0033] The clock selector 101 is configured to: after receiving the test start instruction, configure the test clock to be the second clock of the non-volatile memory, so as to configure the address of the test data to be read under the second clock; switch the test clock to the first clock of the non-volatile memory, so as to read the test data from the non-volatile memory according to the test start instruction and the address of the test data to be read under the first clock and store it in the cache area; after the test data storage is completed, switch the test clock to the second clock of the non-volatile memory, so as to read the test data from the cache area under the second clock, and output the test data to perform a verification test according to the test data. Among them, the first clock represents the internal clock, and the second clock represents the peripheral clock.
[0034] The test device for non-volatile memory provided by the embodiment of the present disclosure is connected to the non-volatile memory array storing test data during testing. The clock selector included in the test device configures the test clock as the peripheral clock of the non-volatile memory after receiving the test start instruction to perform the address configuration operation of the test data to be read under the peripheral clock, and then switches the test clock to the internal clock to perform the reading operation of non-test data under the internal clock, and after the test data storage is completed, switches the test clock to the peripheral clock of the non-volatile memory to output the test data under the peripheral clock. Through the clock configuration and clock switching of the clock selector, it can be ensured that the reading and caching of the test data in the test phase are performed based on the internal clock of the non-volatile memory, and the cached test data are read and output according to the peripheral clock, thereby ensuring the synchronization of the non-volatile memory read path test operation.
[0035] Optionally, the test device 10 for non-volatile memory further includes one or more of an address latch 102, an input-output latch 103, a compressed data latch 104, a test latch 105, and a data selector 106, wherein: The address latch 102 is electrically connected to the nonvolatile memory array 100 and the clock selector 101 respectively, and is configured to latch the address of the selected test data to be read under the test clock.
[0036] The input-output latch 103 is arranged in one-to-one correspondence with the multiple input-output ports of the non-volatile memory array 100, and is electrically connected to the non-volatile memory array 100, and is configured to latch the test data read from the cache area. In a specific embodiment, the input-output latch 103 includes an IO0 latch, an IO1 latch, an IO2 latch, and an IO3 latch.
[0037] The compressed data latch 104 is electrically connected to the input / output latch 103 and the clock selector 101 respectively, and is configured to compress the test data read from the non-volatile memory under the test clock to form compressed test data, and store the compressed test data in the cache area and then output it to the data selector 106.
[0038] The test latch 105 is configured to latch the address of the test data to be read according to the second clock.
[0039] The data selector 106 is configured to output compressed test data.
[0040] Optionally, the testing device 10 for non-volatile memory further includes: The output path 107 is electrically connected to the nonvolatile memory array 100 and the input / output latch 103, respectively, and is configured to select the test data read from the nonvolatile memory.
[0041] The address selector 108 is arranged in one-to-one correspondence with the multiple input and output ports 100a of the non-volatile memory array 100, and is electrically connected to the test latch 105, and is configured to select the address of the test data to be read latched by the test latch 105. The input and output ports 100a include IO0, IO1, IO2 and IO3.
[0042] The address combination logic circuit 109 is electrically connected to the address selector 108 and the address latch 102 , respectively, and is configured to perform logic processing on the output of the address selector 108 and then output the selected address of the test data to be read to the address latch 102 .
[0043] In this way, the signals entering from multiple input and output ports and the addresses of the test data to be read latched by the test latch are selected by the address selector and then latched by the address latch after passing through the address combination logic circuit, and the test data is read from the non-volatile memory according to the address latched by the address latch. After reading the test data, it reaches the input and output latch after being selected by the output path, and the input and output latch latches the test data read under the first clock. The test data is compressed by the compressed data to form compressed test data, and is output to a single input and output port of the data selector after being cached.
[0044] Based on the circuit structure of the test device for non-volatile memory, combined with Figure 3 As shown, the embodiment of the present disclosure provides a testing method for a non-volatile memory, comprising: S01, a test device for a non-volatile memory receives a test start instruction, configures a test clock to be a second clock of the non-volatile memory, and configures an address of test data to be read under the second clock.
[0045] In this step, the test start instruction is used to trigger the test operation of the non-volatile memory read path. In one example, the test start instruction is a customized instruction. In another example, the test start instruction is received by a single input and output port of the test device for the non-volatile memory. By configuring the test start instruction as a customized instruction, the instruction can be customized according to the test requirements of the specific test scenario, thereby meeting the test requirements under different test scenarios.
[0046] S02, the test device for non-volatile memory switches the test clock to the first clock of the non-volatile memory, wherein the first clock represents the internal clock and the second clock represents the peripheral clock.
[0047] S03, under a first clock, the testing device for the non-volatile memory reads the test data from the non-volatile memory and stores the test data into a cache area.
[0048] In this step, the clock frequency of the peripheral clock can be a high-frequency clock frequency or a low-frequency clock frequency. As an example, when the clock frequency of the peripheral clock is a low-frequency clock frequency, if the test device for the non-volatile memory reads the test data from the non-volatile memory according to the peripheral clock, the data reading time will be extended, resulting in an increase in the test cost. However, the embodiment of the present disclosure can configure the first clock to be a high-frequency clock frequency, and read the test data under the first clock, thereby reducing the data reading time and reducing the test cost. In addition, the type of the test data is an address or data. In this way, when the non-volatile memory read path is tested, the multiplexing of the read path is realized to ensure the versatility of the test operation.
[0049] In addition, the test device for non-volatile memory reads test data from the non-volatile memory and stores it in the cache area, including: after the test device for non-volatile memory determines that the test data reading is completed from the non-volatile storage area, the test data is stored in the cache area. Among them, the test device for non-volatile memory determines that the test data reading is completed in the following manner: the test device for non-volatile memory obtains the data length of the test data; when the data length is equal to the read length threshold, the test device for non-volatile memory determines that the test data reading is completed. It should be noted that after the test device for non-volatile memory obtains the data length of the test data, when the data length is less than the read length threshold, the test device for non-volatile memory continues to read the test data from the non-volatile memory until the data length is equal to the read length threshold.
[0050] S04, the testing device for the non-volatile memory switches the test clock to the second clock of the non-volatile memory after the test data storage is completed.
[0051] S05 , the testing device for the non-volatile memory reads and outputs the test data from the cache area at the second clock to perform a verification test according to the test data.
[0052] The test method for non-volatile memory provided by the embodiment of the present disclosure is adopted. After receiving the test start instruction, the embodiment of the present disclosure configures the test clock to be the second clock of the non-volatile memory and configures the address of the test data to be read under the second clock, and then switches the test clock to the first clock of the non-volatile memory, and performs subsequent test data reading and caching operations under the first clock. After the test data storage is completed, the test clock is switched to the second clock of the non-volatile memory to read and output the test data from the cache area under the second clock to perform a verification test based on the test data. The embodiment of the present disclosure ensures that the test phase performs the reading and caching of the test data based on the internal clock of the non-volatile memory, and outputs the cached test data according to the peripheral clock through the switching operation of the test clock, thereby ensuring the synchronization of the non-volatile memory read path test operation.
[0053] Optionally, combined Figure 4 As shown, under a first clock, a test device for a non-volatile memory reads test data from a non-volatile memory according to a test start instruction and an address of the test data to be read and stores the test data in a cache area, including: S11, the test device for the non-volatile memory parses the test start instruction and determines the read mode.
[0054] In this step, the read mode includes a two-line read instruction or a four-line read instruction, and the two-line read instruction corresponds to a first read timing, and the four-line read instruction corresponds to a second read timing, and the test device for the non-volatile memory can read the test data from the non-volatile memory according to the read timing corresponding to the read mode. It can be understood that if the test device for the non-volatile memory leads both the two-line input and output ports and the four-line input and output ports during testing, it will affect the number of parallel tests, resulting in an increase in the test cost, and there will be interference between multiple data lines during testing, affecting the test results.
[0055] S12, the testing device for the non-volatile memory determines the test data of the non-volatile memory according to the address of the test data to be read.
[0056] S13, under the first clock, the testing device for the non-volatile memory reads the test data from the non-volatile memory according to the read timing corresponding to the read mode.
[0057] S14, the testing device for the non-volatile memory stores the test data in a cache area.
[0058] In this way, after receiving the test start instruction, the embodiment of the present disclosure parses the test start instruction and determines the read mode, and determines the test data of the non-volatile memory according to the address of the test data to be read. Then, the test data is read from the non-volatile memory according to the read timing corresponding to the read mode under the first clock and the data is cached. The embodiment of the present disclosure can ensure that the reading of the test data in the test phase is based on the internal clock of the non-volatile memory to perform the reading and caching of the test data, and output the cached test data according to the peripheral clock, which is conducive to improving the synchronization of the test operation.
[0059] As an example, the read mode includes a two-line read instruction, and the two-line read instruction corresponds to a first read timing. After parsing the test start instruction and determining the read mode of the two-line read instruction, the test device for the non-volatile memory shields the input and output ports that do not need to be read, and determines the test data of the non-volatile memory according to the address of the test data to be read. Under the internal clock, the test device for the non-volatile memory reads the test data to be read from the non-volatile memory according to the first read timing corresponding to the two-line read instruction.
[0060] It should be noted that after the test device for non-volatile memory parses the test start instruction, it also includes: determining a read length threshold. Accordingly, in step S13, under the first clock, the test device for non-volatile memory reads test data from the non-volatile memory according to the read timing corresponding to the read mode, including: under the first clock, the test device for non-volatile memory reads test data from the non-volatile memory according to the read timing corresponding to the read mode and the read length threshold.
[0061] Combination Figure 5 As shown, the embodiment of the present disclosure also provides a testing method for a non-volatile memory, comprising: S21, the test device for the non-volatile memory receives a test start instruction, configures the test clock to be the second clock of the non-volatile memory, and configures the address of the test data to be read under the second clock.
[0062] S22, the test device for the non-volatile memory switches the test clock to the first clock of the non-volatile memory, wherein the first clock represents the internal clock and the second clock represents the peripheral clock.
[0063] S23, the testing device for the non-volatile memory parses the test start instruction and determines the read mode.
[0064] S24, the testing device for the non-volatile memory determines the test data of the non-volatile memory according to the address of the test data to be read.
[0065] S25, under the first clock, the testing device for the non-volatile memory reads the test data from the non-volatile memory according to the read timing corresponding to the read mode.
[0066] S26, the testing device for the non-volatile memory performs data compression processing on the test data to obtain compressed test data.
[0067] In this step, the test device for the non-volatile memory performs data compression processing on the test data, including: the non-volatile memory performs data compression processing on the test data based on a data compression algorithm. The data compression algorithm includes a cyclic redundancy check algorithm, a parity check algorithm, a hash check algorithm or other check algorithms. Preferably, the data compression algorithm is a cyclic redundancy check algorithm. The disclosed embodiment may not specifically limit the data compression algorithm.
[0068] S27, the testing device for the non-volatile memory stores the compressed test data in the cache area.
[0069] S28, after the test data storage is completed, the test device for the non-volatile memory switches the test clock to the second clock of the non-volatile memory.
[0070] S29, at the second clock, the test device for the nonvolatile memory reads and outputs the test data from the cache area to perform a verification test according to the test data.
[0071] The test method for non-volatile memory provided by the embodiment of the present disclosure is adopted. After receiving the test start instruction, the embodiment of the present disclosure uses the second clock and configures the address of the test data to be read under the second clock, then switches the test clock to the first clock of the non-volatile memory, and performs subsequent test data reading and caching operations under the first clock. After the test data storage is completed, the test clock is switched to the second clock of the non-volatile memory to read and output the test data from the cache area under the second clock to perform verification testing according to the test data. The embodiment of the present disclosure ensures that the test phase performs test data reading and caching based on the internal clock of the non-volatile memory, and outputs the cached test data according to the peripheral clock through the switching operation of the test clock. At the same time, by compressing the test data before caching the test data, the amount of cached data can be reduced and the test time can be shortened, which is conducive to improving the efficiency of the verification test.
[0072] Optionally, the test device for the non-volatile memory outputs test data under the second clock, including: The test apparatus for a nonvolatile memory outputs test data through a single input-output port at a second clock.
[0073] In this way, the test device for non-volatile memory outputs test data only through a single input and output port under the peripheral clock, and can ensure that the read circuit is tested according to the read timing corresponding to the read mode through the internal clock high-frequency reading method, thereby further improving the reliability of the verification test.
[0074] It should be noted that the above-mentioned single input / output port may be an input / output port preset by the testing device for the non-volatile memory before the test.
[0075] Combination Figure 6 As shown, the embodiment of the present disclosure also provides a testing method for a non-volatile memory, comprising: S31, a test device for a non-volatile memory receives a test start instruction, configures a test clock to be a second clock of the non-volatile memory, and configures an address of test data to be read under the second clock.
[0076] S32, the test device for the non-volatile memory switches the test clock to the first clock of the non-volatile memory, wherein the first clock represents the internal clock and the second clock represents the peripheral clock.
[0077] S33, under the first clock, the testing device for the non-volatile memory reads the test data from the non-volatile memory and stores it into the cache area.
[0078] S34, the testing device for the non-volatile memory switches the test clock to the second clock of the non-volatile memory after the test data storage is completed.
[0079] S35 , the testing device for the non-volatile memory reads and outputs the test data from the cache area at the second clock to perform a verification test according to the test data.
[0080] S36, the testing device for the non-volatile memory obtains expected data.
[0081] S37, the testing device for the non-volatile memory verifies the performance of the non-volatile memory read path according to the matching between the test data and the expected data.
[0082] In this step, the test device for the non-volatile memory verifies the performance of the non-volatile memory read path according to the matching of the test data and the expected data, including: when the test data matches the expected data, the test device for the non-volatile memory determines that the non-volatile memory read path verification is successful; or when the test data does not match the expected data, the test device for the non-volatile memory determines that the non-volatile memory read path verification fails.
[0083] The test method for non-volatile memory provided by the embodiment of the present disclosure is adopted. After receiving the test start instruction, the embodiment of the present disclosure switches the test clock to the first clock of the non-volatile memory and configures the address of the test data to be read under the second clock, and then switches the test clock to the first clock of the non-volatile memory, and performs subsequent test data reading and caching operations under the first clock. After the test data storage is completed, the test clock is switched to the second clock of the non-volatile memory to read and output the test data from the cache area under the second clock. After reading and outputting the test data from the cache area, the embodiment of the present disclosure obtains the expected data, and verifies the performance of the non-volatile memory read path according to the matching of the test data and the expected data. The embodiment of the present disclosure ensures that the reading of the test data in the test phase is executed based on the internal clock of the non-volatile memory through the switching operation of the test clock, and outputs the cached test data read according to the peripheral clock and compares the test data with the expected data to realize the performance verification of the read path, which can ensure the synchronization of the non-volatile memory read path test operation and the test efficiency and accuracy.
[0084] Optionally, the test device for the non-volatile memory configures the first clock in the following manner: The test apparatus for a nonvolatile memory obtains a clock frequency upper limit threshold of a second clock.
[0085] The test apparatus for a nonvolatile memory configures a clock frequency upper limit value of a first clock at a clock frequency greater than or equal to a clock frequency upper limit threshold value.
[0086] In this way, to ensure the accuracy of the verification test, the highest clock frequency of the internal clock needs to reach the highest clock frequency that the peripheral clock can reach. In this way, when the peripheral clock of the non-volatile memory array adopts a low frequency, it can ensure that the non-volatile memory array can read the test data according to the high-frequency internal clock, which is conducive to shortening the time of the non-volatile memory read path test operation, thereby improving the test efficiency of the read path. In this way, after obtaining the clock frequency upper limit threshold of the second clock, the embodiment of the present disclosure configures the clock frequency upper limit value of the first clock with a clock frequency greater than or equal to the clock frequency upper limit threshold.
[0087] Combination Figure 7 As shown, the embodiment of the present disclosure provides a test device 70 for non-volatile memory, including a processor 700 and a memory 701. Optionally, the device 70 may also include a communication interface 702 and a bus 703. The processor 700, the communication interface 702, and the memory 701 may communicate with each other through the bus 703. The communication interface 702 may be used for information transmission. The processor 700 may call the logic instructions in the memory 701 to execute the test method for non-volatile memory of the above embodiment.
[0088] In addition, the logic instructions in the memory 701 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.
[0089] The memory 701 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 700 executes the functional application and data processing by running the program instructions / modules stored in the memory 701, that is, the test method for non-volatile memory in the above embodiment is implemented.
[0090] The memory 701 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 701 may include a high-speed random access memory and may also include a non-volatile memory.
[0091] The embodiments of the present disclosure provide a test device for non-volatile memory, including: a test device body, and the above-mentioned test device 70 for non-volatile memory. The test device 70 for non-volatile memory is installed in the test device body. The installation relationship described here is not limited to placement inside the test device body, but also includes installation connections with other components of the test device for non-volatile memory, including but not limited to physical connection, electrical connection or signal transmission connection, etc. It can be understood by those skilled in the art that the test device 70 for non-volatile memory can be adapted to a feasible test device body, thereby realizing other feasible embodiments.
[0092] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned test method for a non-volatile memory.
[0093] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.
[0094] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0095] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0096] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0097] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A testing method for a non-volatile memory, characterized in that: include: receiving a test start instruction, configuring a test clock as a second clock of the non-volatile memory, and configuring an address of test data to be read under the second clock; Switching the test clock to the first clock of the non-volatile memory; wherein the first clock represents the internal clock and the second clock represents the peripheral clock; Under the first clock, the test data is read from the non-volatile memory according to the test start instruction and the address of the test data to be read and stored in the cache area; After the test data storage is completed, switching the test clock to the second clock of the non-volatile memory; At the second clock, the test data is read and output from the cache area to perform a verification test according to the test data.
2. The testing method according to claim 1, characterized in that: At a first clock, according to a test start instruction and an address of the test data to be read, the test data is read from the non-volatile memory and stored in a cache area, including: Parse the test start instruction and determine the reading mode; Determining the test data of the non-volatile memory according to the address of the test data to be read; Under the first clock, according to the read timing corresponding to the read mode, reading the test data from the non-volatile memory; Store test data in the cache area.
3. The testing method according to claim 2, characterized in that: Also includes: After reading the test data from the non-volatile memory, performing data compression processing on the test data to obtain compressed test data; Store the compressed test data in the cache area.
4. The testing method according to claim 1, characterized in that: Under the second clock, output test data, including: Under the second clock, the test data is output through a single input / output port.
5. The testing method according to any one of claims 1 to 4, characterized in that: Also includes: Under the second clock, the test data is read and output from the cache area to obtain expected data after performing a verification test according to the test data; Verify the performance of the nonvolatile memory read path based on the match between the test data and the expected data.
6. The testing method according to any one of claims 1 to 4, characterized in that: Configure the first clock as follows: Obtaining an upper threshold value of a clock frequency of a second clock; The clock frequency upper limit value of the first clock is configured with a clock frequency greater than or equal to the clock frequency upper limit threshold.
7. A testing device for a non-volatile memory, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the testing method for a non-volatile memory according to any one of claims 1 to 6 when running the program instructions.
8. A testing device for a non-volatile memory, characterized in that: During testing, the device is connected to a non-volatile memory array storing test data, includes a clock selector, and is configured as follows: After receiving the test start instruction, configuring the test clock to be the second clock of the non-volatile memory, so as to configure the address of the test data to be read under the second clock; Switching the test clock to the first clock of the non-volatile memory to read the test data from the non-volatile memory and store it in the cache area according to the test start instruction and the address of the test data to be read under the first clock; wherein the first clock represents the internal clock and the second clock represents the peripheral clock; After the test data storage is completed, the test clock is switched to the second clock of the nonvolatile memory to read the test data from the cache area under the second clock, and the test data is output to perform a verification test according to the test data.
9. The testing device according to claim 8, characterized in that: It also includes one or more of an address latch, an input-output latch, a compressed data latch, a test latch, and a data selector, wherein: An address latch is electrically connected to the nonvolatile memory array and the clock selector, respectively, and is configured to latch the address of the selected test data to be read under the test clock; An input-output latch is provided in one-to-one correspondence with a plurality of input-output ports of the non-volatile memory array, is electrically connected to the non-volatile memory array, and is configured to latch the test data read from the cache area; A compression data latch is electrically connected to the input / output latch and the clock selector, respectively, and is configured to compress the test data read from the non-volatile memory under the test clock to form compressed test data, and store the compressed test data in the cache area and then output it to the data selector; A test latch configured to latch an address of test data to be read according to a second clock; The data selector is configured to output the compressed test data.
10. A test device for a non-volatile memory, characterized in that: Also includes: Test equipment body; The testing device for non-volatile memory according to any one of claims 7 to 9 is installed in the testing equipment body.
Citation Information
Cited By
Test method and device for nonvolatile memory and test equipment
CN119785866A
