WikiPatents - Community Patent Review
Create Free Account  |  License or Sell Your Patent  |  WikiPatents Marketplace  |  WikiPatents Blog
Username:  Password:  
    
Advanced Search
Dynamically-tunable memory controller    
United States Patent6334174   
Link to this pagehttp://www.wikipatents.com/6334174.html
Inventor(s)Delp; Gary Scott (Rochester, MN); McClannahan; Gary Paul (Rochester, MN)
AbstractA memory controller circuit arrangement and method utilize a tuning circuit that dynamically controls the timing of memory control operations, rather than simply relying on fixed timing parameters that are either hardwired or initialized upon startup of a memory controller. Dynamic control over the timing of memory control operations typically incorporates memory test control logic that verifies whether or not a memory storage device will reliably operate using the dynamically-selected values of given timing parameters. Then, based upon the results of such testing, such dynamically-selected values are selectively updated and retested until optimum values are found. The dynamically-selected values may be used to set one or more programmable registers, each of which may in turn be used to control the operation of a programmable delay counter that enables a state transition in a state machine logic circuit to initiate performance of a memory control operation by the logic circuit. Dynamic tuning may also utilize a unique binary search engine circuit arrangement that updates one of two registers with an average of the current values stored in such registers based upon the result of a test performed using that average value. By selectively updating such registers, a fast convergence to an optimum value occurs with minimal circuitry.



 Title Information Submit all comments and votes
 
Patent Text Patent PDF Print Page Summary File History
Plain text PDF images Print Summary File History
Drawing from US Patent 6334174
Dynamically-tunable memory controller - US Patent 6334174 Drawing
Dynamically-tunable memory controller
Inventor     Delp; Gary Scott (Rochester, MN); McClannahan; Gary Paul (Rochester, MN)
Owner/Assignee     International Business Machines Corporation (Armonk, NY)
Patent assignment
All assignments
Publication Date     December 25, 2001
Application Number     09/247,501
PAIR File History     Application Data   Transaction History
Image File Wrapper   Patent Term   Fees
Litigation
Filing Date     February 10, 1999
US Classification     711/167 365/194 365/230.03 710/240 711/168 711/169 713/401 714/718
Int'l Classification     G06F 012/00
Examiner     Kim; Matthew
Assistant Examiner     Vital; Pierre M.
Attorney/Law Firm     Evans, Stinebruner; Scott A. Wood, Herron &
Address
Parent Case     CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation-in-part of U.S. patent application Ser. No. 09/166,004, filed Oct. 2, 1998 by Gary Paul McClannahan, and entitled "MEMORY CONTROLLER WITH PROGRAMMABLE DELAY COUNTER FOR TUNING PERFORMANCE BASED ON TIMING PARAMETER OF CONTROLLED MEMORY STORAGE DEVICE," which application is incorporated by reference herein.
Priority Data    
USPTO Field of Search     711/167 711/168 711/169 711/157 710/40 710/45 710/240 712/245 713/401 714/718 365/194 365/230.03
Patent Tags     dynamically-tunable memory controller
   
Enter a comma (,) or semicolon (;) between multiple tag words/phrases.
Describe this patent:
 Amusing   
 Clever   
 Complex   
 Efficient   
 Historic   
 Important   
 Innovative   
 Interesting   
 Practical   
 Simple   
[no votes]
Patent WIKI

Share information and news about this patent, including information and news about the technology, inventors, company, ligation and licensing.

 References Submit all comments and votes
 
*references marked with an asterisk below are user-added references
 U.S. References
 
Add a new US reference:  
ReferenceRelevancyCommentsReferenceRelevancyComments
6173345
Stevens
710/100
Jan,2001

[0 after 0 votes]
6088774
Gillingham
711/167
Jul,2000

[0 after 0 votes]
5276858
Oak
711/167
Jan,1994

[0 after 0 votes]
4063308
Collins
713/500
Dec,1977

[0 after 0 votes]
 Foreign References
 Other References
 Market Review Submit all comments and votes
   
Market Size
Estimate the gross annual revenues of the relevant market sector:
> $10B
$5B - $10B
$2B - $5B
$500M - $2B
$100M - $500M
$10M - $100M
$1M - $10M
$500K - $1M
$100K - $500K
< $100K
[No votes]
$0
 
$0   $2.5B   $5B   $7.5B   $10B
Market Share
Estimate the percentage of the relevant market sector this invention will capture:
75% - 100%
50% - 74.99%
25% - 49.99%
10 - 24.99%
5 - 9.99%
2 - 4.99%
1 - 1.99%
< 1%
[No votes]
0.0%
 
