CN1905366B - Method and circuit for dynamically changing the frequency of clock signals - Google Patents

Method and circuit for dynamically changing the frequency of clock signals Download PDF

Info

Publication number
CN1905366B
CN1905366B CN2006101081482A CN200610108148A CN1905366B CN 1905366 B CN1905366 B CN 1905366B CN 2006101081482 A CN2006101081482 A CN 2006101081482A CN 200610108148 A CN200610108148 A CN 200610108148A CN 1905366 B CN1905366 B CN 1905366B
Authority
CN
China
Prior art keywords
clock signal
clock
frequency
coincidence
trigger
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
Application number
CN2006101081482A
Other languages
Chinese (zh)
Other versions
CN1905366A (en
Inventor
大卫·W·米尔顿
贾森·罗特拉
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.)
International Business Machines Corp
Original Assignee
International Business Machines 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 International Business Machines Corp filed Critical International Business Machines Corp
Publication of CN1905366A publication Critical patent/CN1905366A/en
Application granted granted Critical
Publication of CN1905366B publication Critical patent/CN1905366B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators

Abstract

A method and circuit for dynamically changing the frequency of clock signals. The method including: detecting an edge of a first clock signal operating at a first frequency using a second clock signal operating at a second frequency; detecting an edge of the second clock signal using the first clock signal; detecting coincident edges of the first and the second clock signals; and changing the second frequency to a third frequency different from the second frequency upon detection of the coincident edges.

Description

