WikiPatents - Community Patent Review
Create Free Account  |  License or Sell Your Patent  |  WikiPatents Marketplace  |  WikiPatents Blog
Username:  Password:  
    
Advanced Search
Memory controller with programmable delay counter for tuning performance based on timing parameter of controlled memory storage device    
United States Patent6438670   
Link to this pagehttp://www.wikipatents.com/6438670.html
Inventor(s)McClannahan; Gary Paul (Rochester, MN)
AbstractA memory controller circuit arrangement and method utilize a tuning circuit that controls the timing of memory control operations via one or more programmable delay counters. Each counter is programmed to cycle a selected number of clock cycles to delay performance of a memory control operation to meet a predetermined timing parameter for a memory storage device coupled to the controller. Through the use of programmable delay counters, a variety of memory storage devices having varying timing parameters may be supported by the same memory controller design. Moreover, the use of programmable delay counters permit a single path of execution in a memory controller state machine to support any number of timing parameter variations for a particular timing characteristic, as well as multiple timing characteristics.



 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 6438670
Memory controller with programmable delay counter for tuning performance
     based on timing parameter of controlled memory storage device - US Patent 6438670 Drawing
Memory controller with programmable delay counter for tuning performance based on timing parameter of controlled memory storage device
Inventor     McClannahan; Gary Paul (Rochester, MN)
Owner/Assignee     International Business Machines Corporation (Armonk, NY)
Patent assignment
All assignments
Publication Date     August 20, 2002
Application Number     09/166,004
PAIR File History     Application Data   Transaction History
Image File Wrapper   Patent Term   Fees
Litigation
Filing Date     October 2, 1998
US Classification     711/167 365/194 710/240 711/168 711/169 713/401
Int'l Classification    
Examiner     Kim; Matthew
Assistant Examiner     Vital; Pierre M
Attorney/Law Firm     Wood, Herron & Evans
Address
Parent Case    
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     memory controller programmable delay counter tuning performance based timing parameter controlled memory storage
   
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
6088774
Gillingham

Jul,2000

[0 after 0 votes]
5809340
Bertone et al.

Sep,1998

[0 after 0 votes]
5276858
Oak et al.

Jan,1994

[0 after 0 votes]
4063308
Collins et al.

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 for use with a plurality of types of memory storage devices having varying timing parameters related to a performance characteristic common to the plurality of types of memory storage devices, the circuit arrangement comprising: (a) a logic circuit configured to control data transfer with a memory storage device by performing first and second memory control operations, the memory storage device of the type having a predetermined timing parameter that defines a minimum delay between the first and second memory control operations; and (b) a tuning circuit coupled to the logic circuit and configured to control the delay between the first and second memory control operations to meet the predetermined timing parameter for the memory storage device, the tuning circuit including: (i) a configuration register configured to store a delay count representative of a number of clock cycles to delay performance of the second memory control operation; and (ii) 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.

2. 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, the memory storage device of the type having a predetermined timing parameter that defines a minimum delay between the first and second memory control operations; and (b) a tuning circuit coupled to the logic circuit and configured to control the delay between the first and second memory control operations to meet the predetermined timing parameter for the memory storage device by cycling a programmable delay counter a selected number of clock cycles to delay performance of the second memory control operation.

3. The circuit arrangement of claim 2, wherein the first memory control operation includes asserting a control signal, and wherein the second memory control operation includes deasserting the control signal.

4. The circuit arrangement of claim 2, wherein the first memory control operation includes asserting a first control signal, and wherein the second memory control operation includes asserting a second control signal.

5. The circuit arrangement of claim 2, wherein the first and second memory control operations are performed in separate memory access cycles.

6. The circuit arrangement of claim 5, wherein the first and second memory control operations are performed in successive memory access cycles.

7. The circuit arrangement of claim 2, wherein the first and second memory control operations are performed in the same memory access cycle.

8. 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.

9. The circuit arrangement of claim 2, wherein the tuning circuit further comprises a configuration register coupled to the delay counter and configured to store a delay count representative of a number of clock cycles to delay performance of the second memory control operation to meet the predetermined timing parameter for the memory storage device.

10. The circuit arrangement of claim 9, wherein the tuning circuit is configured to store the delay count stored in the configuration register in the delay counter, to decrement the delay counter each clock cycle thereafter, and to enable performance of the second memory control operation when the delay counter reaches a value of zero.

11. The circuit arrangement of claim 9, wherein the tuning circuit is configured to initialize the delay counter with a value of zero, to increment the delay counter each clock cycle thereafter, and to enable performance of the second memory control operation when the delay counter equals the delay count stored in the configuration register.

12. The circuit arrangement of claim 9, wherein the tuning circuit is configured to store the delay count in the configuration register in response to external input.

