STORAGE DEVICE AND OPERATING METHOD THEREOF

A storage device includes a memory controller suitable for outputting a program command or a read command; and a memory device suitable for performing a program operation in response to the program command, and immediately performing a read operation when the read command is received during the program operation.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
CROSS-REFERENCE TO RELATED APPLICATION

The present application claims priority to Korean patent application number 10-2015-0063233, filed on May 6, 2015, the entire disclosure of which is herein incorporated by reference in its entirety

BACKGROUND

1. Field of Invention

Various exemplary embodiments relate generally to a storage device and an operating method thereof, and more particularly, to a read operation and a program operation of a storage device.

2. Description of Related Art

A storage device includes a memory controller and a memory device. The storage device is controlled by a host. A memory system includes the host and the storage device.

The host communicates with the storage device through an interface protocol, such as peripheral component interconnect Express (PCI-E), advanced technology attachment (ATA), serial ATA (SATA), parallel ATA (PATA), serial attached SCSI (SAC), universal serial bus (USB), multi-media card (MMC), enhanced Small Disk Interface (ESDI), integrated drive electronics (IDE), and so forth.

A memory controller controls the overall operations of the storage device and exchanges commands, data and addresses between the host and the memory device.

The memory device performs program, read and/or erase operations in response to the commands, the data and the addresses provided from the memory controller.

SUMMARY

Various embodiments are directed to a storage device stopping a program operation and performing a read operation when the storage device receives a read command during the program operation.

According to an embodiment, a storage device includes a memory controller suitable for outputting a program command or a read command; and a memory device suitable for performing a program operation in response to the program command, and performing a read operation immediately when the read command is received during the program operation.

According to an embodiment, a method of operating a storage device may include inputting program data to a first latch unit in response to a program command; temporarily pausing the inputting of the program data, and transferring the program data in the first latch unit to a second latch unit immediately when a read command is received during the inputting of the program data; and performing a read operation using the first latch unit.

According to an embodiment, a method of operating a storage device may include inputting program data to a first latch unit in response to a program command; transferring the program data in the first latch unit to a second latch unit immediately when a read command is received during the inputting of the program data; and performing a read operation using the first latch unit, during the inputting of the program data to the second latch unit.

According to an embodiment, a memory device may include a peripheral circuit suitable for performing program and read operations in response to program and read commands, respectively; and a control logic suitable for controlling the peripheral circuit to be immediately responsive to the read command during the program operation.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating a storage device according to an embodiment;

FIG. 2 is a diagram illustrating a storage device shown in FIG. 1;

FIG. 3 is a diagram illustrating a page buffer shown in FIG. 1;

FIG. 4 is a flowchart illustrating an operating method according to a first embodiment;

FIG. 5 is a diagram illustrating an operating time according to a first embodiment;

FIG. 6 is a flowchart illustrating an operating method according to a second embodiment;

FIG. 7 is a diagram illustrating an operating time according to a second embodiment;

FIGS. 8A to 8F are diagrams illustrating data transfer according to a second embodiment;

FIG. 9 is a flowchart illustrating an operating method according to a third embodiment;

FIG. 10 is a diagram illustrating an operating time according to a third embodiment; and

FIGS. 11A to 11F are diagrams illustrating data transfer according to a third embodiment.

DETAILED DESCRIPTION

Hereinafter, various exemplary embodiments will be described in detail with reference to the accompanying drawings. In the drawings, thicknesses and lengths of components may be exaggerated for convenience. In the following description, a detailed explanation of related functions and constitutions may be omitted for simplicity and conciseness. Like reference numerals refer to like elements throughout the specification and drawings.

FIG. 1 a diagram illustrating a storage device according to an embodiment.

Referring to FIG. 1, a storage device 1000 may include a memory controller 100 and a memory device 200.