Be used for dynamically changing the Method and circuits of the frequency of clock signal
Technical field
The present invention relates to the field of electronic circuit; More particularly, the present invention relates to a kind of Method and circuits that is used for dynamically changing the frequency of clock signal.
Background technology
Modern integrated circuit (IC) chip comprises in the zones of different of integrated circuit (IC) chip the circuit with different clock frequencies work, and usually these circuit must send signal mutually.Clock frequency in the zones of different of integrated circuit (IC) chip each other may the yes or no ratio of integers.Change the frequency of one or more clocks when in addition, being desirably in integrated circuit work usually.At present, the method of finishing the clock frequency change need rely on the stored information of relevant clock frequency ratio, when being changed (producing the transformation clock pulse that prolongs or shorten), the clock frequency produces glitch (glitches), need total system to reset or limit the frequency of clock signal in some modes, all these are not expected in many circuit application.
Therefore, existence is to a kind of needs of Method and circuits, and this Method and circuits allows to carry out such dynamic clock frequency shift, and it does not need the dependence to the clock frequency ratio stored information, when the clock frequency is changed, do not produce glitch, do not need total system to reset or limit the frequency of clock signal.
Summary of the invention
A first aspect of the present invention is: a kind of method comprises: utilize with the second clock input of the second frequency work edge with first clock signal of first frequency work; Utilize first clock signal to detect the second clock edges of signals; Detect the coincidence edge of first and second clock signals; And detect coincidence along the time second frequency changed over the 3rd frequency that is different from second frequency.
A second aspect of the present invention is a first aspect of the present invention, and wherein all coincidence edges are rising edges.
A third aspect of the present invention is a first aspect of the present invention, and wherein all coincidence edges are trailing edges.
A fourth aspect of the present invention is a first aspect of the present invention, and wherein first and second frequency is different.
A fifth aspect of the present invention is a first aspect of the present invention, and wherein the first and the 3rd frequency is different.
A sixth aspect of the present invention is a first aspect of the present invention, and wherein first, second and third frequency is different.
A seventh aspect of the present invention is a first aspect of the present invention, and wherein the first and the 3rd frequency is a complete integral multiple each other.
A eighth aspect of the present invention is a first aspect of the present invention, and wherein first frequency and the 3rd frequency are not complete integral multiples each other.
A ninth aspect of the present invention is a first aspect of the present invention, comprise further: by producing first clock frequency to carrying out frequency division with the 3rd clock signal of the 4th frequency work, and by producing the second clock signal to carrying out frequency division with the 4th clock signal of the 5th frequency work.
A tenth aspect of the present invention is a ninth aspect of the present invention, comprises further: by producing the 3rd clock signal and the 4th clock signal to carrying out frequency division with the 5th clock signal of the 6th frequency work.
Description of drawings
Characteristic of the present invention is set forth in additional claim.Yet, the present invention itself when read in conjunction with the accompanying drawings, will be better understood by embodiment with reference to following illustrative embodiment, wherein:
Fig. 1 is according to the first embodiment of the present invention, is used for dynamically changing the example of schematic circuit of the circuit of clock frequency;
Fig. 2 A and 2B are the schematic circuit diagrams according to the clock network frequency dividing circuit of the first embodiment of the present invention;
Fig. 3 is the exemplary schematic circuit diagram according to the coincidence clock marginal detector circuit of the first embodiment of the present invention;
Fig. 4 is the sequential chart of the circuit of Fig. 1;
Fig. 5 is according to a second embodiment of the present invention, is used for dynamically changing the exemplary schematic circuit diagram of the circuit of clock frequency;
Fig. 6 A and 6B are the schematic circuit diagrams of clock network frequency dividing circuit according to a second embodiment of the present invention;
Fig. 7 is the exemplary schematic circuit diagram of coincidence clock marginal detector circuit according to a second embodiment of the present invention;
Fig. 8 is the sequential chart of the circuit of Fig. 5; And
Fig. 9 is an a third embodiment in accordance with the invention, is used for dynamically changing the exemplary schematic circuit diagram of the circuit of clock frequency.
Embodiment
Fig. 1 is according to the first embodiment of the present invention, is used for dynamically changing the schematic circuit of the circuit of clock frequency.In Fig. 1, clock circuit 100 comprises the phase-locked loop circuit (PLL) 105 that is connected to coincidence rising edge detector circuit (CRED) 110 and is connected to CLK A dividing network 115A and CLK B dividing network 115B.Each of CLK A dividing network 115A and clock Fractional-N frequency network 115B is connected to CRED 110.PLL 105 comprises the voltage-controlled oscillator (VCO) 120 that is connected to A Clock dividers 125A and B Clock dividers 125B.
VOC 120 produces the oscillator signal (OSC) that is provided for A and B Clock dividers 125A and 125B.Clock dividers 125A is produced A clock signal (CLK A) and CLK A is delivered to CRED 110 and A Clock dividers 115A by OSC.B Clock dividers 125B produces B clock signal (CLK B) and CLK B is delivered to CRED 110 and B Clock dividers 115B.CLKA dividing network 115A produces X clock signal (CLK X) by CLK A, Y clock signal (CLKY) and the A clock signal clk A ' that postpones, and CLK A ' is connected to CRED 110.Clock A dividing network 115A also produces CLK A and overlaps the edge in being connected to the CLK A ' periodic signal (ACE1) of CRED 110.Clock B dividing network 115B produces L clock signal (CLK L) by CLK B, M clock signal (CLK M) and the B clock signal clk B ' that postpones, and CLK B ' is connected to CRED 110.CLK B dividing network 115B also produces CLK B and overlaps the edge in being connected to the CLK B ' periodic signal (BCE1) of CRED 110.
CRED 110 produces the ALLROSE a-signal, and it shows CLK A and all clocks (CLK X and CLK Y) and the CLK B that are derived by CLK A, and all clocks (CLK L and CLK M) of being derived by CLK B just have the coincidence rising edge.ALLROSE A is connected to A clock division network 115A.ALLROSE A is set, and up to the next rising edge of CLK A, and is effective in CLK A territory.CRED 110 produces ALLROSE B signal, and it shows that CLK B, all clocks (CLK L and CLK M) by CLK B derivation, CLK A and all clocks (CLK X and CLK Y) of being derived by CLK A just have the coincidence rising edge.ALLROSE B is connected to B clock division network 115B.ALLROSE B is set, and up to the next rising edge of CLK B, and is effective in CLK B territory.ALLROSE A can be used to regulate CLK X, CLK Y frequency.ALLROSE B can be used to regulate CLK L, CLK M frequency.
As shown in Fig. 2 A, 2B, 3 and 4 and as described below, ACE1 provides the early stage sample of CLKA rising edge, BCE1 provides the early stage sample of CLK B rising edge, ALLROSEA shows when CLK A, CLK X, CLK Y, CLK B CLK L and CLK M have the coincidence rising edge, and ALLROSE B shows when CLK B, CLK L, CLK M, CLK A, CLK X and CLK Y have the coincidence rising edge.
Fig. 2 A and 2B are the schematic circuit diagrams according to the clock network frequency dividing circuit of the first embodiment of the present invention.In Fig. 2 A, CLK A dividing network 115A comprises the state logic circuit 135A that is connected to multidigit register 140A, and the CLK A tree 145A that is connected to identical multidigit register 140A equally.CLK A tree 145A produces a plurality of CLK A ' signals that are connected to the corresponding clock input of multidigit register 140A.Because the inverter among the CLK A tree 145A, CLKA ' is postponed (and almost can ignore) very slightly with respect to CLK A for each other.The output of multidigit register 140A comprises CLK X, CLK Y and ACE1, and these signals are fed back state logic circuit 135A.State logic circuit 135A produces CLK A and overlaps the edge in two CLK A ' periodic signals (ACE2) and CLK X and CLK Y.State logic circuit 135A and multidigit register 140A form A clock zone finite state machine (FSM), and its output comprises signal CLK X, CLK Y and ACE1.ACE1 is derived by ACE2, because multidigit register 140A postpones a CLK A ' cycle with ACE2.The those of ordinary skill in this area can design FSM as described above.
In the present example, ALLROSE A is connected to state logic circuit 135A, and state logic circuit 135A comprises control signal CNTFREQA made the frequency dividing circuit of response with the frequency that changes CLK X or CLK Y, but it is only in the rising edge response of ALLROSE A.
Fig. 2 B is similar to Fig. 2 A except that describing CLK B territory.In Fig. 2 B, CLK B dividing network 115B comprises the state logic circuit 135B that is connected to multidigit register 140B, and the CLK B tree 145B that is connected to the same form of multidigit register 140B equally.CLK B tree 145B produces a plurality of CLK B ' signals that are connected to the corresponding clock input of multidigit register 140B.Because the inverter among the CLK B tree 145B, CLK B ' is postponed (and almost can ignore) very slightly with respect to CLK B for each other.The output of multidigit register 140A comprises CLK L, CLK M and BCE1, and these signals are fed back state logic circuit 135B.State logic circuit 135B produces CLK B and overlaps the edge in two CLK B ' periodic signals (BCE2) and CLKL and CLK M.State logic circuit 135B and multidigit register 140B form B clock zone finite state machine (FSM), and its output comprises signal CLK L, CKLM and BCE1.Because multidigit register 140B postpones CLK B ' cycle of BCE2, BCE1 is derived by BCE2.
In the present example, ALLROSE B is connected to state logic circuit 135B, and state logic circuit 135B comprises control signal CNTFREQB made the frequency dividing circuit of response with the frequency that changes CLK L or CLK M, but it is only in the rising edge response of ALLROSE B.
Fig. 3 is the exemplary schematic circuit diagram according to the coincidence clock edge detector circuit of the first embodiment of the present invention.Among Fig. 3, CRED 110 comprise delay element DELAY1 and DELAY2, with door A1, A2 and A3, inverter 11,12,13 and 14, and rising edge trigger F1, the F2, F3, F4, F5 and the F6 that trigger.
CLK A is connected to the input of DELAY1, the clock input of trigger F2 and the data input of trigger F4.CLK B is connected to the input of DELAY2, the clock input of trigger F5 and the data input of trigger F1.CLK A ' is connected to the clock input of trigger F3 and the clock input that CLK B ' is connected to trigger F6.The output of DELAY 1 is connected to the input of inverter I1.The output of inverter I1 is connected to the input of inverter I2 and the data input of trigger F5.The output of inverter I2 is connected to the clock input of trigger F1.The output of DELAY 2 is connected to the input of inverter I3.The output of inverter I3 is connected to the input of inverter I4 and the data input of trigger F2.The output of inverter I4 is connected to the clock input of trigger F4.ACE1 and BCE2 are connected to the corresponding input with door A3, and are connected to the data input of trigger F3 and F6 with the output of door A3.The data output of trigger F1, F2 and F3 is connected to the corresponding input with door A1.Be output as signal ALLROSE A with door A1.The data output of trigger F4, F5 and F6 is connected to the corresponding input with door A2.Be output as signal ALLROSE B with door A2.
In first example, when K1 and K2 are any independent positive integer, if equal OSC/K2 if CLK A is OSC/K1 and CLK B, then DELAY1 and DELAY2 be signal OSC one-period during about 1/4th.In second example, when K1 and K2 are any during independently more than or equal to 2 complete positive integer, if equal OSC/K2 if CLK A is OSC/K1 and CLK B, DELAY1 and DELAY2 be signal OSC one-period during only about half of.
In the operation, trigger F1 utilizes the delay rising edge of CLK A to catch CLK B, and trigger F2 utilizes the rising edge of CLK A to catch to be delayed and anti-phase CLK B.When trigger F1 latchs 1 and trigger F2 when latching 1, the rising edge of CLK B is caught by the rising edge of CLK A.Trigger F4 utilizes the delay rising edge of CLK B to catch CLK A, and trigger F5 utilizes the rising edge of CLK B to catch delay and anti-phase CLK A.When trigger F4 latchs 1 and trigger F5 when latching 1, the rising edge of CLK A is caught by the rising edge of CLK B.
Only when ACE1 and BCE1 both were 1, A3 was output as 1 with door.When the FSM of Fig. 2 A detected CLK X and CLK Y the rising edge of coincidence will be arranged in a CLK A cycle, ACE1 just can be 1.When the FSM of Fig. 2 B detected CLK L and CLK M the rising edge of coincidence will be arranged in a CLK B cycle, BCE1 just can be 1.Trigger F3 and F6 both latch from the data of door A3.
Therefore, only when ALLROSE A and ALLROSE B had the rising edge of coincidence, whole clocks of all clock zones (for example, CLK A, CLK X, CLK Y, CLK B, CLK L and CLK M) all had the coincidence rising edge.
By measurement have between the ALLROSE A that overlaps rising edge and the ALLROSE B during, can determine that ALLROSE A and ALLROSE B overlap the next one appearance of rising edge, and any or all clock frequency (in this example, CLK X, CLK Y, CLK L and CLK M) can under the situation that does not have extra weak point or long pulse or data glitch, change (seeing Fig. 2 A and 2B) via CNTFRQA and CNTFRQB.
Should be appreciated that, the flip/flops latch ACE1 of multidigit register 140A (seeing Fig. 2 A), and state logic circuit 135A (seeing Fig. 2 A) can move to CRED 110 (see figure 1)s from A clock network frequency divider 115A (see figure 1).Equally, the flip/flops latch BCE1 of multidigit register 140B (seeing Fig. 2 B) and state logic circuit 135A (seeing Fig. 2 A) can move to CRED 110 (see figure 1)s from B clock network frequency divider 115B (see figure 1).
Alternatively, trigger F3 and F6 (see figure 3) can be moved to corresponding A clock division network 115A (see figure 1) and B clock division network 115B (see figure 1) from CRED 110 (see figure 1)s.
Fig. 4 is the sequential chart of the circuit of Fig. 1.The sequential chart of Fig. 4 is only one of the exemplary cases in the clock frequency change situation of almost unlimited amount.Among Fig. 4, CLK Y and CLK X are from CLK A frequency division, and CLK L and CLK M are from CLK B frequency division.At first, CLKA, CLK B, CLK X, (CLK Y and CLK L) and CLK M are with different frequency work, and CLK Y and CLK L are with same frequency work.It is at moment T1 place that CLK A, CLK B, CLK X, CLK Y, CLK L and CLK M have the rising edge of coincidence for the first time.CLKA, CLK B, CLK X, CLK Y, CLK L and CLK M have for the second time that to overlap rising edge be at moment T2 place, are changed and CLKX, CLK Y, CLK L and CLK M are identical frequencies in the frequency of this moment CLK X and CLK M.After this, CLK A, CLK B, CLK X, CLK Y, CLK L and CLK M have the coincidence rising edge at moment T3, T4... etc.All clock duty cycles are illustrated as 50%.When clock was changed, the unique requirement that keeps 50% duty ratio was that CLK A and both duty ratios of CLK B all are 50%.Can utilize other duty ratio.
Though first embodiment of the present invention utilization overlaps rising clock edge, yet second embodiment of the present invention utilization overlaps decline clock edge.
Fig. 5 is according to a second embodiment of the present invention, is used for dynamically changing the exemplary schematic circuit diagram of the circuit of clock frequency.Among Fig. 5, clock circuit 200 is similar to the clock circuit 100 of Fig. 1, except being replaced by, CRIED 110 overlaps trailing edge detector (CFED) 210, CLKA dividing network 115A is replaced by CLK A dividing network 215A, CLK B distributor network 115B is replaced by CLK B dividing network 215B, and CFED 210 produces ALLFELL A and ALLFELL B signal replaces ALLROSE A and ALLROSE B signal, however the rising edge of CLKA dividing network 215A and CLK B dividing network 215B response ALLFELL A and ALLFELL B.
Fig. 6 A and 6B are the schematic circuit diagrams of clock network frequency dividing circuit according to a second embodiment of the present invention.Among Fig. 6 A, CLK A dividing network 215A is similar to the CLK A dividing network 115A of Fig. 2 A, except the multidigit register 140A of Fig. 2 A is replaced by the multidigit register 240A with anti-phase clock input, state logic circuit 135A is replaced by state logic circuit 235A and ALLROSE A is replaced by ALLFELL A.Equally, the FSM that forms by state logic circuit 235A and multidigit register 240A be modified to trailing edge rather than at the rising clock along the change state.
Among Fig. 6 B, CLK B dividing network 215B is similar to the CLK B dividing network 115B of Fig. 2 B, except the multidigit register 140B of Fig. 2 B is replaced by the multidigit register 240B with anti-phase clock input, state logic circuit 135B is replaced by state logic circuit 235B and ALLROSE B is replaced by ALLFELL B.Equally, the FSM that forms by state logic circuit 235B and multidigit register 240B be modified to trailing edge rather than the rising clock along the time change state.
Fig. 7 is that according to a second embodiment of the present invention coincidence clock is along the exemplary schematic circuit diagram of detector circuit.Among Fig. 7, CFED 210 is similar to the CRED 110 of Fig. 3, except trigger F1, F2, F3, F4, F5 and the F6 of Fig. 3 is replaced by trigger F7, F8, F9, F10, F11 and F12 respectively, its all triggers all have anti-phase clock input, Fig. 3 is replaced by corresponding NOR gate N1 and N2 with door A1 and A2, and its output is respectively ALLFELL A and ALLFELL B.
Fig. 8 is the sequential chart of the circuit of Fig. 5.The sequential chart of Fig. 8 is similar to the sequential chart of Fig. 4, except moment T1, T2, T3... or the like occur in the coincidence trailing edge of CLK A, CLK X, CLK Y, CLK B, CLK L, CLK M and the coincidence rising edge of ALLFELL A and ALLFELL B.
Fig. 9 is an a third embodiment in accordance with the invention, is used for dynamically changing the exemplary schematic circuit diagram of the circuit of clock frequency.Among Fig. 9, CRED 310 comprise delay element DELAY1, DELAY2 and DELAY3, with door A4, an A5, A6 and A7, inverter 11,12,1314,15 and 16, and edge triggered flip-flop F13, F14, F15, F16, F17, F18, F19, F20, F21, F22, F23, F24, F25, F26 and F27.
CLK A is connected to the clock input of input, trigger F13 and F15 of DELAY1 and the data input of trigger F19 and F24.CLK B is connected to the clock input of input, trigger F18 and F20 of DELAY2 and the data input of trigger F14 and F26.CLK C is connected to the clock input of input, trigger F23 and F25 of DELAY3 and the data input of trigger F16 and F21.
CLK A ' is connected to the clock input of trigger F17, and CLK B ' is connected to the clock input of trigger F22 and the clock input that CLK C ' is connected to trigger F27.
The output of DELAY 1 is connected to the input of inverter I1.The output of inverter I1 is connected to the input of inverter I2 and the data input of trigger F18 and F23.The output of inverter I2 is connected to the clock input of trigger F14 and F16.The output of DELAY2 is connected to the input of inverter I3.The output of inverter I3 is connected to the input of inverter I4 and the data input of trigger F13 and F25.The output of inverter I4 is connected to the clock input of trigger F19 and F21.The output of DELAY3 is connected to the input of inverter I5.The output of inverter I5 is connected to the input of inverter I6 and the data input of trigger F15 and F20.The output of inverter I6 is connected to the clock input of trigger F24 and F26.
ACE1, BCE1 and CCE1 are connected to the corresponding input with door A7, and the output of door A7 is connected to the data input of trigger F17, F22 and F27.
The data output of trigger F13, F14, F15, F16 and F17 is connected to the corresponding input with door A4.Be output as signal ALLROSE A with door A4.The data output of trigger F18, F19, F20, F21 and F22 is connected to the corresponding input with door A5.Be output as signal ALLROSE B with door A5.The data output of trigger F23, F24, F25, F26 and F27 is connected to the corresponding input with door A6.Be output as signal ALLROSE C with door A6.Be similar to the circuit that is used to produce CLK A, CLK B, CLK A ', CLK B ', ACE1, BCE1 (and ACE2 and BCE2) as described above, the those of ordinary skill in this area can be designed for the circuit that produces CLK C, CLK C ' and CCE1 (and CCE2).
Utilize and overlap the rising clock along describing the third embodiment of the present invention.The those of ordinary skill in this area can become the circuit modification of Fig. 9 overlapping the decline clock along work.
By the algorithm that is used to design N clock zone clock circuit according to fourth embodiment of the invention, can more easily understand the more generally situation of N clock zone 1 to N, though this embodiment is with overlapping the rising clock along describing, it can be modified to utilize and overlap decline clock edge by the those of ordinary skill in this area.
For the coincidence rising edge detector of N clock, will have and be indicated N the output of ALLROSE1 to ALLROSEN.Each ALLROSE signal will be the logical AND of the Q output of (2* (N-1)+1) individual trigger.The clock input of trigger is marked as C1, C2, C3 to CN.Each of N the clock that at first arrives has three versions in time, promptly there is not delayed clock (CLK 1 to CLK N), postpone and anti-phase clock CLK 1D, CLK 2D, CLK3D to CLK ND), and from the delayed clock of the clock trees in the clock division network (CLK1 ', CLK2 ', CLK3 ' up to CLK N ').Each clock zone has the FSM of its driving.These FSM with clock division to produce some other integral frequency divisioils of each clock.FSM also produces signal 1CE2,2CE2,3CE2 respectively to NCE2, and it shows that two clock cycle in its future, all clocks of its generation all will have the coincidence rising edge.
Each signal 1CE2,2CE2,3CE2 are connected to the data input that the trigger of clock is provided to CLK N ' by CLK1 ', CLK2 ', CLK3 ' respectively to NCE, we have N signal now like this, and it shows that each corresponding FSM will produce all rising edges at its output in one of its corresponding clock cycle.These N triggers can be easily positioned in each corresponding FSM along in the detector as being arranged on coincidence.By with output of N trigger and, generation signal P.P is sampled by N trigger, and each provides clock by corresponding signal CLK1 ', CLK2 ', CLK3 ' to CLK N '.The output of N trigger be connected to produce ALLROSE1, ALLROSE2, ALLROSE3 to the ALLROSE n-signal and logic.In fact, its each trigger that is input as P is "+1 " trigger in the formula (2* (N-1)+1).Among Fig. 3, these are trigger F3 and F6.Among Fig. 5, these are trigger F9 and F12.Among Fig. 9, these are trigger F17, F22 and F27.Usually, "+1 " trigger is that those its data input is connected to and has carried out the trigger to the NCE1 signal with the 1CE1 of computing.
The individual trigger of other 2* (N-1) is as follows: for each clock zone, (N-1) will be arranged to trigger.The every pair of trigger is handled the information from other clock zones, and why Here it is exists (N-1) right.Internally every, the clock input of a trigger is connected to the clock of non-delay, and the input of the clock of another trigger is connected to the clock of delay.The data input of every pair of trigger of input will be another clock, or another delay and anti-phase clock, make the not only clock of receive clock but also receive delay of each trigger.The output of the individual trigger of all these 2* (N-1) be connected to produce ALLROSE signal with individual other inputs of 2* logic (N-1).
On the algorithm:
For?I=1?to?N
Set up a trigger, its clock is that I ' and its D are input as P
For?J=1?to?N
If I=J jumps to next J
Set up a trigger, its D is input as delay and anti-phase J clock and its clock is input as the I clock
Set up another trigger, its D is input as the I clock that J clock and its clock are input as delay
NextJ
All triggers output of being set up above the ALLROSEI=with the result
The value of this I of for
NextI
Therefore, embodiments of the invention provide a kind of Method and circuits, and this Method and circuits allows the dynamic clock frequency shift, and it does not need to depend on the stored information of clock frequency ratio, when the clock frequency is changed, do not produce glitch, do not need the system-wide frequency that resets or limit clock signal.
For understanding of the present invention, provided the description of embodiments of the invention above.Be appreciated that the present invention is not limited to specific embodiment described herein, under the situation that does not deviate from scope of the present invention, those skilled in the art can expect various modifications, readjust and replace.Therefore, following claim intention contains all these classes as belonging to the modifications and changes of true spirit of the present invention and scope.