0%   25%   50%   75%   100%
Reasonable Royalty
What percentage of gross sales should the inventor or assignee be paid?
75% - 100%
50% - 74.99%
25% - 49.99%
10 - 24.99%
5 - 9.99%
2 - 4.99%
1 - 1.99%
< 1%
[No votes]
0.0%
 
0%   25%   50%   75%   100%
Public's "Guesstimation" of Royalty Value
Market SizeN/A[No votes]
xMarket ShareN/A[No votes]
xReasonable RoyaltyN/A[No votes]

N/A

License Availablity
If you are NOT the owner or assignee, answer here:
Yes, license is available for purchase

No, license is not currently available



[No votes]
License Availablity
If you ARE the owner or assignee, answer here:
Yes, license is available for purchase

No, license is not currently available



[No votes]
Competitive Advantage
Does this invention have a significant competitive advantage over similar technologies?
Yes

No



[No votes]
Most helpful competitive advantage comment
[No comments]

Commercial Alternatives
Are there viable commercial alternatives for this invention?
Yes

No



[No votes]
Most helpful commercial alternative comment
[No comments]

 Technical Review Submit all comments and votes
 Claims Submit all comments and votes
 


What is claimed is:

1. A memory controller circuit arrangement, comprising:

(a) a logic circuit configured to control data transfer with at least one memory storage device by performing first and second memory control operations; and

(b) a tuning circuit coupled to the logic circuit and configured to dynamically control the delay between the first and second memory control operations by generating a delay count representing a number of clock cycles to delay performance of the second memory control operation relative to the first memory control operation, wherein the tuning circuit includes parameter manipulation control logic configured to select a test value among a plurality of values for the delay count, the parameter manipulation control logic including a binary search engine.

2. The circuit arrangement of claim 1, wherein the memory storage device is of the type having a predetermined timing parameter that defines a minimum delay between the first and second memory control operations, and wherein the tuning circuit is configured to dynamically control the delay between the first and second memory control operations to meet the predetermined timing parameter for the memory storage device.

3. The circuit arrangement of claim 2, wherein the predetermined timing parameter is associated with a timing characteristic selected from the group consisting of bank cycle time, active command period time, data input to precharge time, precharge time, CAS latency, and RAS to CAS delay time.

4. The circuit arrangement of claim 1, wherein the first memory control operation includes asserting a first control signal, and wherein the second memory control operation includes at least one of deasserting the first control signal, asserting a second control signal, and deasserting a second control signal.

5. The circuit arrangement of claim 1, further comprising:

(a) a parameter register configured to store the delay count; and

(b) a programmable delay counter configured to cycle the number of clock cycles represented by the delay count prior to performance of the second memory control operation by the logic circuit.

6. The circuit arrangement of claim 1, further comprising memory test control logic configured to perform at least one memory test on the memory storage device while the delay between the first and second memory control operations is set to the test value by the parameter manipulation control logic.

7. The circuit arrangement of claim 6, wherein the binary search engine includes:

(a) first and second registers respectively configured to store first and second values; and

(b) an averaging circuit coupled to receive the first and second values stored in the first and second registers, and to output as the test value an average of the first and second values, wherein the first register is configured to be updated with the test value responsive to a successful memory test performed by the memory test control logic using the test value, and wherein the second register is configured to be updated with the test value responsive to an unsuccessful memory test performed by the memory test control logic using the test value.

8. A memory controller circuit arrangement, comprising:

(a) a logic circuit configured to control data transfer with at least one memory storage device by performing first and second memory control operations;

(b) a tuning circuit coupled to the logic circuit and configured to dynamically control the delay between the first and second memory control operations, wherein the tuning circuit includes parameter manipulation control logic configured to select a test value among a plurality of values for the delay between the first and second memory control operations; and

(c) memory test control logic configured to perform at least one memory test on the memory storage device while the delay between the first and second memory control operations is set to the test value by the parameter manipulation control logic;

wherein the parameter manipulation control logic includes a binary search engine, the binary search engine including first and second registers respectively configured to store first and second values; and an averaging circuit coupled to receive the first and second values stored in the first and second registers, and to output as the test value an average of the first and second values, wherein the first register is configured to be updated with the test value responsive to a successful memory test performed by the memory test control logic using the test value, and wherein the second register is configured to be updated with the test value responsive to an unsuccessful memory test performed by the memory test control logic using the test value, and wherein the first and second registers are further configured to be respectively initialized to upper and lower limit values, wherein the binary search engine further includes a subtraction circuit configured to output a complete signal responsive to the value stored in the first register being one greater than the value stored in the second register; whereby upon outputting of the complete signal an optimum value for the delay between the first and second memory control operations is stored in the first register.

