Memory controller and storage device including the same

By dynamically adjusting the operating sequence and control voltage of the unit circuit in the memory controller, the problem of hardware accelerators being difficult to adapt to changes in memory device specifications and performance is solved, and efficient performance optimization and versatility improvement of memory devices are achieved.

CN112241242BActive Publication Date: 2024-09-27SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010509850.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-07-17
Filing Date
2020-06-05
Publication Date
2024-09-27
Estimated Expiration
2040-06-05

AI Technical Summary

Technical Problem

In the case of using a hardware accelerator, when the specifications and performance of the memory device change, the existing technology is difficult to cope with the memory devices of various specifications and performance, causing the hardware accelerator to need to be redesigned, which increases the manufacturing cost and difficulty.

Method used

By implementing multiple unit circuits in the memory controller and dynamically adjusting the operating sequence and control voltage of the selected unit circuits according to the characteristics and usage conditions of the memory device, adaptive control commands are generated to optimize the performance of the memory device.

Benefits of technology

The adaptability of the memory controller is realized, and it can adapt to memory devices of different specifications and performance, improve the versatility and performance of the device, reduce the manufacturing cost, and improve the adaptability to the memory device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112241242B_ABST
    Figure CN112241242B_ABST
Patent Text Reader

Abstract

A memory controller and a storage device including the same are provided. The storage device includes: a memory device including a plurality of memory cells storing data having a plurality of bits respectively; and a memory controller including: an operation block including a plurality of unit circuits performing predetermined functions; and a core block performing control operations on the plurality of memory cells in response to a command from a host. The core block selects at least a portion of the plurality of unit circuits to determine the selected unit circuits, and generates a control command specifying an operation sequence of the selected unit circuits. In the operation block, the selected unit circuits operate in accordance with the operation sequence to determine a control voltage required to perform the control operation, and the control voltage is stored in at least one of the memory controller or the memory device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority from Korean Patent Application No. 10-2019-0086349 filed on Jul. 17, 2019, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety for all purposes by reference. Background Art

[0003] Example embodiments of the present disclosure relate to a memory controller and a storage device including the same.

[0004] A storage device is a device capable of storing data on a flash memory having non-volatile properties, and may be implemented as a solid state drive (SSD) device, etc. Storage devices are used in various fields, such as by individual users and servers. In addition to a memory device for storing data, a storage device may also include a memory controller for controlling the memory device. Recently, a memory controller may include a hardware accelerator to improve the performance of the storage device. However, in the case of using a hardware accelerator, when a memory device is changed, a problem may arise in which the hardware accelerator should be redesigned. Summary of the invention

[0005] An example embodiment provides a memory controller and a storage device including the memory controller, in which unit circuits for performing predetermined functions are implemented at a hardware level, and a core block selects at least a portion of the unit circuits and adjusts the execution order of the selected unit circuits, so that the memory controller can be applied to various memory devices.

[0006] According to one aspect of an example embodiment, a storage device is provided, comprising: a memory device including a plurality of memory cells, wherein each of the plurality of memory cells is configured to store data having a plurality of bits; and a memory controller including an operation block and a core block, wherein the operation block includes a plurality of unit circuits, the core block is configured to perform a control operation on the plurality of memory cells in response to a host command from a host, and each of the plurality of unit circuits is configured to perform a predetermined function. The core block is configured to select at least a portion of the plurality of unit circuits as selected unit circuits, and to generate a control command specifying an operation sequence of the selected unit circuits. The selected unit circuit is configured to operate in accordance with the operation sequence to determine a control voltage required to perform a control operation on the plurality of memory cells, and to store the control voltage in at least one of the memory controller or the memory device.

[0007] According to one aspect of an example embodiment, a storage device is provided, comprising: a memory device including a plurality of memory cells, a plurality of word lines connected to the plurality of memory cells, and a plurality of counter tables configured to store predicted values ​​of a first control voltage based on a number of times the memory device is used, each of the plurality of memory cells being configured to store data having a plurality of bits; a core block configured to output a control command including an initial value of a second control voltage of a target word line among the plurality of word lines and an actual number of times the memory device is used; and an operation block configured to select a predicted value from one of the plurality of counter tables based on the actual number of times the memory device is used, and determine, in response to the control command, a value set of a fourth control voltage of the target word line by adding a difference between the initial value and the predicted value to a reference value of a third control voltage of the reference word line.

[0008] According to one aspect of an example embodiment, a memory controller is provided, comprising: a core block configured to sequentially output commands, the commands comprising: a first control command for adjusting a first control voltage with respect to a first selected memory cell among a plurality of memory cells; and a second control command for adjusting a second control voltage with respect to a second selected memory cell among the plurality of memory cells; and an operation block comprising: a first unit circuit configured to perform a first operation during a first operation time in response to the first control command; and a second unit circuit configured to perform a second operation different from the first operation during a first operation time in which the first operation is performed by the first unit circuit in response to the second control command. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other aspects, features and advantages of the present disclosure will be more clearly understood from the following detailed description in conjunction with the accompanying drawings, in which:

[0010] Figure 1 is a diagram showing an appearance of a storage device according to an example embodiment;

[0011] Figure 2 is a block diagram schematically illustrating a storage device according to an example embodiment;

[0012] Figure 3 is a circuit diagram schematically illustrating a memory device included in a storage device according to an example embodiment;

[0013] FIG. 4A to FIG. 4D is a diagram illustrating an operation of a memory device included in a storage device according to an example embodiment;

[0014] Figure 5 is a block diagram schematically illustrating a memory device included in a storage device according to an example embodiment;

[0015] Figure 6 is a block diagram schematically illustrating a storage device according to an example embodiment;

[0016] Figure 7 is a diagram illustrating the operation of a storage device according to an example embodiment;

[0017] Fig. 8A and Figure 8B is a diagram illustrating commands generated in a memory controller according to an example embodiment;

[0018] Figures 9 to 17 is a diagram illustrating the operation of a storage device according to an example embodiment; and

[0019] Figures 18 to 21 is a diagram illustrating an operation of a memory controller included in a storage device according to example embodiments. DETAILED DESCRIPTION