The memory controller 100 may control overall operations of the storage device 1000, and exchange commands, data and addresses between a host and the memory device 200. For example, when the memory controller 100 receives a command for a program operation, the memory controller 100 may output a program command CMD_P, data DATA and an address ADD to the memory device 200. When the memory controller 100 receives a command for a read operation, the memory controller 100 may output a read command CMD_R to the memory device 200, Even when the memory device 200 is performing a program operation, the memory controller 100 may output the read command CMD_R to the memory device 200.

When the read command CMD_R is received during the program operation, the memory device 200 may temporarily stop performing the program operation and perform a read operation, or may perform the program operation and the read operation at the same time.

The memory device 200 may include double data rate synchronous dynamic random access memory (DDR SDRAM), low power double data rate4 (LPDDR4) SDRAM, graphics double data rate (GDDR) SDRAM, low power DDR (LPDDR), Rambus dynamic random access memory (RDRAM), or flash memory. A memory device 200 that uses flash memory will be used as an example, below.

FIG. 2 is a diagram illustrating the memory device shown in FIG. 1.

Referring to FIG. 2, the memory device 200 may include a memory cell array 210 in which data is stored, a peripheral circuit 220 configured to perform a program operation, a read operation or an erase operation on the memory cell array 210, and a control logic 230 configured to control the peripheral circuit 220.

The memory cell array 210 may include a plurality of memory blocks, and each of the memory blocks may include a plurality of memory cells.

The peripheral circuit 220 may include a voltage generator 221, a row decoder 222, a page buffer unit 223, a column decoder 224 and an input/output circuit 225.

The voltage generator 221 may generate a program voltage Vpgm or a read voltage. Vread in response to a program signal PGM or a read signal READ. The voltage generator 221 may also generate various other voltages for various operations.

The row decoder 222 may transfer voltages output from the voltage generator 221 to a selected memory block in response to a row address RADD. For example, the row decoder 222 may transfer the program voltage Vpgm or the read voltage Vread to word lines WL coupled to the selected memory block.

The page buffer unit 223 may include a plurality of page buffers PB. Each of the page buffers PB may be coupled to each of the bit lines BL that are coupled to the memory blocks. The page buffers PB included in the page buffer unit 223 may commonly operate in response to page buffer control signals PBSIG.

The column decoder 224 may transfer data applied through column lines CL to the page buffers PB through page lines PL in response to a column address CADD.

The input/output circuit 225 may input or output the data DATA in response to an input/output signal IN/OUT. For example, the input/output circuit 225 may transfer externally input data DATA to the column decoder 224 through the column lines CL, or externally output the data DATA provided through the column lines CL.

The control logic 230 may control the peripheral circuit 220 in response to the program command CMD_P and the address ADD, or the read command CMD_R. The control logic 230 may control the peripheral circuit 220 so that the peripheral circuit 220 may perform a read operation in response to a current read command CMD_R after all program data is input and resume program operation in response to a previous program command CMD_P after completing the read operation when the read command CMD_R is currently provided to the control logic 230 during input of program data in response to the previous program command CMD_P. Alternatively, the control logic 230 may control the peripheral circuit 220 so that the peripheral circuit 220 may temporarily stop input of the program data, perform a read operation in response to a current read command CMD_R, and then perform a program operation in response to a previous program command CMD_P after completing the read operation when the read command CMD_R is currently provided to the control logic 230 during the input of program data in response to the previous program command CMD_P. Alternatively, the control logic 230 may control the peripheral circuit 220 so that the peripheral circuit 220 may input the program data in response to a previous program command CMD_P and perform the read operation in response to a current read command CMD_R at the same time, and then perform a program operation in response to the previous program command CMD_P after completing the read operation and the input of the program data when the read command CMD_R is currently provided to the control logic 230 during the input of the program data in response to the previous program command CMD_P.

FIG. 3 is a diagram illustrating a page buffer shown in FIG. 2.