9. The circuit arrangement of claim 6, wherein the tuning circuit further includes a state machine, coupled to the parameter manipulation control logic and the memory test control logic, the state machine configured to control the parameter manipulation control logic to update the test value responsive to a test result returned by the memory test control logic.

10. The circuit arrangement of claim 1, wherein the parameter manipulation control logic is configured to output an index value to select among a plurality of array elements, each array element representative of one of the plurality of values for the delay between the first and second memory control operations.

11. The circuit arrangement of claim 10, wherein the parameter manipulation control logic is further configured to output the index value to select among a second plurality of array elements, each array element in the second plurality of array elements representative of one of a plurality of values for a delay between third and fourth memory control operations.

12. An integrated circuit device comprising the circuit arrangement of claim 1.

13. A data processing system comprising the circuit arrangement of claim 1.

14. A program product, comprising a hardware definition program that defines the circuit arrangement of claim 1; and a signal bearing media bearing the hardware definition program.

15. The program product of claim 14, wherein the signal bearing media includes at least one of a transmission type media and a recordable media.

16. A method of controlling data transfer with a memory storage device using a memory controller, the method comprising:

(a) dynamically selecting a selected value among a plurality of values to delay performance of a second memory control operation relative to a first memory control operation using a binary search engine, wherein the selected value is associated with a delay count representative of a number of clock cycles to delay performance of the second memory control operation relative to the first memory control operation; and

(b) controlling the delay between the first and second memory control operations using the selected value.

17. The method of claim 16, wherein controlling the delay between the first and second memory control operation includes cycling a programmable delay counter a selected number of clock cycles associated with the delay count to delay performance of the second memory control operation.

18. The method of claim 16, wherein dynamically selecting the selected value includes:

(a) performing a memory test on the memory storage device while the delay between the first and second memory control operations is controlled using the selected value; and

(b) updating the selected value if the memory test is unsuccessful.

19. The method of claim 16, wherein dynamically selecting the selected value includes dynamically selecting an index into an array that includes the plurality of values.

20. The method of claim 16, further comprising:

(a) dynamically selecting a second selected value among a second plurality of values to delay performance of a fourth memory control operation relative to a third memory control operation; and

(b) controlling the delay between the third and fourth memory control operations.

21. The method of claim 20, wherein dynamically selecting the second selected value is performed independently of dynamically selecting the first selected value.

22. The method of claim 20, wherein dynamically selecting the second selected value is performed jointly with dynamically selecting the first selected value.
 Description Submit all comments and votes
 


FIELD OF THE INVENTION

The invention is generally related to integrated circuit device architecture and design, and in particular to the architecture and design of a memory controller for controlling data transfer with a memory storage device.

BACKGROUND OF THE INVENTION

Computers and other data processing systems rely extensively on various memories to store information used by such systems in performing computer tasks. A memory may be used, for example, to store a portion of a computer program that is executed by a computer, as well as the data that is operated upon by the computer.

Memories may also be found in many of the components of a computer. For example, a microprocessor, the "brains" of a computer, may have a dedicated cache memory that permits faster access to certain data or computer instructions than otherwise available from the main memory of the computer. Also, dedicated memory may be used by a graphics controller to store the information to display on a computer monitor or other display.

Memories may also be found in many types of interfaces for a computer, e.g., to interface a computer with other computers via an external network. The interfaces are typically implemented using dedicated hardware, e.g., a network adapter card that plugs into the computer and has the necessary connectors for connecting to a particular type of network. A controller is typically used to handle the transfer of data between the computer and the network, and a dedicated memory is typically used to store control data used by the controller, as well as a temporary copy of the data being transmitted over the interface.

Memory used in the above applications are typically implemented using one or more solid-state memory storage devices, or "chips". A dedicated memory controller is typically used to handle the data transfer to and from such memory storage devices according to a predefined protocol.

Memory storage devices typically have one or more timing characteristics that define the minimum delays that one must wait before performing certain operations with the devices. Timing parameters, related to such characteristics, are thus defined for specific memory storage device implementations. These timing parameters are often limited by the physical structures of the devices, and are defined by the designers of the devices to ensure reliable operation of the devices. As but one example, one type of memory storage device, a dynamic random access memory (DRAM) device, requires that circuitry within the device be "precharged" for at least a predetermined time before data can be read from the device. Should the timing parameter associated with this characteristic for a specific memory storage device implementation not be met, errors may occur in the device, which could jeopardize the validity of the data.

