EP1629622A2 - Margin test methods and circuits - Google Patents

Margin test methods and circuits

Info

Publication number
EP1629622A2
EP1629622A2 EP04752834A EP04752834A EP1629622A2 EP 1629622 A2 EP1629622 A2 EP 1629622A2 EP 04752834 A EP04752834 A EP 04752834A EP 04752834 A EP04752834 A EP 04752834A EP 1629622 A2 EP1629622 A2 EP 1629622A2
Authority
EP
European Patent Office
Prior art keywords
data
circuit
sampler
clock
sampled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP04752834A
Other languages
German (de)
French (fr)
Inventor
Bruno W. Garlepp
Fred F. Chen
Andrew Ho
Vladimir Stojanovic
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rambus Inc
Original Assignee
Rambus Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US10/441,461 external-priority patent/US7408981B2/en
Priority claimed from US10/815,604 external-priority patent/US7627029B2/en
Priority claimed from US10/849,264 external-priority patent/US7336749B2/en
Application filed by Rambus Inc filed Critical Rambus Inc
Priority to EP09167569A priority Critical patent/EP2148461A2/en
Publication of EP1629622A2 publication Critical patent/EP1629622A2/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
    • H04L25/03006Arrangements for removing intersymbol interference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • H04L1/241Testing correct operation using pseudo-errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/24Testing correct operation
    • H04L1/242Testing correct operation by comparing a transmitted test signal with a locally generated replica

