A METHOD FOR TESTING AN ELECTRONIC CIRCUIT BY LOGICALLY COMBINING CLOCK SIGNALS, AND AN ELECTRONIC CIRCUIT PROVIDED WITH FACILITIES FOR SUCH TESTING

Abstract: An electronic circuit has a plurality of nodes at which a plurality of clock signals are present in operational use. The clock signals should have a pre-determined timing relationship amongst themselves. The circuit includes logic circuitry having inputs connected to the nodes and having an output to provide a pulse train. Any discrepancy between the actual and ideal pulse trains indicates a fault.

Description: A method for testing an electronic circuit by logically combining clock signals, ana an electronic circuit provided with facilities for such testing FIELD OF THE INVENTION The invention relates to an electronic circuit with a plurality of respective no at which a plurality of respective clock signals are present in operational use of the circuit The invention also relates to a method of testing such a circuit. The clock signals have a common overall period, which may include the situation wherein certain clock signals hav frequency that is a multiple of a basic frequency. The shapes and relative time shifts of th various clock pulses are in principle arbitrary. BACKGROUND ART A plurality of clock signals are a typical example of signals that should relate one another according to a predetermined interdependence in order to establish correct operation of a clocked circuit. Clock signals are usually binary, periodic signals. Clock signals are widely used in digital as well as in analog integrated circuits. In digital circuits such as microprocessors, often multiple clocks are utilized. In RAMs, a set of periodic intemal signals are generated which control the intemal timing. Similarly, in the analog domain (e.g., A/D and D/A converters), and in time-discrete circuits (e.g., switched capa tor circuits) clocks are widely used for sampling the data, voltages, and currents. OBJECT OF THE INVENTION Irrespective of the application domain of the clock signals, the fault-free operation of the IC depends on the timing relationship between different clock signals. However, clocks are in general not tested explicitly. For example, in the analog domain, most of the tests (e.g., signal to noise ratio) are targeted towards the reliability of the data path. Furthermore, most of the conventional test methods applied to electronic circuitry appear to focus on reliability of data paths, signal-to-noise ratio, differential non-linearity, integral non-linearity, bit error rate or code density measurement. In fact, there seems to b hardly any method which explicitly tests for proper clock signal interdependencies. Accord ingly, there is a need for a testing scheme to analyze the timing relationships of such signa It is, inter alia, an object of the invention to provide a solution to the proble of how to test efficiently the timing integrity of the signals. It is another oDject to provide a circuit designed for testability with regard to correctness of the timing relationship among a plurality of signals. SUMMARY OF THE INVENTION To this end, the invention provides a circuit as specified in the preamble and characterized in that the circuit includes logic circuitry having inputs connected to the nodes and having an output to provide a pulse train for testing a pre-determined timing relationshi amongst the clock signals. Advantageously, the invention provides a large scale integrated electronic circuit, comprising digital circuitry elements and multiple clocked nodes interconnected to said circuitry elements for on said nodes receiving various different clock signals having a common overall clock period, characterized in that the electronic circuit contains inte al tes circuitry for testing a plurality of timing relationships between subsets of said clock signals, in that for each such subset logic function generating means have been provided that are fed by said nodes for, exclusively conditionally to a correct timing relationship among the subse in question, producing a predetermined logic pulse, and in that various such logic function generating means feed amalgamating circuitry, for in said amalgamating circuitry producing, exclusively conditionally to correct timing relationships among all subsets so combined, a predetermined periodic logic pulse train. A logic pulse is understood to mean a logic signal that observes a non-uniform logic value with time. Amalgamating of such logic pulses will over a time that compares to the period of the above basic frequency observe a behaviour that should in principle be periodic as well. Persisting or non-persisting deviations from an intended shape thereof can be detected in an easy manner. The invention logically combines the plurality of clock signals to create a pulse train whose temporal characteristics reflect the timing relationship among the clock signals. The temporal features of the pulse train under error free conditions, e.g., the widths and locations of the pulses in the time domain, can easily be calculated. Any fault in the source of the clock signals or occurring along the signal paths introduces an observable deviation from the calculated pulse train. For example, the number of pulses in a certain time interval or the position of the pulses can be taken as the quantity to be monitored during testing. The circuit may include a clock signal generator or the circuit may be one that receives the clock signals. The nodes may include clock signal inputs and/or clock signal outputs. Several nodes may be spaced apart along the same clock signal patn. for example, the propagation delay inflicted upon a clock signal propagating from one node to another node can be measured by examining the associated edges in the pulse train. The invention provides a generic solution to test clock signals in analog circuit (e.g., A/D converters and D/A converters) and digital circuits (e.g., microprocessors, memories). Through this technique, the temporal relationship between the clock signals can be monitored at a plurality of locations throughout the chip. In some situations, the pulse train is generated at the physical location where the clock timing relationship is most critical or most difficult to test. Through this technique also a comparison of best case and worse case timing is carried out. Since the pulse train carries information about the timing of the clock signals relative to one another and the deviations from the ideal case, dedicated analysis circuitry c extract this information automatically in order to locate the origin of the fault. For example, if a deviation is caused by race conditions along two or more identified signal paths, proper delay elements or boosting elements can be activated under control of the analysis circuitry. If a stuck-at fault gives rise to a discrepancy in the pulse train, the analysis circuitry can automatically replace the faulty part by a spare part upon identifying the origin. The invention also relates to a method of testing an electronic circuit that has plurality of respective nodes at which a plurality of respective clock signals are present in operational use of the circuit. According to the invention, the method comprises the steps o enabling the occurrence of the clock signals at the nodes; logically combining the clock signals to create a pulse train; and using the pulse train to test a pre-determined timing relationship amongst the clock signals. The logic combining of the clock signals is preferabl carried out by an on-chip logic circuit. The output of the logic circuit may be connected to bonding pad that is provided for test purposes only. This bonding pad then is not connected to the lead frame. BRIEF DESCRIPTION OF THE DRAWING Various aspects of the invention are explained below in further detail and by way of example with reference to the accompanying drawing, wherein Figure 1 is a diagram showing the temporal relationship among various signals Figure 2 is a diagram of a logic circuit to create a pulse train; and Figure 3 is a diagram of the pulse train provided by the circuit of Figure 2 when receiving the signals of Figure 1 and its logic complements; Figure 4 is a diagram of a testable circuit that comprises Dotn a JLVA ana an A/D conversion element. Throughout the drawing like reference symbols indicate corresponding or similar features. DETAILED EMBODIMENTS Figure 1 is a time diagram of a clock signal CLK^ and further signals KVIN, KREF 12 , KREF 3 and LPULS, generated on the basis of CLK^. Two complete cycles are shown of these periodic signals. For the sake of completeness it is observed that these sign serve to control an A/D converter, for which reference is had to Figure 4. These signals must comply with a pre-defined timing relationship in order to ensure a correct operation o the A/D converter. Figure 2 is a diagram of an integrated circuit 200 provided with logic circuit 201 to test the integrity of the relationship among the signals of Figure 1. Circuit 201 comprises a NAND gate 202, a NOR gate 204, a NAND gate 206, a NAND gate 208, a NOR gate 210 and an OR gate 212. Logic gates 202-208 receive various combinations of signals CLK j ^, KVIN, KREF 12 , KREF 3 and LPULS, and their logic complements. These names are idiosyncratic for the envisaged target circuit, but the principle of various clock signals of specific shape and mutual shifting is a standard feature in the art of A/D and D/ conversion. Outputs of gates 202, 206 and 208 are connected to inputs of NOR gate 210. NOR gate 210 also receives CLK^. Outputs of NOR gates 204 and 210 are connected to inputs of OR gate 212. An output of OR gate 212 provides as a test signal a pulse train discussed with reference to Figure 3. Figure 3 shows a pulse train DFT formed by circuit 200. Pulse train DFT is periodic with the same period as that of signals CLK IN , KVIN, KREF 12 , KREF 3 and LPULS. Pulse train DFT is shown over a length of two complete cycles. Each cycle comprises a plurality of pulses 302, 304, 306 and 308. As is clear from Figs. 1 and 2, puls 302 stems from gate 202, pulse 304 originates in gate 204, pulse 306 is determined by gate 206 and pulse 308 derives from gate 208. If signals CLK^, KVIN, KREF 12 , KREF 3 and LPULS comply with the desired timing relationship, the widths and positions of pulses 302- 308 are known. Any fault causing timing errors or stuck-at behaviour will be detected by th change it brings about in the pulse train DFT. Figure 4 is a diagram of a testable circuit that comprises both a D/A and an A/D conversion element. An analog signal is received on input 22. Block 26 represents an analog to digital converter, such as disclosed for example in H. Reyhani et al, A 5V, b-b, Ms/s BiCMOS Flash ADC, IEEE Jour, of Solid State Circuits, Vol. 29, No. 8, August 1994, p.873-878, and in G. Ruan, A Behavioral Model of A/D Converters Using a Mixed- Mode Simulator, ditto, Vol. 26, No. 3, March 1991, p.283-290. Figure 3 of the latter pape also includes a D2A (D/A) converter. The clocking facility in both cases has a plurality of mutually shifted clock signals. In Figure 4, the digital signal is processed in digital signal processor 28. The output result is fed to D/A converter 30 for presentation on output 36. Clocking facility 32 receives a master clock on input 24. Altematively, the master clock may be generated intemally. Facility 32 develops various secondary clock signals for presentation to elements 26, 28, 30, that may receive plural different clock signals in parallel as exemplified in earli Figures of this application, and as symbolized here with respective crossed lines. In blocks 26, 28, 30, these clock signals will be applied to respective nodes. Moreover, these clock signals are selectively presented to test circuitry block 34 that may contain facilites of the broad category shown in Figure 2. In this manner, the pulse developers thereof may be connected directly or indirectly to selective nodes of the elements 26, 28, 30. The eventual pulse train so developed may be presented on output 38 for further evaluation. Altematively the evaluation may be executed in parts of the intemal functional circuitry that are reserved therefor, or shared with other functions.