Different types of memory storage devices may have different timing parameters. Moreover, as technology improves, memory storage devices of a given type may be improved over past designs, and as a result may have different timing parameters from the past designs.

To control data transfer with a given type of memory storage device, a memory controller must often be specifically tailored to meet the various timing parameters for that device. To ensure the best possible performance with a given type of memory storage device, it is often desirable for the memory controller to set the delays between various memory control operations to meet or only slightly exceed the timing parameters defined for the device.

Some memory controllers, however, may need to be used with different types of memory storage devices. For example, it may be desirable to support multiple types of memory storage devices so that the memory controller may be used in different applications. However, to support multiple types of memory storage devices often necessitates that a memory controller be designed to handle the worst case timing parameters of a given memory storage device, since the timing parameters typically define minimum acceptable delays. As a result, when a memory controller is used with a memory storage device having timing parameters that offer faster performance than the worst case timing parameters defined for the controller, the memory storage device is operated at below its maximum performance level, and the improved performance that could otherwise be realized by the device is lost.

Some conventional memory controller designs attempt to support different timing parameters for a given timing characteristic by controllably inserting one or more "wait states" into a memory access operation to account for a performance mismatch between the controller and a memory storage device. Typically, such controller designs support one of two timing parameters by controllably selecting one of two possible "paths" of execution.

Specifically, a memory controller typically operates using a state machine that cycles between different "stages" to perform different memory control operations associated with controlling the data transfer with a memory storage device. The state machine is timed by a clock signal that defines the time to wait between each stage. A path of execution is defined by the sequence of stages that are sequentially performed in the state machine when following the path.

An important limitation of such conventional memory controller designs is that supporting a second path of execution can significantly increase the complexity of the state machine, which tends to increase the overall cost and complexity of the controller.

Moreover, the complexity of the state machine increases dramatically as the number of execution paths increases. Furthermore, if it is desirable to support variable timing parameters for multiple timing characteristics, the complexity of the state machine increases at an even greater rate. As a result, conventional memory controller designs are typically limited to supporting only a very few timing parameters for only a very few timing characteristics.

Furthermore, due to the inability of conventional memory controller designs to support a wide variety of memory storage devices, it is often not cost-effective to anticipate the use of such designs with future memory storage devices that may have shorter timing parameters, and as a result improved performance, over current devices. Consequently, often new memory controller designs must be developed in response to advances in memory storage device technology.

As an additional limitation, conventional memory controller designs typically operate using static, or fixed, timing parameters that are either fixed in the design or programmed with preset values at startup, e.g., through tying one or more mode selection inputs to power and/or ground. Optimizing a statically-configured memory controller for use in a particular design requires that a designer know all of the relevant timing parameters of the memory storage devices to be used with that design. In some instances, however, a designer may not know all relevant timing parameters. Also, in some instances, individual memory storage devices may not conform to the timing characteristics defined for those types of devices, which might result in failures in manufactured circuits that use such non-conforming devices.

Therefore, a significant need continues to exist for a more flexible and extensible memory controller design that is capable of supporting a wider variety of memory storage devices while maintaining optimal performance.

SUMMARY OF THE INVENTION

The invention addresses these and other problems associated with the prior art by providing a memory controller circuit arrangement and method that utilize a tuning circuit that dynamically controls the timing of memory control operations, rather than simply relying on fixed timing parameters that are either hardwired or initialized upon startup of a memory controller. As such, optimum timing parameters can often be determined without prior knowledge of the performance characteristics of particular memory storage devices.

Various embodiments of the invention dynamically control the timing of memory control operations by incorporating memory test control logic that verifies whether or not a memory storage device will reliably operate using the dynamically-selected values of given timing parameters. Then, based upon the results of such testing, such dynamically-selected values are selectively updated and retested until optimum values are found. Moreover, when multiple timing parameters are dynamically controlled, values for such timing parameters may be determined jointly and/or independently.

With additional embodiments, dynamically-selected values may be used to set one or more programmable registers. Each programmable register may be used to control the operation of a programmable delay counter that enables a state transition in a state machine logic circuit to initiate performance of a memory control operation by the logic circuit. In such embodiments, a single path of execution in the logic circuit is typically used to support any number of timing parameter variations for a particular timing characteristic. Moreover, through the use of multiple programmable delay counters, and multiple programmable registers therefor, multiple timing characteristics may be optimized and adjusted within the same path of execution. Consequently, a wide variety of timing characteristics and timing parameters therefor may be supported in a single integrated design, offering greater flexibility and extensibility than conventional designs.

