Programmable duty cycle distortion generation circuit

Information

  • Patent Grant
  • 8179952
  • Patent Number
    8,179,952
  • Date Filed
    Friday, May 23, 2008
    17 years ago
  • Date Issued
    Tuesday, May 15, 2012
    13 years ago
Abstract
An integrated circuit is provided comprising: a serial transmitter, a serial receiver and a serial connection providing communication between the serial transmitter and the serial receiver. The integrated circuit further comprises a duty cycle distortion circuit so that the integrated circuit can be stress tested by distorting the duty cycle of a signal within the integrated circuit.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to stress testing integrated circuits. More particularly, this invention relates to stress testing integrated circuits in which serial data is communicated by altering the duty cycle of a signal within that integrated circuit.


2. Description of the Prior Art


It is known to perform tests on integrated circuits comprising serial receivers which receive serialized data from serial transmitters over high speed serial links. Such testing, for example shortly after manufacturing, involves artificially downgrading the quality of the signal sent over the serial link 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 external programmable signal 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 in the duty cycle of a 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, create a serial data stream to be received by a serial receiver in which the duty cycle is distorted.


Such high speed test equipment is expensive and complex and hence it is desirable to provide an improved technique for testing integrated circuits.


SUMMARY OF THE INVENTION

Viewed from a first aspect, there is provided an integrated circuit comprising: a serial transmitter; a serial receiver; a serial connection providing communication between said serial transmitter and said serial receiver; and a duty cycle distortion circuit configured to distort a duty cycle of a signal within said integrated circuit so as to stress test said integrated circuit.


According to the techniques of the present invention, the creation of a stressed eye for stress testing an integrated circuit is enabled using components which are located on-chip, hence avoiding the need for costly off-chip testing equipment. A duty cycle distortion circuit distorts a duty cycle of a signal within the integrated circuit. This distortion of the duty cycle of the signal creates a stress with which the integrated circuit must cope, if it is to continue operating as it would if no distortion had been applied. The integrated circuit's ability to cope with imperfect signals is thus tested. Hence, a simpler arrangement for stress testing the integrated circuit is provided, which makes use of hardware that mostly already exists in an integrated circuit comprising a serial transmitter, serial receiver and serial connection between them. Thus, with a small amount of additional hardware a simple and easily programmable duty cycle distortion generation circuit for self-testing on-chip is provided.


The distortion of the duty cycle of the signal may be used to test various different components of the integrated circuit, but in one embodiment said duty cycle distortion circuit distorts said duty cycle to degrade said communication so as to stress test said serial receiver. By degrading the communication over the serial connection in this manner, the serial receiver's ability to cope with real-world, less-than-ideal signals being transmitted over the connection is tested.


In another embodiment said duty cycle distortion circuit distorts said duty cycle to stress test a duty cycle correction circuit. If the duty cycle of a signal exceeds the tolerances of components of the integrated circuit which receive that signal, then errors in the operation of the integrated circuit will arise. For this reason a duty cycle correction circuit may be provided to correct for departures from an ideal duty cycle, and the duty cycle distortion circuit of this technique can be used to test the performance of that duty cycle correction circuit.


In order to stress test the integrated circuit the duty cycle distortion circuit may form part of various different components of the integrated circuit. In one embodiment the duty cycle distortion circuit forms part of said serial transmitter. In another embodiment the said duty cycle distortion circuit forms part of said serial receiver. In another embodiment the duty cycle distortion circuit forms part of a clock generation circuit. In another embodiment the duty cycle distortion circuit forms part of a buffer.


In one embodiment where the duty distortion circuit forms part of a buffer, the buffer is a differential current mode logic buffer.


It will be appreciated by those skilled in this art that the duty cycle distortion circuit could operate in a variety of ways, but in one embodiment the duty cycle distortion circuit is controlled by a duty cycle distortion control circuit. This provides an advantageously simple manner for the operation of the duty cycle distortion circuit to be programmable, such that the operator can stress test the integrated circuit as fully as the application requires.


When the duty cycle distortion circuit is controlled by a duty cycle distortion control circuit, it will be recognized that there are various ways that the control can be effected, but in one embodiment the duty cycle distortion control circuit controls said duty cycle distortion circuit by voltage control. Thus, by the simple mechanism of setting a voltage level the degree of distortion applied to the duty cycle can be determined. In another embodiment the duty cycle distortion control circuit controls said duty cycle distortion circuit by a digital control signal. This represents an advantageously simple mechanism for transmitting a range of discrete control signals, depending on the particular encoding of the digital control signal.