Referring to FIG. 3, since all of the page buffers PB included in the page buffer unit 223 may be the same, only one of the page buffers PB is described as an example.

The page buffer PB may include two or more latch units LAT1 and LAT2. The first latch unit LAT1 may be a main latch unit, and the second latch unit LAT2 may be a cache latch unit.

The page buffer PB in response to the page buffer signal PBSIG may input the data DATA transferred through the page line PL to one of the first and second latch units LAT1 and LAT2, or output data from one of the first and second latch units LAT1 and LAT2 to the page line PL. In addition, the page buffer PB may transfer the data between the first and second latch units LAT1 and LAT2 in response to the page buffer signal PBSIG.

A method of operating the above-described memory device when a read command is currently input during a program operation in response to a previous program command is described below.

FIG. 4 is a flowchart illustrating an operating method according to a first embodiment.

Referring to FIG. 4, when the control logic 230 receives the program command CMD_P at step S41, the control logic 230 may control the peripheral circuit 220 to input program data to the page buffer unit 223 at step S42.

When the control logic 230 receives the read command CMD_R at step S43 while the program data is being input in response to the program command CMD_P of step S41, the control logic 230 may suspend a read operation until all program data is input. For example, it may be determined whether the input of the program data for the program command CMD_P of step S41 is completed at step S44,

When the input of the program data is not completed as a result of determination at step S44 (NO), the control logic 230 may continue to control the peripheral circuit 220 to input program data to the page buffer unit 223.

When the input of the program data is completed as the result of determination at step S44 (YES), the control logic 230 at step S45 may control the peripheral circuit 220 to temporarily pause the program for the program command CMD_P of step S41. Subsequently at step S46, the control logic 230 may control the peripheral circuit 220 to perform the read operation on the selected memory block in response to the read command CMD R of step S43. The read operation may include reading the selected memory block to temporarily store the read data in the page buffer unit 223, and outputting the data temporarily stored in the page buffer unit 223 through the page lines PL. When the read operation for the read command CMD_R of step S43 is completed, the control logic 230 at step 547 may control the peripheral circuit 220 to resume the paused program operation for the program command CMD_P of step S41.

FIG. 5 is a diagram illustrating an operating time according to a first embodiment.

Referring to FIG. 5, program data may be input in response to the program command CMD_P. FIG. 5 exemplarily shows the program data including program data DATA1 to DATA8 which may vary according to design. Even when the read command CMD_R is input while the program data DATA1 to DATA8 are being input, the read operation may not be performed until the input of all program data DATA1 to DATA8 is completed.

When the input of all program data DATA1 to DATA8 is completed, the program operation for the program command CMD_P may be temporarily paused. The pause may last for a first time section PGM_S. After the first time section PGM_S, voltages for a read operation may be set in response to the read command CMD_R, and the read operation of the selected memory block may be performed for a second time section tR. The read operation may include reading memory cells included in the selected memory block and inputting the read data to the page buffer unit 223.

When all data read from the selected memory block is input to the page buffer unit 223, the data of the page buffer unit 223 may be output through the page lines PL. Subsequently, the paused program operation for the program command CMD_P may be resumed. The program operation may be performed for a third time section tPROG.

According to the first embodiment, the total operating time may include a program data input time, a program pause time, a read voltage setting time, a read operating time, a read data output time and a program operating time.

In accordance with the first embodiment of the present invention, even when a read command is received while program data for a program operation is being input to the page buffer unit 223, a read operation may not be performed until all program data is input to the page buffer unit 223.

FIG. 6 is a diagram illustrating an operating method according to a second embodiment.

Referring to FIG. 6, when the control logic 230 receives the program command CMD_P at step S61, the control logic 230 may control the peripheral circuit 220 to input program data to the page buffer unit 223 at step S62.

After all program data is completely input with absence of the read command CMD_R (“NO” at step S63), a program operation may be performed at step S67 in response to the program command CMD_P of step S61.

