Embodiments as disclosed herein are in the field of synchronizing signal timing between integrated circuit components in a system.
In electronic systems containing multiple integrated circuit (IC) components communicating with each other, it is necessary to synchronize the timing of signal transmission and receipt between components in order to avoid timing errors. Timing errors include one or more components failing to accurately interpret electronic signals as correct data. Many phenomena (physical conditions, digital logic errors, etc.) can result in timing errors particularly in systems that operate at speeds and/or have high data throughput rates, as is well known in the art. Typically, many IC components contain timing circuitry and logic devoted to minimizing timing errors. However, it is always desirable to minimize the physical chip area and the power consumed by IC components, especially by the area and power consumed by functions not directly related to the purpose of the system or component. This is particularly true of data storage (also referred to herein as memory) components. The cost of memory components is dramatically affected by increases in amounts of circuitry and area required that are not dedicated to data storage. In addition, extra power consumed that is not directly related to data storage makes a memory component less desirable than a memory component with similar data storage capacity and smaller power requirements. Therefore providing an efficient way of communicating with other system IC components while avoiding timing errors is an aspect of IC design for any type of IC, including memory components
Another aspect of IC design is consideration of and compliance with published and recognized industry standards. Compliance with industry standards helps assure that different components for different purposes and from different manufacturers can operate correctly in an IC system.
It would be desirable for an IC to include an efficient method and apparatus for efficiently providing for minimizing timing error in an IC system while considering applicable industry standards.
Embodiments described herein include a method and system for synchronizing clocks between coupled integrated circuits (ICs) in a computer system. Embodiments reduce the IC circuit area and power consumption used for clock synchronization. In an embodiment, a first IC includes the capability to monitor and adjust clock timing between the IC and another IC. The IC typically controls the other IC, and the other, controlled IC typically has a highly specific function such as data storage. A data storage (also referred to as memory) components are one example of such a controlled IC, but the example is not exclusive. Embodiments reduce the circuitry and power consumption devoted to clock synchronization by the memory, for example by placing circuitry on the controlling IC, including circuitry for sending information to the controlled IC, receiving information in response from the controlled IC, and comparing the sent information with the received information to determine whether a clock adjustment should be made. In an embodiment, a dedicated clock and data recovery (CDR) pin is included on the controlling IC for sending and receiving the information. In an embodiment, the controlling IC configures the controlled IC such that a pin of the controlled IC is reassigned to receive the sent information instead of other information, and to send information back to the controlling IC.
System interface 304 includes circuitry, logic and physical pins used to communicate with other system and subsystem components. In an embodiment, in addition to DATA, CMD AND ADDR pins, a write clock and data recovery (WCDR) pin 307 is included. WCDR pin 307, accordingly to an embodiment, is a dedicated pin used to transmit information to memory components external to the subsystem 301, and to receive information in response from the memory components external to the subsystem 301. As further described below, WCDR pin 307 is used for timing synchronization between subsystem 301 and external memory components. The methods of timing synchronization using CDR pin 307, as further describer below, may provide a more accurate method of timing synchronization than available in the prior art. The method and apparatus described herein, in various embodiments, do not require redesign of external memory components, and thus are considerate of industry standards, and do not add circuitry to memory devices or increase power consumption of memory devices. In an embodiment, the information sent on CDR pin 307 is compared by CDR 305 to the information received on CDR pin 307 to determine whether it is necessary to adjust clock timing.
The WCDR pin of system interface 304 is connected to the REFD pin of DRAM 119. The CMD pin and the ADDR pin of the system interface 304 are connected to the CMD decoder 208 of DRAM 119. In an embodiment, unused ADDR fields are used with one or more specific commands in order to modify mode registers 226. The modification causes CMD decoder 228 to rewrite (also referred to herein as reconfiguring mode registers 226 or reconfiguring the DRAM 119) mode registers 226. The reconfiguration disables the function of receiving a reference voltage on the REFD pin. The reconfigurations further causes DRAM 119 to interpret signals or information on the REFD pin in accordance with the timing synchronization method as described.
In an embodiment, for a WRITE transaction to DRAM 119, information or data is sent on the WCDR pin via the WCDR channel at the same time as WRITE data is sent on the DATA pin via the DATA channel. In an embodiment, the DATA channel connecting the DATA pin to DRAM 119 and the WCDR channel connecting the WCDR pin to DRAM 199 are similar. In response to the data sent via the WCDR channel, DRAM 119 returns the same data back to GPU 302 via the WCDR channel. CDR 305 of GPU 302 determines whether there are errors in the data and adjusts timing accordingly. In other embodiments, data sent by GPU 302 on the WCDR channel is encoded, received, decoded, and returned by DRAM 119. The returned data may be encoded before being returned, according to an embodiment. Errors are then detected in the returned data for the purpose of synchronizing timing. In the disclosure, the terms “data”, “information”, and “signal” may each be used for the data sent on the CDR channel as described above.
According to the embodiment of
In
An advantage provided by the embodiments is that an interface write timing protocol can be performed without the additional costs and routing complexity usually associated with a new pin. In the embodiments described, WRITE data is used on the CDR channel to obtain more accurate write clock timing. However, embodiments are not limited to write clock timing. Timing of many other signals can be adjusted in a similar manner.
Aspects of the embodiments described above may be implemented as functionality programmed into any of a variety of circuitry, including but not limited to programmable logic devices (PLDs), such as field programmable gate arrays (FPGAs), programmable array logic (PAL) devices, electrically programmable logic and memory devices, and standard cell-based devices, as well as application specific integrated circuits (ASICs) and fully custom integrated circuits. Some other possibilities for implementing aspects of the embodiments include microcontrollers with memory (such as electronically erasable programmable read only memory (EEPROM), Flash memory, etc.), embedded microprocessors, firmware, software, etc. Furthermore, aspects of the embodiments may be implemented in microprocessors having software-based circuit emulation, discrete logic (sequential and combinatorial), custom devices, fuzzy (neural) logic, quantum devices, and hybrids of any of the above device types. Of course the underlying device technologies may be provided in a variety of component types, e.g., metal-oxide semiconductor field-effect transistor (MOSFET) technologies such as complementary metal-oxide semiconductor (CMOS), bipolar technologies such as emitter-coupled logic (ECL), polymer technologies (e.g., silicon-conjugated polymer and metal-conjugated polymer-metal structures), mixed analog and digital, etc.
Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,” “comprising,” and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in a sense of “including, but not limited to.” Words using the singular or plural number also include the plural or singular number, respectively. Additionally, the words “herein,” “hereunder,” “above,” “below,” and words of similar import, when used in this application, refer to this application as a whole and not to any particular portions of this application. When the word “or” is used in reference to a list of two or more items, that word covers all of the following interpretations of the word, any of the items in the list, all of the items in the list, and any combination of the items in the list.
The above description of illustrated embodiments of the method and system is not intended to be exhaustive or to limit the invention to the precise forms disclosed. While specific embodiments of, and examples for, the method and system are described herein for illustrative purposes, various equivalent modifications are possible within the scope of the invention, as those skilled in the relevant art will recognize. As an example, although the anti-aliasing is generally described herein as an algorithm executed on hardware as a series of steps, the steps may be executed in an order other than the order described. In addition, the particular hardware or software components named, such as drivers, depth buffer, etc. are not meant to be exclusive or limiting.
The teachings of the disclosure provided herein can be applied to other systems, not only for systems including graphics processing or video processing, as described above. The various operations described may be performed in a very wide variety of architectures and distributed differently than described. In addition, though many configurations are described herein, none are intended to be limiting or exclusive.
In other embodiments, some or all of the hardware and software capability described herein may exist in a printer, a camera, television, a digital versatile disc (DVD) player, a DVR or PVR, a handheld device, a mobile telephone or some other device. The elements and acts of the various embodiments described above can be combined to provide further embodiments. These and other changes can be made to the method and system in light of the above detailed description.
In general, in the following claims, the terms used should not be construed to limit the method and system to the specific embodiments disclosed in the specification and the claims, but should be construed to include any processing systems and methods that operate under the claims. Accordingly, the method and system is not limited by the disclosure, but instead the scope of the method and system is to be determined entirely by the claims.
While certain aspects of the method and system are presented below in certain claim forms, the inventors contemplate the various aspects of the method and system in any number of claim forms. For example, while only one aspect of the method and system may be recited as embodied in computer-readable medium, other aspects may likewise be embodied in computer-readable medium. Computer-readable media include any data storage object readable by a computer including various types of compact disc: (CD-ROM), write-once audio and data storage (CD-R), rewritable media (CD-RW), DVD (Digital Versatile Disc” or “Digital Video Disc), as well as any type of known computer memory device. Such computer readable media may store instructions that are to be executed by a computing device (e.g., personal computer, personal digital assistant, PVR, mobile device or the like) or may be instructions (such as, for example, Verilog or a hardware description language) that when executed are designed to create a device (GPU, ASIC, or the like) or software application that when operated performs aspects described above. Accordingly, the inventors reserve the right to add additional claims after filing the application to pursue such additional claim forms for other aspects of the method and system.