Storage particle and data inspection method applied to storage particle
By integrating peripheral circuits and storage arrays into storage particles, data comparison statistics are achieved, which solves the problem of low data inspection efficiency in the storage system and improves data inspection efficiency and bandwidth utilization.
Patent Information
- Application Number
- CN202411198345.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the storage system, the controller performs comparison statistics during data inspection, which results in increased processing resource consumption, longer data transmission time, and reduced data inspection efficiency.
Design a storage particle that includes peripheral circuits and a storage array. The peripheral circuit receives read verification commands and reads data from the storage array for comparison statistics, including data paths, data comparison modules, logic control modules, registers and pulse generation. module, completes data comparison through the internal comparison module, generates a result flag signal, and converts it into a pulse signal and transmits it to the controller.
It reduces data transmission time and processing time, improves data inspection efficiency, and reduces the data interface bandwidth burden between storage particles and external controllers.
Smart Images

Figure CN118711643A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of integrated circuits, and in particular to a storage particle and a data inspection method applied to the storage particle. Background Art
[0002] In current storage systems, data comparison during data inspection is performed by the controller. Under normal working conditions, the controller performs read and write operations on storage particles. Under the working state of data inspection, the controller obtains the read data corresponding to the target address in the storage particle and compares and counts the read data. Since this method requires the controller to perform comparison and statistics, it consumes the processing resources of the controller, increases the bandwidth burden of the data port, increases the data transmission time, and reduces the efficiency of data inspection. Summary of the invention
[0003] In view of this, an embodiment of the present disclosure provides a storage particle and a data inspection method applied to the storage particle to improve the efficiency of data inspection.
[0004] The technical solution of the present invention is achieved in this way: An embodiment of the present disclosure provides a storage particle, comprising: a peripheral circuit and a storage array; the peripheral circuit is coupled to the storage array, configured to receive a read verification command, and read corresponding read data from the storage array based on the read verification command, and perform comparison statistics on the read data.
[0005] In the above scheme, the peripheral circuit includes: a data path and a data comparison module; the data path is configured to receive and cache the expected data in the read verification command; the data comparison module is coupled to the data path and the storage array, respectively, and is configured to receive the expected data from the data path and the read data from the storage array, and compare and count the read data based on the expected data and generate a corresponding result flag signal.
[0006] In the above scheme, the data comparison module is configured to output the result flag signal of the first level when the number of bits at which the read data and the expected data are inconsistent is greater than or equal to a preset threshold; or to output the result flag signal of the second level when the number of bits at which the read data and the expected data are inconsistent is less than the preset threshold; wherein the first level and the second level are inverted to each other.
[0007] In the above scheme, the peripheral circuit also includes: a logic control module; the data path, coupled to the storage array, and also configured to receive the data patrol identifier in the read verification command; the logic control module, coupled to the data path and the storage array respectively, is configured to receive the data patrol identifier from the data path, and read the read data of the target address corresponding to the data patrol identifier from the storage array based on the data patrol identifier.
[0008] In the above solution, the peripheral circuit further includes: a first register; the first register is coupled to the data comparison module, and is configured to receive a register configuration command and set the preset threshold according to the register configuration command.
[0009] In the above scheme, the peripheral circuit also includes: a pulse generation module; the pulse generation module is configured to receive the result flag signal and convert the result flag signal into a pulse signal of corresponding pulse width; wherein the pulse width of the pulse signal is determined according to the level of the result flag signal.
[0010] In the above scheme, the storage particle also includes: a first pin and a second pin; the first pin is coupled to the data path and is configured to transmit a data inspection identifier and the expected data to the data path; the second pin is coupled to the pulse generation module and is configured to transmit the pulse signal to an external controller according to a preset timing.
[0011] The disclosed embodiment also provides a data inspection method applied to a storage particle, comprising: sending a read verification command to a peripheral circuit of the storage particle; the peripheral circuit reading out the read data corresponding to the read verification command; and the peripheral circuit performing comparison and statistics on the read data.
[0012] In the above scheme, the peripheral circuit performs comparison statistics on the read data, including: receiving and caching the expected data in the read verification command; when the number of bits that are inconsistent between the read data and the expected data is greater than or equal to a preset threshold, outputting a result flag signal of a first level; or, when the number of bits that are inconsistent between the read data and the expected data is less than the preset threshold, outputting a result flag signal of a second level; wherein the first level and the second level are inverted to each other.
[0013] In the above scheme, sending the read verification command to the peripheral circuit of the storage particle includes: sending the target address in the read verification command through the row address bus according to the preset timing; sending the expected data in the read verification command through the data bus according to the preset timing.
[0014] The embodiment of the present disclosure provides a storage particle, and the storage particle includes: a peripheral circuit and a storage array. The peripheral circuit is coupled to the storage array, and is configured to receive a read verification command, and read the corresponding read data from the storage array based on the read verification command, and compare and count the read data. In this way, the comparison and statistics process of the read data in the embodiment of the present disclosure is completed by the storage particle. The read data does not need to be transmitted to an external controller for comparison and statistics. Thereby, the data transmission time is reduced, the processing time of the entire data inspection process is reduced, the data inspection efficiency is improved, and the bandwidth burden of the data interface between the storage particle and the external controller is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 Schematic diagram of the structure of the storage particle provided in the embodiment of the present disclosure Figure 1 ; Figure 2 Schematic diagram of the structure of the storage particle provided in the embodiment of the present disclosure Figure 2 ; Figure 3 Schematic diagram of the structure of the storage particle provided in the embodiment of the present disclosure Figure 3 ; Figure 4 Schematic diagram of the structure of the storage particle provided in the embodiment of the present disclosure Figure 4 ; Figure 5 A timing diagram of data transmission and reception of a storage particle provided in an embodiment of the present disclosure; Figure 6 Schematic diagram of the structure of the storage particle provided in the embodiment of the present disclosure Figure 5 ; Figure 7 A flow chart of a data inspection method provided in an embodiment of the present disclosure; Figure 8 Schematic diagram of the structure of the storage particle provided in the embodiment of the present disclosure Figure 6 . DETAILED DESCRIPTION
[0016] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present disclosure. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.
[0017] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0018] If similar descriptions of "first / second" appear in the application documents, the following description is added. In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure.
[0020] Figure 1 is a schematic diagram of an optional storage particle 100 provided in an embodiment of the present disclosure, with reference to Figure 1 The storage particle 100 includes a peripheral circuit 10 and a storage array 20. The peripheral circuit 10 is coupled to the storage array 20 and is configured to receive a read verification command (Read Verify, RDV), read corresponding read data from the storage array 20 based on the read verification command, and perform comparison statistics on the read data.
[0021] In the embodiments of the present disclosure, reference Figure 1 The storage particle 100 may be a static random access memory (SRAM), a flash memory (Flash Memory) or a dynamic random access memory (DRAM). The read verification command may be a command for performing data inspection on the storage particle 100. The read verification command may be sent to the storage particle 100 via an external controller. The external controller may be provided in a processor such as a central processing unit (CPU) or a system on chip (SoC).
[0022] In the embodiments of the present disclosure, reference Figure 1, the storage particle 100 may include a peripheral circuit 10 and a storage array 20. After receiving the read verification command, the storage particle 100 enters a data inspection working mode, and then the peripheral circuit 10 in the storage particle 100 can read the read data corresponding to the read verification command from the storage array 20, and compare and count the read data. For example, the read verification command may include expected data and a target address. The target address may be the address of one or more storage cells (Cell) in the storage array 20 that need to be data inspected. The expected data may be data written to one or more storage cells corresponding to the target address in the storage array 20. The peripheral circuit 10 may read the data (read data) corresponding to the target address in the storage array 20. The peripheral circuit 10 may compare and count the read data corresponding to the target address based on the expected data to determine whether the read data is correct. For example, the peripheral circuit 10 may compare the expected data and the read data bit by bit, and count the number of inconsistent bits (that is, the number of error bits), and then output the corresponding comparison statistics based on the number of error bits.
[0023] It is understandable that the comparison and statistics process of the read data in the embodiment of the present disclosure is completed by the storage particle 100. In this way, the read data does not need to be transmitted to the external controller for comparison and statistics. Therefore, the data transmission time is reduced, the processing time of the entire data inspection process is reduced, the inspection efficiency is improved, and the bandwidth burden of the data interface between the storage particle and the external controller is reduced.
[0024] Figure 2 It is a schematic structural diagram of another optional storage particle 100 provided in an embodiment of the present disclosure.
[0025] In some embodiments of the present disclosure, reference Figure 2 The peripheral circuit 10 further includes a data path (DP) 11 and a data comparison module 12. The data path 11 is configured to receive and cache the expected data in the read verification command. The data comparison module 12 is coupled to the data path 11 and the storage array 20 respectively. The data comparison module 12 is configured to receive the expected data from the data path 11 and the read data from the storage array 20, and compare and count the read data based on the expected data and generate a corresponding result flag signal.
[0026] It should be noted that when the storage particle 100 is in a read or write working mode, the data path 11 can be used to cache and transmit data. For example, after the storage particle 100 receives a write command, it is in a write working mode, and then the data path 11 receives and caches external data to be written, and performs a write operation on the storage array 20, that is, writes the data to be written into the storage array 20.
[0027] It should also be noted that the data comparison module 12 can be a verification module or a built-in self-test circuit (Built-in Self Test, BIST) in the peripheral circuit 10. When the storage particle 100 is in a read or write working mode, in order to prevent data damage caused by noise, interference or other hardware failures, the verification module will generate a check bit before the data is sent to check whether the received data is consistent with the sent data. For example, when the storage particle 100 is in a write working mode, the verification module will determine whether the received data to be written and the data written to the storage array 20 are consistent. In addition, the verification module is connected to the storage array 20, and the verification module can directly receive the data written to the storage array 20. The verification method of the verification module includes parity check, cyclic redundancy check (CRC), etc. In this way, the verification module can detect and correct possible transmission errors, thereby ensuring the accuracy and integrity of data transmission. In the process of using the built-in self-test circuit to perform a burn-in test on the memory, the built-in self-test circuit will automatically generate and write specific data to the storage array 20, and compare the data read from the storage array 20 with the expected value to determine whether there is an error.
[0028] In the embodiments of the present disclosure, reference Figure 2 , the data comparison module 12 is coupled to the storage array 20 and receives the read data from the storage array 20. The data comparison module 12 is coupled to the data path 11 and receives the expected data cached by the data path 11. The data comparison module 12 can also generate a corresponding result flag signal based on the comparison statistics of the expected data and the read data. For example, the data comparison module 12 can be a verification module. The verification module can determine whether the read data is correct by comparing whether the number of error bits of the expected data and the read data is greater than or equal to a preset threshold. If the number of bits that are inconsistent between the read data and the expected data is greater than or equal to the preset threshold, the read data is incorrect, and the data comparison module 12 outputs a high-level result flag signal. On the contrary, the read data is correct, and the data comparison module 12 outputs a low-level result flag signal. In this way, the embodiment of the present disclosure can reuse the circuit inside the storage particle 100 (such as a verification module or a built-in self-test circuit) to compare and count the read data. Therefore, the present disclosure does not need to set up an additional device for comparing and counting the read data, thereby improving the integration of the storage particle 100.
[0029] In some embodiments of the present disclosure, reference Figure 2The peripheral circuit 10 further includes a logic control module 16. The data path 11 is coupled to the storage array 20 and is further configured to receive a data inspection identifier in a read verification command. The logic control module 16 is coupled to the data path 11 and the storage array 20 respectively and is configured to receive a data inspection identifier from the data path 11 and read the read data of the target address corresponding to the data inspection identifier from the storage array 20 based on the data inspection identifier.
[0030] In the embodiments of the present disclosure, reference Figure 2 , after receiving the data inspection identifier, the data path 11 transmits it to the logic control module 16. The logic control module 16 can decode the data inspection identifier in the read verification command, obtain the target address corresponding to the data inspection identifier, and then read the data in the storage unit corresponding to the target address (i.e., read out the data). For example, the data inspection identifier in the read verification command usually includes a fixed address prefix and a variable address part. The logic control module 16 determines the specific target address corresponding to the data inspection identifier by parsing the data inspection identifier in the read verification command. After receiving the data inspection identifier of the data path 11, the logic control module 16 can also generate the clock signal, address signal and command signal required to read the data in the storage array 20, and then control the clock signal, address signal and command signal to ensure that the read data is read at the correct timing. The address signal is used to determine the position of the storage unit corresponding to the target address, and may include a column address signal and a row address signal. The command signal is used to instruct the storage array 20 to perform a read operation.
[0031] It should be noted that the reference Figure 2 In general, after receiving a read command, the storage particle 100 is in a read operation mode, and then the data path 11 performs a read operation on the corresponding storage unit in the storage array 20 according to the read command. After the storage array 20 completes the read operation, the read data is transmitted to the data path 11 for caching. Figure 2 The storage array 20 is coupled to the data comparison module 12. The read data of the storage array 20 can be directly transmitted to the data comparison module 12 without being cached in the data path 11. Thus, the data transmission time is reduced and the data inspection efficiency can be further improved.
[0032] In some embodiments of the present disclosure, reference Figure 2 The data comparison module 12 is configured to output a result flag signal of a first level when the number of bits at which the read data and the expected data are inconsistent is greater than or equal to a preset threshold. Alternatively, the data comparison module 12 outputs a result flag signal of a second level when the number of bits at which the read data and the expected data are inconsistent is less than a preset threshold; wherein the first level and the second level are inverse to each other.
[0033] In the embodiments of the present disclosure, reference Figure 2 , the data comparison module 12 can compare the read data with the expected data, count the number of erroneous bits of the read data, and then compare the number of erroneous bits of the read data with the threshold. If the number of erroneous bits of the read data is greater than or equal to the preset threshold, a result flag signal of the first level is output. On the contrary, if the number of erroneous bits of the read data is less than the preset threshold, a result flag signal of the second level is output. For example, the first level can be a high level, and the second level can be a low level. The data comparison module 12 can be a verification module. The verification module can include a comparator and a counter. Each read data and expected data can include 16 bits, and the corresponding preset threshold can be 3. The two input ends of the comparator in the verification module receive the read data and the expected data respectively, and determine whether the read data and the expected data are consistent bit by bit, and generate corresponding multiple comparison results. The counter in the verification module can count multiple comparison results. When the number of bits that the read data and the expected data are inconsistent (i.e., the number of erroneous bits of the read data) is greater than or equal to 3, the counter in the verification module stops counting and generates a high-level result flag signal.
[0034] Figure 3 It is a schematic structural diagram of an optional storage particle 100 provided in an embodiment of the present disclosure.
[0035] In some embodiments of the present disclosure, the peripheral circuit 10 further includes a first register 13. The first register 13 is coupled to the data comparison module 12, and is configured to receive a register configuration command and set a preset threshold according to the register configuration command.
[0036] It should be noted that the reference Figure 3 , the peripheral circuit 10 may include a mode register module. Before the storage particle 100 performs a read or write operation mode, different mode information or configuration information for accessing the storage particle 100, such as the width of the address line, the data width, the check bit, etc., will be stored through the mode register module. The first register 13 may be set in the mode register module.
[0037] In the embodiments of the present disclosure, reference Figure 3, the first register 13 can receive a mode register configuration command (MRS) from an external controller. The first register 13 can set a preset threshold based on the mode register configuration command. That is, the controller 200 can set a preset threshold in the process of configuring the mode register, and store the preset threshold in the first register 13. In the process of the data comparison module 12 comparing and counting the read data, the data comparison module 12 can call the preset threshold stored in the first register 13 to determine whether the read data is correct. In this way, the embodiment of the present disclosure sets the preset threshold required for comparing and counting the read data in the process of configuring the mode register, that is: the embodiment of the present disclosure configures the preset threshold in advance, thereby reducing the time of the entire data inspection process and improving the data inspection efficiency.
[0038] Figure 4 It is a schematic structural diagram of an optional storage particle 100 provided in an embodiment of the present disclosure.
[0039] In some embodiments of the present disclosure, reference Figure 4 The peripheral circuit 10 further includes a pulse generating module 14. The pulse generating module 14 is configured to receive the result flag signal and convert the result flag signal into a pulse signal of a corresponding pulse width; wherein the pulse width of the pulse signal is determined according to the level of the result flag signal.
[0040] Figure 5 This is a schematic diagram of the timing relationship of the data transmission process between the optional storage particle 100 and the external controller. It should be noted that: Figure 5 The clock signals CK_c and CK_t are differential clock signals, which are used to provide clocks to the column address signal CA. The data line signal (DQ) can carry the expected data, and the data selection signals DQS_c and DQS_t are used to control the transmission timing of the data line signal (DQ). T0 is the moment of transmitting the data inspection mark in the read verification command. Ta0 to Ta17 are the time windows for the expected data. Tb0 is the moment of transmitting the pulse signal. The timing parameter tRPRE is the time for the data bus corresponding to the data line signal (DQ) to go from the precharge state to the active state.
[0041] It should be noted that the reference Figure 4 When the storage particle 100 is in a reading or writing working mode, the pulse generating module 14 in the storage particle 100 can be used to generate an early warning signal for monitoring the temperature of the storage particle 100 .
[0042] In the present disclosure, Figure 4 and Figure 5, the data transmission between the storage particle 100 and the external controller 200 is carried out in a time sequence. To ensure that the controller 200 can receive the result mark signal sent by the storage particle 100, the storage particle 100 can use the pulse generation module 14 to convert the result mark signal into a pulse signal with a corresponding pulse width, and transmit the pulse signal to the controller 200 according to a preset time sequence. For example, the pulse signal can be Figure 5 The timing shown by the feedback pin is output to the controller 200 at time Tb0.
[0043] In the present disclosure, Figure 4 and Figure 5 The level of the result flag signal is used to indicate whether the read data is correct. To ensure that the pulse signal can indicate result flag signals of different levels, the pulse generating module 14 can indicate the level of the result flag signal by controlling the pulse width of the generated pulse signal. For example, when the result flag signal is at the first level, the pulse width of the pulse signal generated by the pulse generating module 14 can be as follows: Figure 5 The result flag signal is shown as ntCK. When the result flag signal is at the second level, the pulse width of the pulse signal generated by the pulse generating module 14 may be mtCK. n and m may be natural numbers, and n may be greater than m. Thus, the embodiment of the present disclosure can feed back the comparison statistics of the read data to the external controller through the pulse signal.
[0044] In the embodiments of the present disclosure, reference Figure 4 , the controller 200 can sample the pulse signal, and based on the different pulse widths of the pulse signal, can obtain different sampling results. For example, when the result flag signal is at the first level, the pulse width of the pulse signal generated by the pulse generation module 14 can be ntCK, and the corresponding sampling result can be a high level, that is, if the number of error bits of the read data is greater than the preset threshold, the controller 200 moves or rewrites the data in the storage unit corresponding to the target address.
[0045] Figure 6 This is a schematic diagram of the structure of another optional storage particle 100 provided in an embodiment of the present disclosure. It should be noted that the pins for transmitting data such as expected data to the storage particle 100 can all be the first pins 151, that is, there is no limit to the number of first pins 151 in the storage particle 100.
[0046] In some embodiments of the present disclosure, reference Figure 6The storage particle 100 further includes: a first pin 151 and a second pin 152. The first pin 151 is coupled to the data path 11 and is configured to transmit a data inspection identifier and expected data to the data path. The second pin 152 is coupled to the pulse generation module 14 and is configured to transmit a pulse signal to an external controller according to a preset timing.
[0047] In the embodiments of the present disclosure, reference Figure 6 , the first pin 151 can be coupled to an external controller and the data path 11. The first pin 151 can transmit the data inspection identifier and the expected data to the data path 11 according to a preset timing. Figure 5 As shown, at time T0, the data inspection mark (such as Figure 5 RDV) is transmitted to the data path 11 through the first pin 151, and then the differential clock signal CK_c is synchronized with the CK_t pulse, and the peripheral circuit performs a data inspection operation. At this time, the expected data (such as Figure 5 The DQ0 to DQ31 shown are transferred to the data path 11 for buffering after a write latency (Write Latency, WL).
[0048] In the embodiments of the present disclosure, reference Figure 6 , the second pin 152 can be Figure 5 The second pin 152 can be coupled to the pulse generating module 14 to transmit the pulse signal to the controller according to a preset timing. Figure 5 As shown, the second pin 152 can transmit the pulse signal to the external controller at time Tb0.
[0049] Figure 7 is an optional structural diagram of the data inspection method provided by the embodiment of the present disclosure, which will be combined with Figure 7 The steps shown are described below. It should be noted that Figure 4 The storage particle 100 shown in FIG. Figure 7 Perform data patrol using the data patrol method shown in .
[0050] S101: Send a read verification command to a peripheral circuit of a storage particle.
[0051] In the embodiments of the present disclosure, reference Figure 4, the controller 200 may be coupled to at least one storage particle 100 to send a read verification command to at least one storage particle 100. The read verification command includes: a data inspection identifier and expected data. The read verification command may be a command for performing a data inspection on the storage particle 100. The read verification command may be sent to the peripheral circuit 10 of the storage particle 100. The peripheral circuit 10 may enter a data inspection working mode after receiving the read verification command, and receive the data inspection identifier and expected data according to a preset timing.
[0052] S102 , the peripheral circuit reads out the read data corresponding to the read verification command.
[0053] In the embodiments of the present disclosure, reference Figure 4 , the storage particle 100 can read the read data corresponding to the read verification command. For example, the data inspection identifier in the read verification command can be transmitted to the logic control module 16 via the data path 11. The logic control module 16 can decode the target address corresponding to the data inspection identifier based on the received data inspection identifier, and then read the read data corresponding to the target address in the storage array 20.
[0054] S103: The peripheral circuit compares and counts the read data.
[0055] In the embodiments of the present disclosure, reference Figure 4 , the peripheral circuit 10 can compare and count the read data. For example, the peripheral circuit 10 can use its internal data comparison module 12 to compare and count the read data. In this way, the embodiment of the present disclosure reuses the data comparison module inside the storage particle to perform comparison and statistics of the read data. In other words, the entire comparison and statistics process of the data inspection is completed by the storage particle, thereby freeing up the program processing resources of the controller 200. At the same time, the controller 200 only needs to send the read verification command to the storage particle, and the read data of the target address does not need to be transmitted to the controller 200, thereby reducing the transmission time, reducing the time of the entire processing flow, and improving the inspection efficiency of the system; and reducing the bandwidth burden of the data interface of the controller 200.
[0056] In some embodiments of the present disclosure, S201 to S202 can be used to implement Figure 1 In S103, each step will be described in combination.
[0057] S201, receiving and buffering expected data in the read verification command.
[0058] In the embodiments of the present disclosure, reference Figure 4The storage particle 100 can receive and cache the expected data in the read verification command. For example, the data path 11 is connected to the controller 200 outside the storage particle 100 and receives the expected data sent by the controller 200.
[0059] S202. When the number of bits at which the read data and the expected data are inconsistent is greater than or equal to a preset threshold, output a result flag signal of a first level; or, when the number of bits at which the read data and the expected data are inconsistent is less than the preset threshold, output a result flag signal of a second level; wherein the first level and the second level are inverted to each other.
[0060] In the embodiments of the present disclosure, reference Figure 4 , the storage particle 100 can use its internal data comparison module 12 to compare and count the read data. For example, if the number of inconsistent bits in the expected data and the read data is greater than the preset threshold, that is, the number of error bits in the read data is greater than the preset threshold, then the result flag signal output by the data comparison module 12 is a high level. On the contrary, the result flag signal output by the data comparison module 12 is a low level. In other words, the embodiment of the present disclosure can reuse the data comparison module 12 inside the storage particle 100 to compare and count the data. In this way, the entire data comparison and statistical process of the data inspection is completed by the storage particle 100, thereby releasing the program processing resources of the controller 200. At the same time, the read data does not need to be transmitted to the controller 200, thereby reducing the time of the entire processing flow and improving the inspection efficiency of the system.
[0061] In some embodiments of the present disclosure, after completing Figure 1 After S103, the data inspection method can also be implemented through S104 to S105, which will be explained in combination with each step.
[0062] S104, converting the result flag signal into a pulse signal with a corresponding pulse width; wherein the pulse width of the pulse signal is determined according to the level of the result flag signal.
[0063] S105. Output a pulse signal.
[0064] In the embodiments of the present disclosure, reference Figure 4 , the data transmission between the storage particle 100 and the external controller 200 is carried out in a time sequence. To ensure that the controller 200 can receive the result mark signal sent by the storage particle 100, the storage particle 100 can use the pulse generation module 14 to convert the result mark signal into a pulse signal with a corresponding pulse width, and transmit the pulse signal to the controller 200 according to a preset time sequence. For example, the pulse signal can be Figure 5The timing shown in the feedback pin in the figure is output to the controller 200 at time Tb0. When the result flag signal is at the first level, the pulse width of the pulse signal generated by the pulse generation module 14 can be ntCK. When the result flag signal is at the second level, the pulse width of the pulse signal can be mtCK. Thus, the embodiment of the present disclosure can feed back the comparison statistics of the read data to the external controller through the pulse signal.
[0065] In some embodiments of the present disclosure, S301 to S302 can be used to implement Figure 1 In S101, each step will be described in combination.
[0066] S301 . Send a data inspection flag in a read verification command through a row address bus according to a preset timing.
[0067] S302 : Sending expected data in the read verification command through the data bus according to a preset timing.
[0068] Figure 8 1 is a schematic diagram of a connection structure between an optional controller 200 and a storage particle 100 provided in an embodiment of the present disclosure. It should be noted that: Figure 6 The first pin 151 in can be coupled to Figure 8 The data bus 172 and the row address bus 171.
[0069] In the embodiments of the present disclosure, reference Figure 8 , the storage particle 100 can be connected to the controller 200 through the address bus 171 and the data bus 172. Thus, the storage particle 100 can receive the data inspection identification and the expected data sent by the controller 200 through the address bus 171 and the data bus 172 according to the preset timing. Figure 5 As shown, the data inspection identifier and expected data can be respectively Figure 5 The column address signal CA and the DQ signal are transmitted to the memory cell 100 in the timing shown.
[0070] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0071] The serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments. The methods disclosed in the several method embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in the several product embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in the several method or device embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0072] The above description is only a specific implementation mode of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure.
Claims
1. A storage particle, characterized in that: include: Peripheral circuits and memory arrays; The peripheral circuit is coupled to the storage array and is configured to receive a read verification command, read corresponding read data from the storage array based on the read verification command, and perform comparison statistics on the read data.
2. The storage particle according to claim 1, characterized in that: The peripheral circuit includes: a data path and a data comparison module; The data path is configured to receive and cache the expected data in the read verification command; The data comparison module is coupled to the data path and the storage array respectively, and is configured to receive the expected data from the data path and the read data from the storage array, and to compare and count the read data based on the expected data and generate a corresponding result flag signal.
3. The storage particle according to claim 2, characterized in that: The data comparison module is configured to output the result flag signal of the first level when the number of bits at which the read data and the expected data are inconsistent is greater than or equal to a preset threshold; or, When the number of bits at which the read data and the expected data are inconsistent is less than the preset threshold, the result flag signal of the second level is output; wherein the first level and the second level are inverted to each other.
4. The storage particle according to claim 3, characterized in that: The peripheral circuit further includes: a first register; The first register is coupled to the data comparison module, and is configured to receive a register configuration command and set the preset threshold according to the register configuration command.
5. The storage particle according to any one of claims 2 to 4, characterized in that: The peripheral circuit also includes: a logic control module; The data path is further configured to receive a data inspection identifier in the read verification command; The logic control module is coupled to the data path and the storage array respectively, and is configured to receive the data inspection identifier from the data path, and read the read data of the target address corresponding to the data inspection identifier from the storage array based on the data inspection identifier.
6. The storage particle according to any one of claims 2 to 4, characterized in that: The peripheral circuit also includes: a pulse generation module; The pulse generating module is coupled to the data comparing module, and is configured to receive the result flag signal and convert the result flag signal into a corresponding pulse signal.
7. The storage particle according to claim 6, characterized in that: The storage particle further includes: a first pin and a second pin; The first pin is coupled to the data path and is configured to transmit a data inspection identifier and the expected data to the data path; The second pin is coupled to the pulse generating module and is configured to transmit the pulse signal to an external controller according to a preset timing.
8. A data inspection method applied to storage particles, characterized in that: include: Sending a read verification command to a peripheral circuit of a storage particle; The peripheral circuit reads the read data corresponding to the read verification command; The peripheral circuit performs comparison and statistics on the read data.
9. The data inspection method according to claim 8, characterized in that: The peripheral circuit compares and counts the read data, including: receiving and buffering the expected data in the read verification command; When the number of bits at which the read data and the expected data are inconsistent is greater than or equal to a preset threshold, outputting a result flag signal of a first level; or, When the number of bits at which the read data and the expected data are inconsistent is less than the preset threshold, a result flag signal of a second level is output; wherein the first level and the second level are inverse to each other.
10. The data inspection method according to claim 8, characterized in that: Sending the read verification command to the peripheral circuit of the storage particle includes: Sending the target address in the read verification command through the row address bus according to a preset timing; According to the preset timing, the expected data in the read verification command is sent through the data bus.
Citation Information
Patent Citations
Data inspection method and device and distributed storage system
CN109614037A
Data inspection method and device for solid state disk, computer equipment and storage medium
CN113791741A
Memory, operating method thereof, memory system, and electronic device
CN116301587A
Detection circuit and method and storage device
CN116935944A
Memory test circuit and method
CN117012259A
Cited By
Function safety design method for reading data path and Cache of eFLASH controller
CN120386748A
