Method of refreshing dynamic random access memory
AssigneeVIA Technologies, Inc.
InventorNai-Shung Chang
Life of this patent
Estimating the term…
Abstract
A method of refreshing DRAM. The method of the invention utilizes the time, in which CPU is executing a cache hit cycle, an input/output cycle, an interrupt acknowledge cycle or an idle cycle, to perform a least one refresh cycle for refreshing DRAM. It uses the time, in which CPU does not access DRAM, to perform the refresh cycle. Besides, it needs to insert the rest of the refresh cycles, which are required to be accomplished during a fixed time period, to replace any operational cycle of DRAM before the end of the fixed time period comes.
Claims10
A method of refreshing DRAM initiated by a processor, wherein a plurality of refresh cycles, which are performed to refresh DRAM, are accomplished every fixed time period, comprising the steps of:
- judging whether the time remaining in the fixed time period is longer than the time for finishing the rest of the refresh cycles by the processor;
- 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
- performing at least one refresh cycles initiated by the processor 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.
A method of refreshing DRAM by a processor, wherein one refresh cycle, which is performed to refresh DRAM, is accomplished every fixed time period, comprising the steps of:
- judging whether a specific cycle, in which DRAM is idle, is occurring;
- performing one refresh cycle if the specific cycle is occurring;
- judging whether the end of the fixed time period has come;
- performing one refresh cycle if the end of the fixed time period has come;
- and
- returning to the step of judging whether the specific cycle is occurring if the end of the fixed time period does has not come.
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, comprising the steps of:
- judging whether a specific cycle, in which DRAM is idle, is occurring;
- performing one refresh cycle if the specific cycle is occurring;
- judging whether the predetermined time has come;
- performing one refresh cycle if the predetermined time has come;
- and
- returning to the step of judging whether the specific cycle is occurring if the predetermined time has not come.
Dependencies are inferred from the claim text.