[0020] Hereinafter, example embodiments will be described with reference to the accompanying drawings.

[0021] Figure 1 is a diagram illustrating an appearance of a storage device according to an example embodiment.

[0022] refer to Figure 1 The storage device 1 according to the example embodiment may be an external storage device connected to an external interface of a host, and may be a solid state drive (SSD) device including a non-volatile memory. The storage device 1 may include a memory controller, a memory device including a non-volatile memory unit, an interface for communicating with the host, etc. The memory controller, the memory device, etc. may be installed in the housing 2. The interface 3 may be provided to be exposed to one side of the housing 2.

[0023] The housing 2 of the storage device 1 may include an input / output unit 4. The input / output unit 4 may include at least one button, and may include a light emitting device, such as a light emitting diode (LED), packaged together with the button. When a user presses a button included in the input / output unit 4, a predetermined input command may be generated. In an exemplary embodiment, functions such as storing data being processed in the storage device 1 in a memory device and cutting off power supplied from a host may be performed by an input command. The input / output unit 4 may use whether or not an LED flashes to notify the user of an operating state of the storage device 1. However, the configuration of the storage device 1 described above is an example, and therefore various modifications may be made thereto according to exemplary embodiments.

[0024] Figure 2 is a schematic block diagram of a storage device according to an example embodiment.

[0025] refer to Figure 2 The storage device 10 according to an example embodiment may include a memory controller 11, a memory device 12, and an interface 13. The storage device 10 is connected to and operates with a host 20, examples of which may include a personal computer device such as a desktop computer or a laptop computer, a server, and various electronic devices that may be connected to the storage device 10.

[0026] The memory controller 11 controls the overall operation of the storage device 10, and can write data to the memory device 12 or read data from the memory device 12. The memory controller 11 can communicate with the host 20 through the interface 13, and can write data requested by the host 20 to the memory device 12 or read data from the memory device 12 to send the data to the host 20.

[0027] The memory device 12 may include a flash memory having a non-volatile characteristic. According to one or more example embodiments, the storage device 10 may further include a main memory connected between the interface 13 and the memory controller 11, and the main memory may be implemented as a dynamic random access memory.

[0028] The memory controller 11 may include various accelerators to improve the performance of the memory device 12. Generally, the accelerator may be implemented as hardware, but when the specification and performance of the memory device 12 change, the hardware accelerator may need to be redesigned. For example, when necessary functions are implemented by hardware accelerators, it may be difficult to cope with memory devices 12 having various specifications and performances. In addition, since the hardware accelerator should be implemented separately for each required function, the manufacturing cost of the memory controller 11 increases.

[0029] In the storage device 10 according to example embodiments, the memory controller 11 may include an operation block having a plurality of unit circuits performing predetermined functions and / or operations, and a core block controlling the memory device 12. The core block may select at least a portion of the unit circuits included in the operation block to determine the selected unit circuits, and may specify an operation order of the selected unit circuits.

[0030] When the core block determines the selected unit circuit and generates a control command specifying the operation sequence and sends the control command to the operation block, the selected unit circuit can operate in the operation block according to the operation sequence. In an example embodiment, the unit circuit can respectively perform various functions and / or operations, such as shift operation, subtraction operation, addition operation, data retrieval, data writing, maximum value operation, minimum value operation, intermediate value operation, etc. Since the operation performed in the operation block is determined by the selected unit circuit and its operation sequence stored in the control command sent by the core block, the operation block can provide various accelerators required by the memory device 12. Therefore, the performance of the storage device 10 can be effectively improved.

[0031] Figure 3 is a schematic circuit diagram of a memory cell array of a memory device included in a storage device according to example embodiments.

[0032] refer to Figure 3 , the memory cell array 30 of the memory device may include a plurality of memory cell strings S, the memory cell strings S including memory cells MC connected in series to each other, and a ground selection transistor GST and string selection transistors SST1 and SST2 connected in series to both ends of the memory cells MC. At least a portion of the plurality of memory cell strings S may be commonly connected to one of the bit lines BL0 to BL2. The plurality of memory cell strings S may be commonly connected to a common source line CSL. For example, the plurality of memory cell strings S may be disposed between a plurality of bit lines BL0 to BL2 and a common source line CSL. In example embodiments, with respect to the common source line CSL, a plurality of common source lines may also be disposed two-dimensionally.

[0033] The memory cells MC connected in series with each other can be controlled by word lines WL1 to WLn for selecting the memory cells MC. Each memory cell MC may include a data storage element. The memory cells MC arranged at substantially the same distance from the common source line CSL may be commonly connected to one of the word lines WL1 to WLn and may receive the same voltage during operation of the memory device. Alternatively, even when the memory cells MC are arranged at substantially the same distance from the common source line CSL, at least some of the memory cells MC arranged in different rows or columns may be independently controlled.

[0034] The ground selection transistor GST is controlled by the ground selection line GSL and may be connected to the common source line CSL. The string selection transistors SST1 and SST2 may be controlled by the string selection lines SSL1 and SSL2 and may be connected to the bit lines BL0 to BL2. Figure 3A structure is shown in which each of the memory cell strings S connected in series to each other includes one ground selection transistor GST and two string selection transistors SST1 and SST2 , but example embodiments thereof are not limited thereto.

[0035] At least one dummy line DWL or buffer line may be disposed between the uppermost word line WLn and the first string selection line SSL1 . In example embodiments, the dummy line DWL or buffer line may also be disposed between the lowermost word line WL1 and the ground selection line GSL.

[0036] When a signal is applied to the string selection transistors SST1 and SST2 through the string selection lines SSL1 and SSL2, the signal applied through the bit lines BL0 to BL2 is transmitted to the memory cells MC connected in series with each other, thereby performing a data read operation or a data programming operation. In order to perform a data read operation or a data programming operation, an appropriate control voltage may also be input to the word lines WL1 to WLn. In addition, by applying a predetermined erase voltage via the substrate, an erase operation for erasing data written to the memory cells MC may be performed. In example embodiments, the memory cell array 30 may include at least one dummy memory cell string electrically isolated from the bit lines BL0 to BL2.

