Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
In
In addition, the non-volatile memory system 100 includes a control line 140 and a data line 150. The control line 140 is used to transfer an address, a command, or the like from the controller 120 to the non-volatile memory 110. The data line 150 is used to transfer data read from the non-volatile memory 110 to the controller 120, and to transfer data to be written from the controller 120 to the non-volatile memory 110.
The non-volatile memory 110 includes a memory cell array 111, a control circuit 112, and a page buffer 113.
Although not shown in
In the memory cell array 111, memory strings, e.g., NAND flash memory strings, are arranged in an array.
The control circuit 112 controls the access (e.g., reading, writing, erasing, etc.) to the memory cell array 111 based on the address and the command outputted from the controller 120 and transferred over the control line 140, and data in a specific field (e.g., data of a redundant portion) of one-page data held in the page buffer 113.
In the non-volatile memory 110 according to the present embodiment, reading and writing of data is performed on a page-by-page basis. Each page is composed of data portion (e.g., 512 bytes in size) and the redundant portion (e.g., several to hundreds of bytes in size). The access at the time of reading and writing is performed with such a page as a unit of access.
Accordingly, the page buffer 113 basically has a size corresponding to one page.
Out of the one-page data held in the page buffer 113, the data in the redundant portion is transferred to the control circuit 112 via a transfer line 114.
The non-volatile memory 110 according to the present embodiment is characterized in that non-volatile information that is normally recorded on a cell array and exchanged between a controller and the cell array as simple data is used also as an input to the control circuit 112 within the non-volatile memory (i.e., a flash memory) 110, as illustrated in
A data structure according to the present embodiment will now be described below with reference to
As illustrated in
In short, this structure is a link list structure with one page as one element.
The figures show that data located at a physical address PA0 is data corresponding to a logical address LA=0, and that data corresponding to a logically next address, i.e., a logical address LA=1, is stored at a physical address PA1.
The figures show that pieces of data beginning with the logical address LA=0 correspond to physical addresses PA0, PA1, PA2, PA4, PA6, PA7, PA100, PA104, PA102, PA106, and so on.
Further, pieces of data beginning with a logical address LA=100 correspond to physical addresses PA3, PA5, PA9, and so on. Still further, pieces of data beginning with a logical address LA=200 correspond to physical addresses PA101, PA103, PA107, and so on.
When the controller inputs a physical address and a read command to the flash memory, corresponding data is read, within the flash memory, from the cell array to the page buffer. After the data at the physical address PA1 corresponding to the logical address LA=1 is completely read from the cell array to the page buffer, the controller reads the data, and at this time and not earlier, the controller recognizes that the next physical address is PA2.
Then, the controller inputs the recognized physical address PA2 and the read command to the flash memory to start reading next data.
According to this method, during a period from when the data has been read from the cell array to the page buffer until reception of the next read command, the cell array can perform no operation. Moreover, because the controller do not recognize the physical address of the data to be read next until the previous data has been read into the controller, even a flash memory capable of cache reading may not utilize its cache function.
To overcome such disadvantages, the flash memory according to the present embodiment is configured to use information written thereto and read therefrom as the data to control the flash memory itself.
A non-volatile memory 110A, which is a flash memory, as illustrated in
Normally, an address generated in a controller 120A is received via the address line for use. In this embodiment, however, when the data has been read from the cell array to the page buffer 113, a part of the data is automatically loaded to the address register 115 to be used in the address decoder 116 as an address of data to be read next.
The controller 120A of a non-volatile memory system 100A as illustrated in
Under control of a CPU (not shown), the controller 120A exchanges a command signal or data with the host system 130 via the host interface, and controls access to the non-volatile memory 110A via the memory interface.
The data written from the host system 130 to the non-volatile memory 110A or the data read from the non-volatile memory 110A is temporarily held in the data buffer in the data processing section 123.
This operation is identical to the operation as illustrated in
This operation eliminates the need for the controller 120A to input, after reading the data, the address of the next data to the non-volatile memory (i.e., the flash memory) 110A, resulting in a reduced total reading time.
A non-volatile memory system 100B as illustrated in
In the non-volatile memory system 100B of
As in the case of a flash memory having a cache-read function in the past, the address and the read command are issued first, and after the data is completely read from the cell array 111 into the page buffer 113, a cache-read command is issued.
As a result of the issuance of the cache-read command, the contents of the page buffer 113 is transferred to the data cache 117 while, in the background, the next data is read from the cell array 111 to the page buffer 113.
Note that an address used at this time is an address that is contained in the first data and automatically loaded to the address register 115.
That is, each of the physical addresses PA of the second and subsequent pages is loaded to the address register 115 before being read to the controller 120A as part of the data, and is used for the reading of the following data from the cell array 111.
Thus, the controller 120A can achieve the reading of the pieces of data following a link list, simply by repeating the reading of data from the data cache 117 and the issuance of the cache-read command.
In a non-volatile memory system 100C as illustrated in
In addition, the partial field (corresponding to the redundant portion 220) within the page buffer 113 is used for input to the command register as well.
Normally, a command code generated in the controller 120A is inputted to the command register 118 via the control line 140, the data line 150, or the like. In this embodiment, however, when the data has been read from the cell array 111 to the page buffer 113, contents of the command register 118 is updated using contents of the page buffer 113, and the command control circuit 119 executes a command therein.
As illustrated in
In the case where data has been written with the redundant portion 220A as illustrated in
In the case where data has been written with the redundant portion 220B as illustrated in
This realizes data that can be read only once.
In this exemplary non-volatile memory system, data in the partial field within the page buffer 113 (i.e., the data in the redundant portion) is used for input to a time-out counter 119a for detecting a time-out at the time of reading or programming, instead of for input to the command register.
Some flash memories in the past have a function of diagnosing a situation where a reading or programming operation is not completed within a predetermined period as an error. A non-volatile memory system 100D as illustrated in
In the data structure as illustrated in
As described above, according to the present embodiment, reforming of a control structure within the flash memory in the non-volatile memory system achieves reduction in an amount of exchange of control between the flash memory and the controller and reduction in the load on the controller, thereby improving the speed of processing.
Moreover, it becomes possible to start, before data is read into the controller, the next operation that normally cannot be started before the data is read into the controller. Thus, considerable improvement in throughput is achieved.
Still further, it becomes possible to specify, at the time of programming, an operation to be performed automatically at the time of reading. This makes it possible to generate and manage special data, such as data that can be read only once.
Still further, it becomes possible to vary the operation of the flash memory at the time of reading, writing, or the like depending on the contents of the data. This makes it possible to manage each data in an appropriate manner.
It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on designs and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2006-162275 | Jun 2006 | JP | national |