When the control logic 230 receives the read command CMD_R while the program data is being input to the page buffer unit 223 in response to the program command CMD_P of step S41 (“YES” at step S63), the input of the program data may be temporarily paused at step S64 to immediately perform a read operation at step S65 in response to the read command CMD_R of step S63 The read operation may be performed to read memory cells included in a selected page of a first memory block. The read operation may be completed after all read data input to the page buffer unit 223 is output.

Upon the completion of the read operation, the paused input of program data may be resumed at step S66, and the program data may be input to the page buffer unit 223. When all program data is input to the page buffer unit 223, the program operation of a second memory block may be performed at step S67.

The first memory block of the read operation and the second memory block of the program operation may be the same or different. Hereinafter, a description is made in reference to an example in which the first and second memory blocks are different.

FIG. 7 is a diagram illustrating an operating time according to a second embodiment.

Referring to FIG. 7, program data may input in response to the program command CMD_P. FIG. 7 exemplarily shows the program data including program data DATA1 to DATA8, which may vary according to design.

When the read command CMD_R is input while the program data DATA1 to DATA8 are being input, the input of the program data may be temporarily paused, voltages for a read operation may be set in response to the read command CMD_R, and the read operation of a selected memory block may be performed for a fourth time section tR. The read operation may include reading the memory cells included in the selected memory block and inputting the read data to the page buffer unit 223.

When all data read from the selected memory block is input to the page buffer unit 223, the data of the page buffer unit 223 may be output through the page lines PL to complete the read operation.

When the read operation is completed, the paused input of the program data may be resumed. For example as shown in FIG. 7, when the read command CMD_R is received after a part DATA1 to DATA3 of the program data DATA1 to DATA8 are input to the page buffer unit 223, all the remaining data DATA4 to DATA8 may be input to the page buffer unit 223 after the read operation is completed. When all program data DATA1 to DATA8 are input, a program operation for the program command CMD_P may be performed with the input program data for a fifth time section tPROG.

According to the second embodiment, the total operating time may include a program data input time, a read voltage setting time, a read operating time, a read data output time and a program operating time

In accordance with the second embodiment of the present invention, when a read command is received while program data for a program operation is being input to the page buffer unit 223, the program data input process may be paused, and a read operation may be performed. Therefore, the read operation may be performed before the program operation.

FIGS. 8A to 8F are diagrams illustrating data transfer according to the second embodiment.

Referring to FIG. 8A, a memory cell array 210 may include a plurality of memory blocks. For example, the first memory block may be selected for the read operation, and the second memory block may be selected for the program operation. In response to the program command CMD_P, the program data DATA1 to DATA3 may be sequentially input to the first latch unit LAT1 of the page buffer PB (see step S62 of FIG. 6).

Referring to FIG. 8B, the input of the program data may be paused according to the interrupted input read command CMD_R (see step S63 of FIG. 6), and the data DATA1 to DATA3 of the first latch unit LAT1 may be transferred to the second latch unit LAT2.

Referring to FIG. 8C, the read operation CMD_R may be performed to the first memory block selected for the read operation. The read data may be output via the first latch unit LAT1. When all read data is output via the first latch unit LAT1, the read operation may be completed.

Referring to FIG. 8D, when the read operation is completed, the data DATA1 to DATA3 temporarily transferred to the second latch unit LAT2 may be transferred back to the first latch unit LAT1.

Referring to FIG. 8E, the paused input of the program data may be resumed, so that the remaining program data DATA4 to DATA8 may be input to the first latch unit LAT1.

Referring to FIG. 8F, when all program data is input to the first latch unit, the program operation may be performed to the second memory block with the program data DATA1 to DATA8 of the first latch unit.

FIG. 9 is a flowchart illustrating an operating method according to a third embodiment.

Referring to FIG, 9, when the control logic 230 receives the program command CMD_P at step S91, the control logic 230 may control the peripheral circuit 220 to input program data to the page buffer unit 223 at step S92.