Definitions

  • ISI symbol interference
  • Figure 1 depicts a conventional receiver 100, which is used here to illustrate the ISI problem and a corresponding solution.
  • Receiver 100 includes a data sampler 105 and a feedback circuit 110.
  • Sampler 105 includes a differential amplifier 115 connected to a decision circuit 120.
  • Decision circuit 120 periodically determines the probable value of signal Din and, based on this determination, produces a corresponding output signal Dout.
  • Sampler 105 determines the probable value of signal Din by comparing the input signal Din to a voltage reference Vref at a precise instant.
  • Vref voltage reference
  • the effects of ISI depend partly on the transmitted data pattern, so the voltage level used to express a given logic level varies with historical data patterns. For example, a series of logic zero signals followed by a logic one signal produces different ISI effects than a series of alternating ones and zeroes.
  • Feedback circuit 110 addresses this problem using a technique known as Decision Feedback Equalization (DFE) , which produces a corrective feedback signal that is a function of received historical data patterns .
  • DFE Decision Feedback Equalization
  • DFE feedback circuit 110 includes a shift register 125 connected to the inverting input of amplifier 115 via a resistor ladder circuit 130.
  • receiver 100 receives a series of data symbols on an input terminal Din, the non-inverting input terminal of amplifier 115.
  • the resulting output data Dout from sampler 105 is fed back to shift register 125, which stores the prior three output data bits.
  • Din and Dout refer to both signals and their corresponding nodes; whether a given designation refers to a signal or a node will be clear from the context.
  • Shift register 125 includes a number of delay elements, three flip-flops D1-D3 in this example, that apply historical data bits to the reference voltage side of the differential amplifier 115 via respective resistors Rl, R2, and R3.
  • the value of each resistor is selected to provide appropriate weight for the expected effect of the corresponding historical bit.
  • the value of resistor R3 is high relative to the value of resistor Rl because the effect of the older data (D3) is assumed to be smaller than the effect of the newer data (Dl) .
  • the resistance of resistor R2 is between the resistors Rl and R3.
  • Receiver 100 includes a relatively simple DFE circuit for ease of illustration: practical DFE circuits may sample more or fewer historical data values. For a more detailed discussion of a number of receivers and DFE circuits, see U.S. Patent No. 6,493,394 to Tamura et al., issued December 10, 2002, which is incorporated herein by reference.
  • FIG. 2 depicts a fictional eye pattern 200 representing binary input data to a conventional receiver. Eye pattern 200 is graphed in two dimensions, voltage V and time T. The area of eye 205 represents a range of reference voltages and timing parameters within which the data represented by eye 205 will be captured.
  • FIGS 3A through 3C depict three signal eyes 300, 305, and 310 illustrating the effects of DFE on margins and margin testing.
  • eye 300 approximates the shape of eye 205 of Figure 2 and represents the margin of an illustrative receiver in the absence of DFE.
  • Figure 3B represents the expanded margin of the same illustrative receiver adapted to include DFE: the DFE reduces the receiver's ISI, and so extends the margins beyond the boundaries of eye 300.
  • Increasing the margins advantageously reduces noise sensitivity and improves bit error rates (BER) .
  • BER bit error rates
  • In-system margin tests for a receiver are performed by monitoring receiver output data (e.g., Dout in Figure 1) while varying the reference voltage and sample timing applied to the input waveform Din. With reference to Figure 2, such testing samples various combinations of voltage and time to probe the boundaries of eye 205, the boundaries being indicated when the output data does not match the input data. Margin tests thus require the receipt of erroneous data to identify signal margins.
  • Zerbe et al. detail a number of margin tests in "Method and Apparatus for Evaluating and Optimizing a Signaling System," U.S. Patent Application Serial No. 09/776,550, which is incorporated herein by reference.
  • a particular difficulty arises when determining the margins of DFE-equipped receivers.
  • the present disclosure is directed to methods and circuits for margin testing high-speed receivers.
  • Some embodiments equipped with Decision Feedback Equalization (DFE) or other forms of feedback that employ historical data to reduce inter-symbol interference (ISI) perform margin tests using a known input data stream.
  • the receiver injects a copy of the known input data stream (i.e., the "expected data") into the feedback path irrespective of whether the receiver correctly interprets the input data.
  • the margins are therefore maintained in the presence of receiver errors, allowing in-system margin tests to probe the margin boundaries without collapsing the margin.
  • Receivers in accordance with some embodiments include local sources of expected data.
  • One embodiment generates sh oo plots graphically depicting the results of margin tests.
  • Some embodiments filter error data to facilitate pattern-specific margin testing.
  • margining circuits and methods described herein rely upon probabilistic sampled data to explore the margin characteristics of received data.
  • a margining circuit samples an incoming data stream N times at each of many data points. Each data point represents a unique sample voltage, a unique sample timing, or a unique combination of sample voltage and sample timing in relation to the incoming data.
  • the number of ones sampled at a particular point is a measure of the ones density, or ones probability, for that sample point in V/T space.
  • the ones probabilities for the collection of unique sample points are then analyzed to measure various aspects of the received data stream, including the receiver margin.
  • Figure 1 depicts a conventional digital receiver 100.
  • Figure 2 depicts a fictional eye pattern 200 representing binary input data to a conventional receiver.
  • Figures 3A through 3C depict three signal eyes 300, 305, and 310 illustrating the effects of DFE on margins and margin testing.
  • Figure 4 depicts a communication system 400, including a conventional transmitter 402 connected to a DFE- equipped receiver 403 adapted in accordance with one embodiment .
  • Figure 5 depicts a DFE-equipped receiver 500 adapted in accordance with an embodiment to include improved means of margin testing.
  • Figure 6 depicts a receiver 600 in accordance with another embodiment.
  • Figure 7 depicts a receiver 700 in accordance with yet another embodiment.
  • Figure 8 depicts an embodiment of a buffer 800, which may be used as one of amplifiers 745 in weighting circuit 735 of Figure 7.
  • Figure 9 depicts a receiver 900 in accordance with another embodiment.
  • Figure 10A depicts a receiver 1000, a simplified version of receiver 900 of Figure 9 used to illustrate margin mapping in accordance with one embodiment.
  • Figure 10B is a diagram illustrating the relationship between each of samplers 1005 and 1010 of Figure 10A and a data eye 1030.
  • Figure 10C depicts a shmoo plot 1050 graphically depicting an illustrative margin test in accordance with one embodiment .
  • Figure 11 details an embodiment of shmoo circuit 1025 of Figure 10A.
  • Figure 12 details a receiver 1200 in accordance with another embodiment adapted to accommodate margin shmooing.
  • Figure 13 depicts a receiver 1300 that supports error filtering in accordance with another embodiment.
  • Figure 14 depicts a receiver 1400 adapted to perform margin testing in accordance with another embodiment . '
  • Figure 15 depicts an eye diagram 1500 used to illustrate the functionality of receiver 1400 of Figure 14.
  • Figure 16 is a table 1600 depicting a hypothetical collection of data sampling points, the vertical axis plotting a range of fifteen sample voltages Vref [0:14] and the horizontal axis plotting a range of sample timing instants T[0:14] .
  • Figure 17 is a table 1700 depicting the same data as table 1600 of Figure 16 in a format that emphasizes how the data expresses a signal eye.
  • Figure 18 is yet another table, this one labeled
  • Figure 19 depicts a system 1900 that includes a receiver 1905 and a margining circuit 1910 in accordance with another embodiment .
  • Figure 20 depicts a margining circuit 2000 used in place of margining circuit 1410 of Figure 14 in another embodiment .
  • Figure 21 is a flowchart ' 2100 illustrating the functionality of margining circuit 2000 of Figure 20 in accordance with one embodiment.
  • Figure 22 is an eye diagram 2200 illustrative of a
  • 4-PAM signal is included here to show that the methods and circuits described herein are applicable to different signaling schemes.
  • Figure 23A schematically depicts a conventional differential amplifier 2300 with substantially linear voltage-threshold control.
  • Figure 23B (prior art) is a waveform diagram illustrating the effect of voltage-threshold adjustments on differential amplifier 2300 of Figure 23A.
  • FIG. 4 depicts a communication system 400, including a conventional transmitter 402 connected to a receiver (receive circuit) 403 equipped with Decision Feedback Equalization (DFE) .
  • DFE Decision Feedback Equalization
  • receiver 403 samples an input data stream from transmitter 402.
  • the sampled data provides DFE feedback to reduce intersymbol interference (ISI) .
  • ISI intersymbol interference
  • receiver 403 samples a known input data stream using ranges of sample timing and reference voltages. To prevent a collapse of the margins, the DFE feedback path disregards the potentially erroneous sampled data in favor of an identical version of the known input data stream. In-system margin tests can therefore probe the margin without collapsing the margin limits.
  • Receiver 403 conventionally includes a sampler 405, an optional clock-and-data recovery (CDR) circuit 410, and a DFE circuit 415.
  • CDR clock-and-data recovery
  • receiver 403 receives a data stream (e.g., a series of data symbols) on sampler input terminal Din.
  • Sampler 405 samples the data stream using a recovered clock RCK from CDR circuit 410 and produces the resulting sampled data stream on a sampler output terminal Dout.
  • DFE circuit 415 stores a plurality of prior data samples and uses these to condition the input data in the manner discussed above in connection with Figure 1.
  • receiver 403 includes a multiplexer 420, an expected-data source 425, and some comparison logic 430, in this case an exclusive OR
  • a test control signal T to multiplexer 420 is set to a logic zero to connect the output data Dout to the input of DFE 415.
  • receiver 403 acts as a conventional DFE-equipped receiver.
  • select signal T is set to a logic one so as to convey an expected data stream from data source 425 to the input of DFE 415.
  • Transmitter 402 then supplies known test data on terminal Din while the expected data is applied to DFE 415.
  • the expected data is an identical, time-shifted version of the known data applied to input terminal Din, so DFE 415 produces the correct feedback without regard to the output signal Dout.
  • multiplexer 420 provides the feedback path with a first input terminal for sampled output data in the operational mode and with a second input terminal for expected data in the margin-test mode.
  • terminal Din As opposed to the plural form “terminals,” is for brevity.
  • Receivers may include more than one data-input terminal, such as those that rely upon differential signaling.
  • other clock, reference, and signal paths noted herein can be single-ended, differential, etc., as will be evident to those of skill in the art.
  • the preferred manner in which particular test circuits and methods are adapted for use with a given receiver will depend, in part, on the receiver architecture.
  • a voltage control signal CV on a like-named sampler input terminal alters the reference voltage used by sampler 405 to sample input data.
  • a clock control signal CC to CDR circuit 410 modifies the timing of recovered clock signal RCK.
  • Control signals CV and CC are used in margin testing to explore the voltage and timing margins of receiver 403.
  • expected-data source 425 continues to provide the correct DFE feedback signal and consequently prevents the margins from collapsing in response to the errors.
  • Comparison circuit 430 monitors the sampled-data series for errors by comparing the output data with the expected data from expected-data source 425. In the event of a mismatch, comparison circuit 430 produces a logic one error signal ERR.
  • a sequential storage element captures any error signal.
  • Receiver 403 thus facilitates margin testing of DFE-equipped receivers without collapsing the margin of interest. (Error signal ERR may or may not be monitored in the operational mode.)
  • Expected-data source 425 produces the same data as expected on input terminal Din.
  • Source 425 can be a register in which is previously stored a known data pattern to be provided during margin testing.
  • Source 425 might also be a register that goes through an expected sequence of data, such as a counter or a linear-feedback shift register (LFSR) . Regardless of the source, the expected data presents the expected output data, appropriately timed, to the input of the feedback circuit DFE 415.
  • Figure 5 depicts a receiver circuit 500 in accordance with another embodiment. Receiver 500 is similar in some ways to receiver 403 of Figure 4, like-numbered elements being the same.
  • Receiver 500 is extended to include a second sampler 505 that is substantially identical to, and consequently mimics the behavior of, sampler 405.
  • the margin tests are performed on replica sampler 505 so that margin-testing circuitry has little or no impact on the performance of receiver 500 in the operational mode.
  • Receiver 500 includes a multiplexer 510 connected to a shift register 515.
  • a modified clock and data recovery circuit CDR 520 controls the timing of both samplers 505 and 405. The timing control terminal is omitted for brevity.
  • test signal T Prior to a margin test, test signal T is set to logic zero and the storage elements within register 515 are loaded with an expected-data sequence.
  • test terminal T is set to logic one so that shift register 515 feeds its output back to its input via multiplexer 510.
  • sampler 505 samples input data Din.
  • Comparison circuit 430 compares the resulting samples with the expected-data sequence provided by the first storage element in register 515. Any difference between the data sampled by the replica sampler 505 and the expected sequence from register 515 induces comparison circuit 430 to produce a logic one error signal on line ERR.
  • Clocking circuitry e.g. within CDR 520, can be adapted to control ' separately the recovered clock signals RCK1 and RCK2.
  • Figure 6 depicts a receiver 600 in accordance with another embodiment.
  • Receiver 600 is similar to the conventional receiver 100 of Figure 1, but is modified to support improved margin testing.
  • Receiver 600 includes a sampler 602 that, like sampler 105 of Figure 1, includes a differential amplifier 115 and a decision circuit 120. Although not shown, sampler 602 includes conventional means of adjusting the reference voltage and timing to support margin testing. DFE of receiver 600 performs conventionally in the operational mode and provides expected data in the margin-test mode. [0054] Receiver 600 includes a multiplexer 605, a comparison circuit 610, and a dual-mode register 615. Multiplexer 605 conveys output signal Dout to register 615 in the operational mode. Thus configured, receiver 600 functions analogously to receiver 100 of Figure 1. That is, register 615 shifts in the output data Dout and employs three bits of historic data to provide ISI-minimizing feedback to sampler 602.
  • test signal T is set to logic one.
  • multiplexer 605 provides the output of an XOR gate 620 to the input of register 615.
  • XOR gate 620 and the path through multiplexer 605 converts register 615 into a linear-feedback shift register (LFSR) that provides a pseudo-random but deterministic sequence of bits to both the input of register 615 and comparison circuit 610.
  • LFSR linear-feedback shift register
  • the same pseudo-random sequence produced by register 615 is provided on input terminal Din. This test sequence is applied one clock cycle ahead of the expected data in flip-flop Dl of register 615, so the DFE will reflect the appropriate data regardless of whether output data Dout is correct.
  • Comparison circuit 610 an exclusive OR gate in this example, flags any mismatches between the output data and the expected data to identify errors.
  • the pseudo-random sequence of test bits applied to input terminal Din is assumed to come from an external source, such as a conventional tester.
  • the disclosed embodiments can also be adapted to support built-in self test (BIST) or in-system testing.
  • BIST built-in self test
  • a linked transmitter/receiver pair adapted in accordance with one embodiment can margin test the intervening link.
  • receiver 600 is modified so that register 615 or another on-chip source provides the input test sequence.
  • register 615 is extended to include additional storage elements to produce more complex pseudo-random bit sequences. In such cases, the number of outputs from register 615 to the input of sampler 602 can be the same as or different from the number of storage elements employed by the LFSR.
  • Figure 7 depicts a receiver 700 in accordance with yet another embodiment.
  • Figure 7 includes a number of elements that are incidental to the inventive margin-testing circuitry, and so are only touched upon briefly here.
  • the main components of the margin-testing circuitry are highlighted using bold outlines to distinguish them from incidental features.
  • the emphasized components include a pair of conventional samplers 705 and 710 receiving input data on the same input terminal, Din, a pair of multiplexers 715 and 720, a pair of shift registers 725 and 730, and a data-weighting circuit 735.
  • multiplexers 715 and 720 both select their zero input.
  • the input data Din captured by samplers 705 and 710 is thus conveyed to respective shift registers 725 and 730.
  • the data in shift register 730 is the output data DATA of receiver 700, and is fed back to weighting circuit 735.
  • all or a subset of the bits stored in the plurality of storage elements that make up shift register 730 are provided to weighting circuit 735.
  • shift registers 725 and 730 each store twenty bits. Of these, five bits from register 730 are conveyed to weighting circuit 735.
  • the selected bits and their associated weighting are optimized for a given receiver. For a detailed discussion of methods and circuits for performing such optimization, see U.S.
  • Weighting circuit 735 produces a weighted sum of a plurality of historical bits and applies this sum to input terminal Din. This is the same general function provided by the DFE ladder circuit of Figure 1, though the manner in which these weighting circuits perform this function differs significantly.
  • Weighting circuit 735 includes five amplifiers 745 [0:4], each of which receives a bit from shift register 730.
  • a weight-reference circuit 750 provides each amplifier 745 with a reference signal (e.g., a constant current) that determines the weight given to the associated bit.
  • the output terminals of amplifiers 745 [0:4] are connected to input terminal Din to provide a weighted sum of five historical data values from shift register 730.
  • a current- controlled embodiment of an amplifier 745 [i] is detailed below in connection with Figure 8.
  • each of multiplexers 715 and 720 selects its "one" input.
  • the output of sampler 705 is thus conveyed to shift register 730 and the output of sampler 710 is conveyed to shift register 725.
  • a function of the margin-test mode is to provide expected data to the input of the DFE circuitry.
  • the expected data is the input data sampled by sampler 705 and captured in shift register 730.
  • a voltage-control signal CV2 and timing control signal CT2 allow a tester or test personnel to alter the reference voltage and received clock RCK2 as necessary to probe the margin boundaries for sampler 710.
  • Similar control signals CVl and CT1 afford similar control over sampler 705 and are set to appropriate levels to ensure sampler 705 correctly captures the input data.
  • erroneous data bits from sampler 710 pass through shift register 725.
  • Comparison circuit 755 therefore produces a logic-one error signal on line ERR.
  • the expected data is derived from input data on terminal Din sampled by sampler 705.
  • the sampler used to produce output data in the operational mode, sampler 710 is the same register subjected to the margin test. Testing the receive circuitry, as opposed to a replica, is advantageous because it provides a more accurate reading of the actual receive-circuitry performance.
  • sampler 705 can be margined in a normal operating mode, assuming that it has independent timing and voltage control relative to sampler 710. Sampler 705 can also be margin tested and the respective sample point (voltage and timing) centered in the data eye prior to margin testing sampler 710.
  • Receiver 700 of Figure 7 is an equalizing receiver that generates receive and equalization clock signals.
  • receiver 700 includes a CDR circuit 756 and an equalizer clock generator 759.
  • Samplers 705 and 710 sample incoming data signal Din in response to respective receive-clock signals RCK1 and RCK2, both the which are derived from a reference clock RCLK.
  • the samples taken by sampler 710 are shifted into register 730, where they are stored for parallel output via output bus DATA to some application logic (not shown) and to CDR circuit 756.
  • Receive clock signal RCLK includes multiple component clock signals, including a data clock signal and its complement for capturing even and odd phase data samples, and an edge clock signal and a complement edge clock signal for capturing edge samples (i.e., transitions of the data signal between successive data eyes) .
  • the data and edge samples are shifted into shift registers 725 and 730.
  • Samples in register 730 are then supplied as parallel words (i.e., a data word and an edge word) to a phase control circuit 761 within CDR circuit 756.
  • Phase control circuit 761 compares adjacent data samples (i.e., ⁇ successively received data samples) within a data word to determine when data signal transitions have taken place, then compares an intervening edge sample with the preceding data sample (or succeeding data sample) to determine whether the edge sample matches the preceding data sample or succeeding data sample. If the edge sample matches the data sample that precedes the data signal transition, then the edge clock is deemed to be early relative to the data signal transition. , Conversely, if the edge sample matches the data sample that succeeds the data signal transition, then the edge clock is deemed to be late relative to the data signal transition.
  • phase control circuit 761 asserts an up signal (UP) or down signal (DN) . If there is no early/late majority, neither the up signal nor the down signal is asserted.
  • UP up signal
  • DN down signal
  • Each of a pair of mix logic circuits 763 and 765 receives a set of phase vectors 767 (i.e., clock signals) from a reference loop circuit 769 and respective timing control signals CTl and CT2 as noted above.
  • the phase vectors have incrementally offset phase angles within a cycle of a. reference clock signal.
  • the reference loop outputs a set of eight phase vectors that are offset from one another by 45 degrees (i.e., choosing an arbitrary one of the phase vectors to have a zero degree angle, the remaining seven phase vectors have phase angles of 45, 90, 135, 180, 225, 270, and 315 degrees) .
  • Mix logic circuits 763 and 765 maintain respective phase count values, each of which includes a vector-select component to select a phase-adjacent pair of the phase vectors (i.e., phase vectors that bound a phase r angle equal to 360 °/N, where N is the total number of phase vectors) , and an interpolation component (INT) .
  • the interpolation component INT and a pair of phase vectors VI and V2 are conveyed from each of mix logic circuits 763 and 765 to respective receive-clock mixer circuits 770 and 772.
  • Mixer circuits 770 and 772 mix their respective pairs of phase vectors according to the interpolation component INT to generate complementary edge clock signals and complementary data clock signals that collectively constitute first and second receive-clock signals RCKl and RCK2, which serve as input clocks for samplers 705 and 710, respectively.
  • Timing control signals CTl and CT2 facilitate independent control of the timing of clock signals RCKl and RCK2.
  • Mix logic circuit 765 increments and decrements the phase count value in response to assertion of the up and down signals, respectively, thereby shifting the interpolation of the selected pair of phase vectors (or, if a phase vector boundary is crossed, selecting a new pair of phase vectors) to retard or advance incrementally the phase of the receive clock signal. For example, when the phase control logic 761 determines that the edge clock leads the data transition and asserts the up signal, mix logic 765 increments the phase count, thereby incrementing the interpolation component INT of the count and causing mixer 772 to incrementally increase the phase offset (retard the phase) of receive-clock signal RCKl.
  • the equalizer clock generator 759 receives the phase vectors 767 from the reference loop 769 and includes mix logic 774 and an equalizer clock mixer 776, which collectively operate in the manner described above in connection with mix logic 765 and mixer 772.
  • mix logic 774 maintains a phase count value that is incrementally adjusted up or down in response to the up and down signals from the phase control circuit 761.
  • the mix logic selects a phase-adjacent pair of phase vectors 767 based on a vector select component of the phase count.
  • the mix logic then outputs the selected vectors (VI, V2) and interpolation component of the phase count (INT) to the equalizer clock mixer 776.
  • Clock mixer 776 mixes the selected vectors in accordance with the interpolation component of the phase count to generate the equalizer clock signal EQCLK.
  • the equalizer clock signal which may include complementary component clock signals, is provided to weighting circuit 735 (or another type of equalization circuit) to time the output of equalizing signals onto data input terminal Din.
  • Figure 8 depicts an embodiment of a buffer 800 that may be used as one of amplifiers 745 in weighting circuit 735 of Figure 7 in an embodiment in which the data input Din is a two-terminal port receiving differential input signals Din and /Din.
  • Clock signal EQCLK is also a differential signal EQCLK and /EQCLK in this embodiment.
  • Buffer 800 receives one of five differential feedback signals (EQDin[i] and /EQDin[i]) and the differential clock signal (EQCLK and /EQCLK) from mixer 776.
  • Reference circuit 750 provides a reference voltage EQWi that determines the current through buffer 800, and consequently the relative weight of the selected feedback data bit.
  • the above-described embodiments are adapted for use in receivers of various types.
  • the embodiment of Figure 6, for example, is applied to a receiver adapted to receive single-ended input signals, while the embodiments of Figures 7 and 8 are applied to receivers adapted to receive complementary signals.
  • These examples are not limiting, as these and other embodiments can be applied to receivers adapted to communicate signals in any of a number of communication schemes, including pulse-amplitude modulated (PAM) signals (e.g., 2-PAM and 4-PAM), which may be used in some embodiments to provide increased data rates.
  • PAM pulse-amplitude modulated
  • FIG. 9 depicts a receiver 900 in accordance with another embodiment.
  • Receiver 900 is similar to receiver 700 of Figure 7, like-identified elements being the same or similar.
  • Receiver 900 differs from receiver 700 in that receiver 900 omits multiplexer 715 and shift register 725.
  • XOR gate 755 detects errors by comparing the data symbols from samplers 705 and 710. As in receiver 700, both samplers 705 and 710 can be margined in a normal operating mode.
  • the operation of receiver 900 is otherwise similar to that of receiver 700.
  • Receivers 700 and 900 do not require a predetermined pattern of data (i.e., an "expected” data pattern"), and can thus be margined in the presence of the data patterns received during normal operation.
  • a predetermined pattern of data i.e., an "expected” data pattern
  • receivers so equipped can be adapted to dynamically alter system parameters to maintain adequate margins.
  • FIG. 10A depicts a receiver 1000, a simplified version of receiver 900 of Figure 9 used to illustrate margin mapping in accordance with one embodiment.
  • Receiver 1000 includes two samplers 1005 and 1010, an XOR gate 1015, and a "shmoo" circuit 1025.
  • a shmoo circuit is used to develop shmoo data
  • shmoo data is information that represents margin test results for a given sample point
  • a shmoo plot is a graph that represents shmoo data to illustrate how a particular margin test or series of margin tests passes or fails in response to changes in the reference voltage and reference timing.
  • Samplers 1005 and 1010 receive the same input data Din, but have independently adjustable reference voltages RefA and RefB and reference clocks ClkA and ClkB.
  • Figure 10B is a diagram 1026 illustrating the relationship between each of samplers 1005 and 1010 and a data eye 1030.
  • Each Cartesian coordinate on diagram 1026 represents a sample coordinate, the Y axis being representative of sample voltage and the X axis being representative of sample time.
  • a data point 1035 is centered in data eye 1030 along both axes, and thus represents an ideal sample point for sampler 1005.
  • reference voltage RefB and reference clock ClkB are adjusted along their respective Y and X axes to sample data symbols at each coordinate one or more times to probe the boundaries of eye 1030. Margins are detected when XOR gate 1015 produces a logic one, indicating that sampler 1010 produced different data than sampler 1005.
  • Shmoo circuit 1025 correlates errors with the respective reference voltage RefB and clock signal ClkB for sampler 1010 and stores the resulting X-Y coordinates. Care should be taken to ensure proper clock-domain crossing of the two reference clocks ClkA and ClkB to prevent data samplers 1005 and 1010 from sampling different data eyes (e.g., to prevent respective samplers from sampling different ones of two successive data symbols) .
  • Signals RefB and ClkB can be interchanged with respective signals RefA and ClkA in Figure 10B to margin sampler 1010.
  • Methods and circuits for adjusting clock phases and reference voltages are well known in the art, and are therefore omitted here for brevity.
  • Figure 10C depicts a shmoo plot 1050 graphically depicting an illustrative margin test in accordance with one embodiment.
  • reference voltage RefB and reference clock ClkB are adjusted to sample incoming data at each voltage/time square (sample point) represented in Figure IOC. The number of errors encountered over a fixed time is then recorded for each sample coordinate. The resulting plot for a given receiver will bear a resemblance to plot 1050, though will typically be less uniform than this illustration.
  • Plot 1050 can be used in a number of ways. Returning to Figure 10B, for example, data point 1035 is depicted in the center of eye 1030, an ideal circumstance. Plot 1050 can be used to precisely locate the true center of eye 1030. Once this center is known, reference voltage RefA and reference clock ClkA can be adjusted as needed to maximize the margins for sampler 1005.
  • Plot 1050 can also be used to establish different margins depending upon the allowable bit-error rate (BER) for the communication channel of interest.
  • BER bit-error rate
  • Different communication schemes afford different levels of error tolerance. Communications channels can therefore be optimized using margin data gathered in the manner depicted in Figure IOC. For example, an error-intolerant communication scheme might require the zero-error margin, whereas a more tolerant scheme might be afforded the larger margin associated with a small number of errors per unit time.
  • Some embodiments detect and maintain margins without storing the shmoo data graphically depicted in Figure IOC.
  • One or more additional samplers can be used to probe the margins periodically or dynamically, and the sampler used to obtain the sampled data can be adjusted accordingly.
  • the reference voltage and clock of the sampler used to obtain the sampled data are adjusted in response to perceived errors to maintain maximum margins.
  • sampler 1010 can periodically probe the high and low voltage margins and then set reference voltage RefA between them. With reference voltage RefA thus centered, the process can be repeated, this time adjusting the phase of reference clock ClkB to detect the timing margins. The phase of reference clock ClkA can then be aligned in eye 1030.
  • additional samplers can simultaneously probe different margins of eye 1030. Dynamic margining systems in accordance with these embodiments thus automatically account for time-variant system parameters (e.g., temperature and supply-voltage).
  • FIG 11 details an embodiment of shmoo circuit 1025 of Figure 10A.
  • Shmoo circuit 1025 includes a pair of flip-flops 1100 and 1105.
  • Flip-flop 1100 synchronizes error signal Err with a clock signal Clk.
  • Flip-flop 1105 a ones detector, produces a logic-one output signal OUT in response to any logic ones received from flip-flop 1100.
  • both flip-flops are reset to zero and error signal Err is monitored for a desired number of data samples at a given timing/voltage setting.
  • Flip-flop 1100 captures any logic-one error signals Err, and ones detector 1105 transitions to logic one and remains there in response to any logic ones from flip-flop 1100.
  • FIG. 12 details a double-data-rate (DDR) receiver 1200 in accordance with another embodiment adapted to accommodate margin shmooing.
  • Receiver 1200 includes four data samplers 1205-1208 timed to an odd-phase clock Clk_0, four respective flip-flops 1210 timed to an even-phase clock Clk_E, three error-detecting XOR gates 1215, a multiplexer 1220, error-capturing logic 1225, and shmoo control logic 1230.
  • An external tester (not shown) issues test instructions and receives margin-test results via a test- access port TAP.
  • the outputs from the three flip-flops 1210 following samplers 1205, 1206, and 1207 connect directly to corresponding inputs of multiplexer 1220.
  • a single XOR gate on the output side of multiplexer 1220 then compares the selected sampler output signal with the output from sampler 12,08.
  • DDR receivers receive data on two clock phases: an odd clock phase Clk_0 and an even clock phase Clk_E.
  • Receiver 1200 represents the portion of a DDR receiver that captures incoming data using the odd clock phase Clk_0. Signals specific to only one of the clock phases are indicated by the suffix "_E" or "_0" to designate an even or odd phase, respectively.
  • Samplers 1205, 1206, and 1207 are portions of the "odd" circuitry. Similar samplers are provided for the even circuitry but are omitted here for brevity.
  • the odd and even clock phases of a DDR high-speed serial input signal can be shmooed separately or in parallel.
  • Receiver 1200 enters a shmoo mode at the direction of the external tester.
  • Shmoo select signals Shm[l:0] then cause multiplexer 1220 to connect the output of one of XOR gates 1215 to the input of error-capturing logic 1225.
  • multiplexer 1220 selects error signal Errl to perform margin tests on sampler 1205.
  • Margin tests for the remaining samplers 1206 and 1207 are identical .
  • the external tester initiates a shmoo test cycle by issuing a rising edge on terminal Start.
  • control logic 1230 forces a signal Running high and resets a ones detector 1235 within error-capturing logic 1225 by asserting a reset signal RST.
  • signal Start goes low
  • control logic 1230 enables ones detector 1235 for a specified number of data clock cycles--the "shmoo-enable interval"—by asserting an enable signal EN.
  • Period- select signal PeriodSel is zero, the number of data clock cycles in the shmoo-enable interval is 160 (320 symbol periods) .
  • signal PeriodSel is one, the number of data clock cycles in the shmoo-enable interval is 128 (256 symbol periods) .
  • the shmooing process is similar to that described above in connection with Figures 10A, 10B, and IOC.
  • the process employed by receiver 1200 differs slightly, however, in that receiver 1200 takes advantage of the presence of even clock Clk_E and flip-flops 1210 to retime the input signals to XOR gates 1215.
  • Even clock Clk_E is 180 degrees out of phase with respect to odd clock Clk_0.
  • Clock signal ClkB can therefore be varied up to 90 degrees forward or backward with respect to odd clock Clk_0 without fear of sampling different data symbols with the selected sampler 1205 and sampler 1208.
  • the upper-most XOR gate 1215 produces a logic one if, during the shmoo-enable interval, one or more bits from sampler 1205 mismatches the corresponding bit from sampler 1208.
  • a flip-flop 1240 captures and conveys this logic one to ones detector 1235.
  • controller 1230 brings signal Running low and holds the state of signal Err_0.
  • a logic one error signal Err_0 indicates to the tester that at least one mismatch occurred during the shmoo-enable interval, whereas a logic zero indicates the absence of mismatches.
  • the shmoo interval can be repeated a number of times, each time adjusting at least one of reference voltage RefD and clock CLKB, to probe the margins of input data Din.
  • a shmoo plot similar to that of Figure 10B can thus be developed for sampler 1205. This process can then be repeated for the remaining samplers.
  • Control logic 1230 does not interfere with the normal operation of receiver 1200, so shmooing can be performed for any type of input data Din. Also advantageous, receiver 1200 allows for the capture of real data eyes under various operating conditions, and can be used to perform in- system margin tests.
  • receiver 1200 samples four- level, pulse-amplitude-modulated (4-PAM) signals presented on terminal Din, in which case each of samplers 1205-1207 samples the input data symbols using a different reference voltage level.
  • 4-PAM pulse-amplitude-modulated
  • the methods and circuits described herein can be applied to N-PAM signaling schemes, where N is at least two.
  • Such systems typically include N-l samplers for each data input node.
  • Figure 13 depicts a receiver 1300 that supports error filtering in accordance with another embodiment.
  • Receiver 1300 is similar to receiver 1000 of Figure 10A, like-numbered elements being the same or similar.
  • Receiver 1300 differs from receiver 1000 in that receiver 1300 includes data filter 1305 that allows receiver 1300 to shmoo particular data patterns. This is a benefit, as a receiver's margin may differ for different data patterns, due to ISI for example.
  • Data filter 1305 allows receiver 1300 to perform pattern-specific margin tests to better characterize receiver performance.
  • Data filter 1305 includes a series of N data registers 1310 that provide a sequence of data samples Dout to a pattern-matching circuit 1315. In this case N is three, but N may be more or fewer.
  • Data filter 1305 also includes a series of M (e.g., two) error registers 1320 that convey a sequence of error samples to an input of an AND gate 1325.
  • AND gate 1325 only passes the error signals from registers 1320 if pattern-matching circuit 1315 asserts a error-valid signal ErrVal on the other input of AND gate 1325.
  • Pattern- matching circuit 1315 asserts signal ErrVal only if the pattern presented by registers 1310 matches some predetermined pattern or patterns stored in pattern-matching circuit 1315.
  • external test circuitry controls the patterns provided by matching circuit 1315.
  • Other embodiments support in-system testing with one or more patterns provided internally (e.g., on the same semiconductor chip) .
  • Some of the foregoing embodiments employ an additional sampler to probe the margins of a given data input.
  • Some receiver architectures already include the requisite additional sampler, to support additional signaling modes, for example.
  • Other embodiments may be adapted to include one or more additional "monitor" samplers .
  • FIG. 14 depicts a receiver 1400 adapted to perform margin testing in accordance with another embodiment.
  • Receiver 1400 includes a conventional sampler 1405, which in turn includes a data input terminal Din, a reference voltage terminal Vref, and a clock node SCK adapted to receive a sample-clock signal.
  • Receiver 1400 additionally includes a margining circuit 1410 that controls the reference voltage Vref and the phase of sample clock SCK to sample the voltage/time (V/T) space of the incoming series of data symbols.
  • sampler 1405 uses reference voltage Vref as a voltage threshold for comparison to data symbols expressed on terminal Din.
  • the voltage threshold of sampler 1405 can therefore be adjusted by altering reference voltage Vref.
  • Threshold voltages may be varied in different ways in other types of receivers.
  • the voltage threshold of some differential receivers is varied by adjusting the differential input offset voltage of the sampler or of a preamplifier that precedes the sampler.
  • a digital-to-analog converter controlled by a register can provide precise control for such offsets.
  • margining circuit 1410 would control the threshold of sampler 1405 without necessarily providing an actual reference voltage Vref, as shown in Figure 14.
  • Sampler 1405 may include a preamplifier or other signal conditioning circuitry.
  • Margining circuit 1410 includes a counter 1415, control logic 1420, and some memory 1425. Margining circuit 1410 samples a number of received data symbols at each of a plurality of V/T coordinates to find the probability that the data at each coordinate is representative of a particular logic level, a logic one in this and the following examples. The collection of probability statistics for the entire V/T space are then used to characterize various input characteristics of the received data, including the margin of receiver 1400. This embodiment facilitates margin testing in system, does not require a separate sampler, and provides margin data based upon the performance of the relevant receiver.
  • Figure 15 depicts an eye diagram 1500, used to illustrate the functionality of receiver 1400 of Figure 14.
  • eye diagram 1500 depicts an opening 1505 bounded by an upper horizontal line ONE representative of a logic one, a lower horizontal line ZERO representative of a logic zero, and four somewhat vertical signal-transition segments extending between lines ONE and ZERO.
  • Bounding the left side of opening 1505 are (1) a zero-to-one transition segment 0->l representing a range of voltages over which input data Din transitions switching from zero to one and (2) a one-to-zero transition segment l->0 representing a range of voltages over which input data Din transitions when switching from one to zero. (Each of the depicted segments represents half of a transition, the remaining halves extending to the left and right of diagram 1500.)
  • diagram 1500 The eye pattern of diagram 1500 is overlayed onto a grid in which the Y axis represents a range of seventeen reference voltages Vref [0:16] and the X axis represents a range of nineteen timing instants T[0:18] that correspond to phases of sample clock SCK.
  • Diagram 1500 thus depicts 323 (17x19) sample points in V/T space.
  • margining circuit 1410 of Figure 14 adjusts reference voltage Vref and the phase of sample clock SCK to sample each point on the grid of diagram 1500 over N clock cycles, where N is a statistically significant number.
  • Counter 1415 accumulates the number of ones detected over the N sampled input symbols for each sample point, and thus obtains some indication of the probability of receiving a logic one at that V/T point.
  • data Din will exhibit approximately the same number of ones and zeroes over a given period. This is often a good assumption, particularly in communication systems that employ balanced signaling schemes to support AC coupled communication channels.
  • the eye pattern of Figure 15 is assumed to depict many cycles of a balanced signal (i.e., the same number of ones and zeroes over a statistically significant period) .
  • the shaded areas that make up the eye pattern represent the cumulative traces of input data Din over the many cycles .
  • the data can be sampled correctly anywhere within eye 1505.
  • true eye diagrams can be far less clearly defined than in Figure 15. It is therefore important to characterize eye 1505 and center the sample point within eye 1505 to maximize the noise margin.
  • any data sampled within eye 1505 should exhibit an equal number of ones and zeroes over time.
  • the input data Din will be greater than the voltage at sample point P(4,9) half the time (i.e., will be at ONE) and less than the voltage at sample point P(4,9) half the time (i.e., will be at ZERO).
  • the probability that the sampled data will be a logic one is 50%.
  • Sampling data Din above trace ONE will always result in a logic one because all the voltage traces (the shaded areas) lay below those sample points, so the probability that the data will be a logic one is 100%.
  • sampling data Din below trace ZERO will always result in a logic zero because all the voltage traces lie above those sample points.
  • Ones probabilities are indicative of other portions of the eye diagram as well. Referring to area 1510, for example, data sampled within this area may be in one of for states: a logic one ONE, a logic zero ZERO, transitioning between zero and one (0->l) , and transitioning between one and zero (l->0) . Again assuming a balanced signal, there is an equal probability that incoming signal Din will be in any one of these four states . The sampling points within area 1510 are above three of these four possibilities, so data sampled in area 1510 will exhibit a logic one three out of four times, a 75% ones probability.
  • Area 1515 is similar, but the sampling points within area 1515 are above only one of the four possibilities, so data sampled in area 1515 will exhibit a logic one only 25% of the time.
  • the right side of diagram 1500 has 75% and 25% areas symmetrical with areas 1510 and 1515.
  • Figure 15 illustrates the important point that the probability of sensing data of a particular type (e.g., the ones probability) changes at each boundary that defines eye 1505.
  • the boundaries of the eye can therefore be detected by examining the ones probability (or zero probability) of incoming data over a range of sample voltages, sample timing, or both.
  • margining circuit 1410 can map the ones probability for data across the V/T space depicted in Figure 14 to characterize the margin of the incoming data. For each data point (e.g., P[0,0 ), control logic 1420 sets the appropriate voltage and timing, resets counter 1415, and then enables counter 1415 to count received ones for some number of clock cycles (e.g., 1,000), which defines the sample period. At the end of the sample period, control logic 1420 conveys the contents of counter 1415 to a storage location within memory 1425 corresponding to the sample point. Referring to point P(4,9) of Figure 15, for example, counter 1415 should count to 500 over 1,000 clock cycles, in which case the number 500 would be stored in location 4,9 of memory 1425. This process is continued for each sample point P(X,Y) until memory 1425 contains a number corresponding to the ones probability for each sample point within diagram 1500.
  • Figure 16 is a table 1600 depicting a hypothetical collection of data sampling points, the vertical axis plotting a range of fifteen sample voltages Vref [0:14] and the horizontal axis plotting a range of sample timing instants T[0:14].
  • Table 1600 represents raw data relating to the probability of sensing a logic one at two hundred twenty-five V/T sample points in relation to a stream of . incoming data symbols.
  • the expressed probability data defines boundaries of an exemplary data eye, and can be used to measure various data parameters, including the margin of the data eye. This example assumes that ten thousand samples are taken at each sample point and the number of sampled ones recorded in some suitable memory, either on or off the IC containing the receiver under test. As apparent from the hypothetical data, the number of ones recorded in each sample point ranges from zero (at points P[0,X]) to ten thousand (at points P[14,X]). The number of ones recorded for the remaining sample points lies between these two extremes .
  • Figure 17 is a table 1700 depicting the same data as table 1600 of Figure 16 in a format that emphasizes how the data expresses a signal eye. Data points are grouped and shaded according to the number of sampled ones out of 10,000 samples. The disparate shading highlights characteristics of the hypothetical data eye representative of the sampled input data stream.
  • Figure 18 is yet another table, this one labeled 1800, depicting the data of tables 1600 and 1700.
  • Table 1800 differs from table 1700 in that data points with similar numbers of samples are collected and the fraction of sampled ones divided by ten thousand is depicted as a percentage, the approximate probability that data sampled in a given area in V/T space will be a logic one.
  • a comparison of table 1800 with diagram 1500 of Figure 15 shows how table 1800 illustrates a data eye similar to data eye 1505 using probability data.
  • data of the type depicted in Figures 17 and 18 is represented as derivatives of that data taken along each time T(0) through T(14) to highlight the horizontal boundaries of Figures 17 and 18, as derivatives of that data taken along each voltage Vref (0) through Vref (14) to highlight the vertical boundaries, or both.
  • the "data" of Figures 17 and 18 is merely illustrative. Real data may be much less evenly distributed and subject to significant variations due to noise. Increasing the number of samples acquired for each data point helps. Other embodiments include various well known methods of filtering, such as discarding "flyer" data values. Further, in the case of a small eye suffering from substantial ISI, jitter, and other noise sources, the statistically expected ones densities in the transition regions would not be as uniform as in the figures shown. However, the eye opening would still be statistically distinct because relatively uniform ones densities would still be achieved within the opening.
  • Figure 19 depicts a system 1900 that includes a . receiver 1905 and a margining circuit 1910 in accordance with another embodiment.
  • Margining circuit 1910 uses a second receiver 1915, typically identical to receiver 1905, to find the center voltage and/or timing value of data eyes derived from incoming data Din.
  • Margining circuit 1910 then sets the reference voltage Vref and/or timing of receiver 1905 at the center value to maximize the voltage and/or timing margin.
  • Receivers 1905 and 1915 are samplers in one embodiment .
  • sampling logic 1920 sets a shmoo voltage Vs, the sampling voltage for receiver 1915, to the nominal voltage center (the expected center) of the incoming data stream.
  • Sampling logic 1920 then resets a counter 1925 and enables counter 1925 to count the number of logic ones expressed as output data Dout2 from receiver 1915 over a statistically significant number N of input clock cycles (e.g., 10,000 clock cycles).
  • N of input clock cycles e.g. 10,000 clock cycles.
  • samples taken within the data eye have a 50% probability of being a logic one, give or take a margin of error.
  • the margin of error will vary from system to system, and with the number of samples taken. This example assumes that data sampled within the eye will exhibit a ones probability of between 45% and 55%.
  • the current voltage setting is recorded in a first register 1930 and the sampling voltage Vs is incremented. The sampling process is then repeated for each incrementally greater sample voltage Vs until the measured ones probability is greater than 55%. The sample voltage Vs producing this relatively high ones probability is above the margin, so the voltage setting within register 1930 is not updated. Register 1930 thus contains an indication of the highest voltage Vs within the incoming data eye.
  • margining circuit 1910 performs a similar procedure to obtain the lower limit.
  • Sampling logic 1920 sets sample voltage Vs back to the nominal center of the incoming data stream.
  • Sampling logic 1920 then resets counter 1925 and enables counter 1925 to count the number of logic ones expressed as output data Dout2 from receiver 1915 over N cycles. If the ones probability for the current sample point is between 45% and 55%, the current voltage setting for sample voltage Vs is recorded in a second register 1935 and sampling voltage Vs is decremented. The sampling process is then repeated for each decrementally lower sample voltage Vs until the measured ones probability is less than 45%. The sample voltage Vs producing this relatively low ones probability is below the margin, so the voltage setting within register 1935 is not updated. Register 1935 thus contains an indication of the lowest voltage Vs within the incoming data eye.
  • Some simple logic 1940 averages the values in registers 1930 and 1935 and stores the result in a third register 1945.
  • the value in register 1945 represents the reference voltage Vref centered in the data eye and is used to set the reference voltage Vref applied to receiver 1905. This process can be carried out once, e.g. at start up, or repeated periodically to account for changes in the noise environment .
  • margining circuit 1910 repeats the sampling for various timing instants along the X axis at a common voltage Vref to find the horizontal center of the data eye.
  • Vref the probability data remains the same all along the center of the data eye and into the preceding and subsequent data eyes.
  • the value Vref for the horizontal margining is therefore selected to be above or below the central reference-voltage value indicated in register 1945.
  • This embodiment does not provide the shmoo data for a complete shmoo plot, but can be implemented using relatively few resources.
  • Other embodiments employ this or a similar method for in-situ or dynamic margining, and also support more data-intensive margining techniques for more detailed analysis. Redundant receivers employing these techniques can dynamically or periodically explore the boundaries of incoming data eyes to maintain the margin for an associated receiver.
  • receiver 1915 within voltage margining circuit 1910 acts as the data receiver in normal operation.
  • Margining circuit 1910 might also be shared among a number of receive amplifiers and used alternately to test each one.
  • the margined receiver or receivers need not be samplers, but can be any form of data receivers.
  • Figure 20 depicts a margining circuit 2000 used in place of margining circuit 1410 of Figure 14 in another embodiment.
  • Margining circuit 2000 samples output data Dout in much the same way as margining circuit 1410, but plots the resulting probability data as the difference between the probabilities of sample points that are adjacent on the voltage axis. The operation of an embodiment of margining circuit 2000 is described below in connection with Figure 21.
  • Margining circuit 2000 includes a conventional counter 2005, sampling logic 2010, first and second registers 2015 and 2020, comparison logic 2025, and some memory 2030 that may be on the same or a different integrated circuit with the rest of circuit 2000.
  • Figure 21 is a flowchart 2100 illustrating the functionality of margining circuit 2000 of Figure 20 in accordance with one embodiment. Beginning at step 2105, sampling logic 2010 resets counter 2005 and a pair of X and Y counters (not shown) to zero. The X and Y counters together specify data points of the type depicted in Figure 18, where Y specifies values along the Y (voltage) axis and X specifies values along the X (time) axis.
  • sampling logic 2010 enables counter 2005 for N sample periods, ten thousand received clock cycles in the forgoing embodiments, during which time counter 2005 accumulates the number of sampled ones (step 2110) .
  • the final count in this case corresponding to data point P[0,0], is then stored in the first register 2015.
  • the Y register is then incremented and the sampling repeated for the next reference voltage Vref(Y-l).
  • the resulting count is once again stored in register 2015 and the contents of register 2015 is shifted into register 2020 (step 2115) .
  • registers 2015 and 2020 contain probability data for adjacent sample points along the voltage axis.
  • Comparison logic 2025 compares the difference between the probabilities represented in registers 2015 and 2020 against a threshold value THval (decision 2120) . If the difference exceeds value THval, sampling logic 2010 stores the X and Y coordinate values in memory 2030 (step 2125) . In the example of Figures 18 and 19, for example, differences greater than 5% may be assumed to represent signal trace edges. Comparison logic 2025 indicates whether the difference is positive or negative in some embodiments, and the threshold value can be adjusted or omitted as desired.
  • sampling logic 2010 increments the Y value (step 2135) and repeats the sampling and comparison steps for the next sample point on the Y axis. This process continues for each reference voltage Vref.
  • Y is reset to zero (step 2140) and X is incremented (step 2145), provided X is less than the highest available X value (decision 2150) .
  • Sampling logic 2010 is finished when probability data has been derived for each sample point along the X and Y axes.
  • FIG 22 is an eye diagram 2200 illustrative of a 4-PAM signal, and is included here to show that the methods and circuits described herein are applicable to different signaling schemes.
  • 4-PAM signaling schemes represent data using four data levels (i.e., four data symbols), each of which is represented in Figure 22 as a cross-hatched horizontal line labeled using the digital bits the voltage level is intended to represent.
  • the example assumes a 4-PAM signaling scheme expressing equal numbers of the four possible states over the sample period.
  • Diagram 2200 depicts a number of regions in the V/T space labeled using a ones probability expressed as a percentage (i.e., the percentage of ones sampled at points P[T,V] within the respective V/T region) .
  • Time Tl represents the ideal sampling instant centered in the three data eyes of the 4-PAM signal. Referring first to data eye 2205, data sampled within this eye has a one in four chance of being below the sampling point (i.e., the data must be 00 to be below the sampling point) , so single-bit sampled data has a 25% ones' probability.
  • Data sampled within eye 2210 has an equal probability of being above (10 or 11) or below (01 or 00) the sample point, so data sampled within window 2210 will have a ones probability of 50%.
  • data sampled within data eye 2215 has a three in four chance of being below the sampling point, and thus has a ones probability of 75%. Probability data can thus be used to distinguish the three main data eyes of a 4-PAM signal.
  • V/T regions surrounding eyes 2205, 2210, and 2215 are also labeled using ones probabilities. These probabilities stem from the fact that the expressed data has sixteen possible states during periods of transition (e.g., at time T2) . The number is sixteen because, during the transition times, the expressed data can either be remaining the same or transitioning to one of the three other states. As an illustrative example, the V/T region directly to the right of data eye 2215 is labeled 81.25%. Of the sixteen possible states at time T2, three are above the sample points within the V/T region and thirteen are below. The ones probability is therefore 13/16, or 81.25%.
  • Diagram 2200 is more complex than diagram 1800 of Figure 15, but probabilistic data can be used in the same manner to analyze the 4-PAM data. Some embodiments are adapted to analyzes data sampled in V/T space to distinguish between signaling schemes (e.g., 2-PAM v. 4-PAM).
  • signaling schemes e.g., 2-PAM v. 4-PAM.
  • Each of the above examples assumes balanced input signals (e.g. equal numbers of ones and zeros for 2-PAM signals, or an equal number of zeros, ones, twos, and threes in 4-PAM signals) .
  • the embodiments described herein also work for unbalanced signals, provided sufficient numbers of samples are taken at each point.
  • the foregoing embodiments offer many advantages. Among them, the analysis may be based upon the properties of an actual receiver or a close replica, thus avoiding errors that might otherwise be introduced by test equipment.
  • the margining circuits and methods can be used to initially or periodically calibrate a receiver's sampling point, to adjust equalization coefficients, measure signal amplitude, measure signal timing, etc. Embodiments can be adapted to find and maintain optimized margins to support a sort of "plug-and-play" model for high-performance receivers.
  • FIG. 23A schematically depicts a conventional differential amplifier 2300 with substantially linear voltage-threshold control.
  • Amplifier 2300 is an example of one of many types of amplifiers, differential or otherwise, that can benefit from margining methods described herein.
  • Amplifier 2300 provides substantially linear voltage- threshold control using two oppositely skewed differential pairs to drive a shared differential load.
  • Differential amplifier 2300 includes a first differential transistor pair 2302, a second differential transistor pair 2304, a first current source 2306, a second current source 2308, a first load 2310 (i.e., resistance R) , and a second load 2312 (i.e., resistance R) , wherein M represents a normalized size of the transistors in the first 2302 and second 2304 differential transistor pairs, N represents a transistor size ratio variable, and S represents a current steering variable.
  • the effective voltage threshold can be adjusted from -Vmax to -Vmax, where Vmax is the systematic offset voltage of each of the first differential transistor pair 2302 and the second differential transistor pair 2304, as shown in Figure 23B, wherein Vin(diff) represents the differential signal formed of input signals Din and /Din and Vout(diff) represents the differential signal formed of output signals Dout and /Dout.
  • This systematic offset voltage is due to the difference in size between the two transistors in each of the first differential transistor pair 2302 and the second differential transistor pair 2304.
  • the magnitude of the systematic offset voltage for each differential transistor pair is approximately proportional to the square root of its tail current, I t , and the square root of its transistor size ratio.

Abstract

Described are methods and circuits for margin testing digital receivers. Some embodiments prevent margins from collapsing in response to erroneously received data, and can thus be used in receivers that employ historical data to reduce intersymbol interference (ISI). Some embodiments detect receive errors for input data streams of unknown patterns, and can thus be used for in-system margin testing. Such systems can be adapted to dynamically alter system parameters during device operation to maintain adequate margins despite fluctuations in the system noise environment due to e.g. temperature and supply-voltage changes. Also described are methods of plotting and interpreting filtered and unfiltered error data generated by the disclosed methods and circuits. Some embodiments filter error data to facilitate pattern-specific margin testing, while other embodiments rely upon the statistics of sampled data to explore the margin characteristics of received data.

Description

MARGIN TEST METHODS AND CIRCUITS
Fred F. Chen
Andrew Ho
Vladimir Stojanovic
Bruno W. Garlepp
BACKGROUND
[0001] Signal distortion limits the sensitivity and bandwidth of any communication system. A form of distortion commonly referred to as "intersymbol interference" (ISI) is particularly problematic and is manifested in the temporal spreading and consequent overlapping of individual pulses, or "symbols." Severe ISI prevents receivers from distinguishing symbols and consequently disrupts the integrity of received signals.
[0002] Figure 1 (prior art) depicts a conventional receiver 100, which is used here to illustrate the ISI problem and a corresponding solution. Receiver 100 includes a data sampler 105 and a feedback circuit 110. Sampler 105 includes a differential amplifier 115 connected to a decision circuit 120. Decision circuit 120 periodically determines the probable value of signal Din and, based on this determination, produces a corresponding output signal Dout.
[0003] Sampler 105 determines the probable value of signal Din by comparing the input signal Din to a voltage reference Vref at a precise instant. Unfortunately, the effects of ISI depend partly on the transmitted data pattern, so the voltage level used to express a given logic level varies with historical data patterns. For example, a series of logic zero signals followed by a logic one signal produces different ISI effects than a series of alternating ones and zeroes. Feedback circuit 110 addresses this problem using a technique known as Decision Feedback Equalization (DFE) , which produces a corrective feedback signal that is a function of received historical data patterns .
[0004] DFE feedback circuit 110 includes a shift register 125 connected to the inverting input of amplifier 115 via a resistor ladder circuit 130. In operation, receiver 100 receives a series of data symbols on an input terminal Din, the non-inverting input terminal of amplifier 115. The resulting output data Dout from sampler 105 is fed back to shift register 125, which stores the prior three output data bits. (As with other designations herein, Din and Dout refer to both signals and their corresponding nodes; whether a given designation refers to a signal or a node will be clear from the context.)
[0005] Shift register 125 includes a number of delay elements, three flip-flops D1-D3 in this example, that apply historical data bits to the reference voltage side of the differential amplifier 115 via respective resistors Rl, R2, and R3. The value of each resistor is selected to provide appropriate weight for the expected effect of the corresponding historical bit. In this example, the value of resistor R3 is high relative to the value of resistor Rl because the effect of the older data (D3) is assumed to be smaller than the effect of the newer data (Dl) . For the same reason, the resistance of resistor R2 is between the resistors Rl and R3. Receiver 100 includes a relatively simple DFE circuit for ease of illustration: practical DFE circuits may sample more or fewer historical data values. For a more detailed discussion of a number of receivers and DFE circuits, see U.S. Patent No. 6,493,394 to Tamura et al., issued December 10, 2002, which is incorporated herein by reference.
[0006] The importance of accurate data reception motivates receiver manufacturers to characterize carefully their system' s ability to tolerate ISI and other types of noise. One such test, a so-called "margin" test, explores the range of voltage and/or timing values for which a given receiver will properly recover input data. [0007] Figure 2 depicts a fictional eye pattern 200 representing binary input data to a conventional receiver. Eye pattern 200 is graphed in two dimensions, voltage V and time T. The area of eye 205 represents a range of reference voltages and timing parameters within which the data represented by eye 205 will be captured. The degree to which the voltage V and time T of the sampling point can vary without introducing an error is termed the "margin." [0008] Figures 3A through 3C depict three signal eyes 300, 305, and 310 illustrating the effects of DFE on margins and margin testing. Referring first to Figure 3A, eye 300 approximates the shape of eye 205 of Figure 2 and represents the margin of an illustrative receiver in the absence of DFE. Figure 3B represents the expanded margin of the same illustrative receiver adapted to include DFE: the DFE reduces the receiver's ISI, and so extends the margins beyond the boundaries of eye 300. Increasing the margins advantageously reduces noise sensitivity and improves bit error rates (BER) .
[0009] In-system margin tests for a receiver are performed by monitoring receiver output data (e.g., Dout in Figure 1) while varying the reference voltage and sample timing applied to the input waveform Din. With reference to Figure 2, such testing samples various combinations of voltage and time to probe the boundaries of eye 205, the boundaries being indicated when the output data does not match the input data. Margin tests thus require the receipt of erroneous data to identify signal margins. Zerbe et al. detail a number of margin tests in "Method and Apparatus for Evaluating and Optimizing a Signaling System," U.S. Patent Application Serial No. 09/776,550, which is incorporated herein by reference. [0010] A particular difficulty arises when determining the margins of DFE-equipped receivers. While feeding back prior data bits increases the margin (Figure 3B) , the effect is just the opposite if the feedback data is erroneous. Erroneous feedback emphasizes the ISI and consequently reduces the margin, as shown in Figure 3C. The margin of a DFE-equipped receiver thus collapses when a margin test begins to probe the limits of the test signal (e.g., the boundaries of eye 205) . The incompatible requirements of erroneous data for the margin test and correct data for the DFE thus impede margin testing. There is therefore a need for improved means of margin testing DFE-equipped receivers. [0011] The need for accurate margin testing is not limited to DFE-equipped receivers. Errors in margin testing lead integrated-circuit (IC) designers to specify relatively large margins of error, or "guard bands," to ensure that their circuits will perform as advertised. Unfortunately, the use of overly large margins reduces performance, an obvious disadvantage in an industry where performance is paramount. There is therefore a need for ever more precise methods and circuits for accurately characterizing the margins of high-speed circuits.
SUMMARY
[0012] The present disclosure is directed to methods and circuits for margin testing high-speed receivers. Some embodiments equipped with Decision Feedback Equalization (DFE) or other forms of feedback that employ historical data to reduce inter-symbol interference (ISI) perform margin tests using a known input data stream. The receiver injects a copy of the known input data stream (i.e., the "expected data") into the feedback path irrespective of whether the receiver correctly interprets the input data. The margins are therefore maintained in the presence of receiver errors, allowing in-system margin tests to probe the margin boundaries without collapsing the margin. Receivers in accordance with some embodiments include local sources of expected data.
[0013] Other embodiments do not rely on "expected data," but can be margin tested in the presence of any pattern of received data. These embodiments are particularly useful for in-system margin testing. Also important, such systems can be adapted to dynamically alter system parameters during device operation to maintain adequate margins despite fluctuations in the system noise environment due to e.g. temperature and supply-voltage changes.
[0014] Also described are methods of plotting and interpreting error data generated by the disclosed. methods and circuits. One embodiment generates sh oo plots graphically depicting the results of margin tests. Some embodiments filter error data to facilitate pattern-specific margin testing.
[0015] Still other margin-testing circuits and methods described herein rely upon probabilistic sampled data to explore the margin characteristics of received data. In one embodiment, for example, a margining circuit samples an incoming data stream N times at each of many data points. Each data point represents a unique sample voltage, a unique sample timing, or a unique combination of sample voltage and sample timing in relation to the incoming data. The number of ones sampled at a particular point is a measure of the ones density, or ones probability, for that sample point in V/T space. The ones probabilities for the collection of unique sample points are then analyzed to measure various aspects of the received data stream, including the receiver margin.
[0016] This summary does not limit the invention, which is instead defined by the allowed claims.
BRIEF DESCRIPTION OF THE FIGURES [0017] Figure 1 (prior art) depicts a conventional digital receiver 100.
[0018] Figure 2 depicts a fictional eye pattern 200 representing binary input data to a conventional receiver. [0019] Figures 3A through 3C depict three signal eyes 300, 305, and 310 illustrating the effects of DFE on margins and margin testing.
[0020] Figure 4 depicts a communication system 400, including a conventional transmitter 402 connected to a DFE- equipped receiver 403 adapted in accordance with one embodiment .
[0021] Figure 5 depicts a DFE-equipped receiver 500 adapted in accordance with an embodiment to include improved means of margin testing.
[0022] Figure 6 depicts a receiver 600 in accordance with another embodiment.
[0023] Figure 7 depicts a receiver 700 in accordance with yet another embodiment.
[0024] Figure 8 depicts an embodiment of a buffer 800, which may be used as one of amplifiers 745 in weighting circuit 735 of Figure 7.
[0025] Figure 9 depicts a receiver 900 in accordance with another embodiment.
[0026] ' Figure 10A depicts a receiver 1000, a simplified version of receiver 900 of Figure 9 used to illustrate margin mapping in accordance with one embodiment. [0027] Figure 10B is a diagram illustrating the relationship between each of samplers 1005 and 1010 of Figure 10A and a data eye 1030.
[0028] Figure 10C depicts a shmoo plot 1050 graphically depicting an illustrative margin test in accordance with one embodiment .
[0029] Figure 11 details an embodiment of shmoo circuit 1025 of Figure 10A. [0030] Figure 12 details a receiver 1200 in accordance with another embodiment adapted to accommodate margin shmooing.
[0031] Figure 13 depicts a receiver 1300 that supports error filtering in accordance with another embodiment.
[0032] Figure 14 depicts a receiver 1400 adapted to perform margin testing in accordance with another embodiment . '
[0033] Figure 15 depicts an eye diagram 1500 used to illustrate the functionality of receiver 1400 of Figure 14.
[0034] Figure 16 is a table 1600 depicting a hypothetical collection of data sampling points, the vertical axis plotting a range of fifteen sample voltages Vref [0:14] and the horizontal axis plotting a range of sample timing instants T[0:14] .
[0035] Figure 17 is a table 1700 depicting the same data as table 1600 of Figure 16 in a format that emphasizes how the data expresses a signal eye.
[0036] Figure 18 is yet another table, this one labeled
1800, depicting the data of tables 1600 and 1700.
[0037] Figure 19 depicts a system 1900 that includes a receiver 1905 and a margining circuit 1910 in accordance with another embodiment .
[0038] Figure 20 depicts a margining circuit 2000 used in place of margining circuit 1410 of Figure 14 in another embodiment .
[0039] Figure 21 is a flowchart ' 2100 illustrating the functionality of margining circuit 2000 of Figure 20 in accordance with one embodiment.
[0040] Figure 22 is an eye diagram 2200 illustrative of a
4-PAM signal, and is included here to show that the methods and circuits described herein are applicable to different signaling schemes.
[0041] Figure 23A (prior art) schematically depicts a conventional differential amplifier 2300 with substantially linear voltage-threshold control. [0042] Figure 23B (prior art) is a waveform diagram illustrating the effect of voltage-threshold adjustments on differential amplifier 2300 of Figure 23A.
DETAILED DESCRIPTION
[0043] Figure 4 depicts a communication system 400, including a conventional transmitter 402 connected to a receiver (receive circuit) 403 equipped with Decision Feedback Equalization (DFE) . In a normal operational mode, receiver 403 samples an input data stream from transmitter 402. The sampled data provides DFE feedback to reduce intersymbol interference (ISI) . In a margin-test mode, receiver 403 samples a known input data stream using ranges of sample timing and reference voltages. To prevent a collapse of the margins, the DFE feedback path disregards the potentially erroneous sampled data in favor of an identical version of the known input data stream. In-system margin tests can therefore probe the margin without collapsing the margin limits.
[0044] Receiver 403 conventionally includes a sampler 405, an optional clock-and-data recovery (CDR) circuit 410, and a DFE circuit 415. During normal operation, receiver 403 receives a data stream (e.g., a series of data symbols) on sampler input terminal Din. Sampler 405 samples the data stream using a recovered clock RCK from CDR circuit 410 and produces the resulting sampled data stream on a sampler output terminal Dout. DFE circuit 415 stores a plurality of prior data samples and uses these to condition the input data in the manner discussed above in connection with Figure 1. In addition to the conventional components, receiver 403 includes a multiplexer 420, an expected-data source 425, and some comparison logic 430, in this case an exclusive OR
(XOR) gate.
[0045] During normal operation, a test control signal T to multiplexer 420 is set to a logic zero to connect the output data Dout to the input of DFE 415. Thus configured, receiver 403 acts as a conventional DFE-equipped receiver. In a margin-test mode, however, select signal T is set to a logic one so as to convey an expected data stream from data source 425 to the input of DFE 415. Transmitter 402 then supplies known test data on terminal Din while the expected data is applied to DFE 415. The expected data is an identical, time-shifted version of the known data applied to input terminal Din, so DFE 415 produces the correct feedback without regard to the output signal Dout. In essence, multiplexer 420 provides the feedback path with a first input terminal for sampled output data in the operational mode and with a second input terminal for expected data in the margin-test mode.
[0046] The repeated reference herein to "terminal" Din, as opposed to the plural form "terminals," is for brevity. Receivers may include more than one data-input terminal, such as those that rely upon differential signaling. Likewise, other clock, reference, and signal paths noted herein can be single-ended, differential, etc., as will be evident to those of skill in the art. The preferred manner in which particular test circuits and methods are adapted for use with a given receiver will depend, in part, on the receiver architecture.
[0047] A voltage control signal CV on a like-named sampler input terminal alters the reference voltage used by sampler 405 to sample input data. A clock control signal CC to CDR circuit 410 modifies the timing of recovered clock signal RCK. Control signals CV and CC are used in margin testing to explore the voltage and timing margins of receiver 403. When the margin tests reach the margin limits, and thus introduce errors in output signal Dout, expected-data source 425 continues to provide the correct DFE feedback signal and consequently prevents the margins from collapsing in response to the errors. Comparison circuit 430 monitors the sampled-data series for errors by comparing the output data with the expected data from expected-data source 425. In the event of a mismatch, comparison circuit 430 produces a logic one error signal ERR. A sequential storage element (not shown) captures any error signal. Receiver 403 thus facilitates margin testing of DFE-equipped receivers without collapsing the margin of interest. (Error signal ERR may or may not be monitored in the operational mode.)
[0048] Expected-data source 425 produces the same data as expected on input terminal Din. Source 425 can be a register in which is previously stored a known data pattern to be provided during margin testing. Source 425 might also be a register that goes through an expected sequence of data, such as a counter or a linear-feedback shift register (LFSR) . Regardless of the source, the expected data presents the expected output data, appropriately timed, to the input of the feedback circuit DFE 415. [0049] Figure 5 depicts a receiver circuit 500 in accordance with another embodiment. Receiver 500 is similar in some ways to receiver 403 of Figure 4, like-numbered elements being the same. Receiver 500 is extended to include a second sampler 505 that is substantially identical to, and consequently mimics the behavior of, sampler 405. The margin tests are performed on replica sampler 505 so that margin-testing circuitry has little or no impact on the performance of receiver 500 in the operational mode. [0050] Receiver 500 includes a multiplexer 510 connected to a shift register 515. A modified clock and data recovery circuit CDR 520 controls the timing of both samplers 505 and 405. The timing control terminal is omitted for brevity. [0051] Prior to a margin test, test signal T is set to logic zero and the storage elements within register 515 are loaded with an expected-data sequence. Then, in the test mode, test terminal T is set to logic one so that shift register 515 feeds its output back to its input via multiplexer 510. To perform a margin test, sampler 505 samples input data Din. Comparison circuit 430 compares the resulting samples with the expected-data sequence provided by the first storage element in register 515. Any difference between the data sampled by the replica sampler 505 and the expected sequence from register 515 induces comparison circuit 430 to produce a logic one error signal on line ERR. Clocking circuitry, e.g. within CDR 520, can be adapted to control' separately the recovered clock signals RCK1 and RCK2.
[0052] Figure 6 depicts a receiver 600 in accordance with another embodiment. Receiver 600 is similar to the conventional receiver 100 of Figure 1, but is modified to support improved margin testing.
[0053] Receiver 600 includes a sampler 602 that, like sampler 105 of Figure 1, includes a differential amplifier 115 and a decision circuit 120. Although not shown, sampler 602 includes conventional means of adjusting the reference voltage and timing to support margin testing. DFE of receiver 600 performs conventionally in the operational mode and provides expected data in the margin-test mode. [0054] Receiver 600 includes a multiplexer 605, a comparison circuit 610, and a dual-mode register 615. Multiplexer 605 conveys output signal Dout to register 615 in the operational mode. Thus configured, receiver 600 functions analogously to receiver 100 of Figure 1. That is, register 615 shifts in the output data Dout and employs three bits of historic data to provide ISI-minimizing feedback to sampler 602.
[0055] During margin testing, test signal T is set to logic one. In that case, multiplexer 605 provides the output of an XOR gate 620 to the input of register 615. The inclusion of XOR gate 620 and the path through multiplexer 605 converts register 615 into a linear-feedback shift register (LFSR) that provides a pseudo-random but deterministic sequence of bits to both the input of register 615 and comparison circuit 610. Also during the margin test, the same pseudo-random sequence produced by register 615 is provided on input terminal Din. This test sequence is applied one clock cycle ahead of the expected data in flip-flop Dl of register 615, so the DFE will reflect the appropriate data regardless of whether output data Dout is correct. The timing and reference voltage of sampler 602 can therefore be adjusted while monitoring output data Dout for errors without fear of collapsing the margin limits. Comparison circuit 610, an exclusive OR gate in this example, flags any mismatches between the output data and the expected data to identify errors.
[0056] In the example of Figure 6, the pseudo-random sequence of test bits applied to input terminal Din is assumed to come from an external source, such as a conventional tester. The disclosed embodiments can also be adapted to support built-in self test (BIST) or in-system testing. For example, a linked transmitter/receiver pair adapted in accordance with one embodiment can margin test the intervening link. In other embodiments, receiver 600 is modified so that register 615 or another on-chip source provides the input test sequence. In some embodiments, register 615 is extended to include additional storage elements to produce more complex pseudo-random bit sequences. In such cases, the number of outputs from register 615 to the input of sampler 602 can be the same as or different from the number of storage elements employed by the LFSR. For additional details regarding LFSRs, see "What's an LFSR," document no. SCTA036A from Texas Instruments™ (12/1996) and the Xilinx™ application note entitled "Efficient Shift Registers, LFSR Counters, and Long Pseudo-Random Sequence Generators," by Peter Alfke, XAPP 052, 7 July 1996 (Version 1.1), both of which are incorporated herein by reference.
[0057] Figure 7 depicts a receiver 700 in accordance with yet another embodiment. Figure 7 includes a number of elements that are incidental to the inventive margin-testing circuitry, and so are only touched upon briefly here. The main components of the margin-testing circuitry are highlighted using bold outlines to distinguish them from incidental features. The emphasized components include a pair of conventional samplers 705 and 710 receiving input data on the same input terminal, Din, a pair of multiplexers 715 and 720, a pair of shift registers 725 and 730, and a data-weighting circuit 735.
[0058] In the operational mode, multiplexers 715 and 720 both select their zero input. The input data Din captured by samplers 705 and 710 is thus conveyed to respective shift registers 725 and 730. The data in shift register 730 is the output data DATA of receiver 700, and is fed back to weighting circuit 735. For equalization feedback, all or a subset of the bits stored in the plurality of storage elements that make up shift register 730 are provided to weighting circuit 735. In one embodiment, shift registers 725 and 730 each store twenty bits. Of these, five bits from register 730 are conveyed to weighting circuit 735. The selected bits and their associated weighting are optimized for a given receiver. For a detailed discussion of methods and circuits for performing such optimization, see U.S. application serial no. 10/195,129 entitled "Selectable- Tap Equalizer," by Zerbe et al., filed July 12, 2002, which is incorporated herein by reference. The details of that reference pertain to the optimization of a number of novel receivers. The margining methods and circuits disclosed herein may be of use in any systems that employ historical data to reduce ISI.
[0059] Weighting circuit 735 produces a weighted sum of a plurality of historical bits and applies this sum to input terminal Din. This is the same general function provided by the DFE ladder circuit of Figure 1, though the manner in which these weighting circuits perform this function differs significantly.
[0060] Weighting circuit 735 includes five amplifiers 745 [0:4], each of which receives a bit from shift register 730. A weight-reference circuit 750 provides each amplifier 745 with a reference signal (e.g., a constant current) that determines the weight given to the associated bit. The output terminals of amplifiers 745 [0:4] are connected to input terminal Din to provide a weighted sum of five historical data values from shift register 730. A current- controlled embodiment of an amplifier 745 [i] is detailed below in connection with Figure 8.
[0061] In the margin-test mode, each of multiplexers 715 and 720 selects its "one" input. The output of sampler 705 is thus conveyed to shift register 730 and the output of sampler 710 is conveyed to shift register 725. Recall that a function of the margin-test mode is to provide expected data to the input of the DFE circuitry. In this case, the expected data is the input data sampled by sampler 705 and captured in shift register 730. A voltage-control signal CV2 and timing control signal CT2 allow a tester or test personnel to alter the reference voltage and received clock RCK2 as necessary to probe the margin boundaries for sampler 710. Similar control signals CVl and CT1 afford similar control over sampler 705 and are set to appropriate levels to ensure sampler 705 correctly captures the input data. [0062] During a margin test, erroneous data bits from sampler 710 pass through shift register 725. Comparison circuit 755 therefore produces a logic-one error signal on line ERR. In this embodiment, it is not necessary to store expected data in advance or to provide a dedicated source of expected data. Instead, the expected data is derived from input data on terminal Din sampled by sampler 705. The sampler used to produce output data in the operational mode, sampler 710, is the same register subjected to the margin test. Testing the receive circuitry, as opposed to a replica, is advantageous because it provides a more accurate reading of the actual receive-circuitry performance. Also important, sampler 705 can be margined in a normal operating mode, assuming that it has independent timing and voltage control relative to sampler 710. Sampler 705 can also be margin tested and the respective sample point (voltage and timing) centered in the data eye prior to margin testing sampler 710.
[0063] Receiver 700 of Figure 7 is an equalizing receiver that generates receive and equalization clock signals. The following discussion outlines various features of receiver 700. For a more detailed discussion of similar receivers, see the above-incorporated application to Zerbe et al. [0064] In addition to the components discussed above in relation to the margin-testing methods and circuits, receiver 700 includes a CDR circuit 756 and an equalizer clock generator 759. Samplers 705 and 710 sample incoming data signal Din in response to respective receive-clock signals RCK1 and RCK2, both the which are derived from a reference clock RCLK. The samples taken by sampler 710 are shifted into register 730, where they are stored for parallel output via output bus DATA to some application logic (not shown) and to CDR circuit 756. [0065] Receive clock signal RCLK includes multiple component clock signals, including a data clock signal and its complement for capturing even and odd phase data samples, and an edge clock signal and a complement edge clock signal for capturing edge samples (i.e., transitions of the data signal between successive data eyes) . The data and edge samples are shifted into shift registers 725 and 730. Samples in register 730 are then supplied as parallel words (i.e., a data word and an edge word) to a phase control circuit 761 within CDR circuit 756. Phase control circuit 761 compares adjacent data samples (i.e., ι successively received data samples) within a data word to determine when data signal transitions have taken place, then compares an intervening edge sample with the preceding data sample (or succeeding data sample) to determine whether the edge sample matches the preceding data sample or succeeding data sample. If the edge sample matches the data sample that precedes the data signal transition, then the edge clock is deemed to be early relative to the data signal transition. , Conversely, if the edge sample matches the data sample that succeeds the data signal transition, then the edge clock is deemed to be late relative to the data signal transition. Depending on whether a majority of such early/late determinations indicate an early or late edge clock (i.e., there are multiple such determinations due to the fact that each edge word/data word pair includes a sequence of edge and data samples) , phase control circuit 761 asserts an up signal (UP) or down signal (DN) . If there is no early/late majority, neither the up signal nor the down signal is asserted.
[0066] Each of a pair of mix logic circuits 763 and 765 receives a set of phase vectors 767 (i.e., clock signals) from a reference loop circuit 769 and respective timing control signals CTl and CT2 as noted above. The phase vectors have incrementally offset phase angles within a cycle of a. reference clock signal. For example, in one embodiment the reference loop outputs a set of eight phase vectors that are offset from one another by 45 degrees (i.e., choosing an arbitrary one of the phase vectors to have a zero degree angle, the remaining seven phase vectors have phase angles of 45, 90, 135, 180, 225, 270, and 315 degrees) . Mix logic circuits 763 and 765 maintain respective phase count values, each of which includes a vector-select component to select a phase-adjacent pair of the phase vectors (i.e., phase vectors that bound a phase r angle equal to 360 °/N, where N is the total number of phase vectors) , and an interpolation component (INT) . The interpolation component INT and a pair of phase vectors VI and V2 are conveyed from each of mix logic circuits 763 and 765 to respective receive-clock mixer circuits 770 and 772.
Mixer circuits 770 and 772 mix their respective pairs of phase vectors according to the interpolation component INT to generate complementary edge clock signals and complementary data clock signals that collectively constitute first and second receive-clock signals RCKl and RCK2, which serve as input clocks for samplers 705 and 710, respectively. Timing control signals CTl and CT2 facilitate independent control of the timing of clock signals RCKl and RCK2.
[0067] Mix logic circuit 765 increments and decrements the phase count value in response to assertion of the up and down signals, respectively, thereby shifting the interpolation of the selected pair of phase vectors (or, if a phase vector boundary is crossed, selecting a new pair of phase vectors) to retard or advance incrementally the phase of the receive clock signal. For example, when the phase control logic 761 determines that the edge clock leads the data transition and asserts the up signal, mix logic 765 increments the phase count, thereby incrementing the interpolation component INT of the count and causing mixer 772 to incrementally increase the phase offset (retard the phase) of receive-clock signal RCKl. At some point, the phase control signal output begins to dither between assertion of the up signal and the down signal, indicating that edge clock components of the receive clock signal have become phase aligned with the edges in the incoming data signal. Mix logic 763 and mixer 770 are analogous to mix logic1765 and 772, but control the receive clock RCKl to sampler 705. These redundant circuits are provided so the receive-clock timing to samplers 705 and 710 can be independently adjusted during margin testing. [0068] The equalizer clock generator 759 receives the phase vectors 767 from the reference loop 769 and includes mix logic 774 and an equalizer clock mixer 776, which collectively operate in the manner described above in connection with mix logic 765 and mixer 772. That is, mix logic 774 maintains a phase count value that is incrementally adjusted up or down in response to the up and down signals from the phase control circuit 761. The mix logic selects a phase-adjacent pair of phase vectors 767 based on a vector select component of the phase count. The mix logic then outputs the selected vectors (VI, V2) and interpolation component of the phase count (INT) to the equalizer clock mixer 776. Clock mixer 776 mixes the selected vectors in accordance with the interpolation component of the phase count to generate the equalizer clock signal EQCLK. The equalizer clock signal, which may include complementary component clock signals, is provided to weighting circuit 735 (or another type of equalization circuit) to time the output of equalizing signals onto data input terminal Din.
[0069] Figure 8 depicts an embodiment of a buffer 800 that may be used as one of amplifiers 745 in weighting circuit 735 of Figure 7 in an embodiment in which the data input Din is a two-terminal port receiving differential input signals Din and /Din. Clock signal EQCLK is also a differential signal EQCLK and /EQCLK in this embodiment. [0070] Buffer 800 receives one of five differential feedback signals (EQDin[i] and /EQDin[i]) and the differential clock signal (EQCLK and /EQCLK) from mixer 776.
Reference circuit 750 provides a reference voltage EQWi that determines the current through buffer 800, and consequently the relative weight of the selected feedback data bit. [0071] The above-described embodiments are adapted for use in receivers of various types. The embodiment of Figure 6, for example, is applied to a receiver adapted to receive single-ended input signals, while the embodiments of Figures 7 and 8 are applied to receivers adapted to receive complementary signals. These examples are not limiting, as these and other embodiments can be applied to receivers adapted to communicate signals in any of a number of communication schemes, including pulse-amplitude modulated (PAM) signals (e.g., 2-PAM and 4-PAM), which may be used in some embodiments to provide increased data rates. [0072] Figure 9 depicts a receiver 900 in accordance with another embodiment. Receiver 900 is similar to receiver 700 of Figure 7, like-identified elements being the same or similar. Receiver 900 differs from receiver 700 in that receiver 900 omits multiplexer 715 and shift register 725. XOR gate 755 detects errors by comparing the data symbols from samplers 705 and 710. As in receiver 700, both samplers 705 and 710 can be margined in a normal operating mode. The operation of receiver 900 is otherwise similar to that of receiver 700.
[0073] Receivers 700 and 900, detailed in connection with respective Figures 7 and 9, do not require a predetermined pattern of data (i.e., an "expected" data pattern"), and can thus be margined in the presence of the data patterns received during normal operation. The ability to detect system margins in system and without disrupting the normal flow of data enables accurate in-system margin test. In addition, receivers so equipped can be adapted to dynamically alter system parameters to maintain adequate margins.
Margin Mapping (Shmoo plots)
[0074] Figure 10A depicts a receiver 1000, a simplified version of receiver 900 of Figure 9 used to illustrate margin mapping in accordance with one embodiment. Receiver 1000 includes two samplers 1005 and 1010, an XOR gate 1015, and a "shmoo" circuit 1025. As used herein, a shmoo circuit is used to develop shmoo data, shmoo data is information that represents margin test results for a given sample point, and a shmoo plot is a graph that represents shmoo data to illustrate how a particular margin test or series of margin tests passes or fails in response to changes in the reference voltage and reference timing. Samplers 1005 and 1010 receive the same input data Din, but have independently adjustable reference voltages RefA and RefB and reference clocks ClkA and ClkB.
[0075] Figure 10B is a diagram 1026 illustrating the relationship between each of samplers 1005 and 1010 and a data eye 1030. Each Cartesian coordinate on diagram 1026 represents a sample coordinate, the Y axis being representative of sample voltage and the X axis being representative of sample time. A data point 1035 is centered in data eye 1030 along both axes, and thus represents an ideal sample point for sampler 1005.
[0076] To perform a margin test, reference voltage RefB and reference clock ClkB are adjusted along their respective Y and X axes to sample data symbols at each coordinate one or more times to probe the boundaries of eye 1030. Margins are detected when XOR gate 1015 produces a logic one, indicating that sampler 1010 produced different data than sampler 1005. Shmoo circuit 1025 correlates errors with the respective reference voltage RefB and clock signal ClkB for sampler 1010 and stores the resulting X-Y coordinates. Care should be taken to ensure proper clock-domain crossing of the two reference clocks ClkA and ClkB to prevent data samplers 1005 and 1010 from sampling different data eyes (e.g., to prevent respective samplers from sampling different ones of two successive data symbols) . Signals RefB and ClkB can be interchanged with respective signals RefA and ClkA in Figure 10B to margin sampler 1010. Methods and circuits for adjusting clock phases and reference voltages are well known in the art, and are therefore omitted here for brevity.
[0077] Figure 10C depicts a shmoo plot 1050 graphically depicting an illustrative margin test in accordance with one embodiment. During margin test, reference voltage RefB and reference clock ClkB are adjusted to sample incoming data at each voltage/time square (sample point) represented in Figure IOC. The number of errors encountered over a fixed time is then recorded for each sample coordinate. The resulting plot for a given receiver will bear a resemblance to plot 1050, though will typically be less uniform than this illustration.
[0078] Plot 1050 can be used in a number of ways. Returning to Figure 10B, for example, data point 1035 is depicted in the center of eye 1030, an ideal circumstance. Plot 1050 can be used to precisely locate the true center of eye 1030. Once this center is known, reference voltage RefA and reference clock ClkA can be adjusted as needed to maximize the margins for sampler 1005.
[0079] Plot 1050 can also be used to establish different margins depending upon the allowable bit-error rate (BER) for the communication channel of interest. Different communication schemes afford different levels of error tolerance. Communications channels can therefore be optimized using margin data gathered in the manner depicted in Figure IOC. For example, an error-intolerant communication scheme might require the zero-error margin, whereas a more tolerant scheme might be afforded the larger margin associated with a small number of errors per unit time.
Adaptive Margining
[0080] Some embodiments detect and maintain margins without storing the shmoo data graphically depicted in Figure IOC. One or more additional samplers can be used to probe the margins periodically or dynamically, and the sampler used to obtain the sampled data can be adjusted accordingly. In one embodiment, for example, the reference voltage and clock of the sampler used to obtain the sampled data are adjusted in response to perceived errors to maintain maximum margins. With reference to Figure 10A, sampler 1010 can periodically probe the high and low voltage margins and then set reference voltage RefA between them. With reference voltage RefA thus centered, the process can be repeated, this time adjusting the phase of reference clock ClkB to detect the timing margins. The phase of reference clock ClkA can then be aligned in eye 1030. In other embodiments, additional samplers can simultaneously probe different margins of eye 1030. Dynamic margining systems in accordance with these embodiments thus automatically account for time-variant system parameters (e.g., temperature and supply-voltage).
[0081] Figure 11 details an embodiment of shmoo circuit 1025 of Figure 10A. Shmoo circuit 1025 includes a pair of flip-flops 1100 and 1105. Flip-flop 1100 synchronizes error signal Err with a clock signal Clk. Flip-flop 1105, a ones detector, produces a logic-one output signal OUT in response to any logic ones received from flip-flop 1100. In operation, both flip-flops are reset to zero and error signal Err is monitored for a desired number of data samples at a given timing/voltage setting. Flip-flop 1100 captures any logic-one error signals Err, and ones detector 1105 transitions to logic one and remains there in response to any logic ones from flip-flop 1100. A logic one output signal OUT is therefore indicative of one or more error signals received in the sample period. In other embodiments, flip-flop 1105 is replaced with a counter that counts the number of captured errors for a given period. The number and duration of the sample periods can be changed as desired. [0082] Figure 12 details a double-data-rate (DDR) receiver 1200 in accordance with another embodiment adapted to accommodate margin shmooing. Receiver 1200 includes four data samplers 1205-1208 timed to an odd-phase clock Clk_0, four respective flip-flops 1210 timed to an even-phase clock Clk_E, three error-detecting XOR gates 1215, a multiplexer 1220, error-capturing logic 1225, and shmoo control logic 1230. An external tester (not shown) issues test instructions and receives margin-test results via a test- access port TAP. In another embodiment, the outputs from the three flip-flops 1210 following samplers 1205, 1206, and 1207 connect directly to corresponding inputs of multiplexer 1220. A single XOR gate on the output side of multiplexer 1220 then compares the selected sampler output signal with the output from sampler 12,08.
[0083] As is conventional, DDR receivers receive data on two clock phases: an odd clock phase Clk_0 and an even clock phase Clk_E. Receiver 1200 represents the portion of a DDR receiver that captures incoming data using the odd clock phase Clk_0. Signals specific to only one of the clock phases are indicated by the suffix "_E" or "_0" to designate an even or odd phase, respectively. Samplers 1205, 1206, and 1207 are portions of the "odd" circuitry. Similar samplers are provided for the even circuitry but are omitted here for brevity. The odd and even clock phases of a DDR high-speed serial input signal can be shmooed separately or in parallel.
[0084] Receiver 1200 enters a shmoo mode at the direction of the external tester. Shmoo select signals Shm[l:0] then cause multiplexer 1220 to connect the output of one of XOR gates 1215 to the input of error-capturing logic 1225. The following example assumes multiplexer 1220 selects error signal Errl to perform margin tests on sampler 1205. Margin tests for the remaining samplers 1206 and 1207 are identical .
[0085] The external tester initiates a shmoo test cycle by issuing a rising edge on terminal Start. In response, control logic 1230 forces a signal Running high and resets a ones detector 1235 within error-capturing logic 1225 by asserting a reset signal RST. When signal Start goes low, control logic 1230 enables ones detector 1235 for a specified number of data clock cycles--the "shmoo-enable interval"—by asserting an enable signal EN. When period- select signal PeriodSel is zero, the number of data clock cycles in the shmoo-enable interval is 160 (320 symbol periods) . When signal PeriodSel is one, the number of data clock cycles in the shmoo-enable interval is 128 (256 symbol periods) .
[0086] The lower-most sampler 1208, in response to control signals from the external tester, shmoos the margins for the sampler 1205 selected by multiplexer 1220. The shmooing process is similar to that described above in connection with Figures 10A, 10B, and IOC. The process employed by receiver 1200 differs slightly, however, in that receiver 1200 takes advantage of the presence of even clock Clk_E and flip-flops 1210 to retime the input signals to XOR gates 1215. Even clock Clk_E is 180 degrees out of phase with respect to odd clock Clk_0. Clock signal ClkB can therefore be varied up to 90 degrees forward or backward with respect to odd clock Clk_0 without fear of sampling different data symbols with the selected sampler 1205 and sampler 1208.
[0087] The upper-most XOR gate 1215 produces a logic one if, during the shmoo-enable interval, one or more bits from sampler 1205 mismatches the corresponding bit from sampler 1208. A flip-flop 1240 captures and conveys this logic one to ones detector 1235. At the end of the shmoo-enable interval, controller 1230 brings signal Running low and holds the state of signal Err_0. A logic one error signal Err_0 indicates to the tester that at least one mismatch occurred during the shmoo-enable interval, whereas a logic zero indicates the absence of mismatches. [0088] The shmoo interval can be repeated a number of times, each time adjusting at least one of reference voltage RefD and clock CLKB, to probe the margins of input data Din. A shmoo plot similar to that of Figure 10B can thus be developed for sampler 1205. This process can then be repeated for the remaining samplers.
[0089] Control logic 1230 does not interfere with the normal operation of receiver 1200, so shmooing can be performed for any type of input data Din. Also advantageous, receiver 1200 allows for the capture of real data eyes under various operating conditions, and can be used to perform in- system margin tests.
[0090] Other embodiments repeat the process a number of times for each of an array of voltage/time data points to derive margin statistics that relate the probability of an error for various sample points within a given data eye. Still other embodiments replace ones detector 1235 with a counter that issues an error sum count for each shmoo-enable interval .
[0091] In one embodiment, receiver 1200 samples four- level, pulse-amplitude-modulated (4-PAM) signals presented on terminal Din, in which case each of samplers 1205-1207 samples the input data symbols using a different reference voltage level. In general, the methods and circuits described herein can be applied to N-PAM signaling schemes, where N is at least two. Such systems typically include N-l samplers for each data input node.
[0092] Figure 13 depicts a receiver 1300 that supports error filtering in accordance with another embodiment. Receiver 1300 is similar to receiver 1000 of Figure 10A, like-numbered elements being the same or similar. Receiver 1300 differs from receiver 1000 in that receiver 1300 includes data filter 1305 that allows receiver 1300 to shmoo particular data patterns. This is a benefit, as a receiver's margin may differ for different data patterns, due to ISI for example. Data filter 1305 allows receiver 1300 to perform pattern-specific margin tests to better characterize receiver performance.
[0093] Data filter 1305 includes a series of N data registers 1310 that provide a sequence of data samples Dout to a pattern-matching circuit 1315. In this case N is three, but N may be more or fewer. Data filter 1305 also includes a series of M (e.g., two) error registers 1320 that convey a sequence of error samples to an input of an AND gate 1325. AND gate 1325 only passes the error signals from registers 1320 if pattern-matching circuit 1315 asserts a error-valid signal ErrVal on the other input of AND gate 1325. Pattern- matching circuit 1315 asserts signal ErrVal only if the pattern presented by registers 1310 matches some predetermined pattern or patterns stored in pattern-matching circuit 1315. In one embodiment external test circuitry (not shown) controls the patterns provided by matching circuit 1315. Other embodiments support in-system testing with one or more patterns provided internally (e.g., on the same semiconductor chip) .
[0094] Some of the foregoing embodiments employ an additional sampler to probe the margins of a given data input. Some receiver architectures already include the requisite additional sampler, to support additional signaling modes, for example. Other embodiments may be adapted to include one or more additional "monitor" samplers .
Statistical Margin Testing
[0095] Figure 14 depicts a receiver 1400 adapted to perform margin testing in accordance with another embodiment. Receiver 1400 includes a conventional sampler 1405, which in turn includes a data input terminal Din, a reference voltage terminal Vref, and a clock node SCK adapted to receive a sample-clock signal. Receiver 1400 additionally includes a margining circuit 1410 that controls the reference voltage Vref and the phase of sample clock SCK to sample the voltage/time (V/T) space of the incoming series of data symbols.
[0096] As is conventional, sampler 1405 uses reference voltage Vref as a voltage threshold for comparison to data symbols expressed on terminal Din. The voltage threshold of sampler 1405 can therefore be adjusted by altering reference voltage Vref. Threshold voltages may be varied in different ways in other types of receivers. For example, the voltage threshold of some differential receivers is varied by adjusting the differential input offset voltage of the sampler or of a preamplifier that precedes the sampler. A digital-to-analog converter controlled by a register can provide precise control for such offsets. In such receivers, margining circuit 1410 would control the threshold of sampler 1405 without necessarily providing an actual reference voltage Vref, as shown in Figure 14. Sampler 1405 may include a preamplifier or other signal conditioning circuitry.
[0097] Margining circuit 1410 includes a counter 1415, control logic 1420, and some memory 1425. Margining circuit 1410 samples a number of received data symbols at each of a plurality of V/T coordinates to find the probability that the data at each coordinate is representative of a particular logic level, a logic one in this and the following examples. The collection of probability statistics for the entire V/T space are then used to characterize various input characteristics of the received data, including the margin of receiver 1400. This embodiment facilitates margin testing in system, does not require a separate sampler, and provides margin data based upon the performance of the relevant receiver.
[0098] Figure 15 depicts an eye diagram 1500, used to illustrate the functionality of receiver 1400 of Figure 14. As is conventional for two symbol (binary) signaling, eye diagram 1500 depicts an opening 1505 bounded by an upper horizontal line ONE representative of a logic one, a lower horizontal line ZERO representative of a logic zero, and four somewhat vertical signal-transition segments extending between lines ONE and ZERO. Bounding the left side of opening 1505 are (1) a zero-to-one transition segment 0->l representing a range of voltages over which input data Din transitions switching from zero to one and (2) a one-to-zero transition segment l->0 representing a range of voltages over which input data Din transitions when switching from one to zero. (Each of the depicted segments represents half of a transition, the remaining halves extending to the left and right of diagram 1500.)
[0099] The eye pattern of diagram 1500 is overlayed onto a grid in which the Y axis represents a range of seventeen reference voltages Vref [0:16] and the X axis represents a range of nineteen timing instants T[0:18] that correspond to phases of sample clock SCK. Diagram 1500 thus depicts 323 (17x19) sample points in V/T space.
[0100] In accordance with one embodiment, margining circuit 1410 of Figure 14 adjusts reference voltage Vref and the phase of sample clock SCK to sample each point on the grid of diagram 1500 over N clock cycles, where N is a statistically significant number. Counter 1415 accumulates the number of ones detected over the N sampled input symbols for each sample point, and thus obtains some indication of the probability of receiving a logic one at that V/T point. One might assume, for example, that data Din will exhibit approximately the same number of ones and zeroes over a given period. This is often a good assumption, particularly in communication systems that employ balanced signaling schemes to support AC coupled communication channels. [0101] The eye pattern of Figure 15 is assumed to depict many cycles of a balanced signal (i.e., the same number of ones and zeroes over a statistically significant period) . The shaded areas that make up the eye pattern represent the cumulative traces of input data Din over the many cycles . Ideally, the data can be sampled correctly anywhere within eye 1505. Unfortunately, true eye diagrams can be far less clearly defined than in Figure 15. It is therefore important to characterize eye 1505 and center the sample point within eye 1505 to maximize the noise margin.
[0102] Assuming a balanced signal, any data sampled within eye 1505 should exhibit an equal number of ones and zeroes over time. Referring to sample point P(4,9), for example, the input data Din will be greater than the voltage at sample point P(4,9) half the time (i.e., will be at ONE) and less than the voltage at sample point P(4,9) half the time (i.e., will be at ZERO). In other words, the probability that the sampled data will be a logic one is 50%. The same is true of any point within eye 1505. Sampling data Din above trace ONE will always result in a logic one because all the voltage traces (the shaded areas) lay below those sample points, so the probability that the data will be a logic one is 100%. Similarly, sampling data Din below trace ZERO will always result in a logic zero because all the voltage traces lie above those sample points. [0103] Ones probabilities are indicative of other portions of the eye diagram as well. Referring to area 1510, for example, data sampled within this area may be in one of for states: a logic one ONE, a logic zero ZERO, transitioning between zero and one (0->l) , and transitioning between one and zero (l->0) . Again assuming a balanced signal, there is an equal probability that incoming signal Din will be in any one of these four states . The sampling points within area 1510 are above three of these four possibilities, so data sampled in area 1510 will exhibit a logic one three out of four times, a 75% ones probability. Area 1515 is similar, but the sampling points within area 1515 are above only one of the four possibilities, so data sampled in area 1515 will exhibit a logic one only 25% of the time. The right side of diagram 1500 has 75% and 25% areas symmetrical with areas 1510 and 1515.
[0104] Figure 15 illustrates the important point that the probability of sensing data of a particular type (e.g., the ones probability) changes at each boundary that defines eye 1505. The boundaries of the eye can therefore be detected by examining the ones probability (or zero probability) of incoming data over a range of sample voltages, sample timing, or both.
[0105] Returning to Figure 14, margining circuit 1410 can map the ones probability for data across the V/T space depicted in Figure 14 to characterize the margin of the incoming data. For each data point (e.g., P[0,0 ), control logic 1420 sets the appropriate voltage and timing, resets counter 1415, and then enables counter 1415 to count received ones for some number of clock cycles (e.g., 1,000), which defines the sample period. At the end of the sample period, control logic 1420 conveys the contents of counter 1415 to a storage location within memory 1425 corresponding to the sample point. Referring to point P(4,9) of Figure 15, for example, counter 1415 should count to 500 over 1,000 clock cycles, in which case the number 500 would be stored in location 4,9 of memory 1425. This process is continued for each sample point P(X,Y) until memory 1425 contains a number corresponding to the ones probability for each sample point within diagram 1500.
[0106] Figure 16 is a table 1600 depicting a hypothetical collection of data sampling points, the vertical axis plotting a range of fifteen sample voltages Vref [0:14] and the horizontal axis plotting a range of sample timing instants T[0:14]. Table 1600 represents raw data relating to the probability of sensing a logic one at two hundred twenty-five V/T sample points in relation to a stream of . incoming data symbols. The expressed probability data defines boundaries of an exemplary data eye, and can be used to measure various data parameters, including the margin of the data eye. This example assumes that ten thousand samples are taken at each sample point and the number of sampled ones recorded in some suitable memory, either on or off the IC containing the receiver under test. As apparent from the hypothetical data, the number of ones recorded in each sample point ranges from zero (at points P[0,X]) to ten thousand (at points P[14,X]). The number of ones recorded for the remaining sample points lies between these two extremes .
[0107] Figure 17 is a table 1700 depicting the same data as table 1600 of Figure 16 in a format that emphasizes how the data expresses a signal eye. Data points are grouped and shaded according to the number of sampled ones out of 10,000 samples. The disparate shading highlights characteristics of the hypothetical data eye representative of the sampled input data stream.
[0108] Figure 18 is yet another table, this one labeled 1800, depicting the data of tables 1600 and 1700. Table 1800 differs from table 1700 in that data points with similar numbers of samples are collected and the fraction of sampled ones divided by ten thousand is depicted as a percentage, the approximate probability that data sampled in a given area in V/T space will be a logic one. A comparison of table 1800 with diagram 1500 of Figure 15 shows how table 1800 illustrates a data eye similar to data eye 1505 using probability data.
[0109] The boundaries between areas of differing probability are fairly stark. Referring back to Figure 18, for example, the probabilities of the data points within the depicted data eye differ from the ideal 50% by at most 2.5%, ranging from about 47.5% to about 52.5%, whereas the data points surrounding the eye differ from those probabilities by a minimum of about 7.5%. The boundaries defining the depicted data eye can therefore be highlighted by taking spatial (e.g., one- or two-dimensional) derivatives of the probability data to highlight points at which the probability changes significantly between adjacent data points. In one embodiment, for example, data of the type depicted in Figures 17 and 18 is represented as derivatives of that data taken along each time T(0) through T(14) to highlight the horizontal boundaries of Figures 17 and 18, as derivatives of that data taken along each voltage Vref (0) through Vref (14) to highlight the vertical boundaries, or both.
[0110] As noted above, the "data" of Figures 17 and 18 is merely illustrative. Real data may be much less evenly distributed and subject to significant variations due to noise. Increasing the number of samples acquired for each data point helps. Other embodiments include various well known methods of filtering, such as discarding "flyer" data values. Further, in the case of a small eye suffering from substantial ISI, jitter, and other noise sources, the statistically expected ones densities in the transition regions would not be as uniform as in the figures shown. However, the eye opening would still be statistically distinct because relatively uniform ones densities would still be achieved within the opening.
[0111] Figure 19 depicts a system 1900 that includes a. receiver 1905 and a margining circuit 1910 in accordance with another embodiment. Margining circuit 1910 uses a second receiver 1915, typically identical to receiver 1905, to find the center voltage and/or timing value of data eyes derived from incoming data Din. Margining circuit 1910 then sets the reference voltage Vref and/or timing of receiver 1905 at the center value to maximize the voltage and/or timing margin. Receivers 1905 and 1915 are samplers in one embodiment .
[0112] In operation, sampling logic 1920 sets a shmoo voltage Vs, the sampling voltage for receiver 1915, to the nominal voltage center (the expected center) of the incoming data stream. Sampling logic 1920 then resets a counter 1925 and enables counter 1925 to count the number of logic ones expressed as output data Dout2 from receiver 1915 over a statistically significant number N of input clock cycles (e.g., 10,000 clock cycles). As noted above in connection with Figure 15, and assuming balanced input data, samples taken within the data eye have a 50% probability of being a logic one, give or take a margin of error. The margin of error will vary from system to system, and with the number of samples taken. This example assumes that data sampled within the eye will exhibit a ones probability of between 45% and 55%.
[0113] If the ones probability for the current sample point is between 45% and 55%, the current voltage setting is recorded in a first register 1930 and the sampling voltage Vs is incremented. The sampling process is then repeated for each incrementally greater sample voltage Vs until the measured ones probability is greater than 55%. The sample voltage Vs producing this relatively high ones probability is above the margin, so the voltage setting within register 1930 is not updated. Register 1930 thus contains an indication of the highest voltage Vs within the incoming data eye.
[0114] Having found the upper limit of the data eye, margining circuit 1910 performs a similar procedure to obtain the lower limit. Sampling logic 1920 sets sample voltage Vs back to the nominal center of the incoming data stream. Sampling logic 1920 then resets counter 1925 and enables counter 1925 to count the number of logic ones expressed as output data Dout2 from receiver 1915 over N cycles. If the ones probability for the current sample point is between 45% and 55%, the current voltage setting for sample voltage Vs is recorded in a second register 1935 and sampling voltage Vs is decremented. The sampling process is then repeated for each decrementally lower sample voltage Vs until the measured ones probability is less than 45%. The sample voltage Vs producing this relatively low ones probability is below the margin, so the voltage setting within register 1935 is not updated. Register 1935 thus contains an indication of the lowest voltage Vs within the incoming data eye.
[0115] Some simple logic 1940 averages the values in registers 1930 and 1935 and stores the result in a third register 1945. The value in register 1945 represents the reference voltage Vref centered in the data eye and is used to set the reference voltage Vref applied to receiver 1905. This process can be carried out once, e.g. at start up, or repeated periodically to account for changes in the noise environment .
[0116] In some embodiments, margining circuit 1910 repeats the sampling for various timing instants along the X axis at a common voltage Vref to find the horizontal center of the data eye. As in the example of Figure 15, the probability data remains the same all along the center of the data eye and into the preceding and subsequent data eyes. The value Vref for the horizontal margining is therefore selected to be above or below the central reference-voltage value indicated in register 1945. This embodiment] does not provide the shmoo data for a complete shmoo plot, but can be implemented using relatively few resources. Other embodiments employ this or a similar method for in-situ or dynamic margining, and also support more data-intensive margining techniques for more detailed analysis. Redundant receivers employing these techniques can dynamically or periodically explore the boundaries of incoming data eyes to maintain the margin for an associated receiver.
[0117] In other embodiments, receiver 1915 within voltage margining circuit 1910 acts as the data receiver in normal operation. Margining circuit 1910 might also be shared among a number of receive amplifiers and used alternately to test each one. The margined receiver or receivers need not be samplers, but can be any form of data receivers. [0118] Figure 20 depicts a margining circuit 2000 used in place of margining circuit 1410 of Figure 14 in another embodiment. Margining circuit 2000 samples output data Dout in much the same way as margining circuit 1410, but plots the resulting probability data as the difference between the probabilities of sample points that are adjacent on the voltage axis. The operation of an embodiment of margining circuit 2000 is described below in connection with Figure 21.
[0119] Margining circuit 2000 includes a conventional counter 2005, sampling logic 2010, first and second registers 2015 and 2020, comparison logic 2025, and some memory 2030 that may be on the same or a different integrated circuit with the rest of circuit 2000. [0120] Figure 21 is a flowchart 2100 illustrating the functionality of margining circuit 2000 of Figure 20 in accordance with one embodiment. Beginning at step 2105, sampling logic 2010 resets counter 2005 and a pair of X and Y counters (not shown) to zero. The X and Y counters together specify data points of the type depicted in Figure 18, where Y specifies values along the Y (voltage) axis and X specifies values along the X (time) axis. Next, sampling logic 2010 enables counter 2005 for N sample periods, ten thousand received clock cycles in the forgoing embodiments, during which time counter 2005 accumulates the number of sampled ones (step 2110) . The final count, in this case corresponding to data point P[0,0], is then stored in the first register 2015. The Y register is then incremented and the sampling repeated for the next reference voltage Vref(Y-l). The resulting count is once again stored in register 2015 and the contents of register 2015 is shifted into register 2020 (step 2115) .
[0121] At this point, registers 2015 and 2020 contain probability data for adjacent sample points along the voltage axis. Comparison logic 2025 then compares the difference between the probabilities represented in registers 2015 and 2020 against a threshold value THval (decision 2120) . If the difference exceeds value THval, sampling logic 2010 stores the X and Y coordinate values in memory 2030 (step 2125) . In the example of Figures 18 and 19, for example, differences greater than 5% may be assumed to represent signal trace edges. Comparison logic 2025 indicates whether the difference is positive or negative in some embodiments, and the threshold value can be adjusted or omitted as desired.
[0122] Turning to decision 2130, if Y+l is less than Y ax, the highest numbered sample reference voltage, sampling logic 2010 increments the Y value (step 2135) and repeats the sampling and comparison steps for the next sample point on the Y axis. This process continues for each reference voltage Vref. Once all data points have been explored for a given X (sample timing) value, Y is reset to zero (step 2140) and X is incremented (step 2145), provided X is less than the highest available X value (decision 2150) . Sampling logic 2010 is finished when probability data has been derived for each sample point along the X and Y axes. This process thus saves all the coordinates that produced a change in the ones probability greater than the threshold value THval. The points typically indicate the trajectories of the signal traces through the V/T space. [0123] Figure 22 is an eye diagram 2200 illustrative of a 4-PAM signal, and is included here to show that the methods and circuits described herein are applicable to different signaling schemes. As is well known, 4-PAM signaling schemes represent data using four data levels (i.e., four data symbols), each of which is represented in Figure 22 as a cross-hatched horizontal line labeled using the digital bits the voltage level is intended to represent. The example assumes a 4-PAM signaling scheme expressing equal numbers of the four possible states over the sample period. < [0124] Diagram 2200 depicts a number of regions in the V/T space labeled using a ones probability expressed as a percentage (i.e., the percentage of ones sampled at points P[T,V] within the respective V/T region) . Time Tl represents the ideal sampling instant centered in the three data eyes of the 4-PAM signal. Referring first to data eye 2205, data sampled within this eye has a one in four chance of being below the sampling point (i.e., the data must be 00 to be below the sampling point) , so single-bit sampled data has a 25% ones' probability. Data sampled within eye 2210 has an equal probability of being above (10 or 11) or below (01 or 00) the sample point, so data sampled within window 2210 will have a ones probability of 50%. Finally, data sampled within data eye 2215 has a three in four chance of being below the sampling point, and thus has a ones probability of 75%. Probability data can thus be used to distinguish the three main data eyes of a 4-PAM signal.
[0125] Various V/T regions surrounding eyes 2205, 2210, and 2215 are also labeled using ones probabilities. These probabilities stem from the fact that the expressed data has sixteen possible states during periods of transition (e.g., at time T2) . The number is sixteen because, during the transition times, the expressed data can either be remaining the same or transitioning to one of the three other states. As an illustrative example, the V/T region directly to the right of data eye 2215 is labeled 81.25%. Of the sixteen possible states at time T2, three are above the sample points within the V/T region and thirteen are below. The ones probability is therefore 13/16, or 81.25%. [0126] Diagram 2200 is more complex than diagram 1800 of Figure 15, but probabilistic data can be used in the same manner to analyze the 4-PAM data. Some embodiments are adapted to analyzes data sampled in V/T space to distinguish between signaling schemes (e.g., 2-PAM v. 4-PAM). [0127] Each of the above examples assumes balanced input signals (e.g. equal numbers of ones and zeros for 2-PAM signals, or an equal number of zeros, ones, twos, and threes in 4-PAM signals) . The embodiments described herein also work for unbalanced signals, provided sufficient numbers of samples are taken at each point. If a given signaling scheme uses more ones than zeroes over time, plots like those of Figures 17 and 18 show different probabilities in the highlighted areas, but the various V/T regions still show up as "flat" areas, i.e., areas with relatively consistent ones probabilities. For example, the data taken at points within a 2-PAM data eye might not be closely grouped around 50% ones, but might instead be grouped around 60% ones. The boundaries of the eye would still be evident as a change in probabilities. The resulting probability data can be converted to and viewed as derivatives of the probabilities to clarify the boundaries between different eye features. [0128] It is important to note in diagram 1500 that, assuming input data exhibiting an equal number of ones and zeroes, the 50% probability may extend horizontally outside of the central data eye. (The same is true of 2-PAM data of the type discussed above.) Care should therefore be taken, when centering the sample point within a given data eye, to distinguish the boundaries of the correct eye opening from other areas that exhibit similar probabilities. [0129] The foregoing embodiments offer many advantages. Among them, the analysis may be based upon the properties of an actual receiver or a close replica, thus avoiding errors that might otherwise be introduced by test equipment. The margining circuits and methods can be used to initially or periodically calibrate a receiver's sampling point, to adjust equalization coefficients, measure signal amplitude, measure signal timing, etc. Embodiments can be adapted to find and maintain optimized margins to support a sort of "plug-and-play" model for high-performance receivers.
[0130] Figure 23A schematically depicts a conventional differential amplifier 2300 with substantially linear voltage-threshold control. Amplifier 2300 is an example of one of many types of amplifiers, differential or otherwise, that can benefit from margining methods described herein. Amplifier 2300 provides substantially linear voltage- threshold control using two oppositely skewed differential pairs to drive a shared differential load.
[0131] Differential amplifier 2300 includes a first differential transistor pair 2302, a second differential transistor pair 2304, a first current source 2306, a second current source 2308, a first load 2310 (i.e., resistance R) , and a second load 2312 (i.e., resistance R) , wherein M represents a normalized size of the transistors in the first 2302 and second 2304 differential transistor pairs, N represents a transistor size ratio variable, and S represents a current steering variable. By steering a fixed amount of tail current, It, between the first differential transistor pair 2302 and the second differential transistor pair 2304, the effective voltage threshold can be adjusted from -Vmax to -Vmax, where Vmax is the systematic offset voltage of each of the first differential transistor pair 2302 and the second differential transistor pair 2304, as shown in Figure 23B, wherein Vin(diff) represents the differential signal formed of input signals Din and /Din and Vout(diff) represents the differential signal formed of output signals Dout and /Dout. This systematic offset voltage is due to the difference in size between the two transistors in each of the first differential transistor pair 2302 and the second differential transistor pair 2304.
The magnitude of the systematic offset voltage for each differential transistor pair is approximately proportional to the square root of its tail current, It, and the square root of its transistor size ratio.
[0132] While the present invention has been described in connection with specific embodiments, variations of these embodiments will be obvious to those of ordinary skill in the art. Moreover, unless otherwise defined, terminals, lines, conductors, and traces that carry a given signal fall under the umbrella term "node." In general, the choice of a given description of a circuit node is a matter of style, and is not limiting. Likewise, the term "connected" is not limiting unless otherwise defined. Some components are shown directly connected to one another while others are shown connected via intermediate components. In each instance, the method of interconnection establishes some desired electrical communication between two or more circuit nodes, or terminals. Such communication may often be accomplished using a number of circuit configurations, as will be understood by those of skill in the art. Furthermore, only those claims specifically reciting "means for" or "step for" should be construed in the manner required under the sixth paragraph of 35 U.S.C. section 112. Therefore, the spirit and scope of the appended claims should not be limited to the foregoing description.

Claims

What is claimed is :
1 . A method comprising : a. sampling a first series of input symbols using a first voltage threshold to produce a series of first sampled symbols, wherein each of the first sampled symbols represents one of a plurality of logic levels, including a first logic level and a second logic level; b. calculating a first probability that the first sampled symbols represent the first logic level; c. sampling a second series of input symbols using a second voltage threshold to produce a series of second sampled symbols, wherein each of the second sampled symbols represents one of the plurality of logic levels, including the first logic level and the second logic level; and d. calculating a second probability that the second sampled symbols represent the first logic level.
2. The method of claim 1, further comprising repeating (a) through (d) for each of N additional voltage thresholds .
3. The method of claim 1, further comprising repeating (a) through (d) for each of M sample phases.
4. The method of claim 3, further comprising rendering a margin diagram using probability data, including the first ,and second probabilities.
5. The method of claim 1, further comprising comparing the first and second probabilities.
6. The method of claim 5, further comprising adjusting a sample voltage threshold based on the comparing and sampling a third series of data symbols using the adjusted sample voltage threshold.
7. The method of claim 1, wherein the first and second series of data symbols are sampled at a clock phase, the method further comprising adjusting the clock phase in response to the comparing and sampling a third series of data symbols using the adjusted clock phase.
8. A system comprising: a. a data input terminal adapted to receive a series of data symbols; b. a voltage threshold terminal adapted to receive a range of voltage thresholds, including a first voltage threshold and a second voltage threshold; c. a sampler having a sampler input terminal coupled to the data input terminal, a sampler reference terminal coupled to the voltage threshold terminal, and a data output terminal; and d. a counter coupled to the data output terminal and adapted to store: i. a first count representing a first probability that the received data symbols captured using the first voltage threshold are of a data type; and ii. a second count representing a second probability that the received data symbols captured using the second voltage threshold are of the data type.
9. The system of claim 12, further comprising control logic coupled to the counter and the voltage threshold terminal .
10. The system of claim 9, wherein the control logic enables the counter to count a number of received data symbols, and wherein the first probability is a fraction of the received data symbols captured using the first voltage threshold of the data type divided by the number of data symbols.
11. The system of claim 8, further comprising a memory port coupled to an addressable memory.
12. The system of claim 11, wherein the addressable memory and the sampler are instantiated on an integrated circuit.
13. The system of claim 8, further comprising comparison logic comparing the first count to at least one of the second count or a threshold value.
14. A receiver comprising: a. a sampler having: i. at least one sampler input terminal receiving a series of data symbols; and ii. at least one sampler output terminal producing a sampled data stream; b. an expected-data node providing expected data; and c. comparison logic coupled to the sampler output terminal and the expected-data node, the comparison logic adapted to compare the sampled data stream with the expected data.
15. The receiver of claim 14, further comprising an expected-data source coupled to the expected-data node and producing the expected data.
16. The receiver of claim 15, wherein the expected data source comprises a shift register, and wherein the receiver, including the shift register, are portions of an integrated circuit.
17. The receiver of claim 15, wherein the expected data source comprises a second sampler having a second sampler input terminal receiving the series of data symbols .
18. The receiver of claim 15, wherein the expected data source comprises a memory, and wherein the receiver, including the memory, are portions of an integrated circuit .
20. The receiver of claim 14, further comprising a feedback circuit, the feedback circuit including a first feedback-circuit input terminal coupled to the sampler output terminal and a second feedback-circuit input terminal connected to the expected-data node.
21. The receiver of claim 20, wherein the at least one sampler input terminal includes first and second complementary sampler input terminals, and wherein the feedback circuit further includes a feedback-circuit output terminal connected to at least one of the first and second complementary sampler input terminals.
22. The receiver of claim 20, the feedback circuit further including a plurality of data-weighting circuits, each data-weighting circuit connected between one of the plurality of storage elements and the at least one sampler input terminal.
23. A method of margin testing a signal receiver having a feedback circuit, the method comprising: a. sampling a series of input symbols to produce a sampled-data series; b. applying expected data to the feedback circuit; and c. monitoring the sampled-data series for errors while applying the expected data to the feedback circuit .
24. The method of claim 20, wherein the monitoring comprises comparing the sampled-data series with the expected data.
25. The method of claim 20, further comprising deriving the expected data from the series of input signals.
26. A receive circuit comprising: d. a data input terminal adapted to receive a stream of input data; e. a first clock terminal adapted to ' receive a first clock signal; f. a second clock terminal adapted to receive a second clock signal; g. a first sampler having a first sampler data terminal coupled to the data input terminal, a first clock terminal coupled to the first clock terminal, and a first data output terminal; h. a second sampler having a second sampler data terminal coupled to the data input terminal, a second clock terminal coupled to the second clock terminal, and a second data output terminal; and f. a comparison circuit having a first comparison- circuit input node coupled to the first data output terminal, a second comparison-circuit input node coupled to the second data output terminal, and a comparison-circuit output node.
27. The receive circuit of claim 26, wherein the data input terminal, the first sampler, the second sampler, and- the comparison circuit are disposed on a semiconductor chip.
28. The receive circuit of claim 26, wherein the first and second samplers sample the stream of input data to produce respective first and second sampled-data streams, and wherein the comparison circuit is adapted to compare at least one of the sampled-data streams with expected data.
29. The receive circuit of claim 26, wherein the comparison circuit issues an error signal in response to mismatches between the first and second sampled-data streams .
30. The receive circuit of claim 29, wherein the comparison circuit issues an error signal in response to each mismatch between the first and second sampled-data streams .
31. The receive circuit of claim 26, further comprising clock control circuitry coupled to the second clock terminal and providing the second clock signal, wherein the clock control circuitry is adapted to vary the phase of the second clock signal in response to a timing control signal.
32. The receive circuit of claim 31, wherein the clock control circuitry varies the phase of the first clock signal in response to a second timing control signal.
33. The receive circuit of claim 26, further comprising a third sampler having a third sampler data terminal coupled to the data input terminal, a third clock terminal, and a third data output terminal.
34. The receive circuit of claim 33, further comprising a multiplexer having a first multiplexer input terminal coupled to the first data output terminal, a second multiplexer input terminal connected to the third data output terminal, a select terminal, and a multiplexer output terminal.
35. The receive circuit of claim 34, wherein the first multiplexer input terminal is coupled to the first data output terminal via the comparison circuit.
36. The receive circuit of claim 34, wherein the first comparison circuit input node is coupled to the , multiplexer output terminal and the first multiplexer input terminal is coupled to the first data output terminal .
37. A method comprising: a. sampling a series of input symbols using a first clock signal of a first clock phase to produce a first series of sampled symbols; b. sampling the series of input symbols using a second clock signal of a second clock phase to produce a second series of sampled symbols; and c. comparing sampled symbols of the first series of sampled symbols with corresponding sampled symbols of the second series of sampled symbols.
38. The method of claim 37, further comprising adjusting, in response to the comparing, at least one of the first and second clock phases with respect to the other of the first and second clock phases.
39. The method of claim 37, wherein the sampling and comparing are completed on a semiconductor chip.
40. The method of claim 37, wherein the series of input symbols are sampled using the first clock phase at a first sample voltage and the using the second clock phase at a second sample voltage.
41. The method of claim 40, further comprising adjusting at least one of the first and second sample voltages with respect to the other of the first and second sample voltages in response to the comparing.
42. The method of claim 37, further comprising issuing an error signal in response to a mismatch between ones of the first and second series of sampled symbols.
43. The method of claim 37, wherein the comparing produces error data for a plurality of phase offsets between the first and second clock phases, the method further comprising storing the error data.
44. The method of claim 43, further comprising storing information regarding each of the phase offsets and the corresponding error data.
45. The method of claim 43, further comprising calculating a timing margin using the error data.
46. The method of claim 43, wherein the series of input symbols are sampled using the first clock phase at a first sample voltage and the using the second clock phase at a second sample voltage, and wherein the comparing produces second error data for a plurality of voltage offsets between the first and second sample voltages .
47. The method of claim 46, further comprising plotting the first-mentioned error data and the second error data.
EP04752834A 2003-05-20 2004-05-20 Margin test methods and circuits Withdrawn EP1629622A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP09167569A EP2148461A2 (en) 2003-05-20 2004-05-20 Margin test methods and circuits

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US10/441,461 US7408981B2 (en) 2003-05-20 2003-05-20 Methods and circuits for performing margining tests in the presence of a decision feedback equalizer
US10/815,604 US7627029B2 (en) 2003-05-20 2004-03-31 Margin test methods and circuits
US10/849,264 US7336749B2 (en) 2004-05-18 2004-05-18 Statistical margin test methods and circuits
PCT/US2004/015895 WO2004105334A2 (en) 2003-05-20 2004-05-20 Margin test methods and circuits

Related Child Applications (1)

Application Number Title Priority Date Filing Date
EP09167569A Division EP2148461A2 (en) 2003-05-20 2004-05-20 Margin test methods and circuits

Publications (1)

Publication Number Publication Date
EP1629622A2 true EP1629622A2 (en) 2006-03-01

Family

ID=33479701

Family Applications (2)

Application Number Title Priority Date Filing Date
EP09167569A Withdrawn EP2148461A2 (en) 2003-05-20 2004-05-20 Margin test methods and circuits
EP04752834A Withdrawn EP1629622A2 (en) 2003-05-20 2004-05-20 Margin test methods and circuits

Family Applications Before (1)

Application Number Title Priority Date Filing Date
EP09167569A Withdrawn EP2148461A2 (en) 2003-05-20 2004-05-20 Margin test methods and circuits

Country Status (2)

Country Link
EP (2) EP2148461A2 (en)
WO (1) WO2004105334A2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8279948B2 (en) 2006-12-13 2012-10-02 Rambus Inc. Interface with variable data rate
JP2009159256A (en) * 2007-12-26 2009-07-16 Fujitsu Ltd Device and method for adjusting transmission characteristic, and circuit board
WO2010014358A2 (en) * 2008-07-27 2010-02-04 Rambus Inc. Method and system for balancing receive-side supply load
DE102021001093B4 (en) 2021-03-01 2022-09-15 Infineon Technologies Ag Embedded test instrument for high-speed interfaces

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4449102A (en) * 1982-03-15 1984-05-15 Bell Telephone Laboratories, Incorporated Adaptive threshold circuit
US5325397A (en) * 1989-12-07 1994-06-28 The Commonwealth Of Australia Error rate monitor
JP4052697B2 (en) 1996-10-09 2008-02-27 富士通株式会社 Signal transmission system and receiver circuit of the signal transmission system
DE19914793A1 (en) * 1999-03-31 2000-10-26 Siemens Ag Method and arrangement for measuring signal quality in an optical transmission system
US6728311B1 (en) * 2000-04-04 2004-04-27 Thomas Eugene Waschura Apparatus and method for creating eye diagram
US20030097226A1 (en) * 2001-11-21 2003-05-22 Synthesys Apparatus and method for sampling eye diagrams with window comparators
DE10241848B4 (en) * 2002-09-09 2012-08-09 Advico Microelectronics Gmbh Method for detecting optical or electrical signal sequences and eye monitor for carrying out the method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO2004105334A3 *

Also Published As

Publication number Publication date
WO2004105334A2 (en) 2004-12-02
WO2004105334A3 (en) 2005-06-02
EP2148461A2 (en) 2010-01-27

Similar Documents

Publication Publication Date Title
US11233589B2 (en) Margin test methods and circuits
US7336749B2 (en) Statistical margin test methods and circuits
US10764093B2 (en) DFE margin test methods and circuits that decouple sample feedback timing
US7596175B2 (en) Methods and circuits for performing margining tests in the presence of a decision feedback equalizer
US8570881B2 (en) Transmitter voltage and receiver time margining
CN113767602A (en) Sampler offset calibration during operation
US20080181289A1 (en) Digital signal analysis with evaluation of selected signal bits
US8744029B2 (en) Method and apparatus for quantifying characteristics of a received serial data stream
TWI580231B (en) Eye diagram measuring circuit adn measuring method thereof
US8111784B1 (en) On-chip data signal eye monitoring circuitry and methods
EP2148461A2 (en) Margin test methods and circuits
US7610520B2 (en) Digital data signal testing using arbitrary test signal
US11855816B2 (en) Signal transmission system for use with eye diagram monitor
EP1654548A1 (en) Digital data signal testing using arbitrary test signal

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20051220

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LI LU MC NL PL PT RO SE SI SK TR

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: RAMBUS INC.

DAX Request for extension of the european patent (deleted)
RIN1 Information on inventor provided before grant (corrected)

Inventor name: GARLEPP, BRUNO, W.

Inventor name: HO, ANDREW C/O RAMBUS INC.

Inventor name: CHEN, FRED, F. C/O RAMBUS INC.

Inventor name: STOJANOVIC, VLADIMIR

17Q First examination report despatched

Effective date: 20090126

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20101201