[0037] In example embodiments, data stored in the respective memory cells MC may be distinguished from each other according to the threshold voltage distribution of the memory cells MC. In a data read operation of reading data stored in a selected memory cell among the memory cells MC, a memory controller included in the storage device together with the memory device may determine a read voltage input to a selected word line connected to the selected memory cell.

[0038] Recently, two or more bits of data have been stored in each memory cell MC to increase the storage capacity of the memory device. In the case of storing two or more bits of data in each memory cell MC, the threshold voltage distribution for distinguishing the data of the memory cell MC can be narrowed. The threshold voltage distribution of the memory cell MC can vary according to the operating conditions of the memory device and the number of times the memory cell MC is used. Therefore, in order to improve the operation of the memory device, the memory controller needs to dynamically adjust the control voltage input to the word lines WL1 to WLn in consideration of the threshold voltage distribution.

[0039] In an example embodiment, the memory controller may include an operation block having a plurality of unit circuits that perform predetermined functions and / or operations. In the operation block, the selected unit circuits to be actually operated and the operation order of the selected unit circuits may be determined according to the control command generated by the core block of the memory controller. The core block may generate a control command for adjusting the control voltage based on the operating conditions of the memory device and the number of times the memory cell MC is used, and send the control command to the operation block. The operation block may operate according to the control command to adjust the control voltage.

[0040] Therefore, in an example embodiment, the memory controller can adaptively generate a control voltage that is optimal for the specifications, performance, and operating conditions of the memory device. In addition, by appropriately determining the selected unit circuits and the operation sequence of the selected unit circuits, an accelerator having various functions required by the memory device can be implemented.

[0041] FIG. 4A to FIG. 4D is a diagram illustrating an operation of a memory device included in a storage device according to example embodiments.

[0042] refer to FIG. 4A to FIG. 4D , FIG. 4A to FIG. 4D is a diagram showing the threshold voltage distribution of memory cells according to the number of bits of data stored in each memory cell included in the memory device. First, Figure 4A is a diagram showing threshold voltage distribution of memory cells in a memory device storing one bit of data in each memory cell.

[0043] refer to Figure 4A , the memory cell may have any one of a first state S1 and a second state S2. The first state S1 may have a voltage lower than a voltage in the second state S2. Figure 4A In the example embodiment shown, the read voltage V is input to the word line by the memory controller to perform a read operation. RD It can be a voltage between the first state S1 and the second state S2.

[0044] Figure 4B 1 may be a diagram showing the threshold voltage distribution of memory cells in a memory device that can store two bits of data in each memory cell. Figure 4B In the example embodiment shown, the memory cell can have any one of a first state S1 to a fourth state S4. The memory controller can read a first read voltage V between the first state S1 to the fourth state S4. RD1 To the third read voltage V RD3 Input to the word line to perform a read operation.

[0045] Figure 4Cis a diagram showing the threshold voltage distribution of memory cells in a memory device that can store three bits of data in each memory cell. Figure 4C In the example embodiment shown, the memory cell can have any one of the first state S1 to the eighth state S8. The memory controller can read the first read voltage V between the first state S1 to the eighth state S8 by RD1 To the seventh read voltage V RD7 Input to the word line to perform a read operation.

[0046] Figure 4D 1 shows the threshold voltage distribution of memory cells in a memory device that can store four bits of data in each memory cell. Figure 4D In the example embodiment shown, the memory cell can have any one of the first state S1 to the sixteenth state S16. The memory controller can read the first read voltage V between the first state S1 to the sixteenth state S16 by RD1 To the fifteenth reading voltage V RD15 Input to the word line to perform a read operation.

[0047] refer to FIG. 4A to FIG. 4D , as the number of bits of data stored in each memory cell increases, the threshold voltage distribution becomes narrower. Therefore, if the read voltage of the correct magnitude is not input to the word line, the data of the memory cell will be incorrectly read. In addition, the threshold voltage distribution of the memory cell may also vary according to the characteristics of the memory cell, which in turn varies according to the operating conditions and / or the number of times the memory device is used. Therefore, in order to improve the operating performance of the memory device, the read voltage may be determined taking into account the variation in the threshold voltage distribution of the memory cell.

[0048] In an example, the memory controller may include a hardware accelerator that adjusts the read voltage considering characteristics and performance of the memory device, etc. However, when the characteristics and performance of the memory device change due to replacement of the memory device, the hardware accelerator may not be applicable to the new memory device.

[0049] In an example embodiment, a plurality of unit circuits that perform predetermined operations and / or functions may be implemented at a hardware level and installed in a memory controller. The memory controller may determine at least a portion of the unit circuits as selected unit circuits, and may generate a control command that specifies the operation sequence of the selected unit circuits. According to the control command generated by the memory controller, the type of accelerator implemented as a unit circuit may be changed. Therefore, the memory controller may provide an accelerator that is suitable for the characteristics and performance of the memory device.

[0050] The accelerator provided by the memory controller according to the example embodiment can be implemented as a combination of unit circuits, and thus can support not only read operations but also various other operations. As an example, various functions requested by a host connected to a storage device can be implemented by the memory controller as a combination of unit circuits, thereby effectively improving the operating performance of the storage device.

[0051] Figure 5 is a block diagram schematically illustrating a memory device included in a storage device according to example embodiments.

[0052] refer to Figure 5 , the memory device 100 may include a memory cell array 110 and a peripheral circuit 120. The peripheral circuit 120 may include a row decoder 121, a voltage generator 122, a page buffer 123, an input / output circuit 124, a control logic 125, and the like.

[0053] The memory cell array 110 may include a plurality of memory cells, and the memory cell array 110 may be divided into a plurality of memory blocks. The plurality of memory cells may be connected to the row decoder 121 through a string selection line SSL, a word line WL, and a ground selection line GSL, and may be connected to the page buffer 123 through a bit line BL. In an example embodiment, a plurality of memory cells arranged in the same row may be connected to the same word line WL, and a plurality of memory cells arranged in the same column may be connected to the same bit line BL.

[0054] The row decoder 121 may decode the address data ADDR input thereto to generate and transmit a driving signal of the word line WL. The row decoder 121 may input a word line voltage generated by the voltage generator 122 to the word line WL under the control of the control logic 125 .