In some embodiments where the duty cycle distortion control circuit controls said duty cycle distortion circuit by a digital control signal the duty cycle distortion circuit comprises a digital to analog converter. This enables the duty cycle correction circuit to derive an analog signal, such as a particular current on a control line with which to effect the duty cycle distortion.


It will be recognised that the particular manner in which the duty cycle distortion is applied to the signal could take a number of forms, but in one embodiment said duty cycle distortion circuit adds an offset current to said signal. By adding an offset current to the signal, the signal is shifted with respect to a given threshold, and due to the finite slew rate of the signal, an asymmetric duty cycle will result where that signal is received. Whilst the offset current could be added in a unilateral manner, in one embodiment the offset current is added differential to said signal.


According to one embodiment the communication is self-timed serial data communication. The accurate transmission and reception of this variety of communication is dependent on well timed duty cycles, and stress testing of an integrated circuit in which self-timed serial data communication occurs is advantageously carried out by distorting the duty cycle of a signal within that integrated circuit.


Viewed from a second aspect there is provided a method of stress testing an integrated circuit, comprising the steps of:


providing communication between a serial transmitter and a serial receiver on said integrated circuit over a serial connection; and


distorting within said integrated circuit a duty cycle of a signal to stress test said integrated circuit.


Viewed from a third aspect there is provided a integrated circuit comprising:


a serial transmitter means for transmitting serial data;


a serial receiver means for receiving serial data;


a serial connection means for providing communication between said serial transmitter means and said serial receiver means; and


a duty cycle distortion means for distorting a duty cycle of a signal within said integrated circuit to stress test said integrated circuit.





BRIEF DESCRIPTION OF THE DRAWINGS

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:



FIG. 1 schematically illustrates an integrated circuit according to one example embodiment of the present invention;



FIG. 2 schematically illustrates a differential current mode logic buffer with duty cycle distortion circuit; and



FIG. 3 schematically illustrates imposing an asymmetric duty cycle on a signal by adding an offset current.





DESCRIPTION OF THE PREFERRED EMBODIMENTS


FIG. 1 schematically illustrates an integrated circuit 100, comprising a serial transmitter 110, a serial receiver 120 and a serial link 130. Serial link 130 connects serial transmitter 110 to serial receiver 120. Serial transmitter 110 receives parallel data and serializes it with serializer 140 for transmission over serial link 130. In this embodiment serializer 140 generates self-timed serial data. This is done with reference to a clock signal received from clock generation circuit 170. On the transmission path leading out of serializer 140 is a data buffer 150, through which the serialized data passes on its way to serial link 130. Also connected to data buffer 150 is duty cycle distortion control unit 160. Within data buffer 150 is a duty cycle distortion circuit configured to distort a duty cycle of the serialized data passing though the buffer. This distortion is carried out under the control of duty cycle distortion control unit 160 by means of a duty cycle control signal.


Duty cycle distortion control unit 160 is programmed to provide a number of duty cycle distortion tests by varying the distortion applied to the serialized data passing through data buffer 150. These may range from simply applying a constant duty cycle distortion, to periodically varying the duty cycle, to applying a pseudo-random pattern to the variation of the duty cycle.


The self-timed serialized data, with its duty cycle thus distorted is transmitted over serial link 130 to serial receiver 120. Serial receiver 120 comprises duty cycle correction unit 180 and clock data recovery unit 190. Duty cycle correction unit attempts to correct for any duty cycle distortions in the signals received over serial link 130 and passes the corrected signal on to clock data recovery unit 190. Clock data recovery unit attempts to unfold the clock signal encoded in the serialized data to enable the transmitted data to be sampled and recovered. Distortion in the duty cycle of the serialized data makes these tasks more difficult and varying the degree of duty cycle distortion applied at data buffer 150 enables the serial receiver to be stress tested.


In other embodiments the techniques of the present invention may be applied to stress test the integrated circuit in other ways. For example the duty cycle distortion circuit may be provided within the serial receiver instead, to apply the duty cycle distortion after the serialized data has been transmitted over the serial link 130. In another example the duty cycle distortion circuit is provided in clock generation circuit 170 to cause it to generate a clock signal for use by the serializer 140 with a distorted duty cycle.



FIG. 2 schematically illustrates a buffer such as data buffer 150 in FIG. 1. This differential current mode logic buffer has data inputs IN1 and IN2 are connected to transistors 200 and 210 respectively. Outputs OUT1 and OUT2 are connected to points 220 and 230 respectively. Points 220 and 230 are connected via variable resistors 240 and 250 respectively to VDD. Both transistors 200 and 210 are each connected via variable current source 260 to ground.


