Claims
- 1. A memory control system for optimizing a parameter value for a RAM cell array, said memory control system comprising:a memory controller storing an adaptive memory control program; and a central processing unit coupled to said RAM cell array and to said memory controller for executing said adaptive memory control program; said adaptive memory control program comprising instructions for: (a) initializing said parameter value to a first predetermined value, wherein said first predetermined value is a refresh period of said cell array; (b) generating a test bit pattern; (c) writing said test bit pattern into said cell array using said parameter value; (d) reading binary states of said cell array after a refresh cycle; (e) comparing said binary states of said cell array with said test pattern; and (f) adjusting said parameter value by: decreasing said parameter value when there is no match between said binary states of said cell array and said test pattern by setting an upper parameter limit equal to said parameter value, setting a lower parameter limit equal to a second predetermined value which is less than said parameter value and changing said parameter value to equal an average of said upper and lower parameter limits; increasing said parameter value when there is a match between said binary states of said cell array and said test pattern by setting said upper parameter limit equal to an upper value greater than said parameter value, setting said lower parameter equal to said parameter value and changing said parameter value to equal an average of said upper and lower parameter limits.
- 2. The system of claim 1, wherein said parameter value is an address strobe frequency corresponding to said refresh period.
- 3. The system of claim 1, where said test bit pattern comprises first and second bit patterns, said second bit pattern being a 1's compliment of said first bit pattern.
- 4. The system of claim 1, wherein said adaptive memory control program further comprising instructions for:(g) generating a parameter resolution be taking the difference between said upper and lower parameter limits; and (h) repeating (c)-(g) until said parameter resolution is less than a predetermined resolution threshold.
- 5. The system of claim 1, wherein said first predetermined value is zero.
- 6. The method of claim 5, wherein said upper value is obtained by multiplying said parameter value with a third predetermined value x, where x>1.
- 7. A computer program product for controlling a parameter value of a RAM cell array in conjunction with a computer system, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism comprising instructions for:(a) initializing said parameter value to a first predetermined value, wherein said first predetermined value is a refresh period of said cell array; (b) generating a test bit pattern; (c) writing said test bit pattern into said cell array using said parameter value; (d) reading binary states of said cell array resulting from said writing step after a refresh cycle; (e) comparing said binary states of said cell array with said test pattern; and (f) adjusting said parameter value by: decreasing said parameter value when there is no match between said binary states of said cell array and said test pattern by setting an upper parameter limit equal to said parameter value, setting a lower parameter limit equal to a second predetermined value which is less than said parameter value and changing said parameter value to equal an average of said upper and lower parameter limits; increasing said parameter value when there is a match between said binary states if said cell array and said test pattern by setting said upper parameter limit equal to an upper value greater than said parameter value, setting said lower parameter limit equal to said parameter value and changing said parameter value to equal an average of said upper and lower parameter limits.
- 8. The computer program product of claim 7, wherein said parameter value is an address strobe frequency corresponding to said refresh period.
- 9. The computer program product of claim 7, where said test bit pattern comprises first and second bit patterns, said second bit pattern being a 1's compliment of said first bit pattern.
- 10. The computer program product of claim 7, wherein the computer program mechanism further comprising instructions for:(g) generating a parameter resolution by taking the difference between said upper and lower parameter limits; and (h) repeating (c)-(g) until said parameter resolution is less than a predetermined resolution threshold.
- 11. The computer program product of claim 7, wherein said first predetermined value is zero.
- 12. The method of claim 11, wherein said upper value is obtained by multiplying said parameter value with a third predetermined value x, where x>1.
- 13. A method for optimizing a parameter value of a RAM cell array, said method comprising:(a) initializing said parameter value to a first predetermined value, wherein said first predetermined value is a refresh period of said cell array; (b) generating a test bit pattern; (c) writing said test bit pattern into said cell array using said parameter value; (d) reading binary states of said cell array resulting from said writing step after a refresh cycle; (e) comparing said binary states of said cell array with said test pattern; (f) adjusting said parameter value by: increasing said parameter value when said comparing step results in a match; decreasing said parameter value when said comparing step does not result in a match; and repeating (c)-(f) until a predefined stop condition is reached.
- 14. A memory control system for optimizing a parameter value for a RAM cell array, said memory control system comprising:a memory controller storing an adaptive memory control program; and a central processing unit coupled to said RAM cell array and to said memory controller for executing said adaptive memory control program; said adaptive memory control program comprising instructions for: (a) initializing said parameter value to a first predetermined value, wherein said first predetermined value is a refresh period of said cell array; (b) generating a test bit pattern; (c) writing said test bit pattern into said cell array using said parameter value; (d) reading binary states of said cell array resulting from said writing step after a refresh cycle; (e) comparing said binary states of said cell array with said test pattern; (f) adjusting said parameter value by: increasing said parameter value when there is a match between said binary states of said cell array and said test pattern; decreasing said parameter value when there is no match between said binary states of said cell array and said test pattern; and (g) repeating (c)-(f) until a predefined stop condition is reached.
- 15. A computer program product for controlling a parameter value of a RAM cell array in conjunction with a computer system, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism comprising instructions for:(a) initializing said parameter value to a first predetermined value, wherein said first predetermined value is a refresh period of said cell array; (b) generating a test bit pattern; (c) writing said test bit pattern into said cell array using said parameter value; (d) reading binary states of said cell array resulting from said writing step after a refresh cycle; (e) comparing said binary states of said cell array with said test pattern; (f) adjusting said parameter value by: increasing said parameter value when there is a match between said binary states of said cell array and said test pattern; decreasing said parameter value when there is no match between said binary states of said cell array and said test pattern; and (g) repeating (c)-(f) until a predefined stop condition is reached.
Parent Case Info
This application is a continuation of U.S. patent application Ser. No. 09/107,254, filed Jun. 30, 1998.
US Referenced Citations (2)
| Number |
Name |
Date |
Kind |
|
4423380 |
Pileri |
Dec 1983 |
A |
|
5321661 |
Iwakira et al. |
Jun 1994 |
A |
Continuations (1)
|
Number |
Date |
Country |
| Parent |
09/107254 |
Jun 1998 |
US |
| Child |
09/788114 |
|
US |