Claims (30)

1. method that is used for dynamically changing the frequency of clock signal comprises:
Utilization is with the second clock input of the second frequency work edge with first clock signal of first frequency work;
Utilize described first clock signal to detect described second clock edges of signals;
Detect described first and the coincidence edge of described second clock signal; With
When detect described coincidence along the time described second frequency changed over the 3rd frequency that is different from described second frequency.
2. according to the process of claim 1 wherein that all described coincidences edges are rising edges.
3. according to the process of claim 1 wherein that all described coincidences edges are trailing edges.
According to the process of claim 1 wherein described first and described second frequency be different.
According to the process of claim 1 wherein described first and described the 3rd frequency be different.
According to the process of claim 1 wherein described first, described second and described the 3rd frequency different.
7. according to the process of claim 1 wherein that the described first and the 3rd frequency is a complete integral multiple each other.
8. according to the process of claim 1 wherein that the described first and the 3rd frequency is not a complete integral multiple each other.
9. according to the method for claim 1, comprise further:
By producing described first clock signal to carrying out frequency division with the 3rd clock signal of the 4th frequency work, and by producing described second clock signal to carrying out frequency division with the 4th clock signal of the 5th frequency work.
10. according to the method for claim 9, comprise further:
By producing described the 3rd clock signal and described the 4th clock signal to carry out frequency division with the 5th clock signal of the 6th frequency work.
11. method that is used for dynamically changing the frequency of clock signal; Comprise:
First clock signal is divided into the first clock signal spanning set, and the described first clock signal spanning set has at least two clock signals;
At least one clock signal in the described first clock signal spanning set is divided into one or more second clock signal spanning sets, and each second clock signal spanning set has one or more clock signals; And
Produce described at least one clock signal in the described first clock signal spanning set and the coincidence edge of all clock signals in the second clock signal spanning set corresponding with it;
Utilize a clock signal in the described first clock signal spanning set to detect the edge of another clock signal in the described first clock signal spanning set;
Utilize described another clock signal in the described first clock signal spanning set to detect the edge of the described clock signal in the described first clock signal spanning set;
Only when whole clock signals of the described first and second clock signal spanning sets have coincidence along the time, the frequency that the frequency shift of one or more clock signals of described second clock signal spanning set is become to change.
12. according to the method for claim 11, wherein all described coincidences edges are rising edges.
13. according to the method for claim 11, wherein all described coincidences edges are trailing edges.
14. according to the method for claim 11, at least one frequency at least one frequency of at least one clock signal of the wherein said first clock signal spanning set and the frequency of described change is a complete integral multiple each other.
15. according to the method for claim 11, at least one frequency at least one frequency of at least one clock signal of the wherein said first clock signal spanning set and the frequency of described change is not a complete integral multiple each other.
16. a circuit that is used for dynamically changing the frequency of clock signal comprises:
Coincidence is along detector, its be suitable for detecting first clock signal and first derive clock signal collection, second clock signal and the second derivation clock signal collection clock signal overlap the edge;
Be connected to the first clock division network of described coincidence along detector, the described first clock division network is adapted such that can respond first overlaps the frequency that changes the clock signal of the described first derivation clock signal collection along detection signal, and the described first clock division network is suitable for producing first clock signal and the first coincidence edge of deriving all clock signals of clock signal collection; And
Be connected to the second clock dividing network of described coincidence along detector, described second clock dividing network is adapted such that can respond second overlaps the frequency that changes the clock signal of the described second derivation clock signal collection along detection signal, and described second clock dividing network is suitable for producing the second clock signal and the second coincidence edge of deriving all clock signals of clock signal collection
Wherein, described coincidence also is suitable for carrying out first along detector and detects, promptly, utilize described first clock signal to detect described second clock edges of signals, and be suitable for carrying out second detection, that is, utilize the edge of described first clock signal of described second clock input; And
Described coincidence along detector also be suitable for when described first clock signal, described second clock signal, described first derive whole clock signals of clock signal collection and the described second whole clock signals that derive the clock signal collection have coincidence along the time, produce first and overlap along detection signal and second and overlap along detection signal.
17. according to the circuit of claim 16, the coincidence edge that all clock signals and described second of wherein said first clock signal, described second clock signal, the described first derivation clock signal collection derive all clock signals of clock signal collection is rising edge all or all is trailing edge.
18. according to the circuit of claim 16, wherein:
The described first clock division network comprises first finite state machine that is suitable for being produced by described first clock signal described first derivation clock signal collection; And
Described second clock dividing network comprises second finite state machine that is suitable for being produced by described second clock signal the described second derivation clock signal collection.
19. according to the circuit of claim 18, wherein:
Described first finite state machine comprises the first group of state logic circuit that is connected to the first multidigit register; And
Described second finite state machine comprises the second group of state logic circuit that is connected to the second multidigit register.
20. according to the circuit of claim 19, wherein:
The described first clock division network comprises first clock trees that is connected between described first clock signal and the described first multidigit register; And
Described second clock dividing network comprises the second clock tree that is connected between described second clock signal and the described second multidigit register.
21. according to the circuit of claim 16, wherein:
Described coincidence comprises edge triggered flip-flop along detector, and the coincidence of first clock signal of described first clock signal, described second clock signal, delay, the second clock signal of delay, described first and second clock signals of indication is latched in the described edge triggered flip-flop along the state of the signal that will be respectively takes place in the cycle at one first clock cycle and second clock.
22. according to the circuit of claim 20, the coincidence edge that all clock signals and described second of wherein said first clock signal, described second clock signal, the described first derivation clock signal collection derive all clock signals of clock signal collection is rising edge all or all is trailing edge.
23. circuit according to claim 16, wherein said coincidence comprises that along detector N clock zone, N first trigger, individual second trigger of N (N-1), individual the 3rd trigger of N (N-1), N are with door and have N CE that imports and believe AND gate, described N is 2 at least, and wherein, if I, J are variable, then for I=1,2 ... N:
The first trigger I has first clock input that is connected to tree clock signal I and the data input that is connected to signal P, and described tree clock signal I is its output that is input as the clock trees I of clock signal I;
For J=1,2 ..., N, J is not equal to I, the second trigger J has the data input of the clock signal J that is connected to anti-phase and delay, and the second clock input is connected to described clock signal I, the 3rd trigger J has the data input of the clock signal J that is connected to noninverting and non-delay and is connected to the 3rd clock input of the clock signal I of delay;
Be connected to the output of the described first trigger I with each input of door I, be connected to output corresponding to the described second trigger J of the described first trigger I, and being connected to output corresponding to described the 3rd trigger J of the described first trigger I, each is output as with door I and shows that whole described N clock zones have and overlap rising edge or show that whole described N clock zones have the signal of coincidence trailing edge; And
Each input of described CE letter AND gate is connected to the different CE signals in N the CE signal, and CE signal I shows that the edge of described tree clock signal I appears in the one-period of described clock signal I.
24. a method that is used for dynamically changing the frequency of clock signal comprises:
Provide coincidence along detector, its be suitable for detecting first clock signal and first derive clock signal collection, second clock signal and the second derivation clock signal collection clock signal overlap the edge;
The first clock division network is connected to described coincidence along detector, the described first clock division network is adapted such that can respond first overlaps the frequency that changes the clock signal of the described first derivation clock signal collection along detection signal, and the described first clock division network is suitable for producing first clock signal and the first coincidence edge of deriving all clock signals of clock signal collection; And
The second clock dividing network is connected to described coincidence along detector, described second clock dividing network is adapted such that can respond second overlaps the frequency that changes the clock signal of the described second derivation clock signal collection along detection signal, and described second clock dividing network is suitable for producing the second clock signal and the second coincidence edge of deriving all clock signals of clock signal collection;
Wherein, described coincidence also is suitable for carrying out first along detector and detects, promptly, utilize described first clock signal to detect described second clock edges of signals, and be suitable for carrying out second detection, that is, utilize the edge of described first clock signal of described second clock input; And
Described coincidence along detector also be suitable for when described first clock signal, described second clock signal, described first derive whole clock signals of clock signal collection and the described second whole clock signals that derive the clock signal collection have coincidence along the time, produce first and overlap along detection signal and second and overlap along detection signal.
25. according to the method for claim 24, the coincidence edge that all clock signals and described second of wherein said first clock signal, described second clock signal, the described first derivation clock signal collection derive all clock signals of clock signal collection is rising edge all or all is trailing edge.
26. according to the method for claim 24, wherein:
The described first clock division network comprises first finite state machine that is suitable for being produced by described first clock signal described first derivation clock signal collection; And
Described second clock dividing network comprises second finite state machine that is suitable for being produced by described second clock signal the described second derivation clock signal collection.
27. according to the method for claim 26, wherein:
Described first finite state machine comprises the first group of state logic circuit that is connected to the first multidigit register; And
Described second finite state machine comprises the second group of state logic circuit that is connected to the second multidigit register.
28. according to the method for claim 27, wherein:
The described first clock division network comprises first clock trees that is connected between described first clock signal and the described first multidigit register; And
Described second clock dividing network comprises the second clock tree that is connected between described second clock signal and the described second multidigit register.
29. according to the method for claim 24, wherein:
Described coincidence comprises edge triggered flip-flop along detector, and the coincidence of first clock signal of described first clock signal, described second clock signal, delay, the second clock signal of delay, described first and second clock signals of indication is latched in the described edge triggered flip-flop along the state of the signal that will be respectively takes place in the cycle at one first clock cycle and second clock.
30. method according to claim 28, wherein said coincidence comprises that along detector N clock zone, N first trigger, individual second trigger of N (N-1), individual the 3rd trigger of N (N-1), N are with door and have N CE that imports and believe AND gate, described N is 2 at least, and wherein, if I, J are variable, then for I=1,2 ... N:
The first trigger I has first clock input that is connected to tree clock signal I and the data input that is connected to signal P, and described tree clock signal I is its output that is input as the clock trees I of clock signal I;
For J=1,2 ..., N, J is not equal to I, the second trigger J has the data input of the clock signal J that is connected to anti-phase and delay, and the second clock input is connected to described clock signal I, the 3rd trigger J has the data input of the clock signal J that is connected to noninverting and non-delay and is connected to the 3rd clock input of the clock signal I of delay;
Be connected to the output of the described first trigger I with each input of door I, be connected to output corresponding to the described second trigger J of the described first trigger I, and being connected to output corresponding to described the 3rd trigger J of the described first trigger I, each is output as with door I and shows that whole described N clock zones have and overlap rising edge or show that whole described N clock zones have the signal of coincidence trailing edge; And
Each input of described CE letter AND gate is connected to the different CE signals of N CE signal, and CE signal I shows that the edge of described tree clock signal I appears in the one-period of described clock signal I.
CN2006101081482A 2005-07-29 2006-07-28 Method and circuit for dynamically changing the frequency of clock signals Expired - Fee Related CN1905366B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/161,335 US7515666B2 (en) 2005-07-29 2005-07-29 Method for dynamically changing the frequency of clock signals
US11/161,335 2005-07-29

