Sampler offset calibration during operation
11115246 · 2021-09-07
Assignee
Inventors
Cpc classification
H04L25/03063
ELECTRICITY
International classification
Abstract
Methods and systems are described for sampling a data signal using a data sampler operating in a data signal processing path having a decision threshold associated with a decision feedback equalization (DFE) correction factor, measuring an eye opening of the data signal by adjusting a decision threshold of a spare sampler operating outside of the data signal processing path to determine a center-of-eye value for the decision threshold of the spare sampler, initializing the decision threshold of the spare sampler based on the center-of-eye value and the DFE correction factor, generating respective sets of phase-error signals for the spare sampler and the data sampler responsive to a detection of a predetermined data pattern, and updating the decision threshold of the data sampler based on an accumulation of differences in phase-error signals of the respective sets of phase-error signals.
Claims
1. A method comprising: sampling a data signal using a data sampler operating in a data signal processing path having a decision threshold; initializing the decision threshold of a spare sampler based on a measured center-of-eye value; generating respective sets of phase-error signals for the spare sampler and the data sampler responsive to a detection of a predetermined data pattern; and updating the decision threshold of the spare sampler in a direction responsive to an accumulation of differences in phase-error signals of the respective sets of phase-error signals; and updating the decision threshold of the data sampler based on the direction of updates to the decision threshold of the spare sampler.
2. The method of claim 1, wherein the decision threshold of the data sampler is based on a speculative decision feedback equalization (DFE) correction factor, and wherein the decision threshold of the spare sampler is further initialized based on the speculative DFE correction factor.
3. The method of claim 1, wherein the decision threshold of the data sampler is updated in a direction opposite of the direction of updates to the decision threshold of the spare sampler.
4. The method of claim 1, wherein the decision threshold of the spare sampler is updated until the accumulation of differences in phase-error signals of the respective sets of phase-error signals is within a threshold.
5. The method of claim 4, further comprising determining an offset correction value between the updated decision threshold of the spare sampler and the initialized decision threshold of the spare sampler.
6. The method of claim 5, wherein the decision threshold of the data sampler is updated based on the offset correction value.
7. The method of claim 1, wherein the decision threshold of the data sampler is updated by a single step.
8. The method of claim 1 wherein each difference in the accumulation of differences between the respective sets of phase-error signals is generated according to a comparison of the respective sets of phase-error signals.
9. The method of claim 1, wherein the differences between the respective sets of phase-error signals are accumulated in a register.
10. The method of claim 9, wherein a least significant bit (LSB) is updated in the register responsive to a determination of a difference between a pair of phase-error signals, each phase-error signal of the pair of phase-error signals selected from one of the respective sets of phase-error signals.
11. An apparatus comprising: a data sampler operating in a data signal processing path having a decision threshold, the data sampler configured to sample a data signal; a spare sampler operating outside of the data signal processing path having a decision threshold initialized based on a measured center-of-eye value; the data sampler and spare sampler configured to generate respective sets of phase-error signals responsive to a detection of a predetermined data pattern; and an accumulator configured to accumulate difference in phase-error signals of the respective sets of phase-error signals; and a measurement controller configured to update the decision threshold of the spare sampler in a direction responsive to the accumulated differences in phase-error signals, and to further update the decision threshold of the data sampler based on the direction of updates to the decision threshold of the spare sampler.
12. The apparatus of claim 11, wherein the decision threshold of the data sampler is based on a decision feedback equalization (DFE) correction factor, and wherein the decision threshold of the spare sampler is further initialized based on the DFE correction factor.
13. The apparatus of claim 11, wherein the measurement controller is configured to update the decision threshold of the data sampler in a direction opposite of the direction of updates to the decision threshold of the spare sampler.
14. The apparatus of claim 11, wherein the measurement controller is configured to update the decision threshold of the spare sampler until the accumulation of differences in phase-error signals of the respective sets of phase-error signals is within a predetermined threshold.
15. The apparatus of claim 14, wherein the measurement controller is further configured to determine an offset correction value between the updated decision threshold of the spare sampler and the initialized decision threshold of the spare sampler.
16. The apparatus of claim 15, wherein the measurement controller is configured to update the decision threshold of the data sampler based on the offset correction value.
17. The apparatus of claim 11, wherein the measurement controller is configured to update the decision threshold of the data sampler by a single step in a direction determined by the offset correction value.
18. The apparatus of claim 11, wherein the accumulator is configured to compare phase-error signals in the respective sets of phase-error signals that are obtained at corresponding sampling instants to accumulate differences between the respective sets of phase-error signals.
19. The apparatus of claim 11, wherein the accumulator comprises a register configured to maintain the accumulation of differences between the respective sets of phase-error signals.
20. The apparatus of claim 19, wherein the register is configured to update a least significant bit (LSB) responsive to a determination of a difference between a pair of phase-error signals selected from the respective sets of phase-error signals.
Description
BRIEF DESCRIPTION OF FIGURES
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) In recent years, the signaling rate of high-speed communications systems have reached speeds of tens of gigabits per second, with individual data unit intervals measured in picoseconds. One example of such a system is given by [Shokrollahi], which describes use of vector signaling codes over extremely high bandwidth multiwire data communications links, such as between two integrated circuit devices in a system. Depending on the particular coding scheme used, the number of channels comprising such a communications link may range from two to eight or more, and may also communicate one or more clock signals, either within data channels or on separate communications channels.
(9) In one embodiment utilizing a vector signaling code, multiple bits of data are encoded at the transmitter into a vector signaling “codeword”, i.e. a set of symbols to be transmitted essentially simultaneously over the multiple wires or channels of the communication medium. As each such wire or channel may take on more than two possible values, each symbol of the codeword is drawn from an alphabet of allowable signal values; in examples of [Shokrollahi], alphabets of four and ten values are used in encodings of five data bits into six symbol codewords. In the receiver, the multilevel wire signals are detected to determine the received codeword, which is then decoded (e.g. by a mapping table lookup) into received data.
(10) In an alternative embodiment, it is noted that each vector signaling codeword is a superposition of “subchannel” components, each such subchannel being an orthogonal mode or pattern of modulation of the wires or channels. Thus, in the example of [Shokrollahi], five subchannels may be summed to produce the transmitted signals, each subchannel modulated by one of the five transmitted data bits. Similarly, a vector signaling code receiver may directly detect the combination of received wire signals corresponding to a particular subchannel, as one example by using a multi-input comparator (MIC) performing a weighted summation of two or more wire signals correlated with the orthogonal mode of that subchannel, and directly producing one bit of received data. In the example of [Shokrollahi], full decoding of five data bits is shown using a set of MICs combining from two to six wire signals. As codeword and subchannel processing models are fully equivalent, interoperation is assured regardless of the particular encoding and decoding model used, e.g. allowing combination of a codeword transmitter with a MIC-based subchannel receiver based on the same orthogonal vector signaling code.
(11) As previously mentioned, wire signals in an orthogonal vector signaling code system may take on multiple distinct values, while detected subchannel results (as one example, the results of weighted summation as at the output of a MIC) are typically binary, thus receive processing functions such as ISI reduction and skew correction may be performed more efficiently on the simpler subchannel signals rather than on the more complex wire signals.
(12) Conventional practice for a high-speed integrated circuit receiver terminates each received signal channel, subchannel, or wire signal in a sampling device. This sampling device performs a measurement constrained in both time and amplitude dimensions; in one example embodiment, it may be composed of a sample-and-hold circuit that constrains the time interval being measured, followed by a threshold detector or digital comparator that determines whether the signal within that interval falls above or below (or in some embodiments, within bounds set by) a reference value. Alternatively, a digital comparator may determine the signal amplitude followed by a clocked digital flip-flop capturing the result at a selected time. In other embodiments, a combined time- and amplitude-sampling circuit is used, sampling the amplitude state of its input in response to a clock transition. In some embodiments, the time at which a sample is captured may be adjusted in some or all of the receiver samplers; in some embodiments, the threshold level to which a sample is compared may be adjusted, in some or all of the receiver samplers.
(13) For descriptive convenience, this document will use the term sampling device, or more simply “sampler” to describe the receiver component that obtains an input measurement, as it implies both the time and amplitude measurement constraints, rather than the equivalent but less descriptive term “slicer” also used in the art. In some embodiments, the time at which a sample is captured may be adjusted in some or all of the receiver samplers; in some embodiments, the threshold level to which a sample is compared may be adjusted in some or all of the receiver samplers. As one example, the well-known receiver “eye plot” diagram is typically obtained by iterative adjustment of these parameters, with the results plotted graphically as signal amplitudes over time.
(14) Embodiments described herein can also be applied to prior art permutation sorting methods not covered by the vector processing methods of [Shokrollahi]. More generally, embodiments may apply to any communication or storage methods, in particular those requiring coordination of multiple channels or elements of the channel to produce a coherent aggregate result.
(15) Clock Data Recovery
(16) Clock Data Recovery or Clock Data Alignment (CDR or CDA) circuits as in [Hormati] extract timing information, either from the data lines themselves or from dedicated clock signal inputs, and utilizing that extracted information to generate clock signals to control the time interval used by received signal sampling device. The actual clock extraction may be performed using well known circuits such as a Phase Locked Loop (PLL) or Delay Locked Loop (DLL), which in their operation may also generate higher frequency internal clocks, multiple clock phases, etc. in support of receiver operation. Implementation distinctions between CDR and CDA embodiments as described in the art are irrelevant to the present descriptions, thus the term CDA will subsequently be used herein as a generic identifier, without implying limitation.
(17) In one common CDA embodiment, a first sample time is configured to optimally obtain the data sample, and a second sample time is configured to optimally determine whether the phase of the internal clock remains aligned with incoming signal transitions, which may be as much as ½ of a received signal unit interval (UI) offset in time from the optimum data sampling time. As sampling in such embodiments occurs twice per received unit interval, such systems are described as utilizing a double baud rate CDA. Such systems are very common in low speed communications system or where the received signal exhibits very sharp transitions, i.e. where there is significant displacement in time between observation of a signal transition and optimum sampling of data.
(18) Receive Signal Equalization
(19) At high data rates, even relatively short and high-quality communications channels exhibit considerable frequency-dependent signal loss, thus it is common for data receivers to incorporate receive signal equalization. Continuous-time Linear Equalization (CTLE) is commonly used to provide increased high frequency gain in the receive signal path, in compensation for the increased high frequency attenuation of the channel.
(20) It has also become common practice for data communications receivers to incorporate Decision Feedback Equalization (DFE) to compensate for signal propagation anomalies in the communications medium. The DFE system performs non-linear time-domain equalization on the received signal by maintaining a history of previously-received data values at the receiver, and processing those historic data values with a transmission line model to predict the expected influence each of the historical data values would have on the present receive signal. Such a transmission line model may be pre-calculated, derived by measurement, or generated heuristically, and may encompass the effects of one or more than one previous data interval.
(21) In a typical receiver design, this computed DFE compensation value will be subtracted from the current receive signal input to produce a corrected signal more accurately representing the received data value. Those familiar with the art will recognize that the DFE compensation value produced as described above cannot be calculated until the previous unit interval's data value has been detected. Thus, as data rates increase, a point will be reached at which the information to produce the DFE compensation value is not available in time to be applied to the next unit interval sampling. Indeed, at the highest data rates currently used in practice, this situation may exist for multiple previous unit intervals, as the detection time for a single data value may represent multiple unit interval durations, requiring the receiver to pipeline or parallelize the detection operation. Thus, it is common for embodiments to forgo such “closed loop” DFE methods for one or more of the most recent unit intervals, instead relying on an “open loop” or “unrolled loop” generation of one or more elements of the DFE compensation value for these most recent unit intervals.
(22) In an effort to accelerate such DFE operation, some embodiments speculatively produce DFE compensation values corresponding to each of the possible detected data values for a given unit interval. One embodiment incorporates multiple data detection samplers, each provided with a distinct value of DFE compensation associated with the possible detected data values for one or more previous unit intervals. The result of each sampler is stored until the previous data value is known, at which time the corresponding stored result is selected for data detection.
(23) The set of DFE compensation values speculatively created to represent the constellation of potential detected data results over the previous transmit unit interval or intervals represent a set of measurement levels spanning some portion of the receive signal amplitude range. As an example, previous transmission of consecutive “zero” signals might lead to a predicted lower threshold level for a subsequent receiver data measurement incorporating speculative DFE compensation, while previous transmission of consecutive “one” signals might lead to a predicted higher threshold level for the same data measurement. Thus, for any data measurement used to detect an actual data value, the described multiple-sampler receiver will potentially perform measurement operations using thresholds either too high or too low for the actual signal during that interval.
(24) CDA Combined with DFE
(25) In high speed communications systems operating over channels with significant frequency-dependent attenuation, received signals often have significantly sloped rise and fall times, even after receive signal equalization. Thus, a signal sampler timed to trigger at “center of eye” may under some circumstances still intersect with a signal transition still transitioning from one data value to the next, especially if that received signal is significantly perturbed by ISI. One such example may be seen in
(26) In such environments, it is possible to utilize a single sample time per received unit interval to determine both data value and clock phase. These baud-rate CDA embodiments rely on the observation that certain combinations of received ISI and detection sampling threshold have sub-optimal data sampling characteristics; that is, they have a high probability of intersecting with a changing input signal having a slow rise and fall time. Thus, by controlling the receive equalization to constrain transition rates, and then restricting observation of clock timing to only those sampling thresholds and received data patterns (which correlate to particular ISI levels) that provide such intersections, a single sampling time may be utilized for both clock and data sampling.
(27) At least one embodiment [Hormati] takes advantage of this effect to utilize measurement operations from multiple samplers or comparators performing speculative DFE operations. In this embodiment, a stored speculative result not used for determining the received data value (that is, measured at a signal offset above or below the appropriate DFE correction for that interval, but at the same time as the valid data sample) may provide information relating to clock recovery.
(28) Operational Considerations
(29) As may be expected, obtaining this advantageous interaction between received signal quality, equalization levels, sampling levels, and clock timing can require careful configuration of receive system parameters, as well as ongoing operational monitoring and adjustment. Moreover, as each of these parameters affects received signal quality, adjustment during receiver operation must be performed in a manner that, in both information measurement and in change to configuration or operational parameters, does not impact normal signal reception.
(30) As a descriptive simplification, this document will hereinafter use the term “intrusive” to describe a system measurement, adjustment, or configuration change during normal operation that will or potentially may disrupt normal receiver operation or lead to detection of incorrect data values from a given signal source. Conversely, the term “non-intrusive” will describe a system measurement, adjustment, or configuration change during normal operation that may be performed without disrupting normal reception of correct data values from that signal source.
(31) It may be costly in terms of circuit complexity and power consumption to provide accurate or real-time data about key parameters such as received signal levels. In practical embodiments, a signal sampler does not record the actual amplitude of its input, only an indication that at the time it was triggered the input value was above or below its threshold level. Thus, some embodiments may employ a spare sampler operating outside of the data signal processing path to measure the “top” or “bottom” of a signal eye by incrementally adjusting the decision threshold up or down until invalid data is produced at its output, as compared to data received by the data sampler operating in the data signal processing path. Similarly, the spare sampler may measure the “width” of the eye opening by incrementally advancing and postponing a variable-phase measurement clock from e.g., a phase interpolator, while comparing the sampled result to data decisions generated by the data sampler.
(32) Additionally, complicating these operational concerns, significant elements in most system embodiments incorporate analog processing functions that have stability issues, in particular the sampling device itself. As component parameters such as transistor gain and threshold voltage change with temperature and variations in supply voltage, the sampling device's threshold level and the amplitude and baseline voltage of the signal it measures may drift, requiring periodic calibration and adjustment. Moreover, process variations across an integrated circuit device may result in different samplers having different characteristics, in particular different threshold voltages and thus different sampling thresholds. Thus, some solutions incorporate redundant analog processing elements, allowing one set of elements to be switched out of the data signal processing path to be calibrated or adjusted, while another set is switched into the data signal processing path to actively process receive data. Although non-intrusive, significant duplication of power-hungry circuits such as analog amplifiers, comparators, and samplers may lead to unacceptable system power consumption, and replacing samplers and redirecting DFE feedback may prove to be practically difficult. Thus solutions that avoid sampler replacement.
Example Embodiment
(33) For purposes of description and without implying limitation, a serial data receiver as shown in
(34) In some embodiments, an apparatus includes two comparators 120 configured to generate two comparator outputs, the two comparators configured to compare a received data signal to a first threshold as at comparator 121 and a second threshold as at comparator 122, according to a sampling clock, the first and second thresholds determined by an estimated amount of inter-symbol interference on a multi-wire bus. In some embodiments, the first and second thresholds correspond to decision feedback equalization (DFE) correction values associated with the preceding unit interval. The apparatus may further include a data decision selection circuit 130 configured to select one of the two comparator outputs as a data decision, the selection based on at least one prior data decision that may be stored in data value history 140. Multiplexer 130 may select the output of comparator 121 as the data decision if the previously received bit stored in data history 140 is a logic ‘1’, while the output of comparator 122 is selected as the data decision if the previously received bit is a logic ‘0’. The apparatus further includes a phase-error indication selection circuit 160 configured to select the other output of the two comparator outputs as a phase-error signal in response to receiving a CDR selection signal from a pattern detection circuit 155 configured to identify a predetermined data decision pattern in the data value history storage 140.
(35) In some embodiments, one or more spare samplers 180 provide additional measurement capability. While
(36) In some embodiments, the apparatus further includes a receiver clock system 170 configured to receive the phase-error signal and to responsively adjust a phase of the sampling clock. In some embodiments, the phase-error indication is an early/late logic decision on a transition of the received signal. In some embodiments, the data decision selection circuit 130 and phase-error indication circuit 160 select different comparator outputs. In some embodiments, the apparatus further includes a decision-feedback equalization (DFE) circuit 150 configured to generate the first and second thresholds.
(37) In some embodiments, the apparatus further includes a sub-channel detection multi-input comparator (MIC, not shown) operating on signals received via a plurality of wires, the sub-channel detection MIC configured to generate the received data input signal. In such embodiments, the signals received via the plurality of wires correspond to symbols of a codeword of a vector signaling code, the codeword corresponding to a weighted summation of a plurality of sub-channel vectors, each sub-channel vector mutually orthogonal. In such an embodiment, the inter-symbol interference is sub-channel specific, the sub-channel specific ISI corresponding to modulation of components of a corresponding sub-channel vector associated with the received signal. In some embodiments, sub-channel specific ISI associated with each sub-channel vector is mutually orthogonal. In some embodiments, the apparatus may further include a filter configured to filter the received signal prior to generating the comparator outputs.
(38) In some embodiments, at least the data samplers 120 of
(39)
(40) In
(41) The upper DFE sampler location selected by a DFE system to detect the current data value if the previous data value was “1” is shown with the black symbol + labeled “+VH1”. It may be noted that this sampler location is well positioned in the center of the upper data eye, but also is directly over the trajectory of a [0,1,1] received signal (the current data value of which will be detected by the lower sampler location, as determined by the previous data value of “0”.) Thus, the sampler having the decision threshold set to “−VH1” (indicated by the white + symbol), effectively corresponds to an edge sample that may be utilized by the CDR system to determine whether the sampler timing is early or late relative to that signal transition. Use of sampler outputs as early-late indications causes the sampling clock to have a lock point associated with the DFE correction factors ±VH1, as the CDR will adjust the phase of the sampling clock until the early-late indications selected from the data samplers responsive to the transition data patterns are approximately a 1:1 ratio.
(42) In some embodiments, the signals shown in
(43) Dynamic Data Sampler Decision Threshold Adjustment
(44) As previously mentioned, reliable and error-free detection of received data signals may include accurate adjustment of a data sampler threshold at a predetermined time and amplitude position within the receive signal “eye”. Drift of that predetermined sampler vs. signal relationship over time, temperature, or supply voltage can lead to an increased receive bit error rate, and ultimately detection failure.
(45) One known solution calibrates and adjusts a spare sampler offline (i.e. in a nonintrusive manner) and then exchanges that preconfigured unit with the active data sampler, freeing it to be calibrated and adjusted. In such a system, switching circuitry must be provided to all signals entering, controlling, and output by the samplers so that they may be directed as required to either data path or calibration functions.
(46) To avoid use of such switching circuitry, one embodiment performs measurements using a spare sampler operating outside of a data signal processing path, and then uses information obtained through such measurements to adjust operation of the data samplers operating in the data signal processing path in a nonintrusive manner. As the spare sampler is not part of the active data signal processing path, threshold levels and clock timing may be adjusted without impacting received data, allowing identification of both the extremes of normal operation (i.e. the boundaries of the received “eye” opening). In some embodiments, such adjustments to the spare sampler are comparable to those used to obtain the statistical data required to plot an eye diagram, and thus may subsequently be referred to as an eye sampler hereinafter, without implying limitation.
(47) As both DFE compensation and data sampling thresholds are dependent on overall eye height, the measurement procedure may include determining a vertical eye opening of the data signal using the normal data sampling clock timing and an initial center-of-eye threshold value approximating the center-of-eye value. In one particular example, the spare sampler decision threshold is increased until the spare sampler decisions differ from the data decisions reported by the data sampler by some predetermined ratio to find the top of the eye opening, and lowered until the spare sampler decisions again differ from the data decisions reported by the data sampler by the predetermined ratio to find the bottom of the eye. For example, the spare sampler decision threshold may be raised until the spare sampler reports one ‘1’ output for every eight ‘0’ outputs, resulting in a 1:8 ratio. The ratio may be selected as a degree of accuracy. The center-of-eye value thus corresponds to the midpoint between the determined top-of-eye value and bottom-of-eye value. In some embodiments having significant ISI (i.e. requiring substantial DFE compensation for proper data reception) comparisons between eye data results and data sampler results when determining top and bottom of the eye are gated to occur only for certain received data patterns, such as [1, 1, 1] and [0, 0, 0]. In some embodiments, a predetermined threshold of positive vs. negative data comparisons, i.e. a ratiometric limit, is used when determining whether results do or do not match.
(48) Although some embodiments may perform results capture and analysis in real time, other embodiments may simply record sampler results, with results comparison, pattern matching, etc. being performed on this historic or stored information. Embodiments may use Boolean logic, a finite state machine, or software executing on an embedded processor or management system to perform these operations.
(49) It should be noted that this method of measurement does not produce a calibrated result, e.g. an absolute numeric value for eye opening in millivolts. Instead, the result will typically be obtained in units associated with the internal threshold adjustment means, for example, the values (in arbitrary internal units) that are input to a digital-to-analog converter (DAC) generating the analog sampler threshold levels. As the DAC is not calibrated against an external reference and the sampler is known to have a (variable and unmeasured) offset, the resulting eye opening values are relative, not absolute. That said, because the described measurement results do include the sampler offset, settings derived from those results produce consistent results when applied to setting the threshold of the same eye sampler.
(50) Once the vertical eye opening has been determined, appropriate sampling threshold levels for data detection may be determined. In a receiver system using one level of DFE speculation as shown in the example of
(51) The vertical decision threshold level for the spare sampler, having been initialized according to the previously-determined center-of-eye value and the DFE correction factor associated with the data sampler selected for calibration, may provide decisions that differ from that of the data sampler, indicating that data reception may be improved. At least one embodiment incrementally modifies the decision threshold value currently in use by the data sampler based on the decisions obtained from the spare sampler, as decision from the spare sampler are assumed to be correct due to calibration of the vertical decision threshold according to a true center-of-eye value. In one example, the decision threshold of the data sampler is increased or decreased by a unit increment. If more significant changes are indicated, an intermediary conversion step may be performed, as the determined parameters for the spare sampler typically cannot be directly applied to the data samplers due to the previously described differences in circuit behavior, one example being the internal sampler offset.
(52) In one embodiment, a second measurement procedure is performed which incrementally adjusts the spare sampler decision threshold away from the initialized decision threshold, until the decisions generated from the spare sampler behavior match the decisions from the data sampler. In one particular embodiment, the procedure analyzes decisions that correspond to phase-error signals as determined by a pattern detection circuit. The amount of incremental adjustment made to the decision threshold of the spare sampler from the initialized decision threshold to a decision threshold that approximates the behavior of the data sampler corresponds to an offset correction representative of the amount of incremental adjustment that may be applied in the opposite direction to the presently configured decision threshold of the data sampler to produce an improved data detection result. Application of the adjustment may be applied via numerous ways, including applying the entire differential adjustment, applying a portion of the differential adjustment, applying multiple portions of the adjustment applied incrementally over time, or applying a single incremental adjustment followed by a repetition of the entire measurement procedure.
(53) As described above, determining differences in sampler behavior may include a more sensitive procedure than merely comparing sampled data outputs. Reviewing
(54) An embodiment monitors edge samples obtained from a the spare sampler in comparison with edge samples obtained at the same unit sampling instant from the data sampler, where edge samples are gated or chosen using pattern matching of sequential received data values, and the edge sample results are obtained from the loop-unrolled DFE samplers not providing a data value in that unit interval, as previously described. In one embodiment, differences in edge sample values (for example, as determined by an XOR operation,) identify different sampler behavior, with the signs of the edge samples and the value of the gating data pattern indicating the direction of the differences.
(55)
(56) As described above, logic AND gate 404 in
(57) Gates 403, 415, 416, and 407 perform similar functions as logic gates 404, 405, 406, and 408 described above, respectively, for the −H1 data sampler to generate count enable signal c_en_−H1 and early-late signal −H1CU/CD. Table I below is a truth table showing the relationship of the detected data patterns to the decisions from the data sampler, and the early/late direction of the differences:
(58) TABLE-US-00001 TABLE I Pattern [0, 1, 1] [1, 0, 0] (+H1) (−H1) Edge_DS 0 early late Late = ‘0’ = Count Down 1 late early Early = ‘1’ = Count Up
(59)
(60) While the embodiment of
(61) While the above embodiments describe updating the decision thresholds of the spare sampler and/or the data sampler responsive to the comparisons of the phase-error signals, it should be noted that at least one alternative embodiment updates the sampling instant of the spare sampler using a sampling clock provided by e.g., a phase interpolator. Such an embodiment may provide horizontal adjustments of the spare sampler based on the comparisons of the phase-error signals. As shown in
(62) In some embodiments, the spare sampler 504 is used as described above to identify offset corrections to be applied to the +VH1 and −VH1 data samplers separately prior to updating the vertical decision thresholds of the data samplers. After offset corrections are determined for both data samplers, the vertical decision thresholds of both data samplers are updated simultaneously. In some embodiments, the vertical decision thresholds of both data samplers may be updated by a single unit step in a direction identified by the offset corrections. Alternative embodiments may increment the vertical decision thresholds of the data samplers in a direction and magnitude identified by the offset corrections.
(63)
(64) Some embodiments may include updating the decision threshold of the spare sampler responsive to the accumulation of differences in phase-error signals of the respective sets of phase-error signals prior to the updating of the data sampler. In some such embodiments, the decision threshold of the spare sampler is updated until the accumulation of differences in phase-error signals of the respective sets of phase-error signals is within a threshold, e.g., the number of differences in phase-error signals is below a predetermined percentage threshold for a given number of phase-error signals. In some embodiments, the method 600 further includes determining an offset correction value between the updated decision threshold of the spare sampler and the initialized decision threshold of the spare sampler. The decision threshold of the data sampler may then be updated using the determined offset correction value. In some embodiments, the decision threshold of the data sampler is updated by a single step in a direction determined by the offset correction value, while alternative embodiments may update the decision threshold of the data sampler is updated in a direction and magnitude determined by the offset correction value.
(65) In some embodiments, the method 600 includes comparing the respective sets of phase-error signals to determine the accumulation of differences between the respective sets of phase-error signals. Such comparisons may be formed e.g., using logical XOR gates.
(66) The differences between the respective sets of phase-error signals may be accumulated in a register. In some such embodiments, an LSB is updated in the register responsive to a determination of a difference between a pair of phase-error signals, each phase-error signal of the pair of phase-error signals selected from one of the respective sets of phase-error signals. The LSB may be updated in a direction determined by one phase-error signal in the pair of phase-error signals. In some embodiments, a set of higher-order MSBs of the register control the decision threshold of the spare sampler, and thus changes in the set of MSBs as a result of an imbalance of votes in the LSB cause the decision threshold of the spare sampler to change over time. A number of register positions separating the set of MSBs from the LSB may act as a low-pass filter such that the MSBs are gradually changed according to a larger number of updates to the LSB. While some embodiments may control the decision threshold of the spare sampler using the set of MSBs, it should be noted that alternative embodiments use the set of most significant bits (MSBs) of the register to directly control the decision threshold of the data sampler.
(67) In some embodiments, each phase-error signal in each of the respective sets of phase-error signals is determined based on (i) a sample of the data signal and (ii) the predetermined data pattern.
(68) In some embodiments, a method includes correct eye-scope offsets destructively first by measuring the top and the bottom of the eye of the data signal using the spare sampler and centering the decision threshold of the spare sampler vertically. Subsequently the decision threshold of the spare samplers in each sub-channel may be set equal to the +H1 value currently selected for that sub-channel. For each sub-channel, the decision threshold of the spare sampler is aligned in each phase with the corresponding data sampler by balancing the early-late votes between the two samplers. Balancing the early-late votes may be performed using an accumulation circuit, e.g., a counting register. Once the early-late votes are balanced, the decision threshold of the data samplers is equal to the decision threshold of the spare sampler and therefore, the decision threshold of the data sampler is calculated by subtracting the +H1 value from the offset of the spare sampler.
(69) Subsequently the decision threshold of the spare samplers in each sub-channel are set equal to the −H1 value currently selected for that sub-channel, and for each sub-channel, the decision threshold of the spare sampler offset in each phase is aligned with the corresponding data sampler by again balancing the early-late votes between the two samplers to determine a correction offset of the spare sampler with respect to the data sampler. Once the correction offsets for both the +H1 and −H1 data samplers are known, the decision thresholds of the data samplers are updated together. In some embodiments, the update may be one step in a direction determined by the correction offsets, while alternative embodiments may include a magnitude component in the update.