[0055] The page buffer 123 is connected to the memory cell array 110 through the bit line BL, and can read information stored in the memory cell or write data to the memory cell. The page buffer 123 may include a column decoder and a sense amplifier. The column decoder may select at least a portion of the bit lines BL of the memory cell array 110, and the sense amplifier may read data of the memory cell connected to the bit line selected by the column decoder during a read operation.

[0056] The input / output circuit 124 may receive data DATA during a program operation and transfer the data DATA to the page buffer 123. In a read operation, the input / output circuit 124 outputs data DATA read from the memory cell array 110 by the page buffer 123 to the outside. The input / output circuit 124 may transfer an address or command received from an external memory controller to the control logic 125.

[0057] The control logic 125 may control operations of the row decoder 121 , the voltage generator 122 , the page buffer 123 , etc. In example embodiments, the control logic 125 may operate according to a control signal transmitted from an external memory controller and an external voltage, etc.

[0058] The voltage generator 122 may generate control voltages required for the operation of the memory device 100, such as a program voltage, a read voltage, an erase voltage, and a pass voltage, by using an externally input power supply voltage. The voltage generated by the voltage generator 122 may be provided to the peripheral circuit 120, or may be input to the memory cell array 110 through the row decoder 121 or the like.

[0059] As an example, in a programming operation, a program voltage may be input to a selected word line connected to a selected memory cell to which data is to be written. A pass voltage lower than the program voltage may be input to unselected word lines connected to unselected memory cells that are included in one memory cell string in which the selected memory cell is located and share a channel region with the selected memory cell.

[0060] In an example embodiment, in a read operation, a read voltage is input to a selected word line connected to a selected memory cell from which data is to be read, and a pass voltage may be input to an unselected word line connected to an unselected memory cell that shares a channel region with the selected memory cell. In an example embodiment in which each memory cell stores data having a plurality of bits, the row decoder 121 may input a plurality of read voltages having different amplitudes to the selected word line.

[0061] As described above, data written into the memory cells can be distinguished according to the threshold voltage distribution of the memory cells. The threshold voltage distribution of the memory cells may vary according to the characteristics of the memory cells, and the characteristics of the memory cells may vary according to the number of times the memory device 100 is used, the position of the memory cells in the memory cell array 110, etc. Therefore, during control operations such as programming operations and read operations, the control voltage input to the memory cell array 110 by the row decoder 121 may be adjusted based on the number of times the memory device 100 is used, the position of the memory cells, etc.

[0062] Generally, a hardware accelerator provided in consideration of characteristics of the memory device 100 (e.g., the number of stacked word lines WL, the number of memory cells included in one memory block, and the respective thicknesses of the word lines WL that determine the gate length of the memory cell, etc.) may be installed in a memory controller that controls the memory device 100. However, the hardware accelerator may not be applicable to a memory device having characteristics different from those of the memory device 100, and as a result, a problem of redesigning the memory controller for each memory device 100 may occur.

[0063] In an example embodiment, the memory controller may include a core block and an operation block, and the operation block may include a plurality of unit circuits that perform predetermined operations and / or functions. For example, the unit circuits may perform different functions and / or operations, such as shift operations, minimum value algorithms, maximum value algorithms, subtraction operations, addition operations, data retrieval, data writing, etc. When the core block sends a control command to the operation block, the operation block may process the task indicated by the control command and return a completion command to the core block.

[0064] In an example embodiment, the control command may specify a selected unit circuit as at least a part of the unit circuits included in the operation block and the operation order of the selected unit circuit, and the selected unit circuit operates in accordance with the operation order, thereby processing the task indicated by the control command. As a result, according to an example embodiment, a hardware accelerator in which the operation block provides various functions according to the data included in the control command can be implemented. Therefore, a memory controller that can be generally applied to a memory device 100 operating with different characteristics or under different operating conditions and a storage device including such a memory controller can be provided.

[0065] Figure 6 is a block diagram schematically illustrating a storage device according to an example embodiment.

[0066] refer to Figure 6 , a storage device 200 according to example embodiments may include a memory controller 210 and a memory device 220. The memory device 220 may include a flash memory having a nonvolatile characteristic.

[0067] The memory controller 210 may include a core block 211 and an operation block 212. The core block 211 may include a processor that controls the overall operation of the storage device 200, and may control the memory device 220 based on a command sent from a host connected to the storage device 200. For example, the core block 211 may write data received from the host to the memory device 220 or read data stored in the memory device 220 and send the data to the host.

[0068] The operation block 212 may include a plurality of unit circuits that perform predetermined calculations and / or functions. Each unit circuit included in the operation block 212 may be connected to all the remaining unit circuits. In an example embodiment, the unit circuits may be operated based on codes represented in the form of hardware available at the RTL level and the gate level, respectively. For example, the unit circuits perform different functions and / or operations that do not overlap with each other, and the unit circuits may respectively perform operations such as addition, subtraction, maximum value, minimum value, shift, data retrieval, data writing, and the like.

[0069] The unit circuits included in the operation block 212 may operate in response to the control command sent by the core block 211. For example, the core block 211 may generate a control command in an SQ format and send the control command to the operation block 212. The control command may include a sending order of the control command, data required for a task to be processed by the operation block 212, a selected unit circuit, an operation order of the selected unit circuit, etc. The selected unit circuit may be a unit circuit that actually operates in a task to be processed by the operation block 212 according to the control command among the unit circuits included in the operation block 212.

[0070] In an example embodiment, the type of tasks that the operation block 212 can process is not limited, and the tasks processed by the operation block 212 can be determined according to the selected unit circuits and their operation order included in the control command. Therefore, an accelerator capable of processing various tasks can be provided by one operation block 212 having a plurality of unit circuits, and the performance of the storage device 200 can be improved and the versatility of the memory controller 210 can be improved.

[0071] Figure 7 is a diagram illustrating an operation of a storage device according to an example embodiment.

[0072] refer to Figure 7 , the storage device 300 according to the example embodiment may include a memory controller 310 and a memory device 340. The memory controller 310 may include a core block 320 and an operation block 330, and the operation block 330 may include first to ninth unit circuits 331 to 339. The number of unit circuits 331 to 339 may be variously modified according to the example embodiment.

