Method of refreshing dynamic random access memory

Static information storage and retrieval – Read/write circuit – Data refresh

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C365S189011

Reexamination Certificate

active

06188626

ABSTRACT:

CROSS-REFERENCE TO RELATED APPLICATION
This application claims the priority benefit of Taiwan application serial no. 87114353, filed Aug. 29, 1998, the full disclosure of which is incorporated herein by reference
BACKGROUND OF THE INVENTION
1. Field of Invention
The present invention relates to a method of controlling dynamic random access memory (DRAM). More particularly, the present invention relates to a method of refreshing DRAM for increasing operation efficiency of a computer system.
2. Description of Related Art
Typically, DRAM is used to serve as main memory of a computer, And, the memory cells of DRAM have a plurality of small capacitors in its inner. While data are written into DRAM in a writing cycle, the capacitors are charged, and while data are read from memory cells in following reading cycle, the amount of charges stored in the capacitors indicate the logic states of the memory cells. DRAM suffers current leakage of capacitors since each DRAM memory cell composes of a capacitor. Therefore, typical DRAM needs so-called refresh cycles, and DRAM can update its inner data during the refresh cycles.
According to the memory storage capacity, various DRAM are refreshed by operating various refresh cycles, for example:
4M×4→4096 cycles at 64 ms; and
1M×4→1024 cycles it 16 ms.
That is various DRAM perform different refresh cycles if the number of their memory row addresses are different. For 4M×4 DRAM, it is usually required to perform one DRAM refreshing during (64 ms/4096) time period.
The conventional methods of refreshing DRAM are described in the following.
A conventional method of refreshing DRAM is provided in early computer system. When DRAM is required to perform DRAM refreshing, the operation of a central processing unit (CPU) of a computer is suspended, and the operation of CPU is not rightened until the DRAM refreshing is accomplished by a DRAM controller. In this manner, the utilization efficiency of the system decreases, such as about 3% to 5%, since it needs to stop CPU for a long time period to perform DRAM refreshing, in order to avoid transferred data loss between DRAM and CPU.
Till the 386-computer are, the refresh cycle of DRAM is hidden into the DRAM cycle, such as a Hidden Refresh method, which is described by Frenkil et al in the U.S. Pat. No. 5,193,072. In Hidden Refresh method, a register is used to keep a record for performing one refresh cycle every specific CPU cycles, and the register is set up by a basic input output system (BIOS). When the time for refreshing DRAM starts, DRAM controller suspends current work of DRAM and inserts one refresh cycle into normal clock cycles, hereby DRAM is refreshed by DRAM controller.
Referring to
FIG. 1
, which is a flow chart illustrating a conventional Hidden Refresh method.
Step
100
: when a computer system is turn on, BIOS installs a set of default settings into a register, to define a predetermined time period to perform one refresh cycle, for instance considering 4M×4 DRAM. DRAM is required to perform one refresh cycle during (64 ms/4096) time period.
Step
110
: judging whether the end of a predetermined time period has come. Returning to the step
100
if the end of the predetermined time period has not come, and executing a step
120
if the end of the predetermined time period has come.
Step
120
: judging whether CPU is performing a DRAM cycle. Namely judging whether CPU is using,) DRAM. Executing a step
130
if CPU is not performing a DRAM cycle, and executing a step
140
if CPU is performing a DRAM cycle.
Step
130
: performing one refresh cycle if CPU is not performing a DRAM cycle.
Step
140
: if CPU is performing a DRAM cycle, the DRAM cycle is suspended, and insert one refresh cycle to replace the DRAM cycle. Meanwhile, current request for accessing DRAM must be delay so DRAM is performed to refresh.
The Hidden Refresh method is better than the first. Because DRAM controller just inserts one refresh cycle before the predetermined time period ends, CPU is not occupied if CPU is processing the other work, such as calculation, during the refresh cycle. Accordingly CPU of a computer system with DRAM performing Hidden Refresh method operates more efficiently.
However, for current DRAM, the refresh cycle must be performed every (64 ms/4096) in the Hidden Refresh methods for current synchronous dynamic access random (SDRM). the refresh cycle is performed for 3 to 5 clock cycles: for extend data out DRAM (EDO DRAM), it requires 60 to 90 nanoseconds to perform one refresh cycle; and all these refresh cycles are regularly arranged in the DRAM cycles.
In present computer system, it requires more DRAM cycles to operate specific function, such as AGP technology, in which a part of DRAM is used to serve as graphic memory. The system efficiency depends on the efficiency of utilizing DRAM, the refresh cycle of DRAM has significant influence of DRAM utilization efficiency, thus it is effective for improving the system efficiency if avoiding the refresh cycles occupy the DRAM cycles.
In light of the foregoing, there is a need to provide a novel method of refreshing DRAM for preventing most of the refresh cycles from occupying the DRAM cycles.
SUMMARY OF THE INVENTION
Accordingly, the present invention is to provide a novel smart method of refreshing DRAM, for preventing most of the refresh cycles from occupying the DRAM cycles and improving the system efficiency.
To achieve these and other advantages and in accordance with the purpose of the invention, as embodied and broadly described herein, the invention provides a method of refreshing DRAM, wherein a plurality of refresh cycles, which are performed to refresh DRAM, are accomplished every fixed time period. The method of refreshing DRAM comprises the steps of: (a) judging whether the time remaining in the fixed time period is longer than the time for finishing the rest of the refresh cycles; (b) performing the rest of the refresh cycles, if the time remaining in the fixed time period is not longer than the time for finishing, the rest of the refresh cycles; otherwise, judging whether a specific cycle, in which DRAM is idle, is occurring; and (c) performing a least one refresh cycles if the specific cycle is occurring, then returning to the step of judging whether the time remaining in the fixed time period is longer than the time for finishing the rest of the refresh cycles; otherwise, returning, to the step of judging whether the time remaining in the fixed time period is longer than the time for finishing the rest of the refresh cycles.
To achieve these and other advantages and in accordance with the purpose of the invention, as embodied and broadly described herein, the invention provides another method of refreshing DRAM, wherein one refresh cycle, which is performed to refresh DRAM, is accomplished every fixed time period. The method of refreshing DRAM comprises the steps of: (a) judging, whether a specific cycle, in which DRAM is idle, is occurring; (b) performing one refresh cycle if the specific cycle is occurring; (c) judging whether the end of the fixed time period has come; (d) performing one refresh cycle if the end of the fixed time period has come and the specific cycle has not occur ever; and (c) returning to the step of judging whether the specific cycle is occurring if the end of the fixed time period has not come and the specific cycle has not occur ever.
To achieve these and other advantages and in accordance with the purpose of the invention, as embodied and broadly described herein, the invention provides a method of refreshing DRAM, wherein one refresh cycle for refreshing DRAM is accomplished every fixed time period a predetermined time is provided, that is before the end of the fixed time period a time segment, which is enough to perform one refresh cycle. The method of refreshing DRAM comprises the steps of: (a) judging whether a specific cycle, in which DRAM is idle, is occurring; (b) performing one refresh cycle if the specific cycle is occurring; (c) judging whether the predetermined time

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method of refreshing dynamic random access memory does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method of refreshing dynamic random access memory, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method of refreshing dynamic random access memory will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2560391

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.