After all program data is completely input with absence of the read command CMD_R (“NO” at step S93), a program operation may be performed at step S97 in response to the program command CMD_P of step S91.

When the control logic 230 receives the read command CMD_R while the program data is being input to the page buffer unit 223 in response to the program command CMD_P of step S91 (“YES” at step S93), both of a read operation for the read command CMD_R and the input of the program data for the program command CMD_P may be concurrently performed at step S95, which may reduce the total operating time. The read operation performed at step S95 may include reading selected memory cells and inputting the read data to the page buffer unit 223. After completion of both of the read command CMD_R and the input of the program data for the program command CMD_P, the read data of the page buffer unit 223 may be output at step S96, and a program operation of the selected memory block may be performed with the program data of the page buffer unit 223 at step S97.

FIG. 10 is a diagram illustrating an operating time according to a third embodiment.

Referring to FIG. 10, program data may be input in response to the program command CMD_P. FIG. 10 exemplarily shows the program data including program data DATA1 to DATA8, which may vary according to design.

When the read command CMD_R is input while the program data DATA1 to DATA8 are being input, voltages for a read operation may be set in response to the read command CMD_R, and the read operation of the selected memory block may be performed for a sixth time section tR with continuation of the input of the program data. The read operation performed for the sixth time section tR may include sensing data from selected memory cells, The program data, for example DATA4 to DATA8 shown in FIG. 10 may be input to the page buffer unit 223 during the read operation, or for the sixth time section tR.

When all the data read from the selected memory block is input to the page buffer unit 223, the read data may be output through the page lines PL, thereby completing the read operation.

Upon completion of the read operation, a program operation may be performed for a seventh time section tPROG in response to the program command CMD_P with the program data of the page buffer unit 223.

As described above, according to the third embodiment, the total operating time may include a program data input time, a read voltage setting time, a read data output time and a program operating time.

In accordance with the third embodiment of the present invention, when a read command is received while program data for a program operation is being input to the page buffer unit 223, both of the program data input process and the read operation may be concurrently performed so that the read operation may be performed before the program operation, and the operating time may be reduced.

FIGS. 11A to 11F are diagrams illustrating data transfer according to the third embodiment.

Referring to FIG. 11A, the memory cell array 210 may include a plurality of memory blocks. For example, the first memory block may be selected for the read operation, and the second memory block may be selected for the program operation. In response to the program command CMD_P, the program data DATA1 to DATA3 may be sequentially input to the first latch unit LAT1 of the page buffer PB (see step S92 of FIG. 9).

Referring to FIG. 11B, the input of the program data may be paused according to the interrupted input read command CMD_R (see step S93 of FIG. 9), and the data DATA1 to DATA3 of the first latch unit LAT1 may be transferred to the second latch unit LAT2.

Referring to FIG. 11C, the read operation CMD_R may be performed to the first memory block selected for the read operation. The read data may be input to the first latch unit LAT1. Concurrently, the program data DATA4 to DATA8 may be input to the second latch unit LAT2. Therefore, all program data DATA1 to DATA8 may be input to the second latch unit LAT2 without pause of the input of the program data even while the read operation is performed in response to the interrupted input read command CMD_R.

Referring to FIG. 11D, when all read data is input to the first latch unit LAT1 and the program data DATA4 to DATA8 are input to the second latch unit LAT2, the read data of the first latch unit LAT1 may be output, thereby completing the read operation.

Referring to FIG. 11E, upon the completion of the read operation, all of the program data DATA1 to DATA8 of the second latch unit LAT2 may be transferred to the first latch unit LAT 1.

Referring to FIG. 11F, when the all program data is transferred to the first latch unit LAT1, a program operation may be performed to the second memory block with the program data of the first latch unit LAT1.

