The present invention relates to a semiconductor memory device in which a memory cell array is divided into a plurality of banks and read/write operation for each bank can be controlled individually. Particularly, the present invention relates to a semiconductor memory device such as a DRAM (Dynamic Random Access Memory) which is configured to be capable of an auto refresh operation for each bank at predetermined refresh intervals in a normal operation, and relates to a memory system including such a semiconductor memory device.
A configuration of a general DRAM is known in which a memory array is divided into a plurality of banks so that read/write operation of the DRAM can be independently controlled for the respective banks. When the DRAM is composed of, for example, four banks, only one desired bank is activated and the read/write operation can be performed by issuing various types of commands to which a 2-bit bank address is added.
Meanwhile, it is necessary to perform a refresh operation with a predetermined refresh period to hold data stored as electric charge in memory cells of the DRAM. Generally, in a normal operation, an auto-refresh function is employed which performs a refresh operation for a row address counted up by a refresh counter at predetermined intervals. Basically, control in the refresh operation can be performed commonly for all the banks, and thus the refresh operation is simultaneously performed for all the banks. For example, when it is supposed that the refresh period is 64 ms and the number of word lines is 8192, the auto-refresh is repeatedly performed for all the banks every time a refresh interval of 7.8 μs passes.
Further, when the refresh operation is simultaneously performed for all the banks, there is a possibility of an increase in peak current and a reduction in use efficiency of a bus during the refresh operation. Thus, a DRAM is proposed in which a refresh operation is performed only for some of a plurality of banks, (refer to, for example, Patent Documents 1 and 2).
Patent Document 2: Japanese Unexamined Patent Application Publication No. H05-151772
The auto-refresh operation for the DRAM must be performed at a timing of the refresh interval regardless of whether or not read/write operation for a bank to be refreshed is being performed. The refresh operation can be started at once when the bank to be refreshed is in an idle state, however complex control is required to be performed in the refresh operation when the bank to be refreshed is in a busy state due to the read/write operation. Here, the busy state means that the bank is in an active state, and the idle state means that the bank is in a non-active state. That is, the control is performed according to a process in which the operation of the bank to be refreshed is interrupted to perform a precharge operation for the bank rapidly, the refresh operation is performed after the bank is shifted to the idle state, and then the bank is shifted to the active state to resume the interrupted operation after the completion of the refresh operation. Since a series of the process requires a considerable number of clocks, a processing time is accumulated and load on the control is increased when it is taken into consideration that the refresh interval is short. Moreover, such a control is required in a case where even one bank is in the busy state when the refresh operation is simultaneously performed for all the banks. Accordingly, the above process is performed considerably frequently as a whole, and a problem arises in that the operation efficiency of the DRAM is deteriorated.
As to this point, even when the refresh operation is performed only for some of a plurality of banks as described in Patent Documents 1 and 2, a similar problem also arises in that the above process is required for the bank in the busy state.
An object of the present invention is to provide a semiconductor memory device which makes a complex control performed for a bank in a busy state unnecessary when a refresh operation is performed for a memory array divided into a plurality of banks, reliably completes the refresh operation in a short time, and has excellent operation efficiency.
An aspect of the present invention is a semiconductor memory device comprising: a memory array divided into a plurality of banks each capable of being individually controlled; a refresh address generating circuit, provided in each of the plurality of banks, for generating a row address to be refreshed; and a refresh control means for controlling to perform a refresh operation for a bank selected based on bank select data and not to perform a refresh operation for a bank not selected based on the bank select data, in response to a refresh request to which the bank select data representing selected banks of an arbitrary combination of the plurality of banks is attached.
According to the semiconductor memory device of the present invention, when performing the refresh operation for the memory array, the refresh request can be issued by freely selecting only banks to be refreshed in accordance with the operation state. Regarding each bank selected to be refreshed, the refresh operation for a row address generated by the refresh address generating circuit is performed, and regarding each bank not selected to be refreshed, the refresh operation is not performed. Thus, the control required for refreshing an operating bank when issuing the refresh request (That is, a series of process of suspending the operation of the bank and resuming it after the refresh operation, or the like) does not need to be performed, and every refresh operation can be rapidly completed so as to improve the operating efficiency of the semiconductor memory device.
In the semiconductor memory device of the present invention, the bank select data may be N-bit data corresponding to 2N kinds of combinations each including a selection of respective N banks
In this case, the bank select data of N bits can be assigned to predetermined N bits included in an address externally input at the time of the refresh request.
In the semiconductor memory device of the present invention, the refresh operation may be an auto refresh operation sequentially performed at predetermined refresh intervals in a normal operation, and the refresh address generating circuit corresponding to a bank selected based on the bank select data may be configured to update the row address to be refreshed at each of the refresh intervals.
In the semiconductor memory device of the present invention, a bank select auto refresh command for instructing the auto refresh operation for a bank selected by the bank select data and a normal auto refresh command for instructing the auto refresh operation for all banks may be respectively defined as two kinds of commands requiring the auto refresh operation, and the refresh control means may determine the bank select auto refresh command and the normal auto refresh command so as to perform the auto refresh operation which is requested.
In this case, a common auto refresh command to the bank select auto refresh command and the normal auto refresh may be defined, and the refresh control means may store set data for selectively setting a bank select auto refresh and a normal auto refresh in a mode register and may determine the auto refresh command and the normal refresh command based on the set data stored in the mode register when the common auto refresh command is issued.
An aspect of the present invention is a refresh control method of a memory system including a semiconductor memory device which is provided with a memory array divided into a plurality of banks each capable of being individually controlled and performs a refresh operation for a bank selected from the plurality of banks, the method comprising the steps of: determining whether or not each of the plurality of banks is in a busy state at a predetermined timing for the refresh operation, establishing bank select data representing only one or more banks not in the busy state, and issuing a refresh request with the established bank select data; and performing the refresh operation for a bank selected based on the bank select data in the semiconductor memory device to which the refresh request received, while not performing the refresh operation for a bank not selected based on the bank select data.
In the refresh control method of the present invention, the bank select data may be N-bit data corresponding to 2N kinds of combinations each including a selection of respective N banks in the semiconductor memory device.
In the refresh control method of the present invention, the refresh operation may be an auto refresh operation sequentially performed at predetermined refresh intervals in a normal operation, and a bank select auto refresh command for instructing the auto refresh operation for a bank selected by the bank select data may be defined.
In the refresh control method of the present invention, at each of the refresh intervals, the bank select data may be established by selecting one or more banks which are not in the busy state, and the bank select auto refresh command with the established bank select data may be issued.
In this case, in each of time periods each including a predetermined number of the refresh intervals, when the number of refresh operations performed for each bank in response to the bank select auto refresh command is less than the predetermined number, auto refresh operations may be performed a number of times by which at least the lacking number of refresh operations is replenished for each bank.
According to the present invention, a refresh operation of a semiconductor memory device having a memory cell array divided into a plurality of banks can be performed only for banks of an arbitrary combination pattern selected from the plurality of banks. Therefore, when a certain bank is in a busy state for read/write operation, this bank can be excluded from refresh targets. Accordingly, a series of process from suspending the operation of the bank in the refresh operation to resuming it does not need to be performed, and every refresh operation can be rapidly completed, so that the operating efficiency of the semiconductor memory device can be improved.
An embodiment of the present invention will be explained below with reference to drawings. In the embodiment, the present invention is applied to a memory system including a semiconductor memory device such as a DRAM (Dynamic Random Access Memory) and the like having a configuration capable of performing a long-period refresh operation for the purpose of reducing power consumption. Hereinafter, a configuration in which a DDR-SDRAM (Double Data Rate Synchronous DRAM) composed of four banks will be explained as an example of a synchronous type DRAM.
In the configuration of
Meanwhile, as common components of the DRAM, there are provided the control circuit 20 for controlling a read/write operation and a refresh operation for the memory array 10, the address register 21 for holding a 13-bit address A<0:12> and a 2-bit bank address (BA0, BA1) respectively input from the outside, the column address latch 22 for latching a column address among the address data stored in the address register 21, and the I/O circuit 23 for controlling the input/output of 32-bit data D<0:31> from/to the outside when the memory array 10 is accessed.
The control circuit 20 includes a command decoder 201 for determining a command input to the DRAM from an external controller, a mode register 202a and an extended mode register 202b for holding data for setting operation modes of the DRAM, and a bank controller 203 for individually controlling the operating states of the respective banks 0 to 3. The control circuit 20 outputs a control signal SC for controlling the operation of the DRAM and supplies it to the respective components through connection paths (not shown). Further, the address data stored in the address register 21 is sent to the control circuit 20 when necessary.
A clock CK and a clock /CK which have the same frequency and phases reverse to each other are input to the control circuit 20. The specification of the DDR-SDRAM makes it possible to perform a high speed operation by synchronizing edges of the clocks CK and /CK. Further, a control signal CKE for switching validity/invalidity of the clocks CK and /CK is input to the control circuit 20.
Further, a chip select signal (/CS), a row address strobe signal (/RAS), a column address strobe signal (/CAS) and a write enable signal (/WE) are input to the control circuit 20 respectively as control signals from the outside. Note that the symbol “/” means that a signal becomes active when it is in a low level. Since commands issued to the DRAM is specified by a combination pattern of the respective control signals described above, the command decoder 201 determines a type of each command based on the combination pattern.
Note that various commands for performing various types of functions of the DRAM are actually set, in addition to the types of the commands shown in
In
Two types of commands: an REF command and a DRF command are prepared in relation to the auto-refresh function in the embodiment. The REF command corresponds to a normal auto-refresh command of the present invention and instructs to perform an auto-refresh operation for all the four banks 0 to 3. The DRF command corresponds to a bank selecting refresh command of the present invention and instructs to perform the auto-refresh operation for banks of an arbitrary combination pattern selected from the four banks 0 to 3 (hereinafter, referred to as a direct auto-refresh). The direct auto-refresh is a unique function in the embodiment, and the specific operation thereof will be described later. These REF command and DRF command are specified as a command having a common combination pattern of control signals, respectively, and are set such that they can be switched in accordance with the contents of the extended mode register as described later.
An MRS command instructs the mode register 202a of
As shown in
Next, a direct auto-refresh operation of the embodiment will be explained referring to
Note that
It is assumed that 1 is previously set to the DRF enable by the EMRS command and the direct auto-refresh is selectively set prior to the start of the control flow as shown in
Next, in
Next, the external controller determines whether each of the banks 0 to 3 is in the busy state or in the idle state before issuing a refresh request (step S13). That is, since banks selected for the read/write operation are maintained in the busy state until a given time passes, these banks are not selected to be refreshed, while only other banks in the idle state are selected to be refreshed. The external controller can determine whether each of the banks 0 to 3 is in the busy state or in the idle state based on a state of an immediately issued command and its timing.
Then, 4-bit bank select data to be added to the DRF command is decided based on the determination result at step S13 (step S14). As shown in
Subsequently, the DRF command, to which the bank select data of step S14 is added, is issued (step S15). The DRF command is issued in a state where control signals are combined as in
When the DRF command is determined by the command decoder 201, the refresh operation for the word lines corresponding to count values of the respective refresh counters 24 are performed as to the banks in the idle state under the control of the bank controller 203 (step S16). On the other hand, the refresh operation for the banks in the busy state is not performed under the control of the bank controller 203, and thereby the read/write operation which has been performed can be continued without being interrupted (step S17).
In the example of
Next, it is determined whether or not a time tRFC required from the issue of the DRF command to the completion of the refresh operation has passed (step S18). A subsequent process can be performed for the banks for which the refresh operation is completed. In the example of
Here,
In
Therefore, the PRE command for the bank 0 is issued at a cycle T5 at which a write recovery time tWR has passed from the output timing of a last data input in3, and the precharge operation for the bank 0 is performed. At this point, a time tRP is required from the issue timing of the PRE command until the bank 0 is actually placed in the idle state. Thus, in
When the time tRFC which is the same as in
In this manner, a time of tWR+tRP+tRFC+tRCD is required to perform the auto-refresh operation in a state where the bank in the busy state exists. In the comparative example of
In a control method employing the direct auto-refresh, the refresh operation is not performed for the banks in the busy state at the time the DRF command is issued, it is necessary to satisfy at least a demand for the refresh period. Even if the refresh operations at refresh intervals of, for example, 7.8 μs, are not performed several times, the refresh period does not exceed 64 ms by performing refresh operations for the banks for which the number of refresh operations is lacking at predetermined timings. Thus, a control method for replenishing the necessary number of times to refresh the banks for which the number of refresh operations is lacking at predetermined timings will be explained below.
For example, as shown in
Either the REF command or the DRF command may be used to replenish the lacking number of refresh operations. That is, when the REF command is used, it is sufficient to continuously perform auto-refresh operations four times by the REF command after setting 0 to the DRF enable DE of the extended mode register by the EMRS command. Further, when the DRF command is used, it is sufficient to continuously perform auto-refresh operations four times four times by the DRF command in a state where the bank select data is set to 1(H), F(H), F(H) and F(H) in this order. Note that an order for setting 1(H) as the bank select data need not to be fixed, and, for example, the order of F(H), F(H), F(H) and 1(H) may be employed. By performing such a control, the operation efficiency of the DRAM can be increased because it is not necessary to refresh banks in the busy state until the ninth refresh operation while satisfying the demand for the number of times to refresh at the absolute maximum interval.
Although the case in which the lacking number of refresh operations is replenished periodically at the absolute maximum interval has been explained in the control method shown in
Although the present invention is specifically explained based on the embodiment, the present invention is not limited to the embodiment described above and can be variously modified within the scope which does not depart from the gist thereof. Although the case, in which the present invention is applied to, for example, the DRAM of the four bank arrangement, is explained, the present invention can be also applied to banks of an N-bank arrangement. In this case, bank select data must be set by 2N types of combination patterns including selection of N banks. In the embodiment, for example, the case is explained in which the DRF command and the REF command can be selectively used, it is also possible to use only the DRF command. In this case, the conventional REF command can be replaced by setting F(H) to the bank select data of
Although, in the embodiment, the case of applying the present invention to the DRAM as a semiconductor memory has been explained, the present invention can be also applied to a semiconductor memory other than the DRAM. Further, the present invention can be applied even to a case in which a memory system including a semiconductor memory is constructed.
This description is based on Japanese Patent Application No. 2005-216429 filed on Jul. 26, 2005, and all contents of the application are included herein.
As described above, the present invention is applied to a semiconductor memory device having a plurality of banks each capable of being individually controlled, and is suitable to improve operating efficiency of the semiconductor memory device by performing a refresh operation in a short time.
Number | Date | Country | Kind |
---|---|---|---|
2005-216429 | Jul 2005 | JP | national |
This application is a divisional of U.S. patent application Ser. No. 11/996,694, filed on Jan. 24, 2008, which is a national stage of International Application No. PCT/JP2006/314304, filed on Jul. 19, 2006, which claims priority from Japanese Patent Application No. 2005-216429, filed on Jul. 26, 2005, the contents of all of which are incorporated herein by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 11996694 | Jan 2008 | US |
Child | 12946507 | US |