13. The circuit arrangement of claim 9, wherein the delay count stored in the configuration register equals the total number of clock cycles between performance of the first and second memory control operations.

14. The circuit arrangement of claim 2, wherein the memory storage device has a second predetermined timing parameter defining a second minimum delay between third and fourth memory control operations performed by the logic circuit, and wherein the tuning circuit is further configured to control the delay between the third and fourth memory control operations to meet the second predetermined timing parameter for the memory storage device by cycling a second delay counter a second selected number of clock cycles to delay performance of the fourth memory control operation.

15. An integrated circuit device comprising the circuit arrangement of claim 2.

16. A network adapter comprising the circuit arrangement of claim 2.

17. A data processing system comprising the circuit arrangement of claim 2.

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

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

20. A method of controlling data transfer with a memory storage device using a memory controller, wherein the memory storage device is one of a plurality of types of memory storage devices having varying timing parameters related to a performance characteristic common to the plurality of types of memory storage devices, the method comprising: (a) receiving a configuration parameter associated with a predetermined timing parameter for the memory storage device that defines a minimum delay between first and second memory control operations performed with the memory storage device; and (b) based upon the configuration parameter, controllably varying the delay between performing the first and second memory control operations by cycling a programmable delay counter a selected number of clock cycles associated with the configuration parameter to delay performance of the second memory control operation.

21. The method of claim 20, further comprising storing a delay count representative of the configuration parameter in a configuration register coupled to the delay counter.

22. The method of claim 21, wherein controllably varying the delay includes: (a) storing the delay count stored in the configuration register in the delay counter; (b) decrementing the delay counter each clock cycle thereafter; and (c) enabling performance of the second memory control operation when the delay counter reaches a value of zero.

23. The method of claim 21, wherein controllably varying the delay includes: (a) initializing the delay counter with a value of zero; (b) incrementing the delay counter each clock cycle thereafter; and (c) enabling performance of the second memory control operation when the delay counter equals the delay count stored in the configuration register.

24. The method of claim 21, wherein the delay count stored in the configuration register equals the total number of clock cycles between performance of the first and second memory control operations.
 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.

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.

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 controls the timing of memory control operations via one or more programmable delay counters. Each counter is programmed to cycle a selected number of clock cycles to delay performance of a memory control operation to meet a predetermined timing parameter for a memory storage device coupled to the controller.

A programmable delay counter may be used, for example, to enable a state transition in a state machine logic circuit to initiate performance of a memory control operation by the logic circuit, among other implementations. As a result, a single path of execution in the logic circuit may be used to support any number of timing parameter variations for a particular timing characteristic. Moreover, through the use of multiple programmable delay counters, multiple timing characteristics may be 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 and a tuning circuit. The logic circuit is configured to control data transfer with at least one memory storage device by performing first and second memory control operations. The memory storage device of the type having a predetermined timing parameter that defines a minimum delay between the first and second memory control operations. The tuning circuit is coupled to the logic circuit and is configured to control the delay between the first and second memory control operations to meet the predetermined timing parameter for the memory storage device by cycling a programmable delay counter a selected number of clock cycles to delay performance of the second memory control operation.

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.

DETAILED DESCRIPTION

The herein-described embodiments generally operate by cycling a programmable delay counter in a memory controller to delay performance of a memory control operation to meet a timing parameter for a memory storage device coupled to the 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, 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 characteristics and protocols necessary for interfacing with different types of memory storage devices may differ, it may be desirable in certain memory controller designs to implement multiple memory-specific state machine/support logic blocks, e.g., as represented in FIG. 6. For example, it may be desirable to configure block 82 to control Synchronous DRAM devices, and block 82a to control SRAM devices. Other combinations of device types may be supported in the alternative.

Memory controller 78 also includes a bank of controller registers 90, including a memory type register 92 and a memory parameters register 94. Additional registers, e.g., status and error registers, interrupt registers, other control registers, and the like, may also be supported as needed.

Memory type register 92 is utilized to activate one of the available state machines in the memory controller (e.g., as represented by blocks 82, 82a), to permit the memory controller to operate with different types of memory storage devices. In particular, based upon the value stored in memory type register 92, an enable signal is supplied to one of blocks 82, 82a to enable the operation of the state machine. Furthermore, the enable signal is transmitted to multiplexer 84 as a selector signal to couple memory I/O signals 80 with one of blocks 82, 82a. It should be appreciated that, in the alternative, more than two memory device types may be supported, or only one such device type may be supported, whereby register 92, multiplexer 84, and additional block 82a would not be required.

To adequately tune the performance of memory controller 78 to operate with various memory storage devices having different parameters, memory parameters register 94 is initialized with one or more delay counts corresponding to various timing parameters for which it is desirable for the controller to meet. Such delay counts are provided to each of blocks 82, 82a to configure the state machines to operate in accordance with the timing parameters represented by the delay counts in the register.