Therefore, consistent with one aspect of the invention, a memory controller circuit arrangement is provided, including a logic circuit configured to control data transfer with at least one memory storage device by performing first and second memory control operations; and a tuning circuit coupled to the logic circuit and configured to dynamically controlling the delay between the first and second memory control operations.

Consistent with an additional aspect of the invention, a method is provided for controlling data transfer with a memory storage device using a memory controller. The method includes dynamically selecting a selected value among a plurality of values to delay performance of a second memory control operation relative to a first memory control operation; and controlling the delay between the first and second memory control operations using the selected value.

The invention also provides in another aspect a binary search engine circuit arrangement suitable for use in determining an optimum value from a monotonically-sorted list of values. A binary search engine consistent with the invention selectively updates one of two registers with an average of the current values stored in such registers based upon the result of a test performed using that average value. As a result, the registers tend to quickly converge to separate sides of a boundary defined by the predetermined comparison criteria implemented by the test. While such a binary search engine is not specifically limited to use in connection with memory controllers and the like, one particularly useful application is in dynamically determining an optimum delay value from a sorted list of delay values used to control the relative timing of two memory control operations. As such, the predetermined comparison criteria in such an application is whether or not a memory storage device passes or fails a memory test performed with the device.

A circuit arrangement consistent with this aspect of the invention includes first and second registers respectively configured to store first and second values from a list of values; an averaging circuit coupled to receive the first and second values stored in the first and second registers, and to output as a test value an average of the first and second values; a test circuit, coupled to the first and second registers, and configured to test the test value according to a predetermined comparison criteria; and a test closure circuit configured to determine when an optimum value is stored in the first register. In response to the test value meeting the predetermined comparison criteria, the first register is configured to be updated with the test value. Further, in response to the test value not meeting the predetermined comparison criteria, the second register is configured to be updated with the test value.

These and other advantages and features, which characterize the invention, are set forth in the claims annexed hereto and forming a further part hereof. However, for a better understanding of the invention, and of the advantages and objectives attained through its use, reference should be made to the Drawings, and to the accompanying descriptive matter, in which there is described exemplary embodiments of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a memory controller circuit arrangement utilizing a tuning circuit consistent with the invention.

FIG. 2 is a block diagram of the programmable delay counter in the memory controller circuit arrangement of FIG. 1.

FIG. 3 is a block diagram of alternate programmable delay counter to that illustrated in FIG. 2.

FIG. 4 is a block diagram of a data processing system consistent with the invention.

FIG. 5 is a block diagram of the network adapter in the data processing system of FIG. 4.

FIG. 6 is a block diagram of the memory controller in the network adapter of FIG. 5.

FIG. 7 is a block diagram of the memory-specific state machine/support logic block in the memory controller of FIG. 6.

FIG. 8 is a block diagram of a decrement-type programmable delay counter suitable for use in the memory-specific state machine/support logic block of FIG. 7.

FIG. 9 is a block diagram of an increment-type programmable delay counter suitable for use in the memory-specific state machine/support logic block of FIG. 7.

FIG. 10 is a timing diagram illustrating an exemplary timing of memory control operations during a read access using a memory controller consistent with the invention, for use with a memory storage device having a first set of timing parameters.

FIG. 11 is a timing diagram illustrating an exemplary timing of memory control operations during a write access using the memory controller consistent with the invention, for use with a memory storage device having a second set of timing parameters.

FIG. 12 is a block diagram of a dynamically-tunable implementation of the memory controller in the network adapter of FIG. 5.

FIG. 13 is a block diagram of the dynamic tuning logic of FIG. 12, shown interfaced with controller registers and a memory requester interface.

FIG. 14 is a flowchart illustrating a sequence of operations performed by the dynamic tuning logic of FIG. 13.

FIG. 15 is a block diagram of a parameter manipulation control block from the dynamic tuning logic of FIG. 13.

FIG. 16 is a block diagram of an alternate parameter manipulation control block design to that of FIG. 15.

FIG. 17 is a block diagram of a parameter arrays block from the dynamic tuning logic of FIG. 13.

FIG. 18 is a block diagram of a parameter logic block for use as an alternate to the parameter manipulation control block of FIG. 17.

FIG. 19 is a block diagram of another alternate parameter manipulation control block design to that of FIGS. 15 and 16.

FIG. 20 is a flowchart illustrating an alternate sequence of operations performed by the dynamic tuning logic to that of FIG. 14.

