This invention refers to a test switching circuit for a high speed data interface of an integrated circuit.
High speed communications circuits sending data rates in the range of 10 Gbps require for testing purposes closed feedback loops.
The conventional high speed data interface according to the state of the art further has a receiver comprising a deserialiser and a signal input buffer. The signal input buffer is connected to data input pads (RXP, RXN) to receive data via a differential data reception line. The input of the transmitter and the output of the receiver are connected to the data processing core of the integrated high speed communication circuit.
For testing the high speed data communication circuit it is necessary to test the high speed data interface after manufacturing. This can be done by creating a closed feedback loop connecting the output of the transmitting side to the input of the receiving side. To provide such a test loop in the high speed part of the integrated circuit it is either possible to create an external test loop or an internal test loop within the high-speed communication integrated circuit.
In a conventional external loop arrangement the transmitting output pads TXN, TXP of the differential high speed data interface are connected to the receiver input pads RxN, RxP via an external test equipment to create a test loop. The provision of an external loop has the disadvantage that either multiple test insertions are necessary thus increasing test costs or that in a single test insertion RF-switches have to be employed which increase the complexity of the loading board. In multiple test insertions specific probe cards are designed to provide feedback test loops. Each further test insertion takes time and consequently increases production costs of the chip. In single test insertions the high bandwidth RF-relays may not work reliably for high bandwidth systems and form a source of potential signal integrity problems.
Accordingly the state of the art of high speed data interfaces comprise means for creating an internal test loop. When the feedback loop is created internally of the chip multiplexer and demultiplexer circuits have to be provided within the high speed data interfaces.
A receiver of the high speed data interface is connected at its input side to an integrated circuit (AMP-MUX) which amplifies the received data signal and which comprises multiplexing means. The amplifying and multiplexing circuit comprises a programmable termination resistor stage to adapt the input impedance of the high speed data interface at the receiving data pad (Rx-PAD) to the load connected via the reception data line. The programmable termination resistor stage on the receiving side is configurable to variable loading conditions according to operating requirements of the high speed data interface.
The high speed data interface according to the state of the art as shown in
In a test mode the transmitter receives a test data pattern generated by the test signal generator which is fed-back via the demultiplexer in the output stage (AMP-MUX) and the multiplexer within the input stage (AMP-MUX) to the receiver. From the receiver the test data pattern is forwarded by the demultiplexer to the test signal analyzer. The test signal analyzer compares the generated test data pattern with the received test data pattern and determines whether both data pattern are identical. In case that the generated and the received test data pattern are not identical on bit-level an error within the transmitter or receiver is detected.
The predriver is connected to a first differential amplifying stage D-AMP-A which receives a tail current ITAIL from a current mirror circuit. The output of the first differential amplifying stage D-AMP-A is connected via a node N, {circumflex over (N)} to a second differential amplifying stage D-AMP-B and to a third differential amplifying stage D-AMP-C. By means of a mode selection input either the second amplifying stage D-AMP-B or the third amplifying stage D-AMP-C is activated. Accordingly the output signal of the first differential amplifying stage D-AMP-A is either switched to the output of the second differential amplifying stage D-AMP-B or the third amplifying stage D-AMP-C. The output of the second differential amplifying stage D-AMP-B is an internal loop output terminal which is connected to the input stage (AMP-MUX) of the high speed data interface. The output of the third differential amplifying stage D-AMP-C is formed by the data output pads of the high speed data interface (TXN, TXP). The output pads are connected to a programmable termination resistor stage which comprises at least one resistor RC having a fixed value and at least one switchable resistor RC′ which is switched in parallel to the fixed transistor in response to a configuration bit C stored in a configuration register. In
Depending on a mode control signal applied to a mode input terminal of the input stage either the differential amplifying stage D-AMP-D or the differential amplifying stage D-AMP-E is activated by supplying a tail current. In a test mode the amplifying stage D-AMP-E receives a tail current and connects the internal loop input terminal via a node M,
The internal test circuit for generating an internal test loop according to the state of the art as shown in
A first disadvantage is that in the arrangement as shown in
A further disadvantage of the conventional circuitry is that by providing an additional differential amplifying stage D-AMP-B at the critical output node N,
Accordingly it is the object of the present invention to provide a test switching circuit for a high speed data interface of an integrated circuit which forms an internal test loop for testing all circuit parts of the high speed data interface and which comprises a less area overhead and minimum power dissipation.
This object can be achieved by a test switching circuit having the features recited by the claims.
The invention provides a test switching circuit for a high speed data interface of an integrated circuit (IC) comprising switching transistors which switch in a test mode a termination resistor output stage of a data transmission line to a termination resistor input stage of a data reception line to form an internal feedback test loop within said integrated circuit (IC).
The test switching circuit according to the present invention has the advantage that a final output driving stage as well as a first driving input stage is also tested by the test switching circuit to detect manufacturing errors in these circuit parts.
The test switching circuit does only comprise switching transistors which act as switches and not signal amplifying transistors like the differential amplifying transistors provided in the conventional output stage as shown in
A further advantage of the test switching circuit according to the present invention having the features recited by the claims is that the data transmission in the normal operation mode is not affected, i.e. the parasitic capacitance is not increased by the test switching circuit according to the present invention.
The internal loop created by the test switching circuit according to the present invention during a test mode covers the complete data path including the termination resistor output stage and the termination resistor input stage.
In a preferred embodiment of the test switching circuit according to the present invention the test switching circuit is connected to a configuration register.
The configuration bits stored in the configuration register control the switching transistors of the test switching circuit.
In a preferred embodiment of the test switching circuit according to the present invention the termination resistor output stage is programmable.
In a further embodiment the termination resistor input stage is also programmable.
In a preferred embodiment both the termination resistor output stage and the termination resistor input stage are connected to a configuration register storing control bits which control transistors connected in series to a corresponding termination resistor of the input or output stage.
Since the termination resistor output stage and the termination resistor input stage are programmable in a preferred embodiment it is possible to adapt the output and input impedance of the high speed data interface to the load connected via the data transmission and the data reception line.
In a preferred embodiment of the test switching circuit according to the present invention the test switching circuit comprises
a first transistor connected to the termination resistor output stage of the data transmission line,
a second transistor connected between the first transistor and a reference potential node (GND),
a third transistor connected between the reference potential node (GND) and a sixth transistor,
a fourth transistor connected between said first transistor and a test node,
a fifth transistor connected between said test node and said sixth transistor,
wherein the sixth transistor is connected to said termination resistor input stage of said data reception line.
In a preferred embodiment the six switching transistors are formed by MOSFETs.
In a preferred embodiment gate terminals of the switching transistors are controlled by control bits stored in the configuration register.
In a preferred embodiment of the controllable test switching circuit according to the present invention in a normal operation mode of the integrated circuit the first transistor is switched off, the second transistor is switched on, the third transistor is switched on, the fourth transistor is switched off, the fifth transistor is switched off and the sixth transistor is switched off.
In a preferred embodiment of the controllable test switching circuit according to the present invention in a feedback test mode of said integrated circuit the first transistor is switched on, the second transistor is switched off, the third transistor is switched off, the fourth transistor is switched on, the fifth transistor is switched on, the sixth transistor is switched on.
In a preferred embodiment of the controllable test switching circuit according to the present invention in a receiver test mode the first transistor is switched off, the second transistor is switched off, the third transistor is switched off, the fourth transistor is switched off, the fifth transistor is switched on and the sixth transistor is switched on.
In a further embodiment of the controllable test switching circuit according to the present invention in a transmitting test mode the first transistor is switched on, the second transistor is switched off, he third transistor is switched off, the fourth transistor is switched on, the fifth transistor is switched off and the sixth transistor is switched off.
In a preferred embodiment of the controllable test switching circuit according to the present invention the test switching circuit is formed differential.
The invention further provides a high speed data interface of an integrated circuit comprising:
The invention further provides an integrated circuit having several high speed data interfaces, wherein each high speed data interface comprises a transmitter for transmitting data via a data transmission line, which is connected to a termination resistor output stage for adapting the output impedance of said transmitter to a load connected to the transmission data line,
a receiver for receiving data via a data reception line which is connected to a termination resistor input stage for adapting the input impedance of said receiver to a load connected to said reception data line, and
a controllable test switching circuit comprising switching transistors switching in a test mode the termination resistor output stage to the termination resistor input stage to form an internal feedback test loop within said integrated circuit.
In the following preferred embodiments the test switching circuit for a high speed data interface within an integrated circuit are described with reference to the enclosed figures.
As can be seen from
The high speed data interface 1 according to the present invention comprises a data transmission signal path 17 and a data reception signal path 25.
In the data transmission signal path 17, a multiplexer 9 is provided with switches either data output by the data processing core 4A or the test data pattern generated by the test signal generator 6 via an internal line 10 to a transmitter 11 which includes a serialiser and a pre-driving stage for signal amplification. The output of the transmitter 11 is connected via an internal line 12 to a final output driver stage 13 the output of which is connected via an internal line 14 to a programmable termination resistor stage 15. The programmable termination resistor stage 15 is connected via an internal line 16 to the transmission data pad 4B of the integrated circuit. The programmable termination resistor stage 15 comprises a plurality of resistors which are switched by means of transistors to adapt the output impedance of the transmission signal path within the high speed data interface 1 to a load impedance connected to the transmission data pad 4B. The transmitter 11, the output signal driver 13 and the programmable termination resistor stage 15 form a transmission data signal path 17 within the high speed data interface 1.
The high speed data interface 1 further comprises programmable termination resistor stage 18 the input of which is connected via an internal line 19 to the reception data pad 5 of the interface 1. The programmable termination resistor stage 18 is provided for adapting the input impedance of the reception signal path 25 to the load connected to pad 5 via the data reception line. The programmable termination resistor stage 18 is connected via a line 20 to an input signal driver 21 which amplifies the received data signal and outputs the amplified signal via an internal line 22 to a receiver 23 within the interface 1. The receiver 23 includes a further signal driving stage and a deserialiser. The output of the receiver 23 is connected via an internal line 24 to a demultiplexer 34 controlled by the mode control unit 8. The programmable termination resistor stage 18, the input driver 21 and the receiver 23 form the data reception signal path 25 within the high speed data interface 1.
The high speed data interface 1 according to the present invention as shown in
As can be seen from
The programmable termination resistor output stage 5, the programmable termination resistor input stage 18 and the test switching circuit 26 are connected to a configuration register 29 within the high speed data interface 1. The configuration register 29 stores control bits which are applied via control lines 30 to the programmable termination resistor output stage 5, via control lines 31 to the test switching circuit 26 and via control lines 32 to the programmable termination resistor input stage 18. The configuration register 29 stores several sets of configuration bits which are switched in response to a control mode signal applied to the configuration register 29 via control lines 33. The mode control unit 8 controls the operation mode of the configuration register 29 which applies different sets of configuration bits to the termination resistor stages 15, 18 and the test switching circuit 26.
In a preferred embodiment of the high speed data interface 1 according to the present invention the test switching circuit 26 is switchable between four different modes.
In a normal operation model the programmable termination resistor output stage 15 is separated from the programmable termination resistor input stage 18 by the test switching circuit 26. The multiplexer 9 switches the data processing core 4A of the integrated circuit to the data transmission signal path 17 and the demultiplexer 34 switches the output of the data reception signal path 25 to the data processing core 4A of the integrated circuit. In the normal operation mode no test is performed and the data output by the core 4A is transmitted via the transmission signal path 4B to the external circuitry. In the same manner data received via the data reception pad 5 is forwarded by the data reception signal path 25 to the data processing core 4A of the integrated circuit.
In a feedback test mode of the high speed data interface 1 according to the present invention the test switching circuit 26 switches the output line 27 of the programmable termination resistor stage 15 via line 28 to the input of the programmable termination resistor input stage 18 thus creating an internal test loop within the data interface 1. The mode control unit 8 switches by means of multiplexer 9 the output of the test signal generator 6 to the input of the data transmission signal path 17. Further demultiplexer 34 switches the output of the data reception signal path 25 to the input of the test signal analyzer 7. The test pattern generated by the test signal generator 6 is transmitted by the data transmission path 15 via line 27 to the test switching circuit 26 which forwards the received test data pattern via line 28 to the data reception signal path 25. From the data reception signal path 25 the test data pattern is applied via demultiplexer 34 to the input of the test signal analyzer 7. The test signal generator 6, the multiplexer 9, the data transmission path 17, the test switching circuit 26, the data reception path 25, the demultiplexer 34 and the test signal analyzer 7 form an internal test loop in the high speed data interface 1. The test signal analyzer 7 compares the received test data pattern with the test data pattern generated by the test signal generator 6 and detects an error when both test data patterns are different. The test loop generated by the test switching 26 according to the present invention includes the final signal output driver stage 13, the programmable output termination resistor stage 5, the programmable termination resistor input stage 18 and the first signal input driver stage 21 of the high speed data interface 1. Accordingly the test loop generated by the test switching circuit 26 according to the present invention includes the complete circuitry of the high speed data interface 1, i.e. also the circuit parts which are connected directly to the data pads 4, 5 of the interface circuit 1. In contrast to the testable high speed data interface according to the state of the art as shown in
In a third operation mode, i.e. a receiver test mode, the test switching circuit 26 according to the present invention switches the data reception signal path 25 of the interface 1 to an internal test point. The test point 35 is connected in a preferred embodiment for a built in self test circuitry (BIST) forming a further test loop via the data processing core 4A and the data reception signal path 25 of the high speed data interface 1. In this receiver test mode it is possible to test the functionality of the data reception signal path 25 separately.
In a further test mode, i.e. a transmitter test mode, the test switching circuit 26 switches the data transmission signal path 17 to the test point 25 closing another test loop by means of a built in self test circuitry, wherein these test loop includes the data transmission signal path 17. In the transmitter test mode it is possible to test the functionality of the data transmission signal path 17 separately.
The feedback loops created by the test switching circuit 26 according to the present invention are created close to the data pads 4, 5, and involve all active signal blocks in the data transmission and data reception signal propagation pathes 17, 25.
During the normal operation mode the test switching circuit separates the data transmission signal path 17 and the data reception signal path 25 completely, so that crosstalk is minimized.
The predriver within the transmitter 11 outputs a preamplified output data signal to the line output driver stage 13 via the differential signal lines 12-P, 12-N to the gate terminals of transistors T13-N, T13-P within the output driver stage 13. The transistor T13-N, T13-P are both connected to a current source 113 which applies a tail current to the differential amplifying stage. The output driver 13 is connected via lines 14-N, 14-P to a termination resistor output stage 15. The termination resistor output stage 15 comprises resistors 36-N, 36-P having a fixed resistance and resistors 37-i which are activated by means of transistors 38-i. The gates of the MOSFET transistors 38 are connected via control lines 30-i to the configuration register 29. The programmable termination resistor output stage 15 is connected via an internal output line 16-N, 16-P to the transmission data pads 4-N, 4-P of the high speed data interface 1. The termination resistor output stage 15 is provided for adapting the output impedance of the data transmission signal path 17 to the load impedance connected to the high speed data interface via pads 4-N, 4-P. At nodes 39-N and 39-P the termination resistor output stage 15 is connected via lines 27-P, 27-N to transmission input terminals 40-N, 40-P of the test switching circuit 26 according to the present invention.
The test switching circuit 26 further comprises reception input terminals 41-P, 41-N for connecting a test switching circuit 26 to the termination resistor input stage 18 via lines 28-N, 28-P. The termination resistor input stage 18 comprises resistors 42-N and 42-P having fixed resistor values and several resistors 43-i which are activated by means of transistors 44-i. The gates of the transistors 44-i are connected via control lines 32-i to the configuration register 29. The resistors are configurated to match the impedance of the load connected to the reception line data pads 5-N, 5-P which are connected to the termination resistor input stage 18 via internal input lines 19-N, 19-P. The input data lines 19-P, 19-N are connected to the output lines 20-N, 20-P via serial resistors 45-N, 45-P. The termination resistor input stage 18 is connected on its output side to the input driver 21 comprising a differential amplifying stage formed by two transistors T21-N, T21-P. The gate of transistor 21-N is connected to line 20-N and the gate of transistor 21-P is connected to output 20-P of the termination resistor input stage 18. Both transistors 21-P, 21-N receive a tail current I21 generated by a current source. The transistors 21-P, 21-N are connected via resistors 46-N, 46-P to ground and via signal lines 22-P, 22-N to the input of a driver within receiver 23.
The test switching circuit 26 according to the present invention is provided for generating test loops for testing whether the high speed data interface 1 works correctly. In a preferred embodiment the test switching circuit 26 comprises six control inputs C1, C2, C3, C4, C5, C6 which are connected to the configuration register 29. The test switching circuit 26 as shown in
The test switching circuit 26 comprises six pairs of controllable switching transistors T1 to T6. In a preferred embodiment as shown in
The gates of the second pair of transistors TN2, TP2 (T2) receive the control bit C2 of the configuration bit and switches nodes 47-P, 47-N to a reference potential GND-P, GND-N if the configuration bit C2 is logical high.
The gates of the third pair of transistors TN3, TP3 (T3) receive a third configuration bit C3 of the configuration register 29. If the configuration of C3 is high the transistors TP3, TN3 (T3), connect the nodes 48-P, 48-N to GNDP and GNDN.
The gates of fourth pairs of transistors TP4, TN4 (T4) receive a fourth configuration bit C4. In case that the fourth control configuration bit C4 is logical high nodes 47-P, 47-N are connected to test point nodes 35-N, 35-P.
A fifth pair of transistors TN5, TP5 (T5) is controlled by a fifth configuration bit (5) of the configuration register 29 and connects the test points 35-N, 35-P to nodes 48-P, 48-N when the fifth configuration bit C5 is logical high.
By applying different combinations of configuration bits C1 to C6 it is possible to operate the high speed interface 1 according to the present invention in different modes as explained with reference to
As can be seen in
The test switching circuit 26 according to the present invention allows four different operation modes.
The test switching circuit 26 is provided as close as possible to the transmission pads 4-N, 4-P and the receiving data pads 5-N, 5-P of the interface 1. The test switching circuit 26 is connected to the termination resistor stages 15, 18 so that it is possible to test the functionality of these termination resistor stages 15, 18 in a internal feedback test loop.
In the normal operation mode the test switching circuit 26 according to the present invention has no impact on the load capacitance on the data transmission line and the data reception lines.
The bandwidth of the high speed data interface is not reduced and the power consumption of the test switching circuit 26 according to the present invention is minimal since only switching transistors are provided having a small size and a minimal current consumption.
In the normal operation mode crosstalk between the transmitting signal path 17 and the receiving signal path 15 is minimized by shutting off transistor pairs T1, T6 and by drawing possible leakage currents and noise to ground potential.
The test switching circuit 26 does not affect the loading conditions of the involved amplifying stages and therefore the bandwidth of the high speed data interface 1 is not compromised.
Number | Name | Date | Kind |
---|---|---|---|
5197083 | Gandini et al. | Mar 1993 | A |
5787114 | Ramamurthy et al. | Jul 1998 | A |
6590413 | Yang | Jul 2003 | B1 |
6731106 | Whetsel | May 2004 | B2 |
6864704 | Wong et al. | Mar 2005 | B1 |
6879131 | Wong et al. | Apr 2005 | B2 |
7245144 | Wong et al. | Jul 2007 | B1 |
20050146346 | Kakizawa et al. | Jul 2005 | A1 |
20070188187 | Oliva et al. | Aug 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20050193302 A1 | Sep 2005 | US |