[0073] The first to ninth unit circuits 331 to 339 may perform different functions and / or operations. In example embodiments, the functions and / or operations respectively performed by the first to ninth unit circuits 331 to 339 may not overlap with each other. Each of the first to ninth unit circuits 331 to 339 may be connected to all the remaining unit circuits. Figure 7For example, the first unit circuit 331 may be connected to all of the second unit circuit 332 to the ninth unit circuit 339. Similarly, the ninth unit circuit 339 may be connected to all of the first unit circuit 331 to the eighth unit circuit 338.

[0074] The core block 320 may generate a control command SQ and send the generated control command SQ to the operation block 330. The control command SQ may include a sending order of the corresponding control command SQ, data required for the operation block 330 to perform the task indicated by the control command SQ, a selected unit circuit required to perform the task indicated by the control command SQ, and its operation order, etc.

[0075] When the selected unit circuit completes the task indicated by the control command SQ, the operation block 330 may send a completion command CQ to the core block 320. The completion command CQ may have a completion queue (CQ) format. In an example embodiment, the completion command CQ may include data such as at least one control command in the control command SQ sent by the core block 320.

[0076] The memory device 340 may include a data table 350 and a plurality of table sets 360 to 380. For example, in the data table 350, data required to control the memory device 340, such as a control voltage input to a word line or a bit line of the memory device 340, may be stored. The data stored in the data table 350 may be changed by a unit circuit capable of recording data among the first unit circuit 331 to the ninth unit circuit 339.

[0077] In example embodiments, each memory cell included in the memory device 340 may store data having a plurality of bits. For example, in the memory device 340 storing four bits of data in each memory cell, the memory controller 310 may read data from a selected memory cell using a plurality of read voltages. The threshold voltages of the memory cells may have a certain distribution according to the data stored in the memory cells, and the threshold voltage distribution of the memory cells may vary according to operating conditions, the number of times used, and the like.

[0078] In an example embodiment, in response to the change in the threshold voltage distribution, the memory controller 310 first adjusts the set read voltage and reads data from the memory cell. For example, in the data table 350, the read voltage adjusted by the memory controller 310 in consideration of the change in the threshold voltage distribution of the memory cell may be stored. In addition to the read voltage, a pass voltage, a program voltage, etc. may be stored in the data table 350, and a voltage input to a bit line in a data read operation or a data program operation may be stored.

[0079] In an example embodiment, in a plurality of corresponding table sets 360 to 380, control voltages according to the number of times the memory device 340 is used may be stored. For example, in a first counter table 361 of a first table set 360, when the number of times the memory device 340 is used is less than or equal to a first reference number, the control voltage of the memory cell may be stored. In a second counter table 362, when the number of times the memory device 340 is used is greater than the first reference number and less than or equal to a second reference number, the control voltage of the memory cell may be stored. In a third counter table 363, when the number of times the memory device 340 is used is greater than the second reference number and less than or equal to a third reference number, the control voltage of the memory cell may be stored. In a fourth counter table 364, when the number of times the memory device 340 is used is greater than the third reference number and less than or equal to a fourth reference number, the control voltage of the memory cell may be stored.

[0080] In the corresponding first to third table sets 360 to 380, the same type of control voltages may be classified and stored according to the number of times the memory device 340 is used, and the control voltages stored in each of the first to third table sets 360 to 380 may be different from each other. For example, the control voltages stored in each of the first to third table sets 360 to 380 are a read voltage input to a selected word line in a read operation, a program voltage input to a selected word line in a program operation, a pass voltage input to an unselected word line in a read operation or a program operation, and the like.

[0081] According to the type of the control command SQ received from the core block 320, the operation block 330 may perform the task indicated by the control command SQ using the data stored in the data table 350 and the first table set 360 to the third table set 380. One of the first unit circuits 331 to the ninth unit circuit 339 may perform a data retrieval function of reading data from the first table set 360 to the third table set 380. In addition, one of the first unit circuits 331 to the ninth unit circuit 339 may perform a data write function of changing the data stored in the data table 350.

[0082] For example, Figure 7 A second table set 370 is included, which includes a first counter table 371 , a second counter table 372 , a third counter table 373 , and a fourth counter table 374 . Figure 7 Also included is a third table set 380 , which includes a first counter table 381 , a second counter table 382 , a third counter table 383 , and a fourth counter table 384 .

[0083] Fig. 8A and Figure 8B is a diagram illustrating commands generated in a memory controller according to example embodiments.

[0084] first, Fig. 8A Figure 2 shows the control commands sent from the core block of the memory controller to the operation block. Fig. 8A In the example embodiment shown in , the control command may include a first command SQ0 and a second command SQ1 that are sent sequentially.

[0085] The first command SQ0 may include: a sequence identifier QID indicating the order in which the control command is sent; and first data DATA0 and a second data field DATA1 recording data required by the operation block to perform the task indicated by the control command. The configuration of the first command SQ0 may vary according to various embodiments.

[0086] The second command SQ1 may include the selected unit circuits and their operation sequence required for the operation block to perform the task indicated by the control command. Fig. 8A In the exemplary embodiment shown in , it is assumed that the selected unit circuits are stored in eight fields, but the number of selected unit circuits may be increased or decreased according to the task indicated by the control command.

[0087] Figure 8B FIG. 2 shows a completion command CQ0 sent to a core block by an operation block that has completed the operation indicated by the control command. The completion command CQ0 may be identical to a portion of the control command sent by the core block to the operation block. Figure 8B In the example embodiment shown in , the completion command CQ0 may be the same as the first command SQ0. The core block may determine whether the tasks indicated by the control commands sent in the order have been completed by referring to the sending order recorded in the sequence identifier QID of the completion command CQ0.

[0088] Figures 9 to 17 is a diagram illustrating an operation of a storage device according to an example embodiment.

[0089] Fig. 9 FIG. 1 is a diagram showing a control command sent from a core block to an operation block in a memory controller of a storage device according to an example embodiment. The control command may include a first command SQ0 and a second command SQ1 sent consecutively.