DETAILED DESCRIPTION

Dynamic tuning of a memory controller consistent with the invention is used to optimize the performance of the memory controller for use with different memory storage devices controlled by the memory controller. However, prior to discussing the dynamic tuning aspects of the invention, one specific implementation of a programmable memory counter, which utilizes programmable delay counters to controllably optimize a memory controller for use with a particular memory storage device, is described. As will become more apparent below, however, the invention is not limited to use in connection solely with a programmable memory controller that utilizes the programmable memory counters described herein.

The herein-described embodiments generally operate by controllably delaying performance of a memory control operation to meet a timing parameter for a memory storage device coupled to a memory controller. As such, a wide variety of solid-state (semiconductor) memory storage devices having varying timing parameters may be supported in a flexible and extensible manner, including but not limited to Synchronous Dynamic Random Access Memories (DRAM's), Enhanced Synchronous DRAM's, Rambus DRAM's, Extended Data Out (EDO) DRAM's, page-mode DRAM's, Static Random Access Memories (SRAM's), Flash Memories, Read Only Memories (ROM's), Electrically-Erasable Programmable Read Only Memories (EEPROM's), Serial EPROM's, Direct Access Storage Devices (DASD's), subsystems acting as memory, etc.

Three primary situations occur in which it may be desirable to tune the performance of a memory controller in the manner presented herein. First, it is often desirable to control the delay between asserting and deasserting signals within a given memory access cycle, e.g., the time period between asserting the row and column address strobe (RAS and CAS) signals for a given memory access. Second, it is often desirable to control the delay between asserting and deasserting signals between successive memory access cycles, e.g., the delay between asserting and releasing the RAS precharge time for an EDO DRAM. Third, it is often desirable to control the delay between asserting and deasserting signals between non-successive but interrelated memory access cycles, e.g., the delays between successive accesses to a given bank in a multi-bank DRAM. Other situations will become apparent to one of ordinary skill in the art from a reading of the material herein.

As shown in FIG. 1, for example, a memory controller 10 may include a logic circuit 12, which implements a state machine having a plurality of stages, including stages 14 and 16 where first and second memory control operations are performed. It should be appreciated that logic circuit 12 may include practically any type of state machine utilized in connection with the control of memory storage devices, and may include other logic circuitry as is well known in the art. As such, an indeterminate number of stages are illustrated before and after stages 14 and 16. It should be appreciated that any number of stages, even no stages, may be interposed between stages 14 and 16 as well.

The memory control operations may represent practically any timed operations performed by a memory controller, principally including, for example, asserting or deasserting any of a number of memory control signals to a memory storage device, latching any of a number of signals received from the memory storage device, driving new data signals to the memory storage device, etc. The first and second memory control operations performed at stages 14 and 16 may also be related with one another in various manners, e.g., asserting and deasserting the same control signal, asserting or deasserting different control signals, latching the same or different signals returned from the memory storage device, etc. Moreover, the first and second memory control operations may be performed during the same memory access cycle, during successive memory access cycles, or in separate, non-successive memory access cycles.

The first and second memory control operations in the context of the invention must be separated in time by a predetermined delay associated with a timing parameter for the particular memory storage device coupled to memory controller 10. A timing parameter represents a particular value for a timing characteristic common to different memory storage devices suitable for use with the memory controller. A timing parameter may be specified as a minimum time, e.g., in nanoseconds. In the alternative, a timing parameter may be specified as a minimum number of clock cycles. Furthermore, given that a memory controller is typically operated synchronously, typically the delay inserted between the first and second memory control operations is represented by a selected number of cycles for the memory controller clock, irrespective of the units of a timing parameter.

A wide variety of timing characteristics may be relevant for different types of memory storage devices. For example, suitable timing characteristics for Synchronous DRAM's include, among others, bank cycle time (t.sub.RC), active command period (t.sub.RAS), data input to precharge time (t.sub.DPL), precharge time (t.sub.RP), RAS to CAS delay (t.sub.RCD), CAS latency (t.sub.AA), etc. Other timing characteristics may also exist for different types of memory storage devices. In each case, the particular timing characteristics that are relevant for a given memory storage device are typically well known in the industry, and it is typically with respect to one or more of these particular timing characteristics for which it is desirable to tune the performance of a memory controller in the manner disclosed herein.

In memory controller 10, the delay between the performance of the first and second memory control operations is controlled by asserting a delay signal at stage 14, representing a request to delay the operation of the second memory control operation for a selected number of cycles. Performance of the second memory control operation is initiated by enabling a state transition to stage 16, as represented by enable signal 20.