Publications (2)

Publication Number Publication Date
CN1905366A CN1905366A (en) 2007-01-31
CN1905366B true CN1905366B (en) 2011-03-23

Family

ID=37674526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101081482A Expired - Fee Related CN1905366B (en) 2005-07-29 2006-07-28 Method and circuit for dynamically changing the frequency of clock signals

Country Status (2)

Country Link
US (2) US7515666B2 (en)
CN (1) CN1905366B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008166910A (en) * 2006-12-27 2008-07-17 Matsushita Electric Ind Co Ltd Clock signal generator and analog/digital converter
US8051320B2 (en) * 2007-12-12 2011-11-01 Mips Technologies, Inc. Clock ratio controller for dynamic voltage and frequency scaled digital systems, and applications thereof
US7956665B2 (en) * 2008-02-29 2011-06-07 Qimonda Ag Methods and articles of manufacture for operating electronic devices on a plurality of clock signals
US7642827B2 (en) * 2008-05-28 2010-01-05 Micron Technology, Inc. Apparatus and method for multi-phase clock generation
US7719334B2 (en) * 2008-05-28 2010-05-18 Micron Technology, Inc. Apparatus and method for multi-phase clock generation
US8644782B2 (en) 2011-11-14 2014-02-04 Apple Inc. Agile clocking with receiver PLL management
CN102707133B (en) * 2012-06-12 2015-12-16 深圳市世强先进科技有限公司 The device of the alternating voltage that a kind of survey frequency is variable, system and method
US9312838B2 (en) * 2013-12-16 2016-04-12 Alcatel Lucent Apparatus and method for transferring multiple asynchronous clock signals over a single conductor
ES2643856B1 (en) 2016-05-24 2018-08-03 Universidad Del Pais Vasco / Euskal Herriko Unibertsitatea Triazoles for the regulation of intracellular calcium homeostasis
KR20190134037A (en) * 2018-05-24 2019-12-04 에스케이하이닉스 주식회사 Semiconductor apparatus with domain crossing
US11940836B2 (en) * 2022-03-31 2024-03-26 International Business Machines Corporation Dual chip clock synchronization

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1031304A (en) * 1987-08-12 1989-02-22 Rca许可公司 Clock signal generation system
CN1152822A (en) * 1995-11-28 1997-06-25 国际商业机器公司 Clock synchronization method for non-integral number frequency multiplication system
US6006340A (en) * 1998-03-27 1999-12-21 Phoenix Technologies Ltd. Communication interface between two finite state machines operating at different clock domains
US6194927B1 (en) * 1999-05-19 2001-02-27 Advanced Micro Devices, Inc. Apparatus and method for a coincident rising edge detection circuit
US6272646B1 (en) * 1996-09-04 2001-08-07 Cypress Semiconductor Corp. Programmable logic device having an integrated phase lock loop
US6661254B1 (en) * 2001-12-14 2003-12-09 Lattice Semiconductor Corporation Programmable interconnect circuit with a phase-locked loop

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4262364A (en) * 1978-02-27 1981-04-14 Tokyo Shibaura Denki Kabushiki Kaisha Electronic digital channel-selecting apparatus
US5365130A (en) 1992-08-07 1994-11-15 Vlsi Technology, Inc. Self-compensating output pad for an integrated circuit and method therefor
US5537582A (en) 1993-05-21 1996-07-16 Draeger; Jeffrey S. Bus interface circuitry for synchronizing central processors running at multiple clock frequencies to other computer system circuitry
US5600824A (en) 1994-02-04 1997-02-04 Hewlett-Packard Company Clock generating means for generating bus clock and chip clock synchronously having frequency ratio of N-1/N responsive to synchronization signal for inhibiting data transfer
SG47976A1 (en) 1994-05-10 1998-04-17 Intel Corp Method and apparatus for providing synchronous data transmission between digital devices operating at frequencies having a p/q integer ratio relationship
US5634116A (en) 1995-03-30 1997-05-27 International Business Machines Corporation Non-integer multiple clock translator
US5664165A (en) * 1995-04-19 1997-09-02 International Business Machines Corporation Generation of a synthetic clock signal in synchronism with a high frequency clock signal and corresponding to a low frequency clock signal
US5758131A (en) 1996-09-11 1998-05-26 Hewlett-Packard Company Bus adapter for synchronizing communications between two circuits running at different clock rates
US5796995A (en) 1997-02-28 1998-08-18 Texas Instruments Incorporated Circuit and method for translating signals between clock domains in a microprocessor
US5898640A (en) 1997-09-26 1999-04-27 Advanced Micro Devices, Inc. Even bus clock circuit
US5915107A (en) * 1997-09-26 1999-06-22 Advanced Micro Devices, Inc. Cross clock domain clocking for a system using two clock frequencies where one frequency is fractional multiple of the other
US6049887A (en) 1997-12-04 2000-04-11 Intel Corporation Method and apparatus for propagating a signal between synchronous clock domains operating at a non-integer frequency ratio
US5961649A (en) 1997-12-04 1999-10-05 Intel Corporation Method and apparatus for propagating a signal between synchronous clock domains operating at a non-integer frequency ratio
US6333653B1 (en) 1999-11-04 2001-12-25 International Business Machines Corporation System and method for phase alignment of a plurality of clock pulses when starting, stopping and pulsing clocks
US6928574B1 (en) * 2001-08-23 2005-08-09 Hewlett-Packard Development Company, L.P. System and method for transferring data from a lower frequency clock domain to a higher frequency clock domain
US6982575B2 (en) 2002-01-30 2006-01-03 Agilent Technologies, Inc. Clock ratio data synchronizer
US6903582B2 (en) 2002-12-13 2005-06-07 Ip First, Llc Integrated circuit timing debug apparatus and method
US6864722B2 (en) * 2003-05-09 2005-03-08 Hewlett-Packard Development Company, L.P. Phase detector for a programmable clock synchronizer
US7119583B2 (en) * 2004-03-31 2006-10-10 Micron Technology, Inc. Phase detector and method having hysteresis characteristics
US20060023819A1 (en) * 2004-07-29 2006-02-02 Adkisson Richard W Clock synchronizer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1031304A (en) * 1987-08-12 1989-02-22 Rca许可公司 Clock signal generation system
CN1152822A (en) * 1995-11-28 1997-06-25 国际商业机器公司 Clock synchronization method for non-integral number frequency multiplication system
US6272646B1 (en) * 1996-09-04 2001-08-07 Cypress Semiconductor Corp. Programmable logic device having an integrated phase lock loop
US6006340A (en) * 1998-03-27 1999-12-21 Phoenix Technologies Ltd. Communication interface between two finite state machines operating at different clock domains
US6194927B1 (en) * 1999-05-19 2001-02-27 Advanced Micro Devices, Inc. Apparatus and method for a coincident rising edge detection circuit
US6661254B1 (en) * 2001-12-14 2003-12-09 Lattice Semiconductor Corporation Programmable interconnect circuit with a phase-locked loop