[0090] The first command SQ0 may include a first field QID indicating the order in which the control command is sent. When the operation block completes the task indicated by the control command and returns the completion command to the core block, the operation block may write the value of the sequence identifier QID included in the first command SQ0 into the completion command as is, and may send the completion command having the value to the core block. Fig. 9 In the example embodiment shown in , the first command SQ0 may be a control command first sent by the core block to the operation block.

[0091] The first command SQ0 may include first data DATA0 and second data DATA1 required for the operation block to perform the task indicated by the control command. Fig. 9 In the example embodiment shown in , the first data DATA0 may correspond to the number of times the memory device is used. The second data DATA1 may correspond to initial values ​​INIT1 to INIT15 of control voltages input by the memory controller to a selected word line connected to a selected memory cell when the memory controller performs a control operation on the memory device. Fig. 9 In the example embodiment shown in , the number of times the memory device is used indicated by the first data DATA0 may be 0.8k, and the second data DATA1 may be initial values ​​INIT1 to INIT15 of a read voltage required for a read operation. Fig. 9 The memory controller generating the control command of the example embodiment shown in can control the memory device storing four bits of data in one memory cell.

[0092] The operation block receiving the control command from the core block may include a plurality of unit circuits that perform predetermined functions and / or operations. The second command SQ1 may store the selected unit circuits and their operation sequence required to complete the task of adjusting the read voltage in consideration of the number of times the memory device is used. Fig. 9 In the example embodiment shown in , the fifth unit circuit F5, the fourth unit circuit F4, the first unit circuit F1, the second unit circuit F2 and the sixth unit circuit F6 are operated in sequence to adjust the read voltage. Figures 10 to 17 Operations of selected unit circuits according to example embodiments are described in more detail.

[0093] Fig.10 and Fig.11 1 is a diagram showing the operation of the fifth unit circuit F5 which is the first to operate among the selected unit circuits. Fig.10 , the storage device 400 according to example embodiments may include a memory controller 410 and a memory device 440. The memory controller 410 may include a core block 420 and an operation block 430, and the operation block 430 may include first to ninth unit circuits 431 to 439. The operation block 430 sequentially receives a first command SQ0 and a second command SQ1 from the core block 420, and may determine selected unit circuits 431, 432, 434, 435, and 436 among the first to ninth unit circuits 431 to 439 by referring to the second command SQ1. In addition, as stored in the second command SQ1, the fifth unit circuit 435 may be operated first.

[0094] Fig.10A first table set 460 is included, which includes a first counter table 461 , a second counter table 462 , a third counter table 463 and a fourth counter table 464 . Fig.10 Also included is a second table set 470 , which includes a first counter table 471 , a second counter table 472 , a third counter table 473 , and a fourth counter table 474 . Fig.10 Also included is a third table set 480 , which includes a first counter table 481 , a second counter table 482 , a third counter table 483 , and a fourth counter table 484 .

[0095] In an example embodiment, the fifth unit circuit 435 may perform a data retrieval function. The fifth unit circuit 435 may refer to the first data DATA0 included in the first command SQ0 to select a counter table corresponding to 0.8k (the number of times the memory device is used) from each of the first table set 460 to the third table set 480. For example, the fifth unit circuit 435 may select the second counter tables 462, 472, and 482 from the first table set 460 to the third table set 480, respectively.

[0096] refer to Fig.11 , in the second counter tables 462, 472, and 482 respectively selected from the plurality of table sets 460 to 480, predicted values ​​of control voltages V1 to V15 according to the number of times the memory device 440 is used may be stored. For example, the predicted values ​​of control voltages V1 to V15 in the second counter tables 462, 472, and 482 may vary according to the word line connected to the memory cell. The control voltages V1 to V15 may be read voltages input to a selected word line in a read operation.

[0097] The fifth unit circuit 435 may read the predicted values ​​B1 to B15, I1 to I15, and P1 to P15 of the control voltages V1 to V15 corresponding to the target word line WL1 whose read voltage is to be adjusted from the second counter tables 462, 472, and 482. The fifth unit circuit 435 may read the reference values ​​E1 to E15, L1 to L15, and S1 to S15 of the control voltages V1 to V15 assigned to the preset reference word line WL93 in the second counter tables 462, 472, and 482. For example, the predicted values ​​may include the first set SET1, the second set SET2, and the third set SET3, and the reference values ​​may include the first reference set REF1, the second reference set REF2, and the third reference set REF3.

[0098] Fig.124 is a diagram illustrating the operation of the fourth unit circuit 434 that operates after the fifth unit circuit 435. In an example embodiment, the fourth unit circuit 434 may be a unit circuit that performs a minimum value algorithm. The fourth unit circuit 434 may receive the first set SET1, the second set SET2, and the third set SET3 from the fifth unit circuit 435, and may select one set by applying the minimum value algorithm. Fig.12 In the example embodiment shown in , the fourth unit circuit 434 may select the second set SET2.

[0099] Fig.13 is a diagram illustrating an operation of the first unit circuit 431 that operates after the fourth unit circuit 434. In example embodiments, the first unit circuit 431 may be a unit circuit that performs a subtraction operation. The first unit circuit 431 may receive the second set SET2 from the fourth unit circuit 434, and receive the initial values ​​INIT1 to INIT15 of the read voltage included in the first command SQ0. The first unit circuit 431 may calculate differences Δ1 to Δ15 between the predicted values ​​I1 to I15 of the read voltage included in the second set SET2 and the initial values ​​INIT1 to INIT15 of the read voltage.

[0100] Fig.14 4 is a diagram illustrating the operation of the second unit circuit 432 that operates after the first unit circuit 431. In an example embodiment, the second unit circuit 432 may be a unit circuit that performs an addition operation. The second unit circuit 432 may receive the difference values ​​Δ1 to Δ15 of the read voltages from the first unit circuit 431. Also, the second unit circuit 432 may receive a second reference set REF2 included in the second counter table 472, such as the second set SET2 selected by the fourth unit circuit 434.