A tuning circuit 22, including a programmable delay counter 24 and a configuration register 26, is illustrated as receiving delay signal 18 and outputting enable signal 20. Typically, delay counter 24 is programmed to cycle a selected number of clock cycles based upon the desired number of clock cycles to wait between performing the first and second memory control operations. The selected number of clock cycles may be equal to the total number of cycles between the first and second memory control operations, or may differ, e.g., if other delays already exist between performance of the first and second memory control operations. In this latter instance, for example, assertion of the delay and/or enable signals may be offset one or more cycles from performance of the memory control operations.

It should be appreciated based upon a reading of the material herein that mechanisms other than enable signals may be used to initiate performance of the second memory control operation subsequent to the first memory control operation. Examples include, but are not limited to removal of a hold signal, a signal voltage reaching a comparison threshold, etc.

A programmable delay counter consistent with the invention is generally configured to cycle a programmed number of cycles and thereafter cause the enable signal to be asserted for the purpose of initiating performance of the second memory control operation. The delay counter is programmed based upon a delay count provided from configuration register 26. The delay count may be equal to the total number of cycles to delay, or may be a portion of the total number of cycles, e.g., if other delays are present in the counter.

Typically, a programmable delay counter consistent with the invention may be configured either as a decrement-type counter or an increment-type counter, among other variations. FIG. 2 illustrates, for example, a decrement-type implementation of the programmable delay counter 24 of tuning circuit 22, where the counter receives at its data (D) input the delay count from configuration register 26. The delay count is written into counter 24 by assertion of the write enable (WE) input via delay signal 18. Thereafter, a clock signal for the memory controller, coupled to the decrement (DEC) input of the counter, decrements the value stored in the counter once each clock cycle. Cycling of the counter for the number of cycles corresponding to the delay count is then detected via a compare-to-zero (=0) output, from which enable signal 20 is derived.

An increment-type counter implementation is illustrated by tuning circuit 28 of FIG. 3, where a counter 30 is receives at its data (D) input an initial value of zero. The counter is initialized to a zero count in response to assertion of the write enable (WE) input via delay signal 18. Thereafter, the clock signal for the memory controller, coupled to the increment (INC) input of the counter, increments the value stored in the counter once each clock cycle. Cycling of the counter for the number of cycles corresponding to the delay count is then detected via a comparison block 34 that receives as its inputs the output (OUT) of counter 30 and the delay count from configuration register 32. As a result, enable signal 20 is asserted when the output of the counter matches the delay count stored in the register.

Loading of the configuration register to program the programmable counter may be performed in a number of manners. For example, one or more external pins for the controller may be used to specify the delay count. In the alternative, the delay count may be supplied via an external component, e.g., via a specific instruction over a network or bus. Moreover, the delay count may be hardwired into different physical implementations, whereby a common design of memory controller may be reused with minor modifications in the manufacture of several different memory controller models tailored for use with different memory storage requirements. Furthermore, delay counts may be grouped into sets so that the same pins/commands may collectively control multiple parameters.

Other manners of programming the programmable counter may be used in the alternative. For example, as discussed in greater detail below, a dynamic control circuit may be configured to start with one or more conservative parameters, to monitor the error rate of the memory storage device while progressively accelerating the parameters, and to then decelerate one or more of the parameters whenever errors are detected.

Returning to FIG. 1, logic circuit 12 and tuning circuit 22 each represent a circuit arrangement, that is, an arrangement of analog and/or digital electronic or optical components electrically or optically coupled with one another via conductive traces, signaling paths and/or wires, whether implemented wholly in one integrated circuit device or implemented in a plurality of integrated circuit devices electrically coupled with one another via one or more circuit boards. Moreover, it should be recognized that integrated circuit devices are typically designed and fabricated using one or more computer data files, referred to herein as hardware definition programs, that define the layout of the circuit arrangements on the devices. The programs are typically generated in a known manner by a design tool and are subsequently used during manufacturing to create the layout masks that define the circuit arrangements applied to a semiconductor wafer. Typically, the programs are provided in a predefined format using a hardware definition language (HDL) such as VHDL, verilog, EDIF, etc. Thus, while the invention has and hereinafter will be described in the context of circuit arrangements implemented in fully functioning integrated circuit devices, those skilled in the art will appreciate that circuit arrangements consistent with the invention are capable of being distributed as program products in a variety of forms, and that the invention applies equally regardless of the particular type of signal bearing media used to actually carry out the distribution. Examples of signal bearing media include but are not limited to recordable type media such as volatile and non-volatile memory devices, floppy disks, hard disk drives, CD-ROM's, and DVD's, among others, and transmission type media such as digital and analog communications links.

