1. Field of the Invention
The present invention relates to the field of data communication. More specifically, the present invention relates to automatic data sampling timing adjustment, and its application to reducing data transmission errors.
2. Background Information
Advances in integrated circuit and microprocessor technologies have led to wide spread deployment and adoption of computing devices. Examples of computing devices include servers, personal computers and “special” purpose computing devices. Personal computers may have form factors, such as desktop, laptop, tablet, and so forth. “Special” purpose computing devices may include personal digital assistants (PDA), wireless mobile phones and so forth.
Concurrently, advances in networking, telecommunication, satellite and other related technologies have also led to increase connectivity between the various computing devices. Numerous applications and computing needs involve accessing, retrieving and exchanging data between computing devices interconnected over local and/or wide area networks. The networking connections may be wire based or wireless, or both (on different portions of the connections). The networks may be private and/or public.
To accommodate the larger and larger volume of data that need to be exchanged, data transmission rates/speeds, whether it is within a single integrated circuit, a circuit board, between two local devices or over a long distance networking/telecommunication connection, have steadily increased over the years.
Due to noise, signal jitters, as well as other factors, not all data transmitted will be received properly. That is, the data signals may not be presented or may be corrupted at the time periods when they are supposed to be read (also referred to as sampled). The result is data transmission error. The likelihood of an error condition occurring increases, as data are transmitted in parallel, or as operating speed increases (with the margin of tolerance decreasing correspondingly), or both.
For example, when data are transmitted between a link layer device and a physical layer device in accordance with the Optical Internetworking Formum's System Packet Interface Level 4 Phase 2 (OIF-SPI4-02.0), 16 bits are transmitted on the “data path” in parallel at a frequency as high as 644.53 MHz (for 10 G Ethernet applications). As a result, the likelihood of an error condition occurring is substantially higher.
Most data transmission protocols, whether the transmissions are made over a private connection, a shared bus, a local/wide area networking connection, typically do include some error detection and handling/correction procedures. For examples, parity bits and/or cyclic redundancy checks (CRC) may be employed for error detection and/or correction. However, these prior art error detection and correction techniques, while necessary and provide for smooth or even transparent recovery, have a tendency of reducing and/or impacting the overall operational efficiency.
Thus, it is desirable if occurrence of data transmission errors can be reduced, especially in high speed or high performance data communication.
The present invention will be described by way of exemplary embodiments, but not limitations, illustrated in the accompanying drawings in which like references denote similar elements, and in which:
a-7b illustrate the control circuit of
The present invention includes an automatic data sampling timing adjustment circuit, and its application, in particular, to an enhanced receiver, which may be a component of an apparatus. The apparatus may be an integrated circuit, a circuit board, or a device.
In the following description, various configurations of storage elements and combinatorial logics will be described, to provide a thorough understanding of the present invention. However, the present invention may be practiced without some of the specific details or with alternate storage elements and/or combinatorial logics. In other instances, well-known features are omitted or simplified in order not to obscure the present invention.
The description to follow repeatedly uses the phrase “in one embodiment”, which ordinarily does not refer to the same embodiment, although it may. The terms “comprising”, “having”, “including” and the like, as used in the present application, including in the claims, are synonymous.
Referring now to
The terms “system”, “data sender” and “data receiver” as used herein include but are not limited to data sender/receiver function blocks within an integrated circuit (“system”), data sender/receiver components within a circuit board (“system”) or across multiple circuit boards (“system”), data sender/receiver devices within a collection of local devices (“system”), data sender/receiver devices within a collection of geographically distributed devices (“system”), and so forth. In other words, these terms are to be broadly construed.
In various embodiments, data sender 102 and data receiver 104 are link layer and physical layer devices respectively. In other embodiments, data sender 102 and data receiver 104 are physical layer and link layer devices respectively.
In a number of these embodiments, data 106 are transmitted in accordance with OIF-SPI4-02.0. That is, data 106 comprises 16 data bits transmitted on a “data path” in parallel. In alternate embodiments, the present invention may be practiced with larger or smaller “data path” width.
Further, the term “data” as used herein include “control” as well as “application” or “user” data.
In other words, in accordance with the present invention, circuits are employed to detect for potential imminent occurrence or occurrence of data transmission errors, and corrective actions are taken to attempt to prevent the data transmission errors from occurring.
In alternate embodiments, the present invention may be practiced with only a portion of the data path being subjected to automatic data sampling timing adjustment.
Thus, in accordance with the present invention, a critical reference time distance, such as distance 310a or 310b, between a reference point, such as reference point 308a or 308b, and an edge, such as edge 306a or 306b of a reference clock, such as clock 302a or an inverse of the clock, such as, clock inverse 302b, is selected.
As will be described in more detail below, automatic data sampling timing adjustment circuit 202 monitors for data transition conditions that are faulty or at risk to become faulty. More specifically, for various embodiments, automatic data sampling timing adjustment circuit 202 monitors for the critical reference time distance 310a/310b, and when the critical reference time distance 310a/310b becomes smaller than a design threshold (also referred to as desired threshold), automatic data sampling timing adjustment circuit 202 dynamically modifies an amount of time delay effectively applied to the data signal relative to the clock signal.
By “effective”, the present application refers to the fact that the desired relatively delay may be applied to the data signal, the clock signal or both (differentially).
The clock edge is typically the edge against which the valid reading/sampling period is defined. In other words, the present invention monitors for the condition when a data signal has effectively drifted by a sufficient amount, relative to the reference edge of the clock, i.e. becoming too close to the reference edge, and at risk to be deemed in error if further drifting is to occur, or already being deemed to be in error. On detection, a dynamic modification to the amount of time delay effectively applied to the data signal is made.
The dynamic modification may include effectively applying an amount of time delay, when effectively, no time delay was previously applied, or effectively increasing/decreasing the previously applied amount of time delay.
Effectively applying an amount of time delay when effectively no time delay was previously applied, or effectively increasing the previously applied amount of time delay, has the effect of deferring the data sampling. Effectively decreasing the previously applied amount of time delay has the effect of performing the data sampling earlier. Depending on which edge of the clock signal, the data signal is being “too close”, one of the actions, i.e. deferring the data sampling or performing earlier, will prevent or remedy the error (while the other action will cause the data sampling to be performed a cycle too early or a cycle too late).
As will be described in more detail below, in various embodiments, at least some of the data sampling timing adjustment circuits 202 are equipped with control circuits that modify the effective increase/decrease of the amount of delay applied in a manner that facilitates quickly leading to the appropriate preventive or remedial action.
Delay circuit 402, for the embodiment, is employed to apply an aggregate amount of time delay to the data signal, to adjust its timing, to effectuate the desired timing change relative to the clock signal. Detection circuit 404 is employed to detect for the earlier described error or “at risk” data transition condition, i.e. the critical reference time distance between a reference point of the data signal and a selected edge of the clock has become smaller than a design/desired threshold. On detection, detection circuit 404 outputs a signal denoting detection of the “at risk” condition. Control circuit 406 is employed to dynamically control the aggregate amount of time delay being applied by delay circuit 402 to the data signal, based at least in part on the detection signals outputted by detection circuit 404.
In alternate embodiments, the delay may be applied to the clock signal to achieve the desired effective delay of the data signal relative to the clock signal. Further, the delay to the clock signal, as opposed to being applied an individual derived version corresponding to the data signal, the present invention may be practiced with the delays being applied to a derived version of the clock signal that is corresponding to a group of the data signals or to all the data signals.
For the embodiment, detection circuit 404 is advantageously dependent on the presence of data on the data signal lines. No faulty or risky condition could be identified without presence of data.
For the embodiment, each delay element and multiplexor pair 504 includes delay element 506 and a multiplexor 508. The input of each delay element 506 is coupled to the output of the immediately preceding delay element and multiplexor pair 504, except for the first delay element and multiplexor pair 504, which delay element 506 is coupled to the data signal being received. Each delay element 504 applies a quantity of time delay to the input, and outputting the received input delayed by the quantity of time delay.
Multiplexor 508 receives either the output of the immediately preceding delay element and multiplexor pair 504 or the data signal being received directly, if pair 504 is the first pair, and output of its partner delay element 506. Multiplexor 508 outputs either the undelayed or delayed input, depending on whether it is to contribute to the application of the aggregate amount of time delay.
In one embodiment, the quantity of time delays to be applied by the various delay elements 506 of the various delay element and multiplexor pairs 504 are different. More specifically, in one implementation of the five pair embodiment, the time delays are 1000 ps, 500 ps, 250 ps, 125 ps and 62.5 ps respectively (ps=pico seconds).
Thus, when employed in combination, delay circuit 402 with the above described five time delay values may be selectively employed to apply 1 of 32 discontinuous aggregate amount of time delays to a data signal, i.e.
In alternate embodiments, the delay elements of two or more of the delay element and multiplexor pairs may apply the same quantity of time delays.
Delay circuit 402 may also be used in an embodiment where the delay is applied to a derived version of the clock signal to achieve the effective delay of the data signal relative to the clock signal.
For the embodiment, each section 602a/602b comprises a number of storage elements 602a-602b/602c-602d, and 610a/610b, delay elements 604a/604b and a number of logic operators 608a-608b, coupled to each other as shown. More specifically, for the embodiment, each set of logic operators 608a-608b comprises a XOR gate and an OR gate coupled to each other and the other storage elements 602a-602b/602c-602d, and 610a/610b as shown.
Accordingly, the data signal, and a delayed version of the data signal are captured in storage elements 602a-602b/602c-602d, and subsequently outputted, as controlled by the clock signal or its inverse. The outputs are compared using the logic operators 608a/608b, and the result of the comparison is captured in storage element 610a/610b and outputted as the detection signal, denoting whether the critical reference time distance between the reference point of the data signal and the corresponding one of the clock edge has become smaller than the design/desired threshold, that it is considered to be “at risk” of having data transmission error.
The quantity of time delays to be applied by delay element 604a/604b is dependent at least on the clock speed, and the reference point of the data signal. In an embodiment where data are transmitted in accordance with OIF-SP14-02.0, the quantity of time delays applied by delay element 604a/604b is 250 ps.
a-7b illustrate control circuit 406 in further detail, in accordance with two embodiments. For the embodiment of
In other words, for the embodiment, control circuit 406 increments the aggregate amount of time delay applied by delay circuit 402 in a deterministic manner. More specifically, control circuit 406 increments the aggregate amount of time delay applied by delay circuit 402 to the next discrete aggregate amount of time delay, delay circuit 402 is equipped to apply.
b illustrates an alternate embodiment. For the embodiment, in addition to the earlier described elements, control circuit 406 further includes memory 706 coupled to the earlier described elements as shown. Memory 706 is employed to store a time delay application schedule. The application schedule is typically designed to facilitate rapid convergence on the appropriate remedy, as described earlier. Output of n-bit counter 702 is employed to access and output the next scheduled time delay control instead. Thus, delay circuit 402 may be controlled in virtually any deterministic manner.
For example, in one embodiment, the delay circuit 402 may be initialized to apply the 15th discrete aggregate amount of time delay, on detection, switch to the 16th discrete aggregate amount of time delay, then the 14th, the 17th, the 13th, the 18th, and so forth, in other words, in an oscillating increasingly larger and smaller time delay manner.
Of course, this is just one of many deterministic variance of the application of the aggregate amount of time delay to regain a larger margin for the critical reference time difference, to reduce the likelihood of data transmission error occurrence.
In yet other embodiments, the control may be substantially performed via software. For example, an interrupt may be generated in response to the output of the signal detecting an error or “at risk” condition, and the software may analyze the current state of the critical reference time distance, the potential effects of various remedial options, select the option with a high or highest likelihood of achieving the desired correction, and then control the delay circuit accordingly.
Thus, it can be seen from the above descriptions, an automatic data sampling timing adjustment circuit and its application to reduce data transmission errors have been described. While the present invention has been described in terms of the foregoing embodiments, those skilled in the art will recognize that the invention is not limited to these embodiments. The present invention may be practiced with modification and alteration within the spirit and scope of the appended claims. Thus, the description is to be regarded as illustrative instead of restrictive on the present invention.
Number | Date | Country | |
---|---|---|---|
Parent | 10393088 | Mar 2003 | US |
Child | 11508388 | Aug 2006 | US |