The present invention relates to a process and a device for testing a serializer circuit arrangement and a deserializer circuit arrangement such as are used in transceiver modules, in particular high speed communication modules.
Conventional transceiver modules have a receiver section and a transmitter section. An example of a conventional transceiver module of this kind is shown in
As is clear from
The transmitter section 2 receives a parallel datastream DATA1 from the digital circuit core 4 of the transceiver module 1 and converts it into a serial datastream DATAOUT, that is, the parallel datastream DATA1 is multiplexed into the serial datastream DATAOUT, which has a higher data rate than the parallel datastream DATA1. The resulting datastream is supplied in the case of an optical transceiver module 1 to a laser driver which converts the serial datastream DATAOUT into a corresponding optical serial datastream and transmits this to a receiver. The circuit arrangement used in the transmission section 2, because of its functionality, is known as a serializer circuit arrangement, where to convert the parallel datastream DATA1 into the serial datastream DATAOUT again a multiphase clock signal is used that can correspond to the multiphase clock signal CLK of the receiver section 3 or the deserializer circuit arrangement implemented therein.
Modern technology allows the implementation of serializer and deserializer circuit arrangements, known jointly under the abbreviation SERDES, together with a circuit section for digital processing of the required signals, on a common monolithic substrate. A key element required for successful implementation of the SERDES functionality is a phase control circuit (“phase locked loop”, PLL) 28. SERDES circuits require a phase control circuit and a clock distribution tree to provide a valid clock to different circuit blocks within the design. The integrity of this clock is a must for the SERDES performance. The clock in general can be routed using two phases or four phases. The phase control circuit thus generates a multiphase clock signal on the basis of the clock signal recovered from the serial datastream DATAIN, where the phases of the multiphase clock signal CLK are locked in particular against the recovered clock signal by the phase control circuit, that is, the phases of the multiphase clock signal CLK are adjusted continuously by the phase control circuit to the clock signal recovered. The output clock signal of the phase control circuit follows the recovered clock phase (rising and falling clock edges occur at the same time). The multiphase clock signal CLK as described is used not only for data recovery but also for data transmission. Thus, the multiphase clock signal is used to sample the incoming data DATAIN and also to serialize the data DATA1 to be transmitted.
Modern high speed communication circuits must support data rates in the region of several Gigabits per second (Gbps) with bit error rates (BER) in the region of 10−12. In order to guarantee these performance qualities, an extensive test of the SERDES circuit arrangements implemented therein is unavoidable.
Conventionally, testing of SERDES circuit arrangements of this kind is possible only with a complex and consequently cost-intensive test equipment. In addition, an extensive test requires a multiplicity of different test processes, which are consequently relatively time-consuming and which increase the costs associated with the SERDES circuit arrangement to be tested or the corresponding module.
Conventionally, external test devices are used that monitor the quality of the implemented SERDES circuit arrangements. To a certain extent, the test functionality of these external test devices can be transferred to the SERDES circuit arrangements in order to allow an integrated self test, where however the test approach remains the same in principle and thus still entails a relatively time-consuming test process. In addition, for such a self-test functionality, the required chip or silicon area of the module concerned must be enlarged.
According to the state of the art, bit error rate testing is performed in order to assess the SERDES performance. Bit error rate testing devices can be implemented on clip, the required test time however still being relatively high.
One embodiment of the present invention is a process and a correspondingly designed device for testing such SERDES circuit arrangements, where the SERDES circuit arrangements can be tested for quality reliably, simply and economically. In one embodiment of the present invention a process and a device are proposed for testing SERDES circuit arrangements without the need of cost-intensive external test equipment.
One embodiment of the present invention proposes a new test concept with which a similar test quality can be achieved to conventional test devices, wherein however only slower and less expensive test devices need be used. Irrespective of this, the entire test can be performed directly on chip and many orders of magnitude faster than in conventional test devices. According to one embodiment of the invention, high frequency signals are used as test signals, where the test sequence is controlled by an external test device via a simple digital test interface. The test is performed at wafer level of the module to be tested so as to locate a fault as early as possible. However, further tests at package level are also possible. Advantageously, only a few additional connections are required that are not accessible at package level so that these connections do not cause any additional package costs.
According to one embodiment of the invention, the test of a serializer circuit arrangement comprises testing the quality of a multiphase clock signal used by the serializer circuit arrangement and testing the ability of the serializer circuit arrangement to transmit a prespecified bit pattern correctly. The main functional test of the serializer circuit arrangement involves bit error rate testing by using a simplified test for locating causes for bit errors that involve testing the integrity of the sampling multiphase clock signal and checking timing errors.
To test the multiphase clock signal, using a phase offset monitor a phase offset between two clock phases of the multiphase clock signal can be detected and evaluated, where the phase offset monitor in particular is formed by a combination of a mixer with a low pass filter and a voltage/current converter.
To test the ability of the serializer circuit arrangement to transmit the prespecified digital bit or signal pattern, a repetitive digital signal pattern in the form of a high transition density data stream is supplied to the serializer circuit arrangement in order to test timing errors, and a phase offset adjusted to this between a phase of the serial datastream, which is dependent thereon and generated by the serializer circuit arrangement, and one of the clock phases of the multiphase clock signal is evaluated, wherein again a phase offset monitor of the type described above can be used. For example, the prespecified repetitive digital signal pattern can be an “010101 . . . ” pattern. Also, however, it can be a digital signal pattern of lower frequency such as for example “00110011 . . . ”. In this case, the clock phase signal to be compared with the phase of the resulting serial datastream must be divided by a divisor with a division factor 1/2 before it is supplied to the phase offset monitor. Evidently other repetitive digital signal patterns are also possible. The principle is that the serial data stream should resemble the transmit clock, and depending on the ratio between the transmit clock frequency and the transmit data rate, a respective number of equal bits should be transmitted in the respective digital signal pattern.
To test the deserializer circuit arrangement, a three-stage test process is proposed in one embodiment of the present invention. Again, the main goal is to locate bit error rate causes, and the test deals with the main causes for bit errors sequentially.
Firstly, in the same way as in the test of the serializer circuit device, the quality of a multiphase clock signal of the deserializer circuit arrangement can be assessed by detecting a phase offset between two clock phases of the multiphase clock signal using a phase offset monitor of the type previously described. This helps to check the local clock integrity by checking the multiphase quadrature. The receiver typically uses a four-phases clock signal. The four phases could be routed directly from the phase control circuit (PLL), or they could be locally generated at the receiver itself (for instance by using a delay locked loop (DLL)) to lock onto the PLL routed clock. Proper quadrature (90° phase offset) is a must to guarantee that the samplers are sensing the center of the data eye.
In addition, it is proposed to assess the quality of the data eye sampled during data recovery by the deserializer circuit arrangement, where here the deserializer circuit arrangement receives as an input signal a clock phase signal which can be a clock phase of the multiphase clock signal. This input signal is then sampled with a constant clock phase of the same frequency that can also be a clock phase of the multiphase clock signal, and the data word obtained by sampling is analysed. The phase of the clock phase signal supplied as the input signal is changed to detect and evaluate a transition in the data word obtained by sampling from a first bit pattern to a second bit pattern. As the clock phase signal supplied as the input signal and the clock phase signal used for sampling this are two clock phases originally offset by 90° of the multiphase clock signal (in a fully differential design, i.e. quadrature required), the first bit pattern corresponds to a sequence of bits with alternately a first binary value and a second deviating therefrom, while the second bit pattern is inverted to the first bit pattern. To assess the quality of the data eye, the number of intermediate values of the data word between the data word with the first bit pattern and the data word with the second bit pattern can be analysed. Around the data eye transition point, the samplers may sense any value. Therefore, the transition between those defined patterns correspond to a number of “intermediate” values. The closer the data eye, the bigger is the transition between both patterns and consequently the larger is the number of intermediate values.
Finally, to test the deserializer circuit arrangement, in one embodiment of the invention it is proposed to assess the quality of the clock recovering by the deserializer circuit arrangement, where it is tested to what extent the clock signal recovered by the deserializer circuit arrangement tracks a change in the clock signal of the serial datastream supplied. For this, the deserializer circuit arrangement again receives as an input signal a clock phase signal, which can be a clock phase of the multiphase clock signal. The clock signal then recovered from this by the deserializer circuit arrangement is compared with the clock phase signal supplied as the input signal, where the comparison takes place by detecting a phase offset between the clock phase signal supplied as an input signal and the clock signal recovered from this by the deserializer circuit arrangement. A phase offset monitor of the type described above can be used for this, although other known phase offset monitor approaches may be used as well. During the test of the deserializer circuit arrangement, the phase of the clock phase signal supplied as an input signal can be varied in steps or continuously to establish whether the phase of the recovered clock signal reconstructs accordingly the phase change of the clock phase signal supplied as the input signal.
One embodiment of the present invention is suitable for testing SERDES circuit arrangements in high speed communication modules, and in high speed transceiver modules with a data rate in the Gigabit range. The present invention is not, however, restricted to this area of application but can be used for testing SERDES circuit arrangements in any applications.
The accompanying drawings are included to provide a further understanding of the present invention and are incorporated in and constitute a part of this specification. The drawings illustrate the embodiments of the present invention and together with the description serve to explain the principles of the invention. Other embodiments of the present invention and many of the intended advantages of the present invention will be readily appreciated as they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding similar parts.
The individual signals of the serializer circuit arrangement 2 are transferred differentially on the serial side, while on the parallel side they are transmitted in “single ended” operation.
As already explained above, the serializer circuit arrangement 2 uses a multiphase clock signal (see multiphase clock signal CLK of
For proper operation of the serializer circuit arrangement 2, it is of considerable importance that the phase difference between the individual clock phases of the multiphase clock signal is retained as precisely as possible, as otherwise a faulty bit could be transmitted.
To test the quality of the multiphase clock signal in the serializer circuit arrangement 2 shown in
The current drawn from the voltage/current converter 17 is monitored via a digital test interface 12 of the transceiver module 1 by an external test device 11 which also controls the entire test sequence, that is, the external test device 11 can, by monitoring the output signal of the voltage/current converter 17 or phase offset monitor 14, monitor the phase position between the clock phase signals CLK0 and CLK90. It is clear from
In addition, for the serializer circuit arrangement 2 shown in
This test is performed in that the digital circuit core 4 or the external test device 11 supplies to the serializer circuit arrangement 2 via the digital test interface 12 the preset repetitive digital signal pattern DATA3. To this end, at the input of the serializer circuit arrangement 2 is provided a further multiplexer 18, by control of which it is possible to switch the external test device 11 between a mode in which the datastream DATA1 is supplied as the input datastream and a mode in which the datastream DATA3 is supplied as the input datastream. The functionality of the multiplexer 18 can also be carried out by the digital circuit core 4. In the simplest case, the prespecified repetitive digital signal pattern DATA3 is an “010101 . . . ”bit pattern, that is, the even input lines of the serializer circuit arrangement 2 are set to the binary value “1” while the uneven input lines are set to the binary value “0”. On supply of this repetitive digital signal pattern, the serializer circuit arrangement 2 would generate as a serial output datastream DATAOUT a datastream which switches continuously between “0” and “1”, that is, the serializer circuit arrangement 2 would generate the output datastream DATAOUT in the form of a clock signal, where the frequency of this clock signal corresponds to the frequency of the multiphase clock signal. In this case the output datastream DATAOUT and the clock phase signal CLK0 (and also any other clock phase signal of the multiphase clock signal) have a constant phase difference so that the phase offset monitor 14 shown in
To this end, the external test device 11 (automatic test equipment, ATE), via the digital test interface 12, which can comprise a multiplicity of digital registers (which are already part of the design and also provided for the normal operation mode in order to control the function of every single analog block provided in the SERDES design), controls the phase offset monitor 14 such that using the mixer 15 of the phase offset monitor 14 the clock phase signal CLK0 is mixed no longer with the clock phase signal CLK90, but with the datastream DATAOUT. If the serializer circuit arrangement 2 were to transmit a faulty bit, a corresponding change would occur in the frequency spectrum at the output of mixer 15 which would lead to a change in the direct voltage at the output of the low pass filter 16 and consequently also to a corresponding deviation and in particular a prefix change in the output signal of the voltage/current converter 17. The external test device 11 can thus, again by analysis of the output signal of the phase offset monitor 14, assess the ability of the serializer circuit arrangement 2 to transmit a prespecified repetitive digital signal pattern.
As has previously been explained, the repetitive digital signal pattern DATA3 supplied for this test is in one case an “010101 . . . ” bit sequence. In principle, however, any other regular or repetitive signal pattern can be used depending on the ratio between the system data rate and the PLL frequency (see above), where for example on the use of an “00110011 . . . ” bit sequence, the clock phase signal CLK0 would have to be divided by the division factor 2 before mixing with serial datastream DATAOUT of the serializer circuit arrangement 2. To this end,
With reference to
The essential function of the deserializer circuit arrangement 3 is to recover the clock signal from a serial datastream DATAIN supplied and using the recovered clock signal, to sample the datastream with the multiphase clock signal provided by the PLL depending on the recovered clock signal such that the originally transmitted data can be recovered from this. The recovered data are then demultiplexed to a parallel datastream DATA2. As with the serializer circuit arrangement 2 illustrated in
To implement the function previously described, the deserializer circuit arrangement 3 comprises a phase detector 19, where the phase detector 19 receives clock phase signals CLK0′ and CLK90′ which in turn can be derived via phase interpolators from the clock phase signals CLK0 or CLK90 of the multiphase clock signal CKL coming from the PLL. The phase detector 19 samples the input datastream DATAIN with the clock phase signals CLK0′ and CLK90′, where the sampling values obtained which are too late and consequently obtained after a data eye are supplied via demultiplexer 21 while the sampling values which are too early before a data eye are supplied via demultiplexer 22. The output signals of the two demultiplexers 21 and 22 are supplied to a control device 23 with digital registers, where depending on the output signals of the two demultiplexers 21, 22 corresponding adjustment signals can be generated for the phase interpolators 24 in order to adjust the phase position of the sampling phases CKL0′ and CLK90′ accordingly. Thus, the phase detector 19 senses serial data transition events, compares the position of these events with local clock rising edges by statistical analysis of the number of early and late events, and processes this information for re-tuning the phase interpolators 24 to align the serial data transition events with rising edges of the local clock. By doing so, it also recovers the clock from the incoming data DATAIN and sends it to the PLL. In the adjusted state of the phase control circuit implemented in this way, the phase detector 19 supplies both the recovered clock signal and the data recovered from the input datastream DATAIN, where the corresponding information is then output via a further multiplexer 20, that is, the recovered data are demultiplexed to the parallel datastream DATA2. The demultiplexers 21 and 22 can be 1:4 demultiplexers, while the demultiplexer 20 is preferably a 2:10 demultiplexer. The demultiplexer ratio depends on the PLL frequency to data rate ratio.
Like the serializer circuit arrangement 2, the deserializer circuit arrangement 3 uses the multiphase clock signal with the four differentially transferred clock phase signals of which
For operation of the deserializer circuit arrangement 3, the phase difference between the individual clock phases of the multiphase clock signal should be maintained as precise as possible, in order to avoid receiving a faulty bit. The quality of the multiphase clock signal can consequently be checked in the same way as in the serializer circuit arrangement 2 using a phase offset monitor 14 which mixes the clock phase signals CLK0 and CLK90 in order thus to be able to evaluate the phase offset between the two clock phase signals. The general test sequence is identical to the test of the multiphase clock signal in the serializer circuit arrangement 2 illustrated in
A further test of the deserializer circuit arrangement 3 provides an assessment of the quality of the data eye sampled by the deserializer circuit arrangement 3. To this end, the deserializer circuit arrangement 3 is supplemented by a multiplexer 18 and a programmable phase delay element 25 (which could also be implemented within a DLL if a DLL were used to generate the four clock phases required to sample the data). The multiplexer 18, in the same way as the multiplexer 13 illustrated in
The data supplied in this test mode to the phase detector 19 for sampling, which correspond to the differential clock phase signal CLK0, thus act on the phase detector 19 like an “010101 . . . ” bit pattern. As the run time delay of the clock phase signal CLK0 via the programmable phase delay element 25 is at least to some extent, identical to the propagation delay of the phase interpolators 24, the sampler of the phase detector 19 samples the incoming data immediately in the center of the data eye concerned so that the resulting sampling values correspond to a data word with a hexadecimal value AAAAh or a data word with a hexadecimal 5555h.
This will now be explained in more detail with reference to
If the phase delay of the programmable phase delay element 25 is varied, this leads to a corresponding shift in the relative position of the sampling point in the phase detector 19 in relation to the supplied input datastream. In particular by shifting the sampling point within each incoming data eye either first a binary “0” and then a binary “1” or first a binary “I” and then a binary “0” are read. In the sampled values, stored in digital output registers of block 20, of the reconstructed data word concerned, thus gradually a change can be detected from the data word “AAAAh” to the data word “5555h”, where between these two limit values on shifts in the sampling position i.e. on changes in phase delay by the programmable phase delay element 25, the data word obtained by sampling can in principle assume any intermediate value, which is indicated in
It is evident that the quality of the data eye increases the lower the number of intermediate values between the limit values “AAAAh” and “5555h” of the data word obtained by sampling, since the opening of the data eye increases as the number of intermediate values decreases.
The test device 11 can thus test the quality of the data eye of the deserializer circuit arrangement 3 in that continuously or in steps the phase delay of the programmable phase delay element 25 is changed via the digital test interface 12 and then by evaluating the sampled values stored in the digital registers of the control device 23, the transition of the corresponding data word from “AAAAh” to “5555h” (or vice versa) is monitored.
The external test device 11 can assess the quality of the data eye in particular in that by changing the phase delay of the programmable phase delay element 25, it detects and evaluates the number of different values of the data word obtained by sampling the phase-delayed clock phase signal CLK0, supplied as an input signal, during the transition from the value “AAAAh” to the value “5555h” (or vice versa).
As well as the test described above of the quality of the multiphase clock signal and the data eye of the deserializer circuit arrangement 3, in addition a test is provided of the clock recovery by the deserializer circuit arrangement 3. The ability of the recovered clock RCLK to reliably follow or track each phase variation of the supplied input datastream is an important indicator of the quality of the implemented deserializer circuit arrangement.
To test the clock recovery, the deserializer circuit arrangement 3 again receives as an input signal via the multiplexer 18 a clock phase signal, where in this case for example the input signal can be the clock phase signal CLK90 which in turn is supplied via the programmable phase delay element 25 to the deserializer circuit arrangement 3.
In the ideal state, the phase position of the recovered clock signal RCLK, because of the function of the phase control circuit of the deserializer circuit arrangement 3, in the regulated state of the phase control circuit would be adjusted to the phase position of the clock phase signal CLK90 supplied via the programmable phase delay element 25, as the clock phase signal CLK90 supplied as the input signal acts on the deserializer circuit arrangement 3 as a “101010 . . . ” datastream.
By comparing the clock phase signal CLK90 supplied as an input signal with the clock signal RCLK recovered by the deserializer circuit arrangement 3, it can be monitored whether the recovered clock signal properly follows or tracks any phase change in the incoming data, which for this test is locally generated using the PLL output and the programmable phase delay element 25. Here again—as shown in
To test the reliability of the clock recovery of the deserializer circuit arrangement 3, not only is the clock phase signal CLK90 supplied as an input signal to the deserializer circuit arrangement 3, but the external test device 11 via the digital test interface 12 controls the programmable phase delay element 25 such that the phase delay of the clock phase signal CLK90 supplied as an input signal is changed continuously or in steps. For each new phase position of the clock phase signal CLK90 supplied as an input signal, correspondingly the phase offset is detected to the clock signal RCLK recovered from this by analysis of the output signal of the phase offset monitor 14. In the ideal state, the relative phase offset between the signals supplied to the phase offset monitor 14 would remain constant irrespective of the phase delay of the programmable phase delay element 25, i.e. irrespective of the phase delay of the programmable phase element 25 no change would be discernible in the direct voltage at the output of the low pass filter 16. In this way, the external test device 11, by changing the phase delay of the programmable phase delay element 25, can reliably test the ability of the deserializer circuit arrangement 3 to correctly reconstruct a clock change of the datastream supplied to it.
Although exemplary embodiments of the invention are described above in detail, this does not limit the scope of the invention, which can be practiced in a variety of embodiments.