Turning now to FIG. 4, a data processing system 40 consistent with the invention is illustrated. Data processing system 40 is representative of any of a number of computers and like systems. For example, data processing system 40 includes a system processor 42 coupled to a mainstore memory 44, which is in turn coupled to various external devices via an input/output (I/O) subsystem 46. Subsystem 46 is coupled to a plurality of external devices via a system bus 48. Various types of external devices are represented in FIG. 4, including a storage controller 50 (used to interface with one or more storage devices 52), a workstation controller 54 (used to interface with one or more workstations 56), an I/O expansion unit 58 (used to interface with additional devices via an I/O bus 60), and a network adaptor 62 (used to interface with an external network represented at 64).

It should be appreciated that a wide variety of alternate devices may be coupled to data processing system 40 consistent with the invention.

Data processing system 40 may be implemented, for example, as a midrange computer system, e.g., the AS/400 midrange computer available from International Business Machines Corporation. It should be appreciated that the invention may be applicable to other computer systems, e.g., personal computers, mainframe computers, supercomputers, etc., not to mention other data processing systems that utilize a memory controller, such as embedded controllers; communications systems such as bridges, routers and switches; consumer electronic devices; and the like.

In the illustrated embodiment, a memory controller consistent with the invention is implemented in network adaptor 62, which may be, for example, an asynchronous transfer mode (ATM) adaptor suitable for connecting to an ATM network. However, it should be appreciated that the principles of the invention may be applicable to network adaptors for other types of networks, e.g., TCP/IP networks, LAN and WAN networks, frame relay networks, and the like. Moreover, it should be appreciated that a memory controller consistent with the invention may also be utilized in other components in data processing system 40, e.g., any of components 50, 54, or 58, or within the main processing structure of the data processing system. Thus, the invention should not be limited to the particular implementation disclosed herein.

Network adaptor 62 is illustrated in greater detail in FIG. 5. Network adaptor 62 is under the control of a controller 66 which is interfaced with system bus 48 via a system bus interface block 68. Controller 66 is, in turn, interfaced with network 64 via network interface logic 70 and a physical network connector represented at 72.

Controller 66 relies on one or more memories, e.g., memories 74 and 74a, each comprising a plurality of memory storage devices 76. Data transfer between controller 66 and each memory 74, 74a is controlled via one or more memory controllers, e.g., memory controller 78 for memory 74, and memory controller 78a for memory 74a. A series of I/O signals (e.g., signals 80 and 80a respectively for controller 78 and 78a) are used to control the data transfer with each memory. A plurality of requesters 81, 81a, 81b are also represented in controller 66, representing various components in the controller that may request a data transfer to or from memory 74, 74a For example, a requester may represent various components within the receive or transmit circuitry within controller 66. Moreover, a requester may also represent an external access command received by controller 66.

It should also be appreciated that any number of requesters, and memory controller/memory pairs may be disposed network adaptor 62. For example, separate packet and control memories may be utilized in network adaptor 62, thus requiring two memories and two associated memory controllers. Furthermore, it should be appreciated that a memory controller may also interface with more than one memory if desired.

Each memory storage device 76 in each memory is responsive to dedicated I/O signals provided by the associated memory controller 78, 78a, which are dictated by the design of the specific memory storage devices. Moreover, as discussed above, the memory storage devices may have one or more timing parameters providing specific minimum delays that are required to satisfy certain timing characteristics of such devices. In the illustrated embodiment, memory storage devices 76 are synchronous DRAM devices, e.g., the IBM 0364164 64-MB Synchronous DRAM's available from International Business Machines Corporation. The counting parameters and interface logic necessary for controlling the data transfer with such devices are generally known in the art.

Memory controller 78 is illustrated in greater detail in FIG. 6, including a series of memory-specific state machine/support logic blocks 82, 82a that are coupled to the memory I/O signals 80 via a multiplexer 84. A memory requester interface 86 is configured to receive the various control signals from one or more memory requesters (not shown in FIG. 6) in a manner well known in the art. It should be appreciated that when multiple requesters are provided, additional interface logic (not shown) may be required to arbitrate between the multiple requesters. Block 86 is interfaced with an address generation/data checking block 88, which is in turn coupled to blocks 82, 82a.

Blocks 86 and 88 perform with recognized interface, data checking and address generation operations that are typically generic to various types of memory storage devices. However, in that the timing characteris