When operating without duty cycle distortion being applied, the input data stream applied to inputs IN1 and IN2 alternately switches the left and right branches such that points 220 and 230 are alternately driven high (towards VDD) and low (towards ground). The absolute levels of the outputs OUT1 and OUT2 are set via the particular setting of variable resistors 240 and 250, and of variable current source 260.


When duty cycle distortion is to be applied, this is done via variable current sources 270 and 280. By controlling the level of each of these current sources, a differential bias is applied across the points 220 and 230, and hence across OUT1 and OUT2. This current offset shifts the absolute level of the output and results in a duty cycle distortion of the signal passing through the buffer, as will be further explained with reference to FIG. 3. The control of variable current sources 270 and 280 comes from the duty cycle distortion control unit 160 and may in some embodiments be a voltage control. In the illustrated embodiment the duty cycle distortion control unit 160 issues a digital control signal, which passed through digital to analog converter 290 to provide the steering signal for each of the variable current sources 270 and 280.



FIG. 3 schematically illustrates the distortion of a signal duty cycle by offsetting a signal. In FIG. 3A the upper waveform oscillates symmetrically around the level V0, resulting in a symmetrical duty cycle (equal periods of high (H) and low (L)) as illustrated by the lower waveform. Once an offset has been applied, as illustrated in FIG. 3B, this results in an asymmetrical duty cycle (unequal periods of high (H) and low (L)). This is due to the slew rate of the upper waveform, which therefore means that it takes a finite amount of time for, say, the rising edge to cross the level V0 from the illustrated starting point. Thus by varying the offset applied to the signal any chosen distorted duty cycle may be applied to the signal to stress test the components receiving that signal.


Thus, according to the present technique, a programmable duty cycle distortion generation circuit is provided, embodied on-chip, thus avoiding the need to use external off-chip testing facilities to create a stressed eye to stress test components of the integrated circuit.


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.

Claims
  • 1. An integrated circuit comprising: a serial transmitter;a serial receiver;a serial connection providing communication between said serial transmitter and said serial receiver;a duty cycle distortion circuit configured to distort a duty cycle of a signal within said integrated circuit by differentially adding an offset current to said signal to generate a voltage offset in the signal so as to stress test said integrated circuit; andwherein said duty cycle distortion circuit comprises a first current source coupled between a first differential output and a ground potential and further comprises a second current source coupled between a second differential output and the ground potential, and wherein the first current source and the second current source are configured to generate the voltage offset in the signal by adding the current offset to the signal.
  • 2. An integrated circuit as claimed in claim 1, wherein said duty cycle distortion circuit distorts said duty cycle to degrade said communication so as to stress test said serial receiver.
  • 3. An integrated circuit as claimed in claim 1, wherein said duty cycle distortion circuit is configured to distort said duty cycle to stress test a duty cycle correction circuit.
  • 4. An integrated circuit as claimed in claim 1, wherein said duty cycle distortion circuit forms part of said serial transmitter.
  • 5. An integrated circuit as claimed in claim 1, wherein said duty cycle distortion circuit forms part of said serial receiver.
  • 6. An integrated circuit as claimed in claim 1, wherein said duty cycle distortion circuit forms part of a clock generation circuit.
  • 7. An integrated circuit as claimed in claim 1, wherein said duty cycle distortion circuit forms part of a buffer.
  • 8. An integrated circuit as claimed in claim 7, wherein said buffer is a differential current mode logic buffer.
  • 9. An integrated circuit as claimed in claim 1, wherein said duty cycle distortion circuit is controlled by a duty cycle distortion control circuit.
  • 10. An integrated circuit as claimed in claim 9, wherein said duty cycle distortion control circuit is configured to control said duty cycle distortion circuit by voltage control.
  • 11. An integrated circuit as claimed in claim 9, wherein said duty cycle distortion control circuit is configured to control said duty cycle distortion circuit by a digital control signal.
  • 12. An integrated circuit as claimed in claim 11, wherein said duty cycle distortion circuit comprises a digital to analog converter for converting the digital control signal to an analog control signal for controlling addition of the offset current to the signal.
  • 13. An integrated circuit as claimed in claim 1, wherein said communication is self-timed serial data communication.
  • 14. A method of stress testing an integrated circuit, comprising: providing communication between a serial transmitter and a serial receiver on said integrated circuit over a serial connection; anddistorting within said integrated circuit a duty cycle of a signal to stress test said integrated circuit by differentially adding an offset current to said signal to generate a voltage offset in the signal, said offset current generated by using a first current source coupled between a first differential output and a ground potential, and a second current source coupled between a second differential output and the ground potential.
  • 15. The method of claim 14, further comprising: receiving a digital signal; andcontrolling addition of the offset current to the signal based on the digital signal.
  • 16. The method of claim 15, wherein controlling addition of the offset current to the signal comprises: converting the digital signal to an analog signal; andcontrolling the addition of the offset current to the signal based on the analog signal.
  • 17. An integrated circuit comprising: a serial transmitter means for transmitting serial data;a serial receiver for receiving serial data;a serial connection means for providing communication between said serial transmitter means and said serial receiver; anda duty cycle distortion circuit for distorting a duty cycle of a signal within said integrated circuit by differentially adding an offset current to said signal to generate a voltage offset in the signal to stress test said integrated circuit, said offset current generated by using a first current source coupled between a first differential output and a ground potential, and a second current source coupled between a second differential output and the ground potential.
  • 18. The integrated circuit of claim 17, wherein the duty distortion circuit comprises: a duty cycle distortion control circuit configured to receive a digital signal and control the duty cycle distortion circuit based on the digital signal.
  • 19. The integrated circuit of claim 18, wherein said duty cycle distortion circuit comprises a digital to analog converter for converting the digital control signal to an analog control signal for controlling addition of the offset current to the signal.
