In recent years, semiconductor integrated circuits (hereinafter referred to as is LSIs), such as CPUs incorporated in servers and personal computers, have their operating frequency (clock frequency) prominently increased. In order to guarantee and verify the operation of LSIs and to analyze any malfunction in the LSIs, the LSI internal signals (e.g., synchronous clock signal) must be observed from outside the LSIs. Therefore, there is a demand for a technique of observing the cycle and the like of the high-frequency signals used in the LSIs.
In the conventional method shown in
On the other hand, in the conventional method shown in
In the case of the conventional observing method shown in
In the case of the another conventional observing method shown in
The present invention has been made in order to solve the problems described above. An object of the invention is to provide a technique of observing a predetermined periodic signal in an LSI circuit, at low cost and at high precision.
To solve the problems set forth above, a signal generating apparatus according to the present invention has an LSI circuit in which a plurality of cycle-observing signals are generated to be output via an I/O circuit to a device outside the LSI circuit in order to observe a prescribed periodic signal in the LSI circuit. The signal generating apparatus includes: a frequency-dividing circuit that frequency-divides the periodic signal at a preset frequency division ratio; and a delay circuit that imparts a predetermined phase difference to the signal to be frequency-divided by the frequency-dividing circuit, thereby obtaining a plurality of signals that differ in phase from one another.
In the signal generating apparatus according to this invention, the delay circuit may impart a prescribed phase difference to the periodic signal to be frequency-divided by the frequency-dividing circuit, before a frequency-dividing process is performed, thereby obtaining a plurality of signals that differ in phase from one another, and the frequency-dividing circuit may frequency-divide the plurality of signals obtained in the delay circuit and being different in phase, each at a preset frequency division ratio.
In the signal generating apparatus according to this invention, the delay circuit may impart a prescribed phase difference to the signal frequency-divided by the frequency-dividing circuit, thereby obtaining a plurality of signals that differ in phase from one another.
In the signal generating apparatus according to the invention, the delay circuit may impart a phase difference to the signal to be frequency-divided by the frequency-dividing circuit. This phase difference corresponds to the time between a timing at which the periodic signal undergoes a certain waveform change and a timing at which the periodic signal undergoes the next waveform change.
In the signal generating apparatus according to the invention, the frequency-dividing circuit frequency-divides the periodic signal at a frequency division ratio that enables the I/O circuit to transmit the periodic signal.
A periodic-signal observing system according to the present invention is designed to observe a periodic signal in an LSI circuit by guiding the periodic signal out of the LSI circuit via an I/O circuit. The system includes a signal generating apparatus of such a type as described above; and a cycle-observing unit that observes the cycle of the periodic signal based on a phase difference between a plurality of signals generated by the signal generating apparatus and used to observe the cycle of the periodic signal.
An integrated circuit according to the present invention is designed to perform a prescribed process based on a reference signal that is a periodic signal. The integrate circuit includes: a reference-signal generating unit that generates the reference signal in the integrated circuit; a frequency-dividing circuit that frequency-divides the reference signal at a preset frequency division ratio; a delay circuit that imparts a prescribed phase difference to the signal to be frequency-divided by the frequency-dividing circuit, thereby obtaining a plurality of signals that differ in phase from one another; and an I/O circuit that guides, from the integrated circuit, a plurality of signals that have been frequency-divided by the frequency-dividing circuit and imparted with the prescribed phase difference by the delay circuit.
In the integrated circuit according to this invention, the delay circuit may impart the prescribed phase difference to the reference signal to be frequency-divided by the frequency-dividing circuit, before a frequency-dividing process is performed, thereby obtaining a plurality of signals that differ in phase from one another, and the frequency-dividing circuit may frequency-divide the plurality of signals obtained in the delay circuit and being different in phase, each at a preset frequency division ratio.
In the integrated circuit according to the invention, the delay circuit may impart a prescribed phase difference to the signal frequency-divided by the frequency-dividing circuit, thereby obtaining a plurality of signals that differ in phase from one another.
In the integrated circuit according to the invention, the delay circuit may impart a phase difference to the signal to be frequency-divided by the frequency-dividing circuit, the phase difference corresponding to the time between a timing at which the reference signal undergoes a certain waveform change and a timing at which the reference signal undergoes the next waveform change.
In the integrated circuit according to this invention, the frequency-dividing circuit may frequency-divide the periodic signal at a frequency division ratio that enables the I/O circuit to transmit the periodic signal.
In a periodic-signal observing method according to the present invention, a periodic signal is guided from an LSI circuit via an I/O circuit and then observed. The method includes: a frequency-dividing step that frequency-divides a prescribed periodic signal in the LSI circuit, at a preset frequency division ratio; a delaying step that imparts a prescribed phase difference to the signal to be frequency-divided in the frequency-dividing step, thereby obtaining a plurality of signals that differ in phase from one another; and a cycle-observing step that observes the cycle of the periodic signal based on a phase difference between a plurality of signals for cycle observation generated in the frequency-dividing step and the delaying step.
In the periodic-signal observing method according to this invention, the delaying step imparts the prescribed phase difference to the periodic signal to be frequency-divided in the frequency-dividing step, before a frequency-dividing process is performed, thereby obtaining a plurality of signals that differ in phase from one another, and the frequency-dividing step frequency-divides the plurality of signals obtained in the delay step and being different in phase, each at a preset frequency division ratio.
In the periodic-signal observing method according to the invention, the delaying step imparts a prescribed phase difference to the periodic signal frequency-divided in the frequency-dividing step, thereby obtaining a plurality of signals that differ in phase from one another.
In the periodic-signal observing method according to the invention, the delaying step imparts a phase difference to the signal to be frequency-divided in the frequency-dividing step. This phase difference corresponds to the time between the timing at which the periodic signal undergoes a certain waveform change and the timing at which the periodic signal undergoes the next waveform change. In the periodic-signal observing method according to the invention, the frequency-dividing step frequency-divides the periodic signal at a frequency division ratio that enables the I/O circuit to transmit the periodic signal.
A method of testing an integrated circuit, according to the present invention, includes: a first step that frequency-divides a first periodic signal for driving the integrated circuit, at a preset frequency division ratio, and imparts a prescribed phase to the first periodic signal, thereby generating a second periodic signal; a second step that frequency-divides the first periodic signal, at the preset frequency division ratio, and imparts a prescribed phase difference to the second periodic signal, thereby generating a third periodic signal; a fourth step that outputs the second periodic signal and the third signal from the integrated circuit; and a fifth step that determines a phase difference between the second and third periodic signals output in the fourth step.
The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.
Now, preferred embodiments of the present invention will be described by referring to the accompanying drawings.
The periodic-signal observing system S according to the present embodiment includes an LSI circuit (equivalent to an integrated circuit) 9 and a measuring device (cycle-observing unit) 3. The LSI circuit 9 includes a signal generating apparatus 1, an I/O circuit 201, and an I/O circuit 202. The signal generating apparatus 1 generates a plurality of signals for cycle observation to be output to the outside of the LSI circuit 9 through the I/O circuits in the LSI circuit 9 in order to observe the high-frequency signal A (reference signal that is a prescribed periodic signal (equivalent to the first periodic signal)) generated in a reference-signal generating device 8 in the LSI 9. (These signals are frequency-divided signal outputs A and B shown in
More specifically, the signal generating apparatus 1 includes a frequency-division delay circuit 101 and a frequency-division delay circuit 102. Each of the frequency-division delay circuit 101 and frequency-division delay circuit 102 has a frequency-dividing circuit that frequency-divides the high-frequency signal A with a preset frequency division ratio. The frequency-division delay circuit 101 and frequency-division delay circuit 102 cooperate with each other, imparting a prescribed phase difference to the signals that they have frequency-divided. That is, the frequency-division delay circuits 101 and 102 function as delay circuits for generating a plurality of signals that differ in phase from one another.
The measuring device 3 has a plurality of input channels. It is constituted by a measuring device (e.g., oscilloscope) that can observe the phase difference between a plurality of periodic signals. As shown in
The high-frequency signal to be observed is thus frequency-divided in accordance with the performance of the I/O circuits that serve as interfaces between the LSI and the device provided outside the LSI. Hence, periodic signals can be observed at high precision even if the I/O circuits used cannot cope with the high-frequency signal. In other words, no I/O circuits specially designed to cope with the high-frequency signal to be observed need to be provided. This helps to reduce the manufacturing cost of the periodic-signal observing system.
The synchronizing circuit 103 shown in
The operation of the signal generating apparatus 1 according to this embodiment will be explained.
First, it will be explained how the frequency-division delay circuits of the configuration shown in
To make the frequency-division delay circuits start operating, control signals CNTL is set to L (CNTL=L). While CNTL remains at L, G3 and G4 select and output the “0” input. Therefore, N0=L and OUT=L. When CNTL becomes H (CNTL=H) at a certain timing, G3 and G4 select and output the “1” input. As a result, N0 changes to H (N0=H) at the leading edge of the next reference signal CLK. Thereafter, G3 and G4 keep operating, inverting the value at every leading edge of the reference signal CLK. G2 operates, inverting the value at the leading edge of the reference signal CLK when N0 is H (N0=H).
It will be explained how the frequency-division delay circuits of the configuration shown in
While CNTL remains L (CNTL=L), G3 and G4 select the “0” input and outputs the same. Therefore, N0=H and OUT=L. When CNTL changes to H (CNTL=H), G3 and G4 select the “1” input and outputs the same. N0 changes to L (N0=L) at the leading edge of the next reference signal CLK. Thereafter, G3 and G4 keeps operating, inverting the value at every leading edge of the reference signal CLK. G2 operates, inverting the value at the leading edge of the reference signal CLK as long as N0=H.
As the comparison of
Here, the apparatus is configured to impart a phase difference to the high-frequency signal that should be frequency-divided by the frequency-dividing circuit. This phase difference corresponds to the time between the timing when the waveform of the periodic signal changes from L to H (i.e., timing when a prescribed waveform change occurs) and the timing when the waveform of the periodic signal rises next. The phase difference imparted is not limited to this, nevertheless. A phase difference corresponding to the time between the timing when the waveform of the periodic signal changes from H to L and the timing when the waveform of the periodic signal falls next may be imparted.
How the circuit shown in
While the control signal CNTL remains 0 (CNTL=0), the FFs provided in the frequency-division delay circuit 101 and the frequency-division delay circuit 102 hold the set signal SETA and SETB, respectively, which they have acquired. If the control signal CNTL changes to H (CNTL=H), CNTL0 will become H (CNTL0=H) upon lapse of cycles during which the signal passes the synchronizing circuit. The frequency-division delay circuits 101 and 102 therefore start operating at the same time (in the first and second steps). The frequency-division delay circuits 101 and 102 operate in such a way as described above. They generate two signals OUTA and OUTB, each having a frequency that is a quarter of that of the reference signal CLK (in the third step). The phases of these two signals deviate from that of the reference signal CLK by one cycle.
Hence, the cycle of the reference signal CLK can be observed by outputting the periodic signals generated by the signal generating apparatus 1 from the LSI as shown in
In a similar sequence, the set signals SETA and SETB for the frequency-division delay circuits 101 and 102 can be set to any values, and the second and third cycles of the reference signal CLK can then be observed.
In order to observe the cycle of reference signal CLK accurately from the phase difference between the waveforms observed, the delay times in two paths from the branch point to the measuring device should be equal to each other. In practice, however, these delay times inevitably differ from each other, because the circuit performance differs from the design performance or the transmission cable is shorter or longer than the design value. This delay-time error can be corrected, nonetheless, because it can be observed as a waveform-phase difference between the signals the signal generating apparatus 1 generates if the signals SETA and SETB are set to the same value.
At first, a prescribed phase difference is imparted to the periodic signal (i.e., reference signal CLK) that should be frequency-divided by the frequency-dividing circuit, providing a plurality of signals that differ in phase from one another (delaying step) (S101).
Next, the signals generated in the delay step and different in phase from one another are frequency-divided, each at a preset frequency division ratio. A plurality of signals to be observed in terms of cycle are thereby generated (frequency-dividing step) (S102).
The measuring device 3 measures the cycle of the periodic signal from the phase difference between the signals generated in the frequency-dividing step and the delay step (cycle-observing step) (S103).
At first, the reference signal CLK is frequency-divided at a preset frequency division ratio in the LSI circuit 9 (frequency-dividing step) (S201).
Next, a prescribed phase difference is imparted to the signal generated in the frequency-dividing step, thereby generating a plurality of periodic signals that differ in phase from one another (delaying step) (S202). Here, the phase difference imparted to the signal generated in the frequency-dividing step corresponds to the time between the timing at which the reference signal CLK undergoes a certain waveform change (e.g., the leading or trailing edge of the waveform) and the timing at which the reference signal undergoes the next waveform change.
The measuring device 3 measures the cycle of the periodic signal from the phase difference between a plurality of signals which has been generated in the frequency-dividing step and delaying step and which are used to observe the cycle of the periodic signal (cycle-observing step) (S203).
In the present embodiment, two frequency-division delay circuits are provided (thus, two cycle-observing signals are generated). The configuration is not limited to this, nevertheless. More frequency-division delay circuits can be arranged parallel to one another.
If two frequency-division delay circuits output signals, each having a frequency that is a quarter of that of the reference signal, only one of the four consecutive cycles of the reference signal CLK can be observed. If more frequency-division delay circuits, for example four circuits, are arranged parallel to one another, and output four signals each having a quarter of the frequency of the reference signal, the four consecutive cycles of the reference signal can be all observed. The reference signal CLK generated by an ordinary PLL (Phase Locked Loop) circuit is thereby output from a circuit in which each of four frequency-division delay circuits outputs a signal having a quarter of the frequency of the reference signal. Then, a cycle-to-cycle jitter can be observed from the relation (difference) between the consecutive cycles (between any cycle and the next cycle), thus accomplishing one of the functions any PLL circuit should perform.
Thus, in this embodiment, frequency-division delay circuits are used, lowering the signal frequency and rendering it easy to output and observe a waveform, and the phase difference between two waveforms is observed, thereby observing the cycle of the reference signal. That is, this embodiment can easily observe the cycle of a high-frequency signal that is hardly observed in conventional method.
Moreover, the edge intervals of the waveform (i.e., time between the leading or trailing edges of waves) of the reference signal that serves as an output trigger in each frequency-division delay circuit can be varied (that is, the phase difference between signals is variable). Therefore, it is possible to obverse not only one cycle, but also a plurality of cycles (two cycles, three cycles, and so on). Further, if the edges used as triggers are the same, the error of delaying the measuring path can be measured. The errors resulting from the observation path can therefore be corrected.
The present invention has been described in detail, with reference to a specific embodiment. However, it may be obvious to anyone skilled in the art that various changes and modifications can be made within the scope and spirit of the present invention.
As has been described above in detail, the present invention can provide a technique of observing a signal of a prescribed frequency in an LSI circuit, at low cost and at high precision.
This application is a continuation of International Application No. PCT/JP2006302223, filed Feb. 9, 2006, the disclosure of which is herein incorporated in its entirety by reference. The present invention relates to a technique of observing the cycle of a periodic signal.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2006/302223 | Feb 2006 | US |
Child | 12216419 | US |