As best shown in FIG. 7, for example, block 82 includes a Synchronous DRAM-specific state machine 96 which passes I/O signals between Synchronous DRAM memory storage devices and address generation/data checking block 88 of FIG. 6.

A tuning circuit 97 tunes the performance of state machine 96 to better operate with different Synchronous DRAM memory storage devices by tailoring the delays between certain memory control operations to meet several different timing characteristics relevant to Synchronous DRAM devices.

A first such timing characteristic is the precharge time (t.sub.RP), which represents the minimum time required to precharge a bank on a particular Synchronous DRAM device prior to initiating a new command on the device. In this instance, the first memory control operation is the initiation of a precharge operation, and the second memory control operation is the issuance of a new command. The delay between such operations is controlled by a precharge counter 98a, which is programmed via a delay count supplied via a precharge time line 100a from memory parameters register 94. Counter 98a is started in response to a delay signal issued by state machine 96 over a precharge started line 102a. In turn, the counter returns an enable signal to state machine 96 over a precharge completed line 104a, after cycling the number of cycles specified by the delay count provided over line 100a.

A second timing characteristic is the active command period (t.sub.RAS), which represents the minimum time required to process a command on a particular Synchronous DRAM device prior to initiating a precharge in anticipation of a next command on the device. In this instance, the first memory control operation is the start of a command cycle on a particular memory bank, and the second memory control operation is the initiation of a precharge operation on the bank. The delay between such operations is controlled by an active command counter 98b, which is programmed via a delay count supplied via an active command period line 100b from memory parameters register 94. Counter 98b is started in response to a delay signal issued by state machine 96 over a new command cycle started line 102b. The counter returns an enable signal to state machine 96 over a command cycle may be ended line 104b, after cycling the number of cycles specified by the delay count provided over line 100b.

A third timing characteristic is the data input to precharge (t.sub.DPL), which represents the minimum delay that must occur after data is written to the device before a precharge operation may be initiated in anticipation of a next command on the device. In this instance, the first memory control operation is the completion of data being written to a particular bank on the device, and the second memory control operation is the initiation of a precharge operation on the bank. The delay between such operations is controlled by a data input to precharge counter 98c, which is programmed via a delay count supplied via a data input to precharge line 100c from memory parameters register 94. Counter 98c is started in response to a delay signal issued by state machine 96 over a data being written line 102c. The counter returns an enable signal to state machine 96 over a precharge command may be sent line 104c, after cycling the number of cycles specified by the delay count provided over line 100c.

A fourth timing characteristic is the bank cycle time (t.sub.RC), which represents the minimum delay that must occur between activating successive commands on a particular bank of the device. In this instance, the first memory control operation is the activation of a first command on a particular bank on the device, and the second memory control operation is the activation of a second command on the same bank of the device. The delay between such operations is controlled by a bank access counter 98d, which is programmed via a delay count supplied via a bank cycle time line 100d from memory parameters register 94. Counter 98d is started in response to a delay signal issued by state machine 96 over a bank X access started line 102d. The counter returns an enable signal to state machine 96 over a bank X access started line 104d, after cycling the number of cycles specified by the delay count provided over line 100d.

It should be appreciated that other timing characteristics may also be controlled via additional counters in the manner discussed herein, which will typically be dictated by the particular design of the various memory storage devices for which it is desirable to interface with the memory controller. For example, FIG. 7 illustrates the counters suitable for tuning the performance of a single bank of a memory storage device. However, many if not all Synchronous DRAM devices are implemented as multi-bank devices, permitting accesses to different banks to be interleaved to improve the overall performance of such devices. As such, additional counters suitable to tune the performance of the memory controller for such other banks may be utilized, but are not shown. Specifically, it should be appreciated that each bank typically would require separate t.sub.RC counters. Application of the principles of the invention to tune the performance of such additional banks is within the abilities of one of ordinary skill in the art having the benefit of the disclosure presented herein.

In each instance, the delay count for a particular timing characteristic would be selected as the minimum number of clock cycles for the memory controller that equals or exceeds the timing parameter for the particular memory storage device for which the memory controller is tuned. Thus, for example, if one particular memory storage device had a timing parameter of 68 ns, while another particular memory storage device had a timing parameter of 37.5 ns, with a memory controller running with a 7.5 ns clock cycle, an optimum delay count for the former device would be 10, while the optimum delay count for the latter device would be 5.

Each of counters 98a-d may be implemented using either a decrement-type counter or an increment-type counter, as discussed previously. FIG. 8 illustrates, for example, one suitable implementation of a decrement-type counter 110. Counter 110 includes 1 . . . n 1-bit latches 112, where n is the number of bits necessary to store the maximum delay count of that particular counter. For example, a