[0101] According to example embodiments, the second unit circuit 432 may obtain set values ​​L1+Δ1 to L15+Δ15 of the read voltage by respectively adding the differences Δ1 to Δ15 between the read voltages calculated by the first unit circuit 431 to the reference values ​​L1 to L15 of the read voltage included in the second reference set REF2. The operation result of the second unit circuit 432 may be defined as a result set RES of the read voltage.

[0102] refer to Fig.15 , the memory device 500 may include a plurality of word lines WL0 to WL95 stacked on a substrate 501, a charge storage layer 502 and a channel region 503 that are arranged perpendicular to the upper surface of the substrate 501 and simultaneously penetrate the plurality of word lines WL0 to WL95, etc. Read voltage sets RD0 to RD95 may be respectively assigned to the word lines WL0 to WL95, and each of the read voltage sets RD0 to RD95 includes a plurality of read voltages for distinguishing four bits of data.

[0103] In reference Figures 9 to 14 In the described example embodiment, the result set RES of the read voltage calculated by the operation block 430 is the read voltage set RD1 of the target word line WL1 and can be stored in the data table 450 of the memory device 440. Figures 9 to 14 As described above, the read voltage set RD1 of the target word line WL1 may be determined by the initial values ​​INIT1 to INIT15 included in the first command SQ0 and the prediction values ​​I1 to I15 and the reference values ​​L1 to L15 stored in the second counter table 472 selected by the operation block 430. The reference values ​​L1 to L15 may be values ​​of read voltages included in the read voltage set RD93 assigned to the preset reference word line WL93.

[0104] Fig.16 4 is a diagram illustrating the operation of the sixth unit circuit 436 that operates after the second unit circuit 432. In example embodiments, the sixth unit circuit 436 may be a unit circuit that performs a data write function. The sixth unit circuit 436 may write a result set RES of a read voltage output by the second unit circuit 432 to a data table 450 of the memory device 440. Thus, read voltage adjustment for the target word line WL1 may be completed, and a read voltage for reading data from a memory cell connected to the target word line WL1 may be selected as a result value RES written to the data table 450.

[0105] When the sixth unit circuit writes the result set RES of the read voltage into the data table 450, the operation block 430 may output a completion command CQ to the core block 420. Fig.17 As shown in FIG, completion command CQ0 may include data such as first command SQ0 sent by core block 420 to operation block 430. Core block 420 may confirm that adjustment of the read voltage of target word line WL1 requested to operation block 430 has been completed by referring to sequence identifier QID included in completion command CQ0.

[0106] In reference Figures 9 to 17 In the described example embodiment, although it is assumed that the operation block 430 adjusts the read voltage in response to the control command sent by the core block 420, the operation block 430 may perform various tasks other than this. The operation block 430 includes unit circuits 431 to 439 that perform predetermined functions and / or operations, and the selected unit circuits that actually operate among the unit circuits 431 to 439 and the order of their operations may be determined by the control command sent by the core block 420.

[0107] Therefore, according to the control command sent from the core block 420, the operation block 430 can adjust various control voltages input to the word line and the bit line in the operation of the memory device 440. In addition, through the combination of the unit circuits 431 to 439, not only the level of the control voltage can be adjusted, but also the input timing of the control voltage can be adjusted. For example, in an example embodiment, an accelerator providing various functions can be implemented as a single operation block 430 by combining the unit circuits 431 to 439 in different ways.

[0108] Figures 18 to 21 is a diagram illustrating an operation of a memory controller included in a storage device according to example embodiments.

[0109] In reference Figures 18 to 21 In the described example embodiment, the memory controller 600 may include a core block 610 and an operation block 620. The operation block 620 may include a first unit circuit 621 to a ninth unit circuit 629. The number of unit circuits 621 to 629 included in the operation block 620 may be variously changed according to example embodiments, and each of the unit circuits 621 to 629 may be connected to all the remaining unit circuits.

[0110] refer to Fig.18 , the first to ninth unit circuits 621 to 629 may include buffers 631 to 639. Since the first to ninth unit circuits 621 to 629 include the buffers 631 to 639, control commands sequentially transmitted by the core block 610 may be simultaneously processed in parallel with the first to ninth unit circuits 621 to 629.

[0111] refer to Fig.19 , the core block 610 may send the first control command 640 to the operation block 620. For example, the second unit circuit 622 may first operate in response to the first control command 640, and data required to process the task required by the first control command 640 may be stored in the buffer 632 of the unit circuit 622. Fig. 20 , the second unit circuit 622 processes the task required by the first control command 640, and then sends the first control command 640 to the first unit circuit 621 which should perform the operation afterwards.

[0112] exist Fig. 20 In the example embodiment shown in , after sending the first control command 640, the core block 610 may send the second control command 650 to the operation block 620. For example, the first control command 640 and the second control command 650 may be commands for requesting the same task to the operation block 620. The second unit circuit 622 may process the task requested by the first control command 640 and then process the task requested by the second control command 650. Fig. 20 , data required for processing the task required by the second control command 650 is stored in the buffer 632 of the second unit circuit 622, and the second unit circuit 622 can operate. At the same time, data required for processing the task required by the first control command 640 is stored in the buffer 631 of the first unit circuit 621, and the first unit circuit 621 can operate. Therefore, the first control command 640 and the second control command 650 sequentially received from the core block 610 can be processed in parallel in the operation block 620 at the same time.

[0113] refer to Fig.21 , a third control command 660 may be sent from the core block 610 to the operation block 620 after the second control command 650. The third control command 660 may be a command for requesting a task (eg, the task of the first control command 640 and the second control command 650) from the operation block 620.

[0114] refer to Fig. 20 and Fig.21 , the first unit circuit 621 may operate by receiving the second control command 650 from the second unit circuit 622, and the sixth unit circuit 626 may operate by receiving the first control command 640 from the first unit circuit 621. The second unit circuit 622 may operate in response to the third control command 660 received from the core block 610.

[0115] Different from reference Figures 18 to 21 , each of the buffers 631 to 639 may have a plurality of storage spaces. In the case where the buffers 631 to 639 have a plurality of storage spaces, a relatively large number of control commands may be processed in parallel in the operation block 620. Each control command has a sequence identifier, and when a task requested by a specific control command is completed in the operation block 620, the operation block 620 may generate a completion command 670 having the same sequence identifier as the sequence identifier of the control command whose task has been completed, and may return the completion command to the core block 610. By setting a plurality of storage spaces in each of the buffers 631 to 639, different tasks requested by the control commands may be processed in parallel at the same time in the operation block 620.

