The present invention relates to stress testing serial receivers. More particularly, this invention relates to stress testing serial receivers by altering the clock phase of serially transmitted data.
It is known to perform tests on serial receivers which receive serialized data over high speed serial links. Such testing, for example shortly after manufacturing, involves artificially down-grading the quality of the signal sent over the serial link with respect to jitter in order to test how well the serial receiver copes with that poor quality data and whether it can still recover the original data that was transmitted. A receiver's ability to cope with such distorted signals is referred to as its jitter tolerance.
Typically, a programmable jitter generator is used to provide the source of the variation in the serial data. The distorted signal used for testing jitter tolerance is commonly referred to as a stressed eye. Such a stressed eye may comprise variation both in the amplitude and the phase of the transmitted signal. Currently, the primary method for testing jitter tolerance is to create a stressed eye off-chip using high speed test equipment. Such equipment may, for example, apply a varying phase to the clock signal used to serialize the data transmitted.
Such high speed test equipment is expensive and complex and hence it is desirable to provide an improved technique for testing serial receivers.
Viewed from a first aspect, there is provided an integrated circuit comprising: a serial transmitter; a serial receiver; and a serial connection providing communication between said serial transmitter and said serial receiver, wherein said serial transmitter comprises: a clock generator configured to generate a clock signal, said clock signal having a clock phase relative to a reference clock; a serializer configured to receive and serialize, in dependence on said clock signal, data to be transmitted to said serial receiver; a clock control unit coupled to said clock generator and configured to apply an alteration to said clock phase of said clock signal to stress test said serial receiver.
According to the techniques of the present invention, the creation of a stressed eye for testing a serial receiver is enabled using components which are located on-chip, hence avoiding the need for costly off-chip testing equipment. A clock control unit coupled to a clock generator within a serial transmitter alters the clock phase of the clock signal used by the serial transmitter serializer stress testing the serial receiver. Hence, a simple arrangement for testing the serial receiver is provided, which makes use of hardware that mostly already exists in a serial transmitter. Thus, with minimal additional hardware a simple and easily programmable jitter generator for self-testing on-chip is provided.
The alteration of the clock phase may take a variety of forms. In one embodiment said alteration of said clock phase varies with a characteristic frequency determined by said clock control unit to degrade said communication. In another embodiment said alteration of said clock phase varies in amplitude determined by said clock control unit to degrade said communication. An advantageous range of testing may be carried out by applying an alteration of the clock phase which itself changes in time and/or in amplitude. In one embodiment, the clock control units controls the clock generator by issuing a control signal. It will be appreciated that this control signal can take a variety of forms, but in one embodiment the control signal is a digital control vector.
It will be appreciated by those skilled in the art that the clock signal could be generated in various ways, but in one embodiment the clock generator comprises a phase interpolator to generate the clock signal. By using a phase interpolator this allows the clock generator to generate an output clock signal with a selected phase defined with reference to the phases of the reference clock signals input into the phase interpolator.
When the clock generator uses a phase interpolator to generate the clock signal and the control signal is a digital control vector, in one embodiment the clock generator further comprises a digital to analog converter, the digital to analog converter converting the digital control vector into at least one analog control signal, the at least one analog control signal controlling operation of the phase interpolator. The at least one analog control signal enables a continuously variable output phase of the phase interpolator to be selected.
In another embodiment the clock generator uses a variable delay line when generating the clock signal by varying the amount of delay imposed by the variable delay line. A selected phase of the clock signal output by the clock generator may thus be created.
The control signal issued by the clock control unit may take a variety of forms but in some embodiments of the present invention the control signal is a representation of a modulation pattern, the modulation pattern being one of: a square wave modulation pattern, a triangular wave modulation pattern, a sawtooth modulation pattern, a sinusoidal modulation pattern, and a pseudorandom modulation pattern. These various modulation patterns allow a wide variety of variation in the phase of the clock signal output by the clock generator, hence providing a variety in the testing of the serial receiver.
In another embodiment the clock control unit alters the clock phase of the clock signal by continuously incrementing the clock phase in a predetermined direction. This continual shifting in one direction of the phase of the clock signal effectively creates a frequency offset in the output clock signal. This is particularly useful for testing the tracking ability of the serial receiver.
Viewed from a second aspect, there is provided a method of stress testing a serial receiver on an integrated circuit, comprising the steps of: generating a clock signal in a serial transmitter on said integrated circuit, said clock signal having a clock phase relative to a reference clock; receiving in said serial transmitter data to be communicated over a serial connection on said integrated circuit, said serial connection providing communication between said serial transmitter and said serial receiver; serializing, in dependence on said clock signal, data to be transmitted to said serial receiver; and altering said clock phase of said clock signal to degrade said communication so as to stress test said serial receiver.
According to a third aspect of the present invention, there is provided an integrated circuit comprising: a serial transmitter means for transmitting serial data; a serial receiver means for receiving serial data; and a serial connection means for providing communication between said serial transmitter means and said serial receiver means, wherein said serial transmitter means comprises: a clock generator means for generating a clock signal, said clock signal having a clock phase relative to a reference clock; a serializer means for receiving and serializing, in dependence on said clock signal, data to be transmitted to said serial receiver means; a clock control means coupled to said clock generator means for altering said clock phase of said clock signal to degrade said communication so as to stress test said serial receiver means.
The present invention will be described further, by way of example only, with reference to embodiments thereof as illustrated in the accompanying drawings, in which:
A further pseudo-random control signal is illustrated in
Thus, according to the present technique, a programmable jitter generation circuit is provided, embodied entirely on-chip, thus avoiding the need to use external off-chip testing facilities to create a stressed eye to test a serial link and the ability of a serial receiver to receive data transmitted over that serial link.
Although particular embodiments of the invention have been described herein, it will be apparent that the invention is not limited thereto, and that many modifications and additions may be made within the scope of the invention. For example, various combinations of the features of the following dependent could be made with the features of the independent claims without departing from the scope of the present invention.