US Referenced Citations (64)
Number Name Date Kind
4475088 Beard Oct 1984 A
5132988 Fisher et al. Jul 1992 A
5150128 Kongelbeck Sep 1992 A
5392295 Coker et al. Feb 1995 A
5764655 Kirihata et al. Jun 1998 A
6163867 Miller et al. Dec 2000 A
6298458 Cranford, Jr. et al. Oct 2001 B1
6694462 Reiss et al. Feb 2004 B1
6809591 Ohashi Oct 2004 B1
7010069 Chugg et al. Mar 2006 B2
7116953 Kim et al. Oct 2006 B2
7184469 Joseph et al. Feb 2007 B2
7243272 Tarango et al. Jul 2007 B2
7295604 Cranford, Jr. et al. Nov 2007 B2
7332947 Kumar et al. Feb 2008 B2
7352165 Loke et al. Apr 2008 B2
7363563 Hissen et al. Apr 2008 B1
7405594 Xu Jul 2008 B1
7408387 Suenaga Aug 2008 B2
7532053 Rausch May 2009 B2
7558991 Mattes et al. Jul 2009 B2
7577192 Matis Aug 2009 B2
7610526 Sherlock et al. Oct 2009 B2
7667502 Agarwal Feb 2010 B2
7675363 Deguchi et al. Mar 2010 B2
7756197 Ferguson et al. Jul 2010 B1
7777998 Stockinger et al. Aug 2010 B2
7809052 Li Oct 2010 B2
7817387 Khazhinsky et al. Oct 2010 B2
20020039052 Straub et al. Apr 2002 A1
20030102928 d'Haene et al. Jun 2003 A1
20040141268 Miller et al. Jul 2004 A1
20050036576 Agazzi et al. Feb 2005 A1
20050057872 Lee et al. Mar 2005 A1
20050185351 Miller et al. Aug 2005 A1
20050193290 Cho et al. Sep 2005 A1
20050245225 Park et al. Nov 2005 A1
20060020865 Dai et al. Jan 2006 A1
20060087328 Sasajima Apr 2006 A1
20060087356 Minzoni Apr 2006 A1
20060114629 Wu et al. Jun 2006 A1
20070026809 Zhang et al. Feb 2007 A1
20070053120 Gauthier et al. Mar 2007 A1
20070101214 Stauffer et al. May 2007 A1
20070121713 Yamaguchi May 2007 A1
20070146014 Cheung Jun 2007 A1
20070195875 Agazzi et al. Aug 2007 A1
20080062597 Chen et al. Mar 2008 A1
20080130800 Maxim et al. Jun 2008 A1
20080225380 Heffner et al. Sep 2008 A1
20080226306 Heffner et al. Sep 2008 A1
20080237587 Nierle et al. Oct 2008 A1
20080240212 Satou Oct 2008 A1
20080285358 Nierle Nov 2008 A1
20090003495 Wu et al. Jan 2009 A1
20090041101 Nagatani Feb 2009 A1
20090116851 Heffner et al. May 2009 A1
20090177457 Dai et al. Jul 2009 A1
20090185609 Takada Jul 2009 A1
20090249139 Wang et al. Oct 2009 A1
20090257334 Ogura et al. Oct 2009 A1
20090316767 Hidaka Dec 2009 A1
20100020861 Leibowitz et al. Jan 2010 A1
20100233971 Vassiliou et al. Sep 2010 A1
Foreign Referenced Citations (1)
Number Date Country
2007053111 May 2007 WO
Related Publications (1)
Number Date Country
20090290626 A1 Nov 2009 US