Also Published As

Publication number Publication date
US8416900B2 (en) 2013-04-09
CN1905366A (en) 2007-01-31
US20090122936A1 (en) 2009-05-14
US20070025489A1 (en) 2007-02-01
US7515666B2 (en) 2009-04-07

Similar Documents

Publication Publication Date Title
CN1905366B (en) Method and circuit for dynamically changing the frequency of clock signals
US7893724B2 (en) Method and circuit for rapid alignment of signals
US8547154B2 (en) Programmable duty cycle selection using incremental pulse widths
US10439618B2 (en) By odd integer digital frequency divider circuit and method
CN101741353A (en) Circuit with multiphase oscillator
CN103516355B (en) Delay control circuit and the clock generating circuit including delay control circuit
TWI390853B (en) Lock detector, method thereof, and phase lock loop applying the same
US20110309865A1 (en) Parallel synchronizing cell with improved mean time between failures
CN101213748B (en) Multi-phase frequency divider
CN102497200A (en) Clock signal loss detecting circuit and clock signal loss detecting method
CN103869124A (en) Digital oscilloscope with interlaced sampling function and working method of the oscilloscope
US20130214826A1 (en) Fully digital method for generating sub clock division and clock waves
CN206164502U (en) Digital delay locks fixed ring
CN102035538B (en) High-speed programmable frequency divider
CN101751068B (en) Synchronous clock generation circuit and method
CN115309380B (en) Comprehensive constraint code generation method and device
US7378885B1 (en) Multiphase divider for P-PLL based serial link receivers
US7664213B2 (en) Clock alignment detection from single reference
US7049864B2 (en) Apparatus and method for high frequency state machine divider with low power consumption
TWI676359B (en) 1-16 & 1.5-7.5 frequency divider for clock synthesizer in digital systems
US7466753B2 (en) Microcontroller having a digital to frequency converter and/or a pulse frequency modulator
CN202364199U (en) Detection circuit for clock signal loss
CN103391072B (en) Be used for detect clock pulse shake testing circuit
CN104283551A (en) FPGA frequency division method based on frequency source
EP1731985A1 (en) A circuit for clock switching in clocked electronic devices and method therefor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110323

Termination date: 20200728

CF01 Termination of patent right due to non-payment of annual fee