US7068086B2 - Phase correction circuit - Google Patents

Phase correction circuit Download PDF

Info

Publication number
US7068086B2
US7068086B2 US10/484,984 US48498404A US7068086B2 US 7068086 B2 US7068086 B2 US 7068086B2 US 48498404 A US48498404 A US 48498404A US 7068086 B2 US7068086 B2 US 7068086B2
Authority
US
United States
Prior art keywords
fetch
signal
clock signal
synchronization
data signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US10/484,984
Other versions
US20050001655A1 (en
Inventor
Akihiro Takeda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advantest Corp
Original Assignee
Advantest Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advantest Corp filed Critical Advantest Corp
Assigned to ADVANTEST CORPORATION reassignment ADVANTEST CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: TAKEDA, AKIHIRO
Publication of US20050001655A1 publication Critical patent/US20050001655A1/en
Application granted granted Critical
Publication of US7068086B2 publication Critical patent/US7068086B2/en
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay
    • H04L7/0041Delay of data signal

Definitions

  • the present invention relates to a circuit (input circuit) receiving a data signal in a DDR (double data rate) format which is transferred between chips or between modules, and more particularly to a phase correction circuit capable of detecting a skew between a data signal and a clock signal and correcting their phase difference without requiring a clock signal as pattern data when setting a delay time of a variable delay device at the time of initialization.
  • a phase correction circuit capable of detecting a skew between a data signal and a clock signal and correcting their phase difference without requiring a clock signal as pattern data when setting a delay time of a variable delay device at the time of initialization.
  • a data signal is transferred in a DDR format between chips or between modules.
  • the data signal is processed with the both timing of a rise edge and a fall edge of a clock signal. Therefore, transferring the data signal in the DDR format can improve a transfer rate.
  • the input circuit for a data signal in a DDR format is generally constituted of a variable delay device (VD) 10 , a first flip-flop (first F/F) 1 , a second flip-flop (second F/F) 2 , a third flip-flop (third F/F) 3 and a fourth flip-flop (fourth F/F) 4 .
  • VD variable delay device
  • first F/F first flip-flop
  • second F/F second flip-flop
  • third F/F third F/F
  • fourth flip-flop fourth flip-flop
  • a data signal in a DDR format is inputted to the variable delay device. Further, the first F/F 1 fetches a delayed data signal outputted from the variable delay device 10 in synchronization with a clock signal. That is, the data signal is fetched with a timing of a rising edge of the clock signal.
  • the second F/F 2 fetches the delayed data signal in synchronization with a reverse clock signal obtained by reversing the clock signal. That is, the data signal is fetched with the timing of a fall edge of the clock signal.
  • a phase of the data signal outputted from the second F/F 2 is delayed from a phase of the data signal outputted from the first F/F 2 by a 1 ⁇ 2 cycle of the clock signal.
  • the third F/F 3 fetches an output signal from the first F/F 1 in synchronization with the clock signal.
  • the fourth F/F 4 fetches an output signal from the second F/F 2 in synchronization with the clock signal. Since the third and fourth F/F 3 and 4 respectively fetch output signals in synchronization with the clock signal in this manner, the output signal of the first F/F 1 and the output signal of the second F/F 2 can be in phase.
  • the data signal in a DDR format is transferred at a high speed. Therefore, in the DDR format, an allowable range of a skew (signal phase shift) between the data signal and the clock signal is very narrow. Thus, in the input circuit, the skew is corrected by delaying the data signal by using the variable delay device 10 .
  • setting a delay time at the time of initialization can be performed by giving predetermined data and a clock as pattern data, gradually changing a delay time of the variable delay device 10 and reading output values of the first and second F/F 1 and 2 each time.
  • the conventional input circuit includes a first AND circuit 11 to which the output signal from the first F/F 1 and a read mode signal are inputted and a second AND circuit 12 to which the output signal from the second F/F 2 and the read mode signal are inputted, thereby reading output values of the first and second F/F 1 and 2 .
  • the output values are read in the following manner. First, the input circuit is operated for a predetermined clock number given from the pattern data, and predetermined data signals are outputted from the variable delay device 10 . The outputted data signals are held in the first and second F/F 1 and 2 . The clock signals whose number is equal to a predetermined pattern number are generated, and this generation is then terminated (stopped). The data signals held in the first and second F/F 1 and 2 are respectively read through the first and second AND circuits 11 and 12 based on the read mode signals.
  • the read values and the data signals are compared, and it is judged whether they have been correctly fetched into the first and second F/F 1 and 2 , respectively. If the data signals have not been correctly fetched, a delay time is increased in increments of a predetermined time, and the judgment is repeated. Then, a skew is corrected, and a delay time with which the data signals can be correctly fetched is set.
  • the clock signals as pattern data must be generated every time the setting of the delay time is changed and judged. Therefore, besides the circuit configuration shown in FIG. 4 , a program, a circuit or the like which generates and controls the clock signals as the pattern data is required.
  • an object of the present invention to provide a phase correction circuit capable of easily detecting a skew between a data signal and a clock signal and correcting their phase difference without requiring a clock signal as pattern data upon initialization.
  • a phase correction circuit comprising: a variable delay device to which a data signal in a DDR format is inputted; first fetch means to fetch a delayed data signal outputted from the variable delay device in synchronization with a clock signal; second fetch means to fetch the delayed data signal in synchronization with a reverse clock signal obtained by reversing the clock signal; third fetch means to fetch an output signal from the first fetch means in synchronization with the clock signal; and fourth fetch means to fetch an output signal from the second fetch means in synchronization with the clock signal, wherein the phase correction circuit further comprises: fifth fetch means to fetch a rate signal having the same cycle as that of the data signal in synchronization with the clock signal; and an AND circuit to which an output signal from the third or fourth fetch means and an output signal from the fifth fetch means are inputted.
  • the AND circuit judges the match/mismatch of the rate signal having the same cycle as that of the data signal with the delayed data signal outputted from the third or fourth fetch means.
  • the AND circuit judges whether the delayed data signal has been correctly fetched into each flip-flop without requiring the clock signal as the pattern data. That is, it is possible to detect presence/absence of a skew between the clock signal and the data signal which exceeds an allowable range. Consequently, a skew between the clock signal and the data signal can be detected and a delay time used to correct the skew can be readily set without requiring a program, generating means, controlling means or the like for generating the clock signal as the pattern data at the time of initialization.
  • a phase correction circuit comprising: sixth fetch means to fetch an output signal from the AND circuit in synchronization with the clock signal; and a latch circuit which holds an output signal from the sixth fetch means.
  • providing the sixth fetch means and the latch circuit can readily fetch a judgment result with a desired timing.
  • all or some of the fetch means according to the present invention can be constituted of flip-flops.
  • the present invention can be easily constituted by using the flip-flops which are existing sequence circuits, and the phase correction circuit which has a simple structure and is superior in multiusability and expandability can be provided.
  • the present invention can be carried out as a method comprising: a variable delay step of receiving a data signal in a DDR format, and outputting it as a delayed data signal obtained by delaying the data signal by a predetermined time; a first fetch step to fetch the delayed data signal in synchronization with a clock signal; a second fetch step to fetch the clock signal in synchronization with a reverse clock signal obtained by reversing the clock signal; a third fetch step to fetch an output signal from the first fetch step in synchronization with the clock signal; a fourth fetch step to fetch an output signal from the second fetch step in synchronization with the clock signal; a fifth fetch step to fetch a rate signal having the same cycle as that of the data signal in synchronization with the clock signal; and an AND operation step of receiving an output signal from the third or fourth fetch step and an output signal from the fifth fetch step and obtaining their logical product.
  • the present invention can be carried out as the method further comprising: a sixth fetch step of fetching an output signal from the AND operation step in synchronization with the clock signal: and a latch step of holding an output signal from the sixth fetch step.
  • the present invention can be carried out as the method which can readily detect a skew between the data signal in a DDR format and the clock signal and correct their phase difference.
  • FIG. 1 is a circuit diagram illustrating a structure of a preferred embodiment of a phase correction circuit according to the present invention
  • FIG. 2 is a timing chart illustrating an operation of the preferred embodiment of the phase correction circuit according to the present invention
  • FIGS. 3(A) and (B) are graphs illustrating an optimum delay time
  • FIG. 4 is a circuit diagram of an input circuit according to a prior art.
  • a phase correction circuit is constituted of a variable delay device 10 , a first flip-flop (first F/F) 1 as first fetch means 1 , a second flip-flop (second F/F) 2 as second fetch means 2 , a third flip-flop (third F/F) 3 as third fetch means 3 , a fourth flip-flop (fourth F/F) 4 as fourth fetch means 4 , a fifth flip-flop (fifth F/F) 5 a and a sixth flip-flop (sixth F/F) 5 b constituting fifth fetch means 5 , an AND circuit 8 , a seventh flip-flop (seventh F/F) 6 as sixth fetch means 6 , and an SR latch circuit 9 .
  • a data signal in a DDR format is inputted to the variable delay device 10 from the outside of the phase correction circuit. Then, the variable delay device 10 delays the data signal by a set delay time Td, and outputs a result as a delayed data signal.
  • the first F/F 1 as the first fetch means 1 fetches the delayed data signal outputted from the variable delay device 10 in synchronization with a clock signal. That is, as shown in FIG. 2 , the data signal is fetched with a timing of a rising edge of the clock signal.
  • the second F/F 2 as the second fetch means 2 fetches the delayed data signal in synchronization with a reverse clock signal obtained by reversing the clock signal. That is, as shown in FIG. 2 , the data signal is fetched with a timing of a fall edge of the clock signal.
  • a phase of the data signal outputted from the second F/F 2 is delayed from a phase of the data signal outputted from the first F/F 1 by a 1 ⁇ 2 cycle of the clock signal.
  • the third F/F 3 as the third fetch means 3 fetches an output signal from the first F/F 1 in synchronization with the clock signal.
  • the fourth F/F 4 as the fourth fetch means 4 fetches an output signal from the second F/F 2 in synchronization with the clock signal. Since both the third and fourth F/F 3 and 4 fetch the output signals in synchronization with the clock signal in this manner, the output signal from the first F/F 1 and the output signal from the second F/F can be in phase.
  • the fifth F/F 5 a on the front stage as the fifth fetch means 5 fetches a rate signal having the same cycle as that of the data signal in synchronization with the clock signal.
  • the sixth F/F 5 b on the rear stage as the fifth fetch means 5 fetches an output signal from the fifth F/F 5 a in synchronization with the clock signal.
  • the AND circuit 8 are inputted the data signal outputted from the third F/F 3 and a rate signal (RATE) outputted from the sixth F/F 5 b . Then, when a value of the data signal matches with that of the rate signal, an output from the AND circuit 8 becomes “H” (or “1”) as shown in FIG. 2 .
  • Judging the match/mismatch of the rate signal having the same cycle as that of the data signal and the delayed data signal outputted from the third or fourth flip-flop by using the AND circuit can judge whether the delayed data signal has been correctly fetched into each flip-flop without requiring the clock signal as pattern data like the prior art.
  • the rate signal having the same cycle as that of the data signal is utilized if the data signal has been correctly fetched into the first and third F/F 1 and 3 . Therefore, the data has been also correctly fetched into the second and fourth F/F 2 and 4 in principle.
  • an output from the AND circuit 8 is fetched into the seventh F/F 6 as the sixth fetch means 6 in synchronization with the clock signal. Then, an output from the seventh F/ 6 is held in the SR latch circuit 9 .
  • a read mode signal READ
  • the rate signal (RATE) since the rate signal (RATE) has the same cycle as that of the data signal, it is determined that the data signal has been fetched correctly in a predetermined delay time range if the delay time is gradually shifted.
  • an output value of the AND circuit 8 is “1” in a range of the delay times Td 1 to Td 2 . Therefore, it is determined that the data signal has been fetched correctly in this range.
  • the first to sixth fetch means are all constituted of the flip-flops in the foregoing embodiment (see the first to seventh F/F shown in FIG. 1 ), the fetch means according to the present invention are not restricted to only the flip-flops, and any other sequence circuits (e.g., latch circuits) and the like can be used. That is, all or some of the fetch means according to the present invention can be constituted of the flip-flops and, at the same time, all or some of these means can be also constituted of any other circuits.
  • the output signal from the third fetch means (third flip-flop) is compared with the rate signal in the foregoing embodiment
  • the output signal from the fourth fetch means may be compared with the rate signal in the present invention.
  • the output signals from both the third and fourth fetch means may be compared with the rate signal in the present invention.
  • the two flip-flops (the fifth F/F and the sixth F/F) on the front and rear stages are provided as the fifth fetch means in the foregoing embodiment, the F/F on the rear stage outputs an output of the F/F on the front stage with a predetermined timing (outputs after holding for one clock), but this may be eliminated. That is, the fifth fetch means may be constituted of only a single F/F.
  • the phase correction circuit uses the AND circuit to judge the match/mismatch of the rate signal having the same cycle as the data signal and the delayed data signal outputted from the third or fourth fetch means. As a result, it is possible to judge whether the delayed data signal has been correctly fetched into each flip-flop without requiring the clock signal as pattern data. That is, it is possible to detect presence/absence of a skew between the clock signal and the data signal which exceeds an allowable range.
  • the present invention is useful as a circuit which receives/transmits the data signal in a DDR format, and it is suitable for initialization of the high-speed DDR data transmission in particular.

Abstract

There is provided a phase correction circuit capable of detecting a skew between a data signal and a clock signal without requiring a clock signal as pattern data upon initialization. The phase correction circuit is configured to include a variable delay device 10 to which a data signal in a DDR format is inputted, a first F/F 1 which fetches a delayed data signal in synchronization with the clock signal, a second F/F 2 which fetches the delayed data signal in synchronization with a reverse clock signal, a third F/F 3 which fetches an output signal from the first F/F 1 in synchronization with the clock signal, and a fourth F/F 4 which fetches an output signal from the second F/F 2 in synchronization with the clock signal, and the phase correction circuit further includes a fifth F/F 5 which fetches a rate signal having the same cycle as that of the data signal in synchronization with the clock signal, a sixth F/F 6 which fetches an output signal from the fifth F/F 5 in synchronization with the clock signal, and an AND circuit 8 to which an output signal from the third F/F 3 and an output signal from the sixth F/F 6 are inputted.

Description

This application is a 371 of PCT/JP02/07607 Jul. 26, 2002.
TECHNICAL FIELD
The present invention relates to a circuit (input circuit) receiving a data signal in a DDR (double data rate) format which is transferred between chips or between modules, and more particularly to a phase correction circuit capable of detecting a skew between a data signal and a clock signal and correcting their phase difference without requiring a clock signal as pattern data when setting a delay time of a variable delay device at the time of initialization.
BACKGROUND ART
In recent years, a data signal is transferred in a DDR format between chips or between modules. In the DDR format, the data signal is processed with the both timing of a rise edge and a fall edge of a clock signal. Therefore, transferring the data signal in the DDR format can improve a transfer rate.
Before explaining the present invention, a conventional example of a circuit (input circuit) receiving a data signal in a DDR format will be briefly described with reference to FIG. 4.
As shown in FIG. 4, the input circuit for a data signal in a DDR format is generally constituted of a variable delay device (VD) 10, a first flip-flop (first F/F) 1, a second flip-flop (second F/F) 2, a third flip-flop (third F/F) 3 and a fourth flip-flop (fourth F/F) 4.
A data signal in a DDR format is inputted to the variable delay device. Further, the first F/F 1 fetches a delayed data signal outputted from the variable delay device 10 in synchronization with a clock signal. That is, the data signal is fetched with a timing of a rising edge of the clock signal.
Furthermore, the second F/F 2 fetches the delayed data signal in synchronization with a reverse clock signal obtained by reversing the clock signal. That is, the data signal is fetched with the timing of a fall edge of the clock signal.
Therefore, a phase of the data signal outputted from the second F/F 2 is delayed from a phase of the data signal outputted from the first F/F 2 by a ½ cycle of the clock signal.
Thus, the third F/F 3 fetches an output signal from the first F/F 1 in synchronization with the clock signal. Moreover, the fourth F/F 4 fetches an output signal from the second F/F 2 in synchronization with the clock signal. Since the third and fourth F/ F 3 and 4 respectively fetch output signals in synchronization with the clock signal in this manner, the output signal of the first F/F 1 and the output signal of the second F/F 2 can be in phase.
Meanwhile, the data signal in a DDR format is transferred at a high speed. Therefore, in the DDR format, an allowable range of a skew (signal phase shift) between the data signal and the clock signal is very narrow. Thus, in the input circuit, the skew is corrected by delaying the data signal by using the variable delay device 10.
Here, setting a delay time at the time of initialization can be performed by giving predetermined data and a clock as pattern data, gradually changing a delay time of the variable delay device 10 and reading output values of the first and second F/ F 1 and 2 each time.
As shown in FIG. 4, the conventional input circuit includes a first AND circuit 11 to which the output signal from the first F/F 1 and a read mode signal are inputted and a second AND circuit 12 to which the output signal from the second F/F 2 and the read mode signal are inputted, thereby reading output values of the first and second F/ F 1 and 2.
The output values are read in the following manner. First, the input circuit is operated for a predetermined clock number given from the pattern data, and predetermined data signals are outputted from the variable delay device 10. The outputted data signals are held in the first and second F/ F 1 and 2. The clock signals whose number is equal to a predetermined pattern number are generated, and this generation is then terminated (stopped). The data signals held in the first and second F/ F 1 and 2 are respectively read through the first and second AND circuits 11 and 12 based on the read mode signals.
Then, the read values and the data signals are compared, and it is judged whether they have been correctly fetched into the first and second F/ F 1 and 2, respectively. If the data signals have not been correctly fetched, a delay time is increased in increments of a predetermined time, and the judgment is repeated. Then, a skew is corrected, and a delay time with which the data signals can be correctly fetched is set.
As described above, in the conventional input circuit, since the first and second F/ F 1 and 2 judge whether the data signals have been correctly fetched, the clock signals as pattern data must be generated every time the setting of the delay time is changed and judged. Therefore, besides the circuit configuration shown in FIG. 4, a program, a circuit or the like which generates and controls the clock signals as the pattern data is required.
In view of the above-described problems, it is, therefore, an object of the present invention to provide a phase correction circuit capable of easily detecting a skew between a data signal and a clock signal and correcting their phase difference without requiring a clock signal as pattern data upon initialization.
DISCLOSURE OF THE INVENTION
According to the present invention, there is provided a phase correction circuit comprising: a variable delay device to which a data signal in a DDR format is inputted; first fetch means to fetch a delayed data signal outputted from the variable delay device in synchronization with a clock signal; second fetch means to fetch the delayed data signal in synchronization with a reverse clock signal obtained by reversing the clock signal; third fetch means to fetch an output signal from the first fetch means in synchronization with the clock signal; and fourth fetch means to fetch an output signal from the second fetch means in synchronization with the clock signal, wherein the phase correction circuit further comprises: fifth fetch means to fetch a rate signal having the same cycle as that of the data signal in synchronization with the clock signal; and an AND circuit to which an output signal from the third or fourth fetch means and an output signal from the fifth fetch means are inputted.
As described above, according to the input circuit of the present invention, the AND circuit judges the match/mismatch of the rate signal having the same cycle as that of the data signal with the delayed data signal outputted from the third or fourth fetch means. As a result, it is possible to judge whether the delayed data signal has been correctly fetched into each flip-flop without requiring the clock signal as the pattern data. That is, it is possible to detect presence/absence of a skew between the clock signal and the data signal which exceeds an allowable range. Consequently, a skew between the clock signal and the data signal can be detected and a delay time used to correct the skew can be readily set without requiring a program, generating means, controlling means or the like for generating the clock signal as the pattern data at the time of initialization.
Moreover, according to the present invention, there is provided a phase correction circuit comprising: sixth fetch means to fetch an output signal from the AND circuit in synchronization with the clock signal; and a latch circuit which holds an output signal from the sixth fetch means.
As described above, providing the sixth fetch means and the latch circuit can readily fetch a judgment result with a desired timing.
Here, all or some of the fetch means according to the present invention can be constituted of flip-flops. As a result, the present invention can be easily constituted by using the flip-flops which are existing sequence circuits, and the phase correction circuit which has a simple structure and is superior in multiusability and expandability can be provided.
Additionally, the present invention can be carried out as a method comprising: a variable delay step of receiving a data signal in a DDR format, and outputting it as a delayed data signal obtained by delaying the data signal by a predetermined time; a first fetch step to fetch the delayed data signal in synchronization with a clock signal; a second fetch step to fetch the clock signal in synchronization with a reverse clock signal obtained by reversing the clock signal; a third fetch step to fetch an output signal from the first fetch step in synchronization with the clock signal; a fourth fetch step to fetch an output signal from the second fetch step in synchronization with the clock signal; a fifth fetch step to fetch a rate signal having the same cycle as that of the data signal in synchronization with the clock signal; and an AND operation step of receiving an output signal from the third or fourth fetch step and an output signal from the fifth fetch step and obtaining their logical product.
Further, the present invention can be carried out as the method further comprising: a sixth fetch step of fetching an output signal from the AND operation step in synchronization with the clock signal: and a latch step of holding an output signal from the sixth fetch step.
In this manner, the present invention can be carried out as the method which can readily detect a skew between the data signal in a DDR format and the clock signal and correct their phase difference.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a circuit diagram illustrating a structure of a preferred embodiment of a phase correction circuit according to the present invention;
FIG. 2 is a timing chart illustrating an operation of the preferred embodiment of the phase correction circuit according to the present invention;
FIGS. 3(A) and (B) are graphs illustrating an optimum delay time; and
FIG. 4 is a circuit diagram of an input circuit according to a prior art.
BEST MODE FOR CARRYING OUT THE INVENTION
In order to explain the present invention in more detail, a preferred embodiment according to the present invention will now be described with reference to the accompanying drawings.
As shown in FIG. 1, a phase correction circuit according to an embodiment of the present invention is constituted of a variable delay device 10, a first flip-flop (first F/F) 1 as first fetch means 1, a second flip-flop (second F/F) 2 as second fetch means 2, a third flip-flop (third F/F) 3 as third fetch means 3, a fourth flip-flop (fourth F/F) 4 as fourth fetch means 4, a fifth flip-flop (fifth F/F) 5 a and a sixth flip-flop (sixth F/F) 5 b constituting fifth fetch means 5, an AND circuit 8, a seventh flip-flop (seventh F/F) 6 as sixth fetch means 6, and an SR latch circuit 9.
A data signal in a DDR format is inputted to the variable delay device 10 from the outside of the phase correction circuit. Then, the variable delay device 10 delays the data signal by a set delay time Td, and outputs a result as a delayed data signal.
Further, the first F/F 1 as the first fetch means 1 fetches the delayed data signal outputted from the variable delay device 10 in synchronization with a clock signal. That is, as shown in FIG. 2, the data signal is fetched with a timing of a rising edge of the clock signal.
Furthermore, the second F/F 2 as the second fetch means 2 fetches the delayed data signal in synchronization with a reverse clock signal obtained by reversing the clock signal. That is, as shown in FIG. 2, the data signal is fetched with a timing of a fall edge of the clock signal.
Therefore, a phase of the data signal outputted from the second F/F 2 is delayed from a phase of the data signal outputted from the first F/F 1 by a ½ cycle of the clock signal.
Thus, the third F/F 3 as the third fetch means 3 fetches an output signal from the first F/F 1 in synchronization with the clock signal. Moreover, the fourth F/F 4 as the fourth fetch means 4 fetches an output signal from the second F/F 2 in synchronization with the clock signal. Since both the third and fourth F/ F 3 and 4 fetch the output signals in synchronization with the clock signal in this manner, the output signal from the first F/F 1 and the output signal from the second F/F can be in phase.
On the other hand, the fifth F/F 5 a on the front stage as the fifth fetch means 5 fetches a rate signal having the same cycle as that of the data signal in synchronization with the clock signal. Additionally, the sixth F/F 5 b on the rear stage as the fifth fetch means 5 fetches an output signal from the fifth F/F 5 a in synchronization with the clock signal.
The AND circuit 8 are inputted the data signal outputted from the third F/F 3 and a rate signal (RATE) outputted from the sixth F/F 5 b. Then, when a value of the data signal matches with that of the rate signal, an output from the AND circuit 8 becomes “H” (or “1”) as shown in FIG. 2.
Judging the match/mismatch of the rate signal having the same cycle as that of the data signal and the delayed data signal outputted from the third or fourth flip-flop by using the AND circuit can judge whether the delayed data signal has been correctly fetched into each flip-flop without requiring the clock signal as pattern data like the prior art.
It is to be noted that the rate signal having the same cycle as that of the data signal is utilized if the data signal has been correctly fetched into the first and third F/ F 1 and 3. Therefore, the data has been also correctly fetched into the second and fourth F/ F 2 and 4 in principle.
However, both of the output from the third F/F 2 and the output from the fourth F/F 4 are compared with the rate signal and judged, a judgment result with the higher reliability can be obtained.
Moreover, in this embodiment, an output from the AND circuit 8 is fetched into the seventh F/F 6 as the sixth fetch means 6 in synchronization with the clock signal. Then, an output from the seventh F/ 6 is held in the SR latch circuit 9. As a result, inputting a read mode signal (READ) to the AND circuit 11 enables a signal value held in the SR latch circuit to be readily fetched with a desired timing. Consequently, a judgment result can be acquired any time.
Here, as indicated by (1) in FIG. 3(A), if the delay time set in the variable delay circuit 10 is too short, output of the data signal and output of the rate signal (RATE) do not match with each other in timing, and it is determined that the data signal has not been correctly fetched into the first flip-flop 1 and the like.
Additionally, if the set delay time is too long, output of the data signal and output of the rate signal (RATE) do not match with each other in timing as indicated by (3) in FIG. 3(A), and it is determined that the data signal has not been correctly fetched into the first flip-flop 1 and the like.
On the contrary, if the set delay time is adequate, output of the data signal and output of the rate signal (RATE) match with each other in timing as indicated by (2) in FIG. 3(A), and it is determined that the data signal has been correctly fetched into the first flip-flop 1 and the like.
Meanwhile, since the rate signal (RATE) has the same cycle as that of the data signal, it is determined that the data signal has been fetched correctly in a predetermined delay time range if the delay time is gradually shifted. In the example illustrated in FIG. 3(B), an output value of the AND circuit 8 is “1” in a range of the delay times Td1 to Td2. Therefore, it is determined that the data signal has been fetched correctly in this range.
Thus, if an intermediate value Tm(=(Td1+Td2)/2) between the delay times Td1 and Td2 is set in the variable delay circuit 10, an optimum delay time used to correct a skew can be set.
In the above-described embodiment, although the description has been given as to the example that the present invention is constituted under the specific conditions, the present invention can be modified in many ways.
For example, although the first to sixth fetch means are all constituted of the flip-flops in the foregoing embodiment (see the first to seventh F/F shown in FIG. 1), the fetch means according to the present invention are not restricted to only the flip-flops, and any other sequence circuits (e.g., latch circuits) and the like can be used. That is, all or some of the fetch means according to the present invention can be constituted of the flip-flops and, at the same time, all or some of these means can be also constituted of any other circuits.
Further, although the description has been given as to the example that the output signal from the third fetch means (third flip-flop) is compared with the rate signal in the foregoing embodiment, the output signal from the fourth fetch means (fourth flip-flop) may be compared with the rate signal in the present invention. Furthermore, the output signals from both the third and fourth fetch means may be compared with the rate signal in the present invention.
Moreover, although the two flip-flops (the fifth F/F and the sixth F/F) on the front and rear stages are provided as the fifth fetch means in the foregoing embodiment, the F/F on the rear stage outputs an output of the F/F on the front stage with a predetermined timing (outputs after holding for one clock), but this may be eliminated. That is, the fifth fetch means may be constituted of only a single F/F.
INDUSTRIAL APPLICABILITY
As described above, the phase correction circuit according to the present invention uses the AND circuit to judge the match/mismatch of the rate signal having the same cycle as the data signal and the delayed data signal outputted from the third or fourth fetch means. As a result, it is possible to judge whether the delayed data signal has been correctly fetched into each flip-flop without requiring the clock signal as pattern data. That is, it is possible to detect presence/absence of a skew between the clock signal and the data signal which exceeds an allowable range. As a result, the delay time used to correct a skew between the data signal and the clock signal can be readily set without requiring generating means, controlling means or the like for the clock signal as pattern data at the time of initialization, the present invention is useful as a circuit which receives/transmits the data signal in a DDR format, and it is suitable for initialization of the high-speed DDR data transmission in particular.

Claims (5)

1. A phase correction circuit comprising:
a variable delay device to which a data signal in a DDR format is inputted;
first fetch means to fetch a delayed data signal outputted from the variable delay device in synchronization with a clock signal;
second fetch means to fetch the delayed data signal in synchronization with a reverse clock signal obtained by reversing the clock signal;
third fetch means to fetch an output signal from the first fetch means in synchronization with the clock signal; and
fourth fetch means to fetch an output signal from the second fetch means in synchronization with the clock signal,
the phase correction circuit further comprising:
fifth fetch means to fetch a rate signal having the same cycle as that of the data signal in synchronization with the clock signal; and
an AND circuit to which an output signal from the third or fourth fetch means and an output signal from the fifth fetch means are inputted.
2. The phase correction circuit according to claim 1, further comprising:
sixth fetch means to fetch an output signal from the AND circuit in synchronization with the clock signal; and
a latch circuit which holds an output signal from the sixth fetch means.
3. The phase correction circuit according to claim 1 or 2, wherein all or some of the fetch means consist of flip-flops.
4. A phase correction method comprising:
a variable delay step of receiving a data signal in a DDR format, and outputting it as a delayed data signal obtained by delaying the data signal by a predetermined time;
a first fetch step to fetch the delayed data signal in synchronization with a clock signal;
a second fetch step to fetch the delayed data signal in synchronization with a reverse clock signal obtained by reversing the clock signal;
a third fetch step to fetch an output signal from the first fetch step in synchronization with the clock signal;
a fourth fetch step to fetch an output signal from the second fetch step in synchronization with the clock signal;
a fifth fetch step to fetch a rate signal having the same cycle as that of the data signal in synchronization with the clock signal; and
a logical product step of receiving an output signal from the third or fourth fetch step and an output signal from the fifth fetch step, and obtaining their logical product.
5. The phase correction method according to claim 4, further comprising:
a sixth fetch step to fetch an output signal from the logical product step in synchronization with the clock signal; and
a latch step of holding an output signal from the sixth fetch step.
US10/484,984 2001-07-27 2002-07-26 Phase correction circuit Expired - Fee Related US7068086B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-227746 2001-07-27
JP2001227746 2001-07-27
PCT/JP2002/007607 WO2003010674A1 (en) 2001-07-27 2002-07-26 Phase correction circuit

Publications (2)

Publication Number Publication Date
US20050001655A1 US20050001655A1 (en) 2005-01-06
US7068086B2 true US7068086B2 (en) 2006-06-27

Family

ID=19060359

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/484,984 Expired - Fee Related US7068086B2 (en) 2001-07-27 2002-07-26 Phase correction circuit

Country Status (3)

Country Link
US (1) US7068086B2 (en)
JP (1) JP4272515B2 (en)
WO (1) WO2003010674A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070071030A1 (en) * 2005-09-29 2007-03-29 Yen-Chi Lee Video packet shaping for video telephony
US20070091815A1 (en) * 2005-10-21 2007-04-26 Peerapol Tinnakornsrisuphap Methods and systems for adaptive encoding of real-time information in packet-switched wireless communication systems
US20070091816A1 (en) * 2005-10-21 2007-04-26 Yen-Chi Lee Reverse link lower layer assisted video error control
US20070097257A1 (en) * 2005-10-27 2007-05-03 El-Maleh Khaled H Video source rate control for video telephony
US20090021572A1 (en) * 2007-01-10 2009-01-22 Qualcomm Incorporated Content- and link-dependent coding adaptation for multimedia telephony
US20090034610A1 (en) * 2005-10-21 2009-02-05 Yen-Chi Lee Video rate adaptation to reverse link conditions
US20090180379A1 (en) * 2008-01-10 2009-07-16 Qualcomm Incorporated System and method to adapt to network congestion
US20090237138A1 (en) * 2005-05-24 2009-09-24 Intersymbol Communications, Inc. Pattern-dependent phase detector for clock recovery
US20090322388A1 (en) * 2008-06-27 2009-12-31 Microsoft Corporation Multi-phase correction circuit
US7821316B2 (en) 2008-08-29 2010-10-26 Microsoft Corporation Multiphase clock generator with enhanced phase control
US20120068748A1 (en) * 2009-05-12 2012-03-22 Cisco Technology, Inc. Phase Detection Method and Phase Detector

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7765425B1 (en) 2006-03-21 2010-07-27 GlobalFoundries, Inc. Incrementally adjustable skew and duty cycle correction for clock signals within a clock distribution network
US7770049B1 (en) 2006-03-21 2010-08-03 Advanced Micro Devices, Inc. Controller for clock skew determination and reduction based on a lead count over multiple clock cycles
US7752475B2 (en) * 2006-06-27 2010-07-06 International Business Machines Corporation Late data launch for a double data rate elastic interface
US7783911B2 (en) * 2006-06-27 2010-08-24 International Business Machines Corporation Programmable bus driver launch delay/cycle delay to reduce elastic interface elasticity requirements
US7882322B2 (en) * 2006-06-27 2011-02-01 International Business Machines Corporation Early directory access of a double data rate elastic interface
US7734944B2 (en) * 2006-06-27 2010-06-08 International Business Machines Corporation Mechanism for windaging of a double rate driver
US7739538B2 (en) * 2006-06-27 2010-06-15 International Business Machines Corporation Double data rate chaining for synchronous DDR interfaces
JP6068193B2 (en) * 2013-02-28 2017-01-25 シナプティクス・ジャパン合同会社 Reception device and transmission / reception system
US10327474B2 (en) * 2015-04-22 2019-06-25 Altria Client Services Llc Pod assembly, dispensing body, and E-vapor apparatus including the same

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61143334A (en) 1984-12-18 1986-07-01 Mitsui Petrochem Ind Ltd 5,8-dehydroxy-1,4-naphthoquinone derivative
JPS61161779A (en) 1985-01-11 1986-07-22 Toshiba Ceramics Co Ltd Polarization device of piezoelectric body
JPH05235921A (en) 1992-02-24 1993-09-10 Fujitsu Ltd Input phase margin warrant circuit
JPH095394A (en) 1995-06-22 1997-01-10 Advantest Corp Comparison circuit for ic test system
JPH1115783A (en) 1997-06-19 1999-01-22 Nec Corp Synchronous circuit
US5886552A (en) * 1996-12-02 1999-03-23 Electronics And Telecommunications Research Institute Data retiming circuit
JPH11125660A (en) 1997-08-18 1999-05-11 Advantest Corp Timing generator for semiconductor test device
JPH11203159A (en) 1998-01-20 1999-07-30 Canon Inc Interface device, parallel data synchronous circuit and parallel data synchronizing method
US5936450A (en) * 1997-03-21 1999-08-10 National Semiconductor Corporation Waveshaping circuit using digitally controlled weighted current summing
JP2000010849A (en) 1998-06-23 2000-01-14 Nec Kofu Ltd Memory device, memory control clock setting method, digital device, and recording medium having recorded memory control clock setting program thereon
US6121815A (en) 1997-04-25 2000-09-19 Matsushita Electric Industrial Co., Ltd. Semiconductor integrated circuit, system, and method for reducing a skew between a clock signal and a data signal
JP2001118325A (en) 1999-10-14 2001-04-27 Nec Corp Double data rate input control circuit
US6265904B1 (en) * 1998-10-02 2001-07-24 Vlsi Technology Inc. Digital phase shift amplification and detection system and method
US20020051510A1 (en) * 2000-10-19 2002-05-02 Hidemi Noguchi Phase/frequency comparator
US6556640B1 (en) * 1997-12-04 2003-04-29 Nec Corporation Digital PLL circuit and signal regeneration method
US20030118209A1 (en) * 2001-12-20 2003-06-26 Avraham (Avi) Cohen Data and clock extractor with improved linearity
US20030141908A1 (en) * 2002-01-30 2003-07-31 Stong Gayvin E. Clock ratio dsta synchronizer
US6822478B2 (en) * 2001-07-03 2004-11-23 Texas Instruments Incorporated Data-driven clock gating for a sequential data-capture device
US20050008110A1 (en) * 2003-07-09 2005-01-13 International Business Machines Corporation System and method for data phase realignment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0411388Y2 (en) * 1985-01-24 1992-03-23
JPH0516535Y2 (en) * 1985-03-29 1993-04-30

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61143334A (en) 1984-12-18 1986-07-01 Mitsui Petrochem Ind Ltd 5,8-dehydroxy-1,4-naphthoquinone derivative
JPS61161779A (en) 1985-01-11 1986-07-22 Toshiba Ceramics Co Ltd Polarization device of piezoelectric body
JPH05235921A (en) 1992-02-24 1993-09-10 Fujitsu Ltd Input phase margin warrant circuit
JPH095394A (en) 1995-06-22 1997-01-10 Advantest Corp Comparison circuit for ic test system
US5886552A (en) * 1996-12-02 1999-03-23 Electronics And Telecommunications Research Institute Data retiming circuit
US5936450A (en) * 1997-03-21 1999-08-10 National Semiconductor Corporation Waveshaping circuit using digitally controlled weighted current summing
US6121815A (en) 1997-04-25 2000-09-19 Matsushita Electric Industrial Co., Ltd. Semiconductor integrated circuit, system, and method for reducing a skew between a clock signal and a data signal
JPH1115783A (en) 1997-06-19 1999-01-22 Nec Corp Synchronous circuit
JPH11125660A (en) 1997-08-18 1999-05-11 Advantest Corp Timing generator for semiconductor test device
US6556640B1 (en) * 1997-12-04 2003-04-29 Nec Corporation Digital PLL circuit and signal regeneration method
JPH11203159A (en) 1998-01-20 1999-07-30 Canon Inc Interface device, parallel data synchronous circuit and parallel data synchronizing method
JP2000010849A (en) 1998-06-23 2000-01-14 Nec Kofu Ltd Memory device, memory control clock setting method, digital device, and recording medium having recorded memory control clock setting program thereon
US6265904B1 (en) * 1998-10-02 2001-07-24 Vlsi Technology Inc. Digital phase shift amplification and detection system and method
JP2001118325A (en) 1999-10-14 2001-04-27 Nec Corp Double data rate input control circuit
US20020051510A1 (en) * 2000-10-19 2002-05-02 Hidemi Noguchi Phase/frequency comparator
US6822478B2 (en) * 2001-07-03 2004-11-23 Texas Instruments Incorporated Data-driven clock gating for a sequential data-capture device
US20030118209A1 (en) * 2001-12-20 2003-06-26 Avraham (Avi) Cohen Data and clock extractor with improved linearity
US6628173B2 (en) * 2001-12-20 2003-09-30 Conexant Systems, Inc. Data and clock extractor with improved linearity
US20030141908A1 (en) * 2002-01-30 2003-07-31 Stong Gayvin E. Clock ratio dsta synchronizer
US20050008110A1 (en) * 2003-07-09 2005-01-13 International Business Machines Corporation System and method for data phase realignment

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090237138A1 (en) * 2005-05-24 2009-09-24 Intersymbol Communications, Inc. Pattern-dependent phase detector for clock recovery
US7609102B2 (en) * 2005-05-24 2009-10-27 Finisar Corporation Pattern-dependent phase detector for clock recovery
US8102878B2 (en) 2005-09-29 2012-01-24 Qualcomm Incorporated Video packet shaping for video telephony
US20070071030A1 (en) * 2005-09-29 2007-03-29 Yen-Chi Lee Video packet shaping for video telephony
US8514711B2 (en) 2005-10-21 2013-08-20 Qualcomm Incorporated Reverse link lower layer assisted video error control
US20090034610A1 (en) * 2005-10-21 2009-02-05 Yen-Chi Lee Video rate adaptation to reverse link conditions
US20070091816A1 (en) * 2005-10-21 2007-04-26 Yen-Chi Lee Reverse link lower layer assisted video error control
US20070091815A1 (en) * 2005-10-21 2007-04-26 Peerapol Tinnakornsrisuphap Methods and systems for adaptive encoding of real-time information in packet-switched wireless communication systems
US8842555B2 (en) 2005-10-21 2014-09-23 Qualcomm Incorporated Methods and systems for adaptive encoding of real-time information in packet-switched wireless communication systems
US8406309B2 (en) 2005-10-21 2013-03-26 Qualcomm Incorporated Video rate adaptation to reverse link conditions
US20070097257A1 (en) * 2005-10-27 2007-05-03 El-Maleh Khaled H Video source rate control for video telephony
US8548048B2 (en) 2005-10-27 2013-10-01 Qualcomm Incorporated Video source rate control for video telephony
US20090021572A1 (en) * 2007-01-10 2009-01-22 Qualcomm Incorporated Content- and link-dependent coding adaptation for multimedia telephony
US8537197B2 (en) 2007-01-10 2013-09-17 Qualcomm Incorporated Content- and link-dependent coding adaptation for multimedia telephony
US20090180379A1 (en) * 2008-01-10 2009-07-16 Qualcomm Incorporated System and method to adapt to network congestion
US8797850B2 (en) 2008-01-10 2014-08-05 Qualcomm Incorporated System and method to adapt to network congestion
US7759997B2 (en) 2008-06-27 2010-07-20 Microsoft Corporation Multi-phase correction circuit
US20090322388A1 (en) * 2008-06-27 2009-12-31 Microsoft Corporation Multi-phase correction circuit
US7821316B2 (en) 2008-08-29 2010-10-26 Microsoft Corporation Multiphase clock generator with enhanced phase control
US8466713B2 (en) * 2009-05-12 2013-06-18 Nebojsa Stojanovic Phase detection method and phase detector
US20120068748A1 (en) * 2009-05-12 2012-03-22 Cisco Technology, Inc. Phase Detection Method and Phase Detector

Also Published As

Publication number Publication date
US20050001655A1 (en) 2005-01-06
JP4272515B2 (en) 2009-06-03
JPWO2003010674A1 (en) 2004-11-18
WO2003010674A1 (en) 2003-02-06

Similar Documents

Publication Publication Date Title
US7068086B2 (en) Phase correction circuit
US7307461B2 (en) System and method for adaptive duty cycle optimization
US7535270B2 (en) Semiconductor memory device
US7802123B2 (en) Data processing apparatus and method using FIFO device
US6664838B1 (en) Apparatus and method for generating a compensated percent-of-clock period delay signal
US8004336B2 (en) Semiconductor memory device and method for operating the same
US6636999B1 (en) Clock adjusting method and circuit device
US10644707B2 (en) Delay circuit
JP2013109637A (en) Memory interface circuit and operation method thereof
KR100415193B1 (en) internal clock generating method in semiconductor memory device and circuit therefore
JP2003208400A (en) Clock switching circuit
JP2007082147A (en) Timing adjustment circuit of data transmission and reception circuit, lsi, and data transmission and reception system
JP4757583B2 (en) Output control signal generation circuit
KR100800139B1 (en) DLL device
KR100728556B1 (en) Circuit for Outputting Data in Semiconductor Memory Apparatus
US10554211B2 (en) Data receiver circuit
US7454647B1 (en) Apparatus and method for skew measurement
US6665218B2 (en) Self calibrating register for source synchronous clocking systems
US7795941B2 (en) Frame pulse signal latch circuit and phase adjustment method
US7337345B2 (en) Input circuit for an electronic circuit and a method for controlling the reading-in of a data signal
JPH11168365A (en) Skew correction device
JP2020046800A (en) Semiconductor device
CN111208867B (en) DDR (double data Rate) read data integer clock cycle-based synchronization circuit and synchronization method
US20020172311A1 (en) Large-input-delay variation tolerant (lidvt) receiver adopting FIFO mechanism
JP2008211809A (en) Timing control circuit and semiconductor device with same

Legal Events

Date Code Title Description
AS Assignment

Owner name: ADVANTEST CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:TAKEDA, AKIHIRO;REEL/FRAME:015489/0327

Effective date: 20040112

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20140627