[0116] As described above, according to an example embodiment, the operation block includes a plurality of unit circuits that perform a predetermined function or operation, and the core block can select at least a portion of the unit circuits and send a control command that specifies the execution order of the selected unit circuits to the operation block. In the operation block, the unit circuit selected by the control command can operate as an accelerator by processing data according to the execution order of the control command. Therefore, a memory controller that can be adapted to operate on various memory devices and can provide an accelerator with various functions and a storage device including the memory controller are provided.

[0117] While example embodiments have been shown and described above, it will be apparent to those skilled in the art that various modifications and changes may be made without departing from the scope of the present disclosure as defined by the appended claims.

Claims

1. A storage device, include: A memory device comprising a plurality of memory cells, wherein each of the plurality of memory cells is configured to store data having a plurality of bits; and A memory controller comprising an operation block and a core block, wherein the operation block comprises a plurality of unit circuits, the core block is configured to perform a control operation on the plurality of memory units in response to a host command from a host, and each of the plurality of unit circuits is configured to perform a predetermined function, Wherein, the core block is configured as: selecting at least a portion of the plurality of unit circuits as selected unit circuits, and generating a control command specifying an operation sequence of the selected unit circuit, wherein the control command includes a usage count of the memory device, and Wherein, the selected unit circuit is configured as: operating in accordance with the sequence of operations to determine a control voltage based on the number of uses, and The control voltage is stored in at least one of the memory controller or the memory device.

2. The storage device according to claim 1, in, The control command includes a first command and a second command, wherein the core block is further configured to sequentially send the first command and the second command to the operation block, The first command and the second command include different data.

3. The storage device according to claim 2, in, The first command includes at least one of: a sequence identifier indicating a transmission order of the control commands, first counter data corresponding to the number of times the memory device is used, and second data corresponding to an initial value of the control voltage.

4. The storage device according to claim 2, in, The second command includes: an indication of the selected unit circuit, and The operation sequence of the selected unit circuit.

5. The storage device according to claim 2, in, The operation block is further configured to: when a first operation of a first selected unit circuit among the selected unit circuits is completed, output a completion command indicating completion of the control command to the core block, and The operation order indicates that the first operation of the first selected unit circuit is the last one in the selected unit circuit.

6. The storage device according to claim 5, in, The completion command includes the same data as that of the first command.

7. The storage device according to claim 5, in, The control command is a submission queue SQ command, and the completion command is a completion queue CQ command.

8. The storage device according to claim 1, in, The plurality of unit circuits are configured to perform different functions, and the different functions include at least two of an addition operation, a subtraction operation, a maximum value operation, a minimum value operation, data retrieval, data writing, or a shift operation.

9. The storage device according to claim 1, in, At least one of the memory controller and the memory device comprises: a plurality of counter tables configured to store predicted values ​​of the control voltage, wherein the predicted values ​​are based on the number of times the memory device is used; and A data table is configured to store a set of values ​​for the control voltage, wherein the set of values ​​is associated with at least a portion of the plurality of memory cells.

10. The storage device according to claim 9, in, The operation block is further configured to: determining the set of values ​​for the control voltage in response to the control command, and The data table is updated based on the value set.

11. The storage device according to claim 1, in, Each unit circuit of the plurality of unit circuits is connected to all other unit circuits of the plurality of unit circuits.

12. The storage device according to claim 1, in, Each of the plurality of unit circuits includes a buffer having at least one storage space.

13. The storage device according to claim 1, in, The plurality of unit circuits are configured to operate based on code represented in the form of hardware that can be used at an RTL level or at a gate level.

14. A storage device, include: Memory devices, including: a plurality of memory cells; a plurality of word lines connected to the plurality of memory cells; and a plurality of counter tables configured to store predicted values ​​of control voltages, the predicted values ​​being based on a number of times the memory device is used, each of the plurality of memory cells being configured to store data having a plurality of bits; a core block configured to output a control command, the control command including an initial value of the control voltage of a target word line among the plurality of word lines and an actual usage count of the memory device; and The operation block is configured as: selecting the predicted value from one of the plurality of counter tables based on the actual usage count of the memory device, and In response to the control command, a value set of the control voltage of the target word line is determined by adding a difference between the initial value and the predicted value to a reference value of the control voltage of a reference word line.

15. The storage device according to claim 14, in, The control voltage of the target word line is at least one of a program voltage, a read voltage, and a pass voltage input to the target word line.

16. The storage device according to claim 14, in, The operation block is configured to write the value set of the control voltage into a storage space different from the plurality of counter tables.

17. The storage device according to claim 14, in, The operation block includes: A first unit circuit is configured to select the predicted value from the plurality of counter tables; a second unit circuit configured to determine the difference between the initial value and the predicted value selected by the first unit circuit; a third unit circuit configured to determine the value set by adding the difference determined by the second unit circuit to the reference value; and The fourth unit circuit is configured to write the value set determined by the third unit circuit into a storage space inside the memory device.

18. The storage device according to claim 17, in, The operation block also includes at least one unit circuit that performs a fifth function that is different from each of the first function of the first unit circuit, the second function of the second unit circuit, the third function of the third unit circuit, and the fourth function of the fourth unit circuit.

19. A memory controller, include: The core block is configured to sequentially output commands, the commands comprising: a first control command including a first usage count of a first selected memory cell among a plurality of memory cells and configured to adjust a first control voltage based on the first usage count; and a second control command including a second usage count of a second selected memory cell among the plurality of memory cells and configured to adjust a second control voltage based on the second usage count; and Operation blocks, including: a first unit circuit configured to perform a first operation during a first operation time in response to the first control command; and The second unit circuit is configured to perform a second operation different from the first operation during the first operation time when the first unit circuit performs the first operation in response to the second control command.

20. The memory controller according to claim 19, in, The first unit circuit is further configured to perform the first operation during a second operation time after the first operation time in response to the second control command.