The present invention relates to dynamic random access memories (DRAMs), and in particular to refreshing techniques.
DRAM devices function by storing charge on a capacitor at each memory location. The capacitor loses the charge over time, and accordingly it needs to be recharged to its original level, whether a 1 or 0, periodically. This period is known as the refresh period, tREF. A typical tREF value is 64 ms. This recharging is termed refreshing, and is done by doing a row access for every row in the memory device. In newer DRAM designs, the rows and columns are broken into multiple banks to break down large DRAM arrays into smaller pieces.
The row access operation is performed in two steps. First, a row is opened, or turned on, in a “sense” operation, by turning on the sense amps. Next, the row is closed by doing a “precharge” operation, using a precharge equalization transistor. When a refresh is performed, there is no need to select a particular bit with a column address, and the data is not read.
As the storage capacity of memory devices increases and the number of banks per device increases, the issue rate of refresh commands sent to the memory device from the controller also increases and can introduce a refresh overhead that unacceptably impacts the performance of normal memory accesses.
To reduce refresh overhead, it is desirable to refresh more than one bank for each refresh command. This approach can be called multibank refresh. With a given refresh command, more than one bank could be either simultaneously or sequentially refreshed. From a performance standpoint, it is more desirable to refresh banks simultaneously, so that the time that bank resources are tied up is minimized.
Simultaneous multibank refresh, however, has the problem of current spikes. Each refresh operation for each bank requires a certain amount of supply current over time. At the onset of the operation, there is an initial spike of current. This spike is large because the row sensing circuits have been designed to access cell data as quickly as possible in order to minimize the latency to the first allowable page access to bits stored in the sense amps. This spike, characterized by rate of change in current, dI/dt, can cause noise problems in a DRAM, since current spikes can reduce the internal supply voltage and cause failure in circuits on the same die or on other devices that share the same supply voltage. With multiple banks simultaneously doing a row sense, the current spike effect can be additive, thus causing greater probability of circuit failure.
Typically, a refresh operation is done by periodically addressing every row with a controller. Thus, interspersed between normal memory access operations, refresh commands are sent in the form of a RAS control signal with a row address. In a prior RAMBUS memory system, these commands are sent in packets which are decoded in the memory chips themselves.
In addition to the normal refreshing interspersed with memory accesses, the memory may also be put into a sleep or stand-by mode. In this mode, it is not being accessed, and minimal power drain is desired. This is accomplished by simply refreshing the memory when needed, and otherwise not doing memory accesses. Memory chips typically have on-chip counters for sequencing through all the rows and banks in order to accomplish such a self-refresh. This allows the memory chips to refresh themselves, without requiring the controller to be turned on to provide it with the refresh addresses and commands.
Because self-refresh mode uses a clock or sequencer on the DRAM itself, a synchronization issue arises when the device comes out of self-refresh mode and the controller takes over memory accesses and controlling refresh. The typical way the synchronization is handled is for the microprocessor, upon powering up out of a self-refresh mode, to send a burst of refresh commands covering all the data locations in the memory chip. In this way, it is ensured that the timing of the last refresh of every memory location is known to the microprocessor.
To keep up with increasing microprocessor speeds, there has been pressure to increase the speed at which memory is accessed. One method for accomplishing this is to shape the current pulse provided by the sense amplifier driver in order to increase access speed. This is discussed, for example, in an article by H. Geib, et al., entitled “Block-Decoded Sense-Amplifier Driver for High-Speed Sensing in DRAMs”, IEEE Journal of Solid-State Circuits, Vol. 23, No. 9, September 1992. As memories become larger, however, more locations need to be refreshed at any given time, and refreshing draws more power in a shorter time for the larger memories. Thus, current spikes can cause significant noise problems on the power line during a refresh operation. Accordingly, refresh protocols limit refreshing to one row at a time in order to control refreshing noise.
The present invention makes multibank refresh more practical by varying the current profile for the row sense and/or row precharge currents during a refresh operation, as compared to normal memory access. Unlike normal memory accesses, data is not needed, and a fast access time is not required. This allows the current to be spread using different circuitry for driving the current so as to lessen current spikes. The spread current is still maintained within the timing of a normal refresh or memory access.
By refreshing multiple banks in response to a single command, the present invention provides a method for reducing the communication overhead over the interface bus to the memory devices for refresh operations.
In one embodiment, the generation of row and bank addresses during refresh is split between on-chip and external commands. A row counter is provided on the memory chip, with the row counter being used for refresh operations, both normal and self-refresh. Only the bank address needs to be sent over the memory bus. Since the same row counter is used for self and normal refresh, only a burst of the banks for a particular row need to be issued to regain synchronization, since the same row counter is used in both modes.
Additionally, in the preferred embodiment, the banks occupy the least significant bits of the address, and the rows occupy the most significant bits of the address. Such an addressing scheme allows the internal row counters to be taken advantage of, and allows a transition from self-refresh to normal refresh with only a burst of the banks.
In one embodiment, the row sense or precharge currents have their profile modified by using multiple transistors in parallel, with only one or some transistors being turned on, or some or all of the transistors being sequentially turned on, so that the full current is not applied at once in the refresh mode. In normal mode, all the transistors can be turned on simultaneously for the fastest access. Alternately, the control signal provided to the sense driver or precharge driver could be ramped at a lower rate, or operate at a lower voltage to limit the current spike of the transistor.
For further understanding of the nature and advantages of the invention, reference should be made to the following description taken in conjunction with the accompanying drawings.
As described above, dynamic random access memory (DRAM) devices require periodic operations to retain data in its storage cells. A refresh operation consists of a row sense operation and a row precharge operation. Each memory cell needs to be refreshed within a given time interval known as tREF, the refresh period. A typical tREF value is 64 ms. As a result, each row in each memory bank needs to be refreshed within tREF.
As the number of banks in memory devices increases and as the number of devices in memory systems increases, the issue rate of refresh commands sent from the controller also increases. This increased traffic due to refresh operations can introduce an overhead that unacceptably impacts performance, as measured by effective data bandwidth and memory access latency.
The present invention implements refreshing of more than one bank for each refresh command to reduce refresh overhead on the memory system bus. This approach is called multibank refreshing. With a given refresh command, either more than one bank is simultaneously refreshed, or more than one bank are sequentially refreshed from the same command. From the performance standpoint, it is more desirable to refresh banks simultaneously, so that the time the bank resources are tied up is minimized.
One of the problems caused by multibank refresh is that of current spikes. Each refresh operation or each bank requires a certain amount of supply current over time.
The present invention provides methods and apparatus for reducing the current spike to give a profile such as that indicated by profile 14 in
To understand one embodiment of the invention, a brief overall description of the structure of the memory is useful.
Bit line precharge circuit 22 includes a precharge equalization transistor 44. After the sense step, this transistor is activated to equalize the lines to the sense amplifiers to close a page. This brings the voltage of both bit lines, as well as the sense amp supply lines 36, 38, to a level of Vdd/2, illustrated as waveform 46 in
The transitioning of the voltage levels SAP and SAN to their high and low levels as shown in
A similar circuit is shown in
In one embodiment, the two methods could be combined, with multiple, parallel transistors with staggered turn-ons, and additionally having a lower voltage and slew rate applied to each of the parallel transistors.
As illustrated in
This is illustrated in
By utilizing an internal row counter for refresh, the row address need not be transmitted in the control packet. Thus, instead of sending the first packet with the op code, and the second packet with the address, the op code can be inserted into the portion of the packet that would normally have a row address, as illustrated in
The use of separate refresh commands (i.e., distinct from normal memory access commands) allows the triggering of the separate pulse shaping techniques described above, and also the triggering of the internal row counter.
In multiple bank refresh, the appropriate number of MSB's from the bank address can be ignored. For example, a device with 16 banks with ⅛ activation (two banks simultaneously refreshed) would ignore one MSB of the bank address so that a bank address X000 would activate banks 0 and 8. With ¼ activation, two MSB bits are ignored, and a bank address of XX00 would activate banks 0, 4, 8 and 12. The DRAM design will assign these addresses to banks with dependent bank cores, so that no two adjacent banks are simultaneously activated. Although this multibank addressing scheme naturally supports the most straight-forward sequential address assignment to banks, other assignments are possible.
For the address sequencing, each refresh sense command and each precharge after refresh command includes a bank address. Bank decode logic 118 will compare the bank address to the maximum bank address. When the maximum bank address has been reached, indicating that all banks for a particular row have been refreshed, the bank decode logic 118 sends an increment signal on a line 124 to row counter 112 to increment the row count for the next sequencing of banks. After the maximum row has been sequenced through, the row counter is reset to zero. Thus, by using the bank address as the LSB portion of the address field, all banks are refreshed before the refresh row address counter is incremented. This arrangement of the row and bank addresses allows simple support for multiple page sizes, since the appropriate number of most significant bits (MSB's) can be ignored.
For self-refresh, the control logic of
Each pulse output by the self-refresh clock 126, in addition to incrementing the bank counter 125, also triggers the refresh driver 128 for driving the sense amplifiers in the memory core so as to perform a refresh operation. The refresh driver 128 is also triggered by the control packet decoder logic 106 when a refresh command is received from the memory controller 129.
The control packet decode logic 106 outputs a Self-Refresh Enable signal when a self-refresh command is received from the memory controller. The self-refresh enable signal enables operation of the self-refresh clock 126, and is also used as a select signal for a bank address multiplexer 127. Multiplexer 127 sends to the memory core 116 the bank address generated by the bank address counter 125 during self-refresh, and otherwise sends the bank address generated by the bank address decode logic 118.
The present invention avoids problems in the prior art of resynchronizing when entering or exiting self-refresh. By using a row counter for both self-refresh and normal refresh, no resynchronization of the rows is needed at all. To handle the resynchronization of the banks, a burst of refresh commands addressing all the banks can be sent by the controller upon the exit from the self-refresh mode. This insures that every bank in the last row has indeed been refreshed before the external controller takes over the task of generating the bank addresses.
In a low power mode, it is desirable to do self-refresh at a slower frequency, so as to use less power. At the same time, the refresh must be done sufficiently fast enough to maintain the data stored in the DRAM cells. Typically, a clock frequency is chosen which is sufficiently fast so that it will be able to provide the self-refresh timing regardless of variations in device parameters and cell hold time in a particular DRAM. However, some DRAMs may end up having longer cell hold times, and need less frequent refreshes. Accordingly, to take advantage of this, in one embodiment the self-refresh clock 126 uses two internal row counter oscillator circuits, as shown in
As will be understood by those of skill in the art, the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Accordingly the foregoing description is intended to be illustrative, but not limiting, of the scope of the invention as set forth in the following claims.
This application is a continuation of U.S. patent application Ser. No. 10/917,748, filed Aug. 13, 2004, now U.S. Pat. No. 7,142,475, which is a continuation of U.S. patent application Ser. No. 10/625,914, filed Jul. 22, 2003, now U.S. Pat. No. 6,778,458, which was a continuation of U.S. patent application Ser. No. 10/066,042, filed Jan. 29, 2002, now U.S. Pat. No. 6,597,616, which was a continuation of U.S. patent application Ser. No. 09/561,592, filed Apr. 27, 2000, now U.S. Pat. No. 6,343,042, which was a divisional of U.S. patent application Ser. No. 09/169,376, filed Oct. 9, 1998, now U.S. Pat. No. 6,075,744, and claims priority to the provisional patent application entitled, “DRAM Core Refresh with Reduced Overhead”, Ser. No. 60/061,767, filed Oct. 10, 1997, all of which are incorporated by reference herein in their entirety.
Number | Name | Date | Kind |
---|---|---|---|
4716551 | Inagaki | Dec 1987 | A |
4807197 | Watanabe | Feb 1989 | A |
4870622 | Aria et al. | Sep 1989 | A |
4912678 | Mashiko | Mar 1990 | A |
5243576 | Ishikawa | Sep 1993 | A |
5272676 | Kubono et al. | Dec 1993 | A |
5321661 | Iwakiri et al. | Jun 1994 | A |
5335202 | Manning et al. | Aug 1994 | A |
5349562 | Tanizaki | Sep 1994 | A |
5367493 | Yamagata | Nov 1994 | A |
5375093 | Hirano | Dec 1994 | A |
5392251 | Manning | Feb 1995 | A |
5410510 | Smith et al. | Apr 1995 | A |
5442588 | Runas | Aug 1995 | A |
5446696 | Ware et al. | Aug 1995 | A |
5450364 | Stephens et al. | Sep 1995 | A |
5495452 | Cha | Feb 1996 | A |
5508965 | Nomura et al. | Apr 1996 | A |
5511033 | Jung | Apr 1996 | A |
5532968 | Lee | Jul 1996 | A |
5539703 | Manning | Jul 1996 | A |
5566117 | Okamura et al. | Oct 1996 | A |
5627791 | Wright et al. | May 1997 | A |
5636171 | Yoo et al. | Jun 1997 | A |
5654930 | Yoo et al. | Aug 1997 | A |
5659515 | Matsuo et al. | Aug 1997 | A |
5666322 | Conkle | Sep 1997 | A |
5680359 | Jeong | Oct 1997 | A |
5684751 | Manning | Nov 1997 | A |
5717644 | Hadderman et al. | Feb 1998 | A |
5726943 | Yamagata et al. | Mar 1998 | A |
5774409 | Yamazaki et al. | Jun 1998 | A |
5777939 | Won | Jul 1998 | A |
5796669 | Araki et al. | Aug 1998 | A |
5798976 | Arimoto | Aug 1998 | A |
5867438 | Nomura et al. | Feb 1999 | A |
6075744 | Tsern et al. | Jun 2000 | A |
6097658 | Satoh et al. | Aug 2000 | A |
6141280 | Cho | Oct 2000 | A |
7142475 | Tsern et al. | Nov 2006 | B2 |
Number | Date | Country |
---|---|---|
08077769 | Mar 1996 | JP |
Number | Date | Country | |
---|---|---|---|
20070147155 A1 | Jun 2007 | US |
Number | Date | Country | |
---|---|---|---|
60061767 | Oct 1997 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09169376 | Oct 1998 | US |
Child | 09561592 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10917748 | Aug 2004 | US |
Child | 11562856 | US | |
Parent | 10625914 | Jul 2003 | US |
Child | 10917748 | US | |
Parent | 10066042 | Jan 2002 | US |
Child | 10625914 | US | |
Parent | 09561592 | Apr 2000 | US |
Child | 10066042 | US |