According to various embodiments of the present invention, when a memory device receives a read command during a program operation, the memory device may immediately perform a read operation, so that the operating time required for the read operation and the program operation may be reduced to improve performance of a storage device including the memory device.

It will be apparent to those skilled in the art that various modifications can be made to the above-described exemplary embodiments of the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover all such modifications provided they come within the scope of the appended claims and their equivalents.

Claims

1. A storage device, comprising:

a memory controller suitable for outputting a program command or a read command; and
a memory device suitable for inputting program data to a first latch unit in response to the program command, temporarily pausing the inputting of the program data, and transferring the program data in the first latch unit to a second latch unit immediately when the read command is received during the inputting of the program data, performing a read operation using the first latch unit, transferring the program data back from the second latch unit to the first latch unit upon completion of the read operation, resuming the inputting of the program data to the first latch unit, and performing a program operation with the program data in the first latch unit.

2. The storage device of claim 1, wherein the memory device comprises:

a plurality of memory blocks;
a peripheral circuit suitable for performing the program operation or the read operation on the plurality of memory blocks; and
a control logic suitable for controlling the peripheral circuit to perform the program operation in response to the program command, and to perform the read operation immediately when the read command is received during the program operation.

3. The storage device of claim 2, wherein the peripheral circuit comprises:

a voltage generator suitable for generating program and read voltages in response to program and read signals, respectively;
a row decoder suitable for transferring the program and read voltages to the memory blocks;
a plurality of page buffers suitable for buffering data;
an interfacing unit suitable for transferring the data between the page buffers and an external device.

4. The storage device of claim 3, wherein each of the page buffers includes the first and second latch units.

5. The storage device of claim 4,

wherein the first and second latch units and the interfacing unit are coupled through page lines, and
wherein the memory blocks and the page buffers are coupled through bit lines.

6. The storage device of claim 4, wherein the first and second latch units exchange the data with one another.

7. The storage device of claim 4, wherein each of the first and second latch units receives the data provided from the interfacing unit.

8-11. (canceled)

12. A method of operating a storage device, the method comprising:

inputting program data to a first latch unit in response to a program command;
temporarily pausing the inputting of the program data, and transferring the program data in the first latch unit to a second latch unit immediately when a read command is received during the inputting of the program data; and
inputting read data from memory blocks to the first latch unit;
externally outputting the read data in the first latch unit;
transferring the program data in the second latch unit to the first latch unit;
resuming the inputting of the program data to the first latch unit; and
performing a program operation with the program data in the first latch unit.

13-14. (canceled)

15. A method of operating a storage device, the method comprising:

inputting program data to a first latch unit in response to a program command;
transferring the program data stored in the first latch unit to a second latch unit immediately when a read command is received during the inputting of the program data,
performing a read operation using the first latch unit, and inputting the program data to the second latch unit during the read operation,
transferring the program data back from the second latch unit to the first latch unit upon completion of the read operation and the inputting of the program data, and
performing a program operation with the program data stored in the first latch unit.

16. The method of claim 15, further comprising outputting the read data in the first latch unit when all read data is input to the first latch unit and all program data is input to the second latch unit.

17-20. (canceled)

21. A storage device, comprising:

a memory controller suitable for outputting a program command or a read command; and
a memory device suitable for inputting program data to a first latch unit in response to the program command, transferring the program data stored in the first latch unit to a second latch unit immediately when a read command is received during the inputting of the program data, performing a read operation using the first latch unit and inputting the program data to the second latch unit during the read operation, transferring the program data back from the second latch unit to the first latch unit upon completion of the read operation and the inputting of the program data, and performing the program operation with the program data in the first latch unit.
Patent History
Publication number: 20160329082
Type: Application
Filed: Sep 24, 2015
Publication Date: Nov 10, 2016
Inventor: Dong Yeob CHUN (Seoul)
Application Number: 14/864,252
Classifications
International Classification: G11C 7/10 (20060101);