Claims: CLAIMS: 1. A large scale integrated electronic circuit, comprising digital circuitry element and multiple clocked nodes interconnected to said circuitry elements for on said nodes receiving various different clock signals having a common overall clock period, characterize in that the electronic circuit contains intemal test circuitry for testing a plurality of timing relationships between subsets of said clock signals, in that for each such subset logic functio generating means have been provided that are fed by said nodes for, exclusively conditional to a correct timing relationship among the subset in question, producing a predetermined logic pulse, and in that various such logic function generating means feed amalgamating circuitry, for in said amalgamating circuitry producing, exclusively conditionally to correct timing relationships among all subsets so combined, a predetermined periodic logic pulse train. 2. A circuit as claimed in Claim 1 , and furthermore comprising D/A and/or A/D circuitry, that is clocked by said clock signals and and comprises at least part of said nodes for testing. 3. An electronic circuit with a plurality of respective nodes at which a plurality o respective clock signals are present in operational use of the circuit, characterized in that th circuit includes logic circuitry having inputs connected to the nodes and having an output to provide a pulse train for testing a predetermined timing relationship amongst the clock signals. 4. A method for testing a large scale integrated electronic circuit, that comprises digital circuitry elements and multiple clocked nodes interconnected to said circuitry elements, said method comprising providing to said nodes various different clock signals having a common overall clock period, characterized by testing a plurality of timing relationships between subsets of said nodes tha receive respective clock signals clock signals through, by provided intemal test circuitry in the electronic circuit for generating logic functions for various associated said subsets, exclu sively conditionally to a correct timing relationship among the clock signals of the subset in question, producing a predetermined logic pulse, and feeding various such logic pulses to amalgamating circuitry, for in said amalgamating circuitry producing, exclusively conditi- onally to correct timing relationships among all subsets so combined, a predetermined periodic logic pulse train. 5. A method as claimed in Claim 4, for use with a circuit comprising D/A and/o A/D circuitry, that is clocked by said clock signals and and comprises at least part of said nodes for testing. 6. A method of testing an electronic circuit that has a plurality of respective nod at which a plurality of respective clock signals are present in operational use of the circuit, characterized in that the method comprises: - enabling the occurrence of the clock signals at the nodes; - logically combining the clock signals to create a pulse train; - using the pulse train to test a pre-determined timing relationship amongst the clock signals

Inventors: ATZEMA BOTJO, SACHDEV MANOJ, ATZEMA, BOTJO, SACHDEV, MANOJ
Applicants: PHILIPS ELECTRONICS NV, PHILIPS NORDEN AB, PHILIPS ELECTRONICS N.V.
Application year: 1996
Main classification: G01R
IPC codes: G01R31