JP2011040934A - Frequency divider circuit - Google Patents

Frequency divider circuit Download PDF

Info

Publication number
JP2011040934A
JP2011040934A JP2009185720A JP2009185720A JP2011040934A JP 2011040934 A JP2011040934 A JP 2011040934A JP 2009185720 A JP2009185720 A JP 2009185720A JP 2009185720 A JP2009185720 A JP 2009185720A JP 2011040934 A JP2011040934 A JP 2011040934A
Authority
JP
Japan
Prior art keywords
frequency
signal
frequency division
division number
divider
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.)
Pending
Application number
JP2009185720A
Other languages
Japanese (ja)
Inventor
Hideyuki Nakamizo
英之 中溝
Kenichi Tajima
賢一 田島
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009185720A priority Critical patent/JP2011040934A/en
Publication of JP2011040934A publication Critical patent/JP2011040934A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a frequency divider circuit capable of correctly generating a frequency division signal of high frequency-division accuracy even for a high-speed clock signal. <P>SOLUTION: Variable integer frequency dividers (1A, 1B) capable of performing frequency dividing operations by two continuous integers P and P+1 are arranged in parallel with each other, and the frequency dividers are made to perform frequency dividing operations at a half-clock phase difference. Either of output signals (DO1, DO2) of the variable integer frequency dividers is selected according to a route selection signal (MXCNT) to generate a final frequency division signal (DO). <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、分周回路に関し、特にPLL周波数シンセサイザなどに用いられる整数分周と分数分周の切換を行なうことのできる可変分数分周回路の構成に関する。   The present invention relates to a frequency dividing circuit, and more particularly to a configuration of a variable fractional frequency dividing circuit capable of switching between integer frequency division and fractional frequency division used in a PLL frequency synthesizer.

移動体通信などの無線通信においては、搬送波にデータを乗せて電波を発生し、その電波を送受信することにより通信を行なう。この搬送波の発生のためには、一般に、PLL(位相同期ループ)周波数シンセサイザが用いられる。一般に、PLL周波数シンセサイザのPLLにおいて、電圧制御発振器と位相比較器との間に分周数Nの分周器が配置される。電圧制御発振器によりPLLの出力信号が生成される。位相比較器は、PLL入力基準信号と出力信号との位相差を検出する。この構成の場合、出力信号の周波数は、入力基準信号の周波数のN倍となる。   In wireless communication such as mobile communication, communication is performed by generating radio waves by placing data on a carrier wave and transmitting and receiving the radio waves. In order to generate this carrier wave, a PLL (phase locked loop) frequency synthesizer is generally used. In general, in a PLL of a PLL frequency synthesizer, a frequency divider having a frequency division number N is disposed between a voltage controlled oscillator and a phase comparator. An output signal of the PLL is generated by the voltage controlled oscillator. The phase comparator detects a phase difference between the PLL input reference signal and the output signal. In the case of this configuration, the frequency of the output signal is N times the frequency of the input reference signal.

このようなPLL周波数シンセサイザの分周器の構成は、一例として、非特許文献1(小沢利行著作、「PLL周波数シンセサイザ・回路設計法」,pp111-119,綜合電子出版社,1994)に示されている。この非特許文献1においては、分周器の構成として、パルススワロー方式の構成が示される。このような方式の分周器においては、整数分周数が用いられる。   The configuration of the frequency divider of such a PLL frequency synthesizer is shown as an example in Non-Patent Document 1 (written by Toshiyuki Ozawa, “PLL Frequency Synthesizer / Circuit Design Method”, pp111-119, Sogo Electronics Publishing Co., Ltd., 1994). ing. In this non-patent document 1, a configuration of a pulse swallow system is shown as a configuration of a frequency divider. In such a frequency divider, an integer frequency dividing number is used.

一方、分数分周数を用いて、チャネル間隔をより小さくする分数分周器(フラクショナル−N分周回路)の構成が、非特許文献2(Yu-Che Yang et. al.,“A Quantization Noise Suppression Technique for ΔΣ Fractional-N Frequency Synthesizers”, IEEE JOURNAL OF SOLID-STATE CIRCUITS, Vol.41, No.11, Nov. 2006)に示されている。この非特許文献2に示される構成においては、分周数が1および1.5で切換え可能なプリスケーラロジックと、このプリスケーラロジックの分周数を制御信号に従って調整するエンドオブサイクルロジックとが設けられる。プリスケーラロジックおよびエンドオブサイクルロジックは、各々、2つの相補的に動作するDラッチ(フリップフロップ)と、これら2つのフリップフロップの出力信号を選択するマルチプレクサとで構成される。プリスケーラロジックの出力信号が、エンドオブサイクルロジックにフィードバックされる。エンドオブサイクルロジックにおいて分周数制御信号(MOD,FB_CTRL)に従ってプリスケーラロジックの分周数を、1または1.5に設定する。   On the other hand, the configuration of a fractional frequency divider (fractional-N frequency divider) that uses a fractional frequency division to reduce the channel spacing is described in Non-Patent Document 2 (Yu-Che Yang et. Al., “A Quantization Noise”). Suppression Technique for ΔΣ Fractional-N Frequency Synthesizers ”, IEEE JOURNAL OF SOLID-STATE CIRCUITS, Vol.41, No.11, Nov. 2006). In the configuration shown in Non-Patent Document 2, a prescaler logic that can be switched between a frequency division number of 1 and 1.5 and an end-of-cycle logic that adjusts the frequency division number of the prescaler logic according to a control signal are provided. Each of the prescaler logic and the end-of-cycle logic includes two complementary D-latches (flip-flops) and a multiplexer that selects output signals of the two flip-flops. The output signal of the prescaler logic is fed back to the end-of-cycle logic. In the end-of-cycle logic, the frequency division number of the prescaler logic is set to 1 or 1.5 according to the frequency division number control signal (MOD, FB_CTRL).

小沢利行著作、「PLL周波数シンセサイザ・回路設計法」,pp111-119,綜合電子出版社,1994Ozawa Toshiyuki, “PLL Frequency Synthesizer / Circuit Design Method”, pp111-119, Sogo Electronics Publishing, 1994 Yu-Che Yang et. al.,“A Quantization Noise Suppression Technique for ΔΣ Fractional-N Frequency Synthesizers”, IEEE JOURNAL OF SOLID-STATE CIRCUITS, Vol.41, No.11, Nov. 2006Yu-Che Yang et. Al., “A Quantization Noise Suppression Technique for ΔΣ Fractional-N Frequency Synthesizers”, IEEE JOURNAL OF SOLID-STATE CIRCUITS, Vol.41, No.11, Nov. 2006

前述の非特許文献1においては、分周数が分数の分周器として、2係数プリスケーラ方式PLLが開示される。この2係数プリスケーラは、分周数が2つの連続する整数分周数PおよびP+1で分周動作が可能である。2係数プリスケーラは、スワローカウンタの出力信号に従って分周数Pおよび(P+1)で所定サイクルずつ分周動作を実行する。この出力信号の平均信号により、分周比を分数に設定することができる。   In the above-mentioned Non-Patent Document 1, a two-coefficient prescaler type PLL is disclosed as a frequency divider having a fractional number. This two-coefficient prescaler can perform frequency division operation with two consecutive integer frequency division numbers P and P + 1. The 2-coefficient prescaler performs a frequency dividing operation for each predetermined cycle with frequency dividing numbers P and (P + 1) in accordance with the output signal of the swallow counter. The frequency division ratio can be set to a fraction by the average signal of the output signals.

しかしながら、この2係数プリスケーラの場合、整数分周数の分周信号が生成され、平均として、分数分周数の信号が生成される。直接、分数分周数の出力信号は、生成されていないし、また、分数精度の分周信号を直接生成する分数分周器の構成については、何ら考慮されていない。   However, in the case of the two-coefficient prescaler, a frequency division signal having an integer frequency division number is generated, and a signal having a fractional frequency division number is generated as an average. The output signal of the fractional frequency division is not directly generated, and no consideration is given to the configuration of the fractional frequency divider that directly generates the frequency-divided signal of fractional accuracy.

上述の非特許文献2に示される構成においては、分周数を1と1.5の間で制御信号に従って切換える。ステップ(チャネル間隔)0.5で分周数を構成するためには、分周数1および分周数1.5での分周動作を、分周数に応じて実行する必要がある。しかしながら、分周数を1.5と1の間で切換える場合、分周数制御信号は、入力信号(入力クロック信号)の1.5サイクルの間に、分周数1を指定する状態と分周数1.5を指定する状態の間で切換える必要がある。   In the configuration shown in Non-Patent Document 2 described above, the frequency division number is switched between 1 and 1.5 according to the control signal. In order to configure the frequency division number with step (channel interval) 0.5, it is necessary to execute the frequency division operation with frequency division number 1 and frequency division number 1.5 according to the frequency division number. However, when the frequency division number is switched between 1.5 and 1, the frequency division number control signal is divided into a state in which the frequency division number 1 is designated and divided in 1.5 cycles of the input signal (input clock signal). It is necessary to switch between states that specify a lap number of 1.5.

具体的に、非特許文献2の構成においては、入力信号に従って相補的にラッチ/保持を行なうラッチ回路を用いて入力信号に従って、出力信号をラッチして、マルチプレクサにより出力信号を切換えて、分周数を1.0と1.5の間で切換えている。ラッチされる出力信号を分周数制御信号に従って固定値または出力信号に設定する。   Specifically, in the configuration of Non-Patent Document 2, a latch circuit that complementarily latches / holds in accordance with an input signal is used to latch the output signal in accordance with the input signal, and the output signal is switched by a multiplexer to divide the frequency. The number is switched between 1.0 and 1.5. The output signal to be latched is set to a fixed value or an output signal according to the frequency division number control signal.

分周数制御信号が、入力クロック信号の1.5クロックサイクルと2クロックサイクルの間に分周数1.5を指定する状態に設定されているときには、1.5クロックが出力されるだけであり、分周数を1から1.5に切換えることができる。しかしながら、分周数制御信号が、1.5クロックを指定する状態に2クロックサイクルよりも長く設定され、その後に分周数1.0を指定する状態に設定される場合、1.5クロックパルスが2回出力され、1クロックサイクル(=0.5×2)長い周期のパルス信号が生成される。従って、この場合、分周数が1と2の間で切換えられることになり、ステップ0.5クロックで分周を行なうことができなくなる。ここで、「クロック」は、クロック信号の1つのパルスを示す。   When the frequency division control signal is set to a state in which the frequency division number 1.5 is designated between 1.5 clock cycles and 2 clock cycles of the input clock signal, only 1.5 clocks are output. Yes, the frequency division number can be switched from 1 to 1.5. However, if the frequency division control signal is set to be longer than 2 clock cycles in a state designating 1.5 clocks and then set to a state designating 1.0 frequency divisions, 1.5 clock pulses Are output twice, and a pulse signal having a cycle longer by one clock cycle (= 0.5 × 2) is generated. Therefore, in this case, the frequency division number is switched between 1 and 2, and the frequency division cannot be performed with step 0.5 clock. Here, “clock” indicates one pulse of the clock signal.

従って、分周数を1.0、1.5、1.0と切換える場合、1.5クロックの間に2回分周数制御信号の論理値を切換える必要がある。入力クロック信号が高速の信号の場合、分周数制御信号の切換のタイミングマージンが小さくなり、高速入力信号に対して分数精度の分周信号を生成するのが困難となる。最もタイミングマージンが大きく取れるのは、入力クロック信号に同期して分周数制御信号を切換える場合である。この場合においても、入力クロック信号の3クロックサイクル内において分周数制御信号の状態を2回切換える必要があり、同様の問題が生じる。   Therefore, when the frequency division number is switched to 1.0, 1.5, and 1.0, it is necessary to switch the logical value of the frequency division number control signal twice during 1.5 clocks. When the input clock signal is a high-speed signal, the timing margin for switching the frequency division number control signal becomes small, and it becomes difficult to generate a frequency division signal with a fractional accuracy for the high-speed input signal. The largest timing margin can be obtained when the frequency division number control signal is switched in synchronization with the input clock signal. Even in this case, the state of the frequency division number control signal needs to be switched twice within three clock cycles of the input clock signal, and the same problem occurs.

分周数制御信号は、通常はロジック回路で構成される制御信号生成回路から出力される。したがって、その動作周波数に制限があり、入力クロック信号が高速クロック信号の場合、高い時間精度で分周数制御信号を生成するのが困難となり、高速の可変分数分周動作を実現することができなくなる。   The frequency division number control signal is output from a control signal generation circuit that is usually composed of a logic circuit. Therefore, the operating frequency is limited, and when the input clock signal is a high-speed clock signal, it becomes difficult to generate a frequency division control signal with high time accuracy, and a high-speed variable fractional frequency division operation can be realized. Disappear.

それゆえ、この発明の目的は、高速入力クロック信号に対しても、正確に分数分周動作を正確に行なうことのできる分周回路を提供することである。   SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a frequency dividing circuit that can accurately perform a fractional frequency dividing operation even for a high-speed input clock signal.

この発明に係る分周回路は、互いに並列に設けられ、各々が、分周数設定信号に従って与えられたクロック信号を少なくとも連続する2つの整数PおよびP+1のいずれかの分周数で分周して出力するN+1個の分周器と、経路選択信号に従ってこれらのN+1個の分周器の出力信号のいずれか1つを選択して出力する経路切換回路を備える。   The frequency dividing circuit according to the present invention is provided in parallel with each other, and each divides the clock signal applied according to the frequency dividing number setting signal by at least one of the continuous integers P and P + 1. And N + 1 frequency dividers to be output, and a path switching circuit that selects and outputs any one of the output signals of these N + 1 frequency dividers according to the path selection signal.

N+1個の分周器は、それぞれ0からNまでの番号が順次付され、このN+1個の分周器におけるJ番目の分周器は、0番目の分周器に与えられるクロック信号に対してJ/(N+1)サイクルの遅延を有するクロック信号が与えられる。   The N + 1 frequency dividers are sequentially numbered from 0 to N, and the Jth frequency divider in the N + 1 frequency dividers corresponds to the clock signal supplied to the 0th frequency divider. A clock signal having a delay of J / (N + 1) cycles is provided.

好ましくは、分周設定信号は、K番目の分周器の出力信号が選択された状態で最終分周信号をP分周からP+(A/N+1)分周に変更する際には、MOD(A+K、N+1)番目の分周器の出力信号を選択する。ここで、MOD(A+K、N+1)は、(A+K)を(N+1)で除算したときの剰余であり、モジュロMの演算を示す。分周数設定信号は、このMOD(A+K、N+1)番目の分周器の分周比をPに設定し、このMOD(A+J、N+1)番目の分周器よりも早いタイミングで分周動作を実行する分周器に対しては分周数をP+1に設定し、残りの分周器に対して分周数をPに設定する。ここで、Aは0以上N未満の整数である。   Preferably, the frequency division setting signal is MOD () when the final frequency division signal is changed from P frequency division to P + (A / N + 1) frequency while the output signal of the Kth frequency divider is selected. The output signal of the (A + K, N + 1) th frequency divider is selected. Here, MOD (A + K, N + 1) is a remainder when (A + K) is divided by (N + 1), and indicates a modulo-M operation. The frequency division number setting signal sets the frequency division ratio of the MOD (A + K, N + 1) th frequency divider to P, and performs frequency division operation at a timing earlier than that of the MOD (A + J, N + 1) th frequency divider. For the frequency divider to be executed, the frequency division number is set to P + 1, and for the remaining frequency dividers, the frequency division number is set to P. Here, A is an integer of 0 or more and less than N.

J番目の分周器の出力信号が選択された状態でP+1分周に変更する場合には、N+1個の分周器の分周数をすべてP+1に設定するように分周数設定信号が設定され、経路選択信号は、継続してJ番目の分周器の出力信号を選択する。   When changing to P + 1 frequency division with the output signal of the Jth frequency divider selected, the frequency division number setting signal is set so that the frequency division numbers of the N + 1 frequency dividers are all set to P + 1. The path selection signal continuously selects the output signal of the Jth frequency divider.

分周数制御信号は、1つの分周サイクルにおいて一回その状態が変更される。したがって、最終分周信号の分周数の1/2倍程度の入力クロック信号のサイクル期間の間にその状態を変更することが要求されるだけであり、十分に余裕を持って分周数を更新することができ、また、分周数変更間隔も大きくすることができ、高速入力クロック信号に対しても正確に分周精度の分周数を変更することができる。   The state of the frequency division number control signal is changed once in one frequency division cycle. Therefore, it is only required to change the state during the cycle period of the input clock signal that is about 1/2 times the frequency division number of the final frequency division signal, and the frequency division number should be set with a sufficient margin. The frequency division number change interval can be increased, and the frequency division number can be accurately changed even for a high-speed input clock signal.

この発明の実施の形態1に従う可変分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the variable fractional frequency dividing circuit according to Embodiment 1 of this invention. 図1に示す可変分数分周回路の動作を示すタイミング図である。FIG. 2 is a timing diagram showing an operation of the variable fractional frequency dividing circuit shown in FIG. 1. この発明の実施の形態1に従う可変分数分周回路の具体的動作を示すタイミング図である。FIG. 6 is a timing chart showing a specific operation of the variable fractional frequency divider circuit according to the first embodiment of the present invention. 図1に示す可変分数分周回路の具体的分周動作を示すタイミング図である。FIG. 3 is a timing chart showing a specific frequency dividing operation of the variable fractional frequency dividing circuit shown in FIG. 1. 図1に示す可変分数分周回路の分周数制御信号の設定のタイミングマージンを示す図である。It is a figure which shows the timing margin of the setting of the frequency division number control signal of the variable fractional frequency dividing circuit shown in FIG. 図1に示す可変分数分周回路の分周数制御信号の設定のタイミングマージンを示す図である。It is a figure which shows the timing margin of the setting of the frequency division number control signal of the variable fractional frequency dividing circuit shown in FIG. 従来の分数分周回路の構成を概略的に示す図である。It is a figure which shows schematically the structure of the conventional fractional frequency dividing circuit. 図7に示す従来の分数分周回路の具体的動作を示すタイミング図である。FIG. 8 is a timing chart showing a specific operation of the conventional fractional frequency dividing circuit shown in FIG. 7. 図7に示す従来の分数分周回路の具体的動作を示すタイミング図である。FIG. 8 is a timing chart showing a specific operation of the conventional fractional frequency dividing circuit shown in FIG. 7. 図1および図7に示す分数分周回路の分周数制御信号の設定タイミングマージンを示す図である。It is a figure which shows the setting timing margin of the frequency dividing number control signal of the fraction dividing circuit shown in FIG. 1 and FIG. この発明の実施の形態1に従う分周回路に対する分周数制御信号発生部の構成の一例を概略的に示す図である。It is a figure which shows roughly an example of a structure of the frequency division number control signal generation part with respect to the frequency divider circuit according to Embodiment 1 of this invention. この発明の実施の形態2に従う可変分数分周回路の具体的動作シーケンスおよび分周数制御信号設定タイミングマージンを示す図である。It is a figure which shows the concrete operation | movement sequence and variable frequency control signal setting timing margin of the variable fractional frequency dividing circuit according to Embodiment 2 of this invention. この発明の実施の形態3に従う分数分周回路の具体的動作シーケンスおよび分周数制御信号のタイミングマージンを示す図である。It is a figure which shows the concrete operation | movement sequence of the fractional frequency divider circuit according to Embodiment 3 of this invention, and the timing margin of a frequency division number control signal. この発明の実施の形態3に従う分数分周回路の他の分周動作シーケンスを示す図である。It is a figure which shows the other frequency division operation | movement sequence of the fractional frequency divider circuit according to Embodiment 3 of this invention. この発明の実施の形態3に従うさらに他の分数分周動作シーケンスを示すタイミング図である。It is a timing diagram which shows the further another frequency division operation sequence according to Embodiment 3 of this invention. この発明の実施の形態4に従う分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the fractional frequency dividing circuit according to Embodiment 4 of this invention. この発明の実施の形態5に従う分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the fractional frequency dividing circuit according to Embodiment 5 of this invention. この発明の実施の形態6に従う分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the fractional frequency dividing circuit according to Embodiment 6 of this invention. この発明の実施の形態7に従う分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the fractional frequency dividing circuit according to Embodiment 7 of this invention. 図19に示す可変整数分周器の構成を概略的に示す図である。FIG. 20 schematically shows a configuration of a variable integer frequency divider shown in FIG. 19. この発明の実施の形態7に従う可変分数分周回路の分数数制御信号発生部の構成の一例を概略的に示す図である。It is a figure which shows roughly an example of a structure of the fraction control signal generation part of the variable fractional frequency dividing circuit according to Embodiment 7 of this invention. この発明の実施の形態8に従う可変分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the variable fractional frequency dividing circuit according to Embodiment 8 of this invention. 図22に示す可変整数分周器の構成を概略的に示す図である。FIG. 23 is a diagram schematically showing a configuration of a variable integer frequency divider shown in FIG. 22. 図22に示す経路選択信号生成回路の構成を概略的に示す図である。FIG. 23 is a diagram schematically showing a configuration of a path selection signal generation circuit shown in FIG. 22. 図22に示す分周数選択信号を発生する部分の構成の一例を概略的に示す図である。FIG. 23 is a diagram schematically showing an example of a configuration of a part that generates a frequency division number selection signal shown in FIG. 22; この発明の実施の形態9に従う可変分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the variable fractional frequency dividing circuit according to Embodiment 9 of this invention. 図26に示す分数分周回路に対する分周数制御信号生成部の構成の一例を概略的に示す図である。FIG. 27 is a diagram schematically showing an example of a configuration of a frequency division number control signal generation unit for the fractional frequency dividing circuit shown in FIG. 26. この発明の実施の形態10に従う可変分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the variable fractional frequency dividing circuit according to Embodiment 10 of this invention. 図28に与えられるクロック信号のタイミング関係を示す図である。It is a figure which shows the timing relationship of the clock signal given to FIG. 図28に示す分数分周回路の動作時のマスタおよびスレーブの出力する分周信号および最終分周信号の位相関係を示す図である。It is a figure which shows the phase relationship of the frequency-divided signal which the master and slave output at the time of operation | movement of the fractional frequency dividing circuit shown in FIG. 図28に示す分数分周回路の動作シーケンスを示すタイミング図である。FIG. 29 is a timing chart showing an operation sequence of the fractional frequency dividing circuit shown in FIG. 28. 図28に示す分数分周回路の動作切換態様を示す図である。It is a figure which shows the operation | movement switching aspect of the fractional frequency dividing circuit shown in FIG. 図28に示す分数分周回路に対する分数数制御信号生成部の構成の一例を概略的に示す図である。FIG. 29 is a diagram schematically showing an example of a configuration of a fractional control signal generation unit for the fractional frequency dividing circuit shown in FIG. 28. 図33に示す分周数制御信号発生部の動作を示すフロー図である。FIG. 34 is a flowchart showing an operation of a frequency division number control signal generation unit shown in FIG. 33. この発明の実施の形態10の変更例の分数分周回路の構成を概略的に示す図である。It is a figure which shows roughly the structure of the fractional frequency dividing circuit of the example of a change of Embodiment 10 of this invention.

[実施の形態1]
図1は、この発明の実施の形態1に従う分周回路(可変分数分周回路)の構成を概略的に示す図である。図1において、分周回路は、並列に設けられる可変整数分周器(DIV)1Aおよび1Bと、経路選択信号MXCNTに従って可変整数分周器1Aおよび1Bの出力信号(サブ分周信号)DO1およびDO2を選択的に通過させて出力信号(最終分周信号)DOを生成する経路切換回路(MUX)2とを含む。
[Embodiment 1]
FIG. 1 schematically shows a configuration of a frequency dividing circuit (variable fractional frequency dividing circuit) according to the first embodiment of the present invention. In FIG. 1, the frequency dividing circuit includes variable integer frequency dividers (DIV) 1A and 1B provided in parallel, and output signals (sub frequency dividing signals) DO1 of variable integer frequency dividers 1A and 1B according to path selection signal MXCNT. A path switching circuit (MUX) 2 that selectively passes DO2 and generates an output signal (final frequency-divided signal) DO.

可変整数分周器(DIV1)1Aは、デューティ50%の差動クロック信号CLK1およびCLK1Bをそれぞれ正相入力(+)および逆相入力(−)に受け、分周数設定信号DVCNT1に従って分周数が、連続する整数分周数PおよびP+1のいずれかに設定されて、サブ分周信号DO1を生成する。ここで、Pは、1以上の正の整数である。   A variable integer frequency divider (DIV1) 1A receives differential clock signals CLK1 and CLK1B having a duty of 50% at a positive phase input (+) and a negative phase input (−), respectively, and a frequency division number according to a frequency division number setting signal DVCNT1. Is set to one of the consecutive integer frequency division numbers P and P + 1 to generate the sub-frequency division signal DO1. Here, P is a positive integer of 1 or more.

可変整数分周器(DIV2)1Bは、差動クロック信号CLK1BおよびCLK1をそれぞれ、正相入力および逆相入力に受け、分周数設定信号DVCNT2に従って、分周数が整数分周数PおよびP+1のいずれかに設定されて分周動作を行なってサブ分周信号DO2を生成する。したがって、可変整数分周器1Aおよび1Bは、差動クロック信号CLK1およびCLK1Bが互いに相補な態様で与えられており、サブ分周信号DO1およびDO2は、互いに入力クロック信号CLK1の半サイクル(0.5クロック)ずれた信号となる。   Variable integer frequency divider (DIV2) 1B receives differential clock signals CLK1B and CLK1 at the positive phase input and the negative phase input, respectively, and in accordance with frequency division number setting signal DVCNT2, the frequency division number is integer frequency division numbers P and P + 1. The sub-frequency-divided signal DO2 is generated by performing a frequency-dividing operation. Therefore, variable integer frequency dividers 1A and 1B are provided in such a manner that differential clock signals CLK1 and CLK1B are complementary to each other, and sub-frequency-divided signals DO1 and DO2 are half cycles (0. 5 clocks).

経路切換回路(MUX)2は、経路選択信号MXCNTを選択入力Sに受け、経路選択信号MXCNTがHレベル(“1”)のときには、可変整数分周器1Aの出力信号DO1を選択し、経路選択信号MXCNTがLレベル(“0”)のときには、可変整数分周器1Bの出力信号DO2を選択する。   The path switching circuit (MUX) 2 receives the path selection signal MXCNT at the selection input S, and when the path selection signal MXCNT is at the H level (“1”), selects the output signal DO1 of the variable integer frequency divider 1A, When the selection signal MXCNT is at L level (“0”), the output signal DO2 of the variable integer frequency divider 1B is selected.

可変整数分周器1Aおよび1Bは、その内部構成は同じであり、与えられる入力差動クロック信号CLK1およびCLK1Bの極性(位相)が異なるだけである。分周数が、整数分周数PおよびP+1で切換え可能な可変整数分周器1Aおよび1Bは、特に限定されないが、たとえば2係数プリスケーラを用いて構成される。このような2係数プリスケーラの構成の一例としては、以下の構成を利用することができる。すなわち、複数の2分周回路を縦列接続し、初段に、分周数を2および3に切換可能に設定できる可変分周器(2/3分周器)を設ける。ゲート回路(NANDゲート)で、縦続接続される2分周器の正の出力Qおよび補の出力/Qを交互に受けるとともに、分周数設定信号を受ける。このゲート回路の出力信号で、2/3分周器の分周数を設定する。2分周回路および2/3分周回路の構成は周知である。可変整数分周器1Aおよび1Bの内部構成は、上述の構成に限定されず、分周数設定信号に従って、連続する整数PおよびP+1のうちの指定された分周数で分周することができる構成であればよい。   The variable integer frequency dividers 1A and 1B have the same internal configuration, and are different only in the polarities (phases) of input differential clock signals CLK1 and CLK1B. Variable integer frequency dividers 1A and 1B whose frequency division number can be switched between integer frequency division numbers P and P + 1 are not particularly limited, but are configured using, for example, a two-coefficient prescaler. As an example of the configuration of such a two-coefficient prescaler, the following configuration can be used. That is, a plurality of divide-by-2 circuits are connected in cascade, and a variable frequency divider (2/3 frequency divider) that can be set so that the frequency division number can be switched between 2 and 3 is provided in the first stage. The gate circuit (NAND gate) alternately receives the positive output Q and the complementary output / Q of the two frequency dividers connected in cascade, and receives the frequency division number setting signal. The output signal of this gate circuit sets the frequency division number of the 2/3 frequency divider. The configurations of the divide-by-2 circuit and the divide-by-2 / 3 circuit are well known. The internal configuration of the variable integer frequency dividers 1A and 1B is not limited to the above-described configuration, and can be divided by a specified frequency division number among consecutive integers P and P + 1 according to the frequency division number setting signal. Any configuration may be used.

図2は、図1に示す可変分数分周回路の動作を示すタイミング図である。図2において、可変整数分周器1Aは、入力クロック信号CLK1の立上がりエッジをカウントし、分周数がPに設定された場合、そのカウント値がP/2の間、出力サブ分周信号DO1をHレベルに設定し、次のP/2クロックサイクルの間、出力サブ分周信号DO1をLレベルに設定し、デューティ50%の信号を生成する。一方、分周数がP+1に設定された場合、可変整数分周器1Aは、入力クロック信号CLK1の立上がりエッジの数がP/2の間、出力サブ分周信号DO1をHレベルに設定し、次のP/2+1サイクルの間その出力分周信号DO1をLレベルに設定する。   FIG. 2 is a timing chart showing the operation of the variable fractional frequency dividing circuit shown in FIG. In FIG. 2, the variable integer frequency divider 1A counts the rising edge of the input clock signal CLK1, and when the frequency division number is set to P, the output sub frequency division signal DO1 is output while the count value is P / 2. Is set to H level, and during the next P / 2 clock cycle, output sub-divided signal DO1 is set to L level to generate a signal with a duty of 50%. On the other hand, when the frequency division number is set to P + 1, the variable integer frequency divider 1A sets the output sub frequency division signal DO1 to the H level while the number of rising edges of the input clock signal CLK1 is P / 2. During the next P / 2 + 1 cycle, the output frequency division signal DO1 is set to L level.

可変整数分周器1Bは、可変整数分周器1Aと相補な態様で差動クロック信号CLK1およびCLK1Bが与えられており、入力クロック信号CLK1の立下がりエッジに同期して、その出力信号DO2を立上げ、カウント値がP/2の間そのサブ分周信号DO2をHレベルに設定し、次のP/2サイクルの間、その出力分周信号DO2をLレベルに設定する(P分周動作の場合)。一方、可変整数分周器1Bは、P+1分周動作の場合には、入力クロック信号CLK1の立下がりに同期して、この立下がりをP/2カウントする間出力サブ分周信号をHレベルに設定し、次のカウント値が(P/2)+1の期間、出力サブ分周信号DO2をLレベルに設定する。   The variable integer frequency divider 1B is provided with differential clock signals CLK1 and CLK1B in a manner complementary to the variable integer frequency divider 1A, and outputs its output signal DO2 in synchronization with the falling edge of the input clock signal CLK1. Start-up, the sub-divided signal DO2 is set to the H level while the count value is P / 2, and the output divided signal DO2 is set to the L level during the next P / 2 cycle (P-dividing operation). in the case of). On the other hand, in the case of the P + 1 frequency division operation, the variable integer frequency divider 1B sets the output sub-frequency-divided signal to the H level while counting the fall for P / 2 in synchronization with the fall of the input clock signal CLK1. Then, during the period when the next count value is (P / 2) +1, the output sub-divided signal DO2 is set to L level.

この発明に従う分周回路(以下、可変分数分周回路と称す)は、P分周、P+1分周、またはP+0.5分周動作を実行する。以下の説明において、分周動作開始時において経路切換回路2により選択されている可変整数分周器を「マスタ」として定義し、非選択の可変整数分周器を「スレーブ」と定義する。また、この可変分数分周回路の初期状態において、入力される差動クロック信号CLK1およびCLK1Bに対し先に立上がりエッジを捉えて分周動作を開始する可変整数分周器を、マスタとする。従って、マスタは、スレーブに対して入力クロック信号CLK1の0.5クロックサイクル速く(位相の進んだ)サブ分周信号を出力する。   A frequency dividing circuit according to the present invention (hereinafter referred to as a variable fractional frequency dividing circuit) performs P frequency division, P + 1 frequency division, or P + 0.5 frequency division operations. In the following description, the variable integer frequency divider selected by the path switching circuit 2 at the start of the frequency division operation is defined as “master”, and the non-selected variable integer frequency divider is defined as “slave”. In the initial state of the variable fractional frequency dividing circuit, the variable integer frequency divider that starts the frequency dividing operation by first catching the rising edge with respect to the input differential clock signals CLK1 and CLK1B is set as a master. Therefore, the master outputs a sub-frequency-divided signal that is 0.5 clock cycles faster (phase advanced) of the input clock signal CLK1 to the slave.

分周数設定信号DVCNT1およびDVCNT2は、可変整数分周器1Aおよび1Bの出力サブ分周信号DO1およびDO2がともにHレベルの期間に変更される。したがって、分周数変更期間として、(P/2)−0.5クロックサイクルの期間を利用することができる。次に、図1に示す可変分数分周回路の具体的動作について説明する。   The frequency division number setting signals DVCNT1 and DVCNT2 are changed to a period in which the output sub frequency division signals DO1 and DO2 of the variable integer frequency dividers 1A and 1B are both at the H level. Therefore, a period of (P / 2) −0.5 clock cycles can be used as the frequency division number changing period. Next, a specific operation of the variable fractional frequency dividing circuit shown in FIG. 1 will be described.

図3は、図1に示す可変分数分周回路の分周動作を示すタイミング図である。図3においては、可変分数分周回路における分周数Pが、一例として8に設定され、分周数8および9の間で切換えて、全体として、連続的に8分周、8.5分周および8分周動作を実行する場合の動作を一例として示す。   FIG. 3 is a timing chart showing the frequency dividing operation of the variable fractional frequency dividing circuit shown in FIG. In FIG. 3, the frequency dividing number P in the variable fractional frequency dividing circuit is set to 8 as an example, and is switched between the frequency dividing numbers 8 and 9, and as a whole, continuously divided by 8 and 8.5 minutes. An example of the operation when performing the divide and divide-by-8 operations will be described.

可変整数分周器1Aは、分周数設定信号DVCNT1がHレベルのときには、分周数が9に設定され、分周数設定信号DVCNT1がLレベルのときには8分周動作に設定される。また、可変整数分周器1Bも、同様、分周数設定信号DVCNT2がHレベルのときに9分周動作が設定され、分周数設定信号DVCNT2がLレベルのときには、8分周動作に設定される。以下の説明においても、同様である。   The variable integer frequency divider 1A is set to 9 when the frequency division number setting signal DVCNT1 is at the H level, and is set to the frequency division operation when the frequency division number setting signal DVCNT1 is at the L level. Similarly, the variable integer frequency divider 1B is set to divide-by-9 operation when the division number setting signal DVCNT2 is at H level, and is set to divide-by-8 operation when the division number setting signal DVCNT2 is at L level. Is done. The same applies to the following description.

また、図3および以下のタイミング図において、太線で示す波形は、経路切換回路2により選択されて出力される信号波形を示す。   Further, in FIG. 3 and the timing charts below, a waveform indicated by a thick line indicates a signal waveform selected and output by the path switching circuit 2.

図3において、可変整数分周器1Aがマスタとして選択され、時刻T0からの入力クロック信号CLK1の立上がりエッジに同期して、その出力するサブ分周信号DO1がHレベルとなり、半クロックサイクル遅れて、可変整数分周器1Bの出力分周信号DO2がHレベルに立上がる。8分周動作においては、クロック信号CLK1の4クロックサイクル期間、サブ分周信号DO1およびDO2がHレベルとなり、4クロックサイクル期間、サブ分周信号DO1およびDO2は、Lレベルとなる。   In FIG. 3, the variable integer frequency divider 1A is selected as a master, and in synchronization with the rising edge of the input clock signal CLK1 from time T0, the output sub-frequency-divided signal DO1 becomes H level, delayed by half a clock cycle. The output frequency division signal DO2 of the variable integer frequency divider 1B rises to the H level. In the divide-by-8 operation, sub-frequency-divided signals DO1 and DO2 are at H level during 4 clock cycles of clock signal CLK1, and sub-frequency-divided signals DO1 and DO2 are at L-level during 4 clock cycles.

ここで、以下の説明において、便宜上、分周数設定信号DVCNT1、DVCNT2および経路選択信号MXCNTを併せて、分周数制御信号と称する。これらの分周数制御信号MXCNT、DVCNT1およびDVCNT2は、本実施の形態においては、同じタイミングで並行して、それらの状態(論理値)が制御される。   Here, in the following description, for convenience, the frequency division number setting signals DVCNT1 and DVCNT2 and the path selection signal MXCNT are collectively referred to as a frequency division number control signal. In the present embodiment, these frequency division number control signals MXCNT, DVCNT1 and DVCNT2 are controlled in their states (logical values) in parallel at the same timing.

時刻T0において、経路選択信号MXCNTはHレベルであり、経路切換回路2は、可変整数分周器1Aの出力するサブ分周信号DO1を選択する。分周数設定信号DVCNT1は、Lレベルに設定されており、可変整数分周器が、8分周動作を実行する。一方、分周数設定信号DVCNT2は、Hレベルであり、可変分数分周器は、9分周動作を実行する。   At time T0, the path selection signal MXCNT is at the H level, and the path switching circuit 2 selects the sub frequency division signal DO1 output from the variable integer frequency divider 1A. The frequency division number setting signal DVCNT1 is set to the L level, and the variable integer frequency divider executes the frequency division operation. On the other hand, the frequency division number setting signal DVCNT2 is at the H level, and the variable fractional frequency divider executes a frequency division operation of 9.

時刻T1aにおいて、分周数設定信号DVCNT2がLレベルに設定され、可変整数分周器1Bが8分周動作を実行する。時刻T0から時刻T1においては、経路選択信号MXCNTはLレベルであり、可変整数分周器1Aがマスタであり、経路選択回路2からの最終分周信号DOは、4クロックサイクルの間Hレベル、4クロックサイクルの間Lレベルのデューティ50%の8分周信号となる。   At time T1a, the frequency division number setting signal DVCNT2 is set to the L level, and the variable integer frequency divider 1B executes the frequency division operation. From time T0 to time T1, the path selection signal MXCNT is at L level, the variable integer frequency divider 1A is the master, and the final frequency division signal DO from the path selection circuit 2 is at H level for 4 clock cycles. During 4 clock cycles, it becomes an L level duty 50% divide-by-8 signal.

時刻T1が経過した後、時刻T2aにおいて、経路選択信号MXCNTがLレベルに設定され、また分周数設定信号DVCNT1がHレベルに設定される。この状態においては、可変整数分周器1Bの出力信号DO2が経路選択回路2により選択される。可変整数分周器1Bの出力信号DO2は、可変整数分周器1Aの出力信号DO1に対して半クロックサイクル位相が遅れている。したがって、経路切換回路2からの分周信号DOは、4.5クロックサイクル期間Hレベルとなり、次の4クロックサイクル期間は、可変整数分周器1Bは8分周動作を行なっており、4クロックサイクル期間Lレベルとなる。したがって、時刻T1から時刻T2の間の期間において、8.5分周された信号が生成される。   After time T1, the route selection signal MXCNT is set to L level and the frequency division number setting signal DVCNT1 is set to H level at time T2a. In this state, the output signal DO2 of the variable integer frequency divider 1B is selected by the path selection circuit 2. The output signal DO2 of the variable integer frequency divider 1B is delayed in half clock cycle phase with respect to the output signal DO1 of the variable integer frequency divider 1A. Therefore, the frequency-divided signal DO from the path switching circuit 2 is at the H level for 4.5 clock cycle periods, and during the next 4 clock cycle periods, the variable integer frequency divider 1B performs the frequency dividing operation of 8 clocks. The cycle period is at L level. Therefore, in the period between time T1 and time T2, a signal divided by 8.5 is generated.

時刻T2aにおいては、経路選択信号MXCNTの切換と並行して分周数設定信号DVCNT1が、Hレベルに設定され、可変整数分周器1Aが、9分周動作を実行する。この9分周動作においては、Lレベル期間が8分周動作時に較べて1クロック分長くされる。従って、時刻T2において、マスタの可変整数分周器1Bの出力信号DO2がHレベルに立上り、これより0.5クロックサイクル遅れて、スレーブの可変整数分周器1Aの出力信号DO1がHレベルに立ち上がる。すなわち、スレーブの可変整数分周器1Aの出力信号DO1の位相が、マスタの出力信号DO2に対して0.5クロック遅くなる。これにより、マスタの出力するサブ分周信号は、スレーブの出力するサブ分周信号より、位相が0.5クロック遅れるという時間関係が維持される。   At time T2a, in parallel with switching of the route selection signal MXCNT, the frequency division number setting signal DVCNT1 is set to the H level, and the variable integer frequency divider 1A executes the frequency division operation by 9. In this divide-by-9 operation, the L level period is extended by one clock compared to the divide-by-8 operation. Therefore, at time T2, the output signal DO2 of the master variable integer frequency divider 1B rises to the H level, and the output signal DO1 of the slave variable integer frequency divider 1A becomes the H level after a delay of 0.5 clock cycle. stand up. That is, the phase of the output signal DO1 of the slave variable integer frequency divider 1A is delayed by 0.5 clock with respect to the master output signal DO2. As a result, the sub-frequency-divided signal output from the master maintains the time relationship that the phase is delayed by 0.5 clock from the sub-frequency-divided signal output from the slave.

時刻T3aにおいて、再び、分周数設定信号DVCNT1をLレベルに設定し、可変整数分周器1Aの分周数を8に設定する。分数数設定信号DVCNT2および経路選択信号MXCNTの状態は、変更されない。これにより、時刻T2からT3において、経路選択回路2により選択される分周器の出力信号、すなわちマスタの可変整数分周器1Bの出力信号DO2は、スレーブの可変分数分周器1Aの出力信号DO1よりも半クロックサイクル位相が進んでいるという関係が維持される。   At time T3a, the frequency division number setting signal DVCNT1 is set to L level again, and the frequency division number of the variable integer frequency divider 1A is set to 8. The states of the fraction setting signal DVCNT2 and the route selection signal MXCNT are not changed. Thus, from time T2 to T3, the output signal of the frequency divider selected by the path selection circuit 2, that is, the output signal DO2 of the master variable integer frequency divider 1B is the output signal of the slave variable fractional frequency divider 1A. The relationship that the half clock cycle phase is ahead of DO1 is maintained.

従って、8分周実行時において、サブ分周信号DO1およびDO2がともにHレベルの期間において、そのときのマスタの分周数設定信号を8から9に設定し、並行して経路選択回路2の選択経路を変更することにより、8分周信号に続いて8.5分周信号を継続して生成することができる。また、当然、分周数設定信号および選択経路を維持した場合、8分周信号を継続して生成することができる。   Accordingly, when the frequency division is performed by 8 and the sub frequency division signals DO1 and DO2 are both at the H level, the frequency division number setting signal of the master at that time is set from 8 to 9, and the path selection circuit 2 By changing the selection path, the 8.5 divided signal can be continuously generated after the divided by 8 signal. Naturally, when the frequency division number setting signal and the selection path are maintained, the frequency divided signal can be continuously generated.

図4は、8.5分周動作を継続して実行する場合の動作を示すタイミング図である。この図4において、時刻T0から時刻T2までの間の動作は、図3に示すタイミング図と同じである。すなわち、時刻T0から時刻T2aまでの期間、可変整数分周器1Aがマスタ、可変整数分周器1Bがスレーブとして動作し、最終分周信号DOは、可変整数分周器1Aの出力分周信号DO1に従って変化する。   FIG. 4 is a timing chart showing an operation when the 8.5 frequency dividing operation is continuously executed. In FIG. 4, the operation from time T0 to time T2 is the same as the timing chart shown in FIG. That is, during the period from time T0 to time T2a, the variable integer frequency divider 1A operates as the master and the variable integer frequency divider 1B operates as the slave, and the final frequency division signal DO is the output frequency division signal of the variable integer frequency divider 1A. It changes according to DO1.

時刻T2aにおいて、経路選択信号MXCNTがLレベルに設定され、また並行して、分周数設定信号DVCNT1がHレベルに設定され、可変整数分周器1Aに対して9分周動作が指定される。このとき、最終分周信号DOが、可変整数分周器1Bの出力するサブ分周信号DO2に従って変化する。   At time T2a, the path selection signal MXCNT is set to L level, and in parallel, the frequency division number setting signal DVCNT1 is set to H level, and a frequency division operation of 9 is designated for the variable integer frequency divider 1A. . At this time, the final frequency-divided signal DO changes according to the sub-frequency-divided signal DO2 output from the variable integer frequency divider 1B.

時刻T2において、可変整数分周器1Bの出力分周信号DO2がHレベルに立上がっても、このとき、まだ可変整数分周器1Aは、9分周動作を実行しており、出力されるサブ分周信号DO1はLレベルであり、時刻T2から半クロックサイクル遅れてサブ分周信号DO1がHレベルに立上がる。これにより、図3に示す動作と同様、マスタ可変整数分周器とスレーブ整数分周器の出力するサブ分周信号の位相関係において、常にマスタが半クロックサイクル速く分周動作を実行する関係が維持される。   At time T2, even if the output frequency division signal DO2 of the variable integer frequency divider 1B rises to the H level, the variable integer frequency divider 1A is still executing the frequency division operation of 9 and is output. Sub-frequency-divided signal DO1 is at L level, and sub-frequency-divided signal DO1 rises to H-level with a delay of a half clock cycle from time T2. Thus, similar to the operation shown in FIG. 3, in the phase relationship between the sub-divided signals output from the master variable integer frequency divider and the slave integer frequency divider, there is a relationship in which the master always performs the frequency dividing operation faster by half a clock cycle. Maintained.

時刻T3dにおいて、経路選択信号MXCNTをHレベルに設定し、分周数選択信号DVCNT1をLレベルに設定し、また、分周数設定信号DVCNT2をHレベルに設定する。これにより、可変整数分周器1Aが8分周動作を実行し、可変整数分周器1Bが9分周動作を実行する。サブ分周信号DO1は、時刻T3dまで選択されていたサブ分周信号DO2よりも半クロックサイクル遅れているため、最終分周信号DOは、4.5クロックサイクル期間Hレベルとなる。その後、4クロックサイクル期間、最終分周信号DOは、サブ分周信号DO1に従ってLレベルとなり、8.5クロックサイクルの周期を有する信号が出力される。   At time T3d, the path selection signal MXCNT is set to H level, the frequency division number selection signal DVCNT1 is set to L level, and the frequency division number setting signal DVCNT2 is set to H level. As a result, the variable integer frequency divider 1A performs the frequency division operation by 8, and the variable integer frequency divider 1B performs the frequency division operation by 9. Since the sub-frequency-divided signal DO1 is delayed by half a clock cycle from the sub-frequency-divided signal DO2 selected until time T3d, the final frequency-divided signal DO is at the H level for 4.5 clock cycle periods. Thereafter, during the 4-clock cycle period, the final frequency-divided signal DO becomes L level in accordance with the sub-frequency-divided signal DO1, and a signal having a period of 8.5 clock cycles is output.

すなわち、8.5分周動作を繰返し実行する場合には、各分周クロックサイクルにおいて、サブ分周信号DO1およびDO2がともにHレベルの期間に、マスタおよびスレーブを交互に切換えるとともに分周数を切換える。   That is, when the 8.5 frequency division operation is repeatedly executed, the master and slave are alternately switched and the frequency division number is changed during the period in which each of the sub frequency division signals DO1 and DO2 is at the H level in each frequency division clock cycle. Switch.

図3および図4に示すように、分周クロックサイクルにおいて1回、分周制御信号MXCNT、DVCNT1およびDVCNT2の状態を変更するだけであり、各分周クロックサイクル期間内に2回分周制御信号の状態を変化させる必要はない。すなわち、分周制御信号に対するタイミングマージンを十分大きく取ることができ、高速クロック信号に対しても、正確に分周数を変更して、分数分周信号を生成することができる。   As shown in FIG. 3 and FIG. 4, it is only necessary to change the state of the frequency division control signals MXCNT, DVCNT1 and DVCNT2 once in the frequency division clock cycle, and the frequency of the frequency division control signal is changed twice in each frequency division clock cycle period. There is no need to change state. That is, the timing margin for the frequency division control signal can be made sufficiently large, and the frequency division number can be accurately changed even for the high-speed clock signal to generate the fractional frequency division signal.

図5は、図3に示す動作条件における分周制御信号の設定タイミングマージン(時間的余裕)を示す図である。分周制御信号MXCNT、DVCNT1、およびDVCNT2の設定は、サブ分周信号DO1およびDO2がともにHレベルのときに実行する必要がある。8分周動作の場合には、サブ分周信号DO1およびDO2の両方がHレベルとなるのは、時刻T1bからT1cまでの期間、および時刻T3bから時刻T3cまでの期間であり、ともに3.5クロックサイクルである。一方、8.5分周動作の場合、サブ分周信号DO1およびDO2がともにHレベルとなる期間は、時刻T2bから時刻T2cまでの3.5クロックサイクル期間である。   FIG. 5 is a diagram showing a setting timing margin (temporal margin) of the frequency division control signal under the operating conditions shown in FIG. Setting of the frequency division control signals MXCNT, DVCNT1, and DVCNT2 needs to be executed when both the sub frequency division signals DO1 and DO2 are at the H level. In the case of the divide-by-8 operation, both of the sub-divide signals DO1 and DO2 are at the H level in the period from time T1b to T1c and in the period from time T3b to time T3c. It is a clock cycle. On the other hand, in the case of 8.5 frequency division operation, the period during which both sub frequency division signals DO1 and DO2 are at the H level is a 3.5 clock cycle period from time T2b to time T2c.

また、8分周動作に続いて8.5分周動作を実行する場合には、分周数制御信号を一旦設定した後、次に分周数制御信号を設定するまでには、時刻T1cから時刻T2bまでの最低4.5クロックサイクルの期間が存在する。また、8.5分周動作に続いて8分周動作を実行する場合、分周数制御信号を一旦設定した後に次いで再度設定する場合には、時刻T2cから時刻T3bまでの最低5クロックサイクルの期間が存在する。   In addition, when the 8.5 frequency dividing operation is executed following the frequency dividing operation, after the frequency dividing number control signal is set once, the time from the time T1c until the next frequency dividing number control signal is set is set. There is a period of at least 4.5 clock cycles until time T2b. Further, when the frequency division operation is executed after the frequency division operation of 8.5, when the frequency division number control signal is once set and then set again, at least 5 clock cycles from time T2c to time T3b are required. There is a period.

したがって、8分周動作後に8.5分周動作を実行する場合には、8分周動作を実行するための分周数制御信号は、時刻T1bから時刻T1cまでの3.5クロックサイクル期間内の任意の時間に設定することができる。次の8.5分周動作を実行するための分周数制御信号の設定については、時刻T1cから時刻T2bまでの4.5クロックサイクルと時刻T2bから時刻T2cまでの3.5クロックサイクルを合計した8クロックサイクルの時間的余裕がある。   Therefore, when the 8.5 frequency dividing operation is performed after the frequency dividing operation, the frequency division number control signal for executing the frequency dividing operation is within the 3.5 clock cycle period from time T1b to time T1c. Can be set at any time. Regarding the setting of the frequency division number control signal for executing the next 8.5 frequency division operation, 4.5 clock cycles from time T1c to time T2b and 3.5 clock cycles from time T2b to time T2c are added up. There is a time margin of 8 clock cycles.

また、8.5分周動作後に8分周動作を実行する場合においては、8.5分周動作を実行するための分周数制御信号の設定は、時刻T2bから時刻T2cまでの3.5クロックサイクル期間内の任意の時間に実行することができる。また、次の8分周動作を実行するための分周数制御信号の設定までには、時刻T2cから時刻T3bまでの5クロックサイクルと時刻T3bから時刻T3cまでの4クロックサイクルの合計8.5クロックサイクルの時間的余裕がある。   Further, in the case where the frequency dividing operation is executed after the frequency dividing operation of 8.5, the frequency division number control signal for executing the frequency dividing operation of 8.5 is set to 3.5 from time T2b to time T2c. It can be executed at any time within the clock cycle period. In addition, by the setting of the frequency division number control signal for executing the next frequency division operation, a total of 8.5 clock cycles of 5 clock cycles from time T2c to time T3b and 4 clock cycles from time T3b to time T3c. There is time for clock cycles.

したがって、いずれの場合においても、分周数制御信号の設定間隔は広く、分周数制御信号を低速で制御することができ、高速入力クロック信号に対しても、正確に分周数を設定することができる。   Therefore, in any case, the setting interval of the frequency division number control signal is wide, the frequency division number control signal can be controlled at a low speed, and the frequency division number can be accurately set even for the high-speed input clock signal. be able to.

図6は、図4に示す8.5分周を継続して実施した場合の分周制御信号の時間的余裕を示す図である。図6において、可変整数分周器1Aおよび1Bの出力するサブ分周信号DO1およびDO2の両者がHレベルとなるのは、1回目の8.5分周動作における時刻T1から時刻T2においては、時刻T2dから時刻T2eまでの間の3.5クロックサイクルの期間であり、また、二回目の8.5分周動作に行なわれる時刻T2から時刻T4においては、時刻T3eから時刻T3fまでの3.5クロックサイクルの期間である。分周数制御信号を一旦設定した後、次いで再設定する場合には、時刻T2eから時刻T3eまで最低5クロックサイクルの時間が存在する。   FIG. 6 is a diagram showing a time margin of the frequency division control signal when the 8.5 frequency division shown in FIG. 4 is continuously performed. In FIG. 6, the sub-frequency-divided signals DO1 and DO2 output from the variable integer frequency dividers 1A and 1B are both at the H level from the time T1 to the time T2 in the first 8.5 frequency division operation. This is a period of 3.5 clock cycles from time T2d to time T2e, and from time T2 to time T4 performed in the second 8.5 frequency dividing operation, from time T3e to time T3f. This is a period of 5 clock cycles. When the frequency division number control signal is once set and then reset, there is a time of at least 5 clock cycles from time T2e to time T3e.

上述のように、継続して8.5分周動作を実行する場合において1回目の8.5分周動作を実行するための分周数制御信号の設定は、時刻T2dから時刻T2eまでの3.5クロックサイクルまでの任意の時間において実行することができる。また、次の8.5分周動作を実行するための分周数制御信号の設定までには、時刻T2eから時刻T3eまでの5クロックサイクルと時刻T3eから時刻T3fまでの3.5クロックサイクルの合計8.5クロックサイクルの時間的余裕がある。したがって、この8.5分周動作を継続して実行する場合においても、分周数制御信号の設定間隔は長く、分周数制御信号を低速で制御することができる。   As described above, when the 8.5 frequency dividing operation is continuously executed, the frequency division number control signal for executing the first 8.5 frequency dividing operation is set to 3 from time T2d to time T2e. It can be executed at any time up to 5 clock cycles. Further, until the setting of the frequency dividing number control signal for executing the next 8.5 frequency dividing operation, five clock cycles from time T2e to time T3e and 3.5 clock cycles from time T3e to time T3f are required. There is a total time of 8.5 clock cycles. Therefore, even when the 8.5 frequency dividing operation is continuously executed, the setting interval of the frequency dividing number control signal is long, and the frequency dividing number control signal can be controlled at a low speed.

いま、比較のために、1/1.5分周セルを用いた分周回路を考える。この1/1.5分周セルを用いた分周回路は、図7に示すように、1/1.5分周器11と、1/1.5分周器11の出力信号をP分周する整数分周器12を含む。1/1.5分周器11は、デューティ50%の差動クロック信号CLK1およびCLK1Bをそれぞれ正相入力および逆相入力に受け、分周数1および1.5のいずれかで分周動作を実行する。この1/1.5分周器11の分周数は、分周数設定信号DVCNTにより設定される。   For comparison, consider a frequency dividing circuit using a 1 / 1.5 frequency dividing cell. As shown in FIG. 7, the frequency dividing circuit using the 1 / 1.5 frequency dividing cell is configured to divide the output signal of the 1 / 1.5 frequency divider 11 and the 1 / 1.5 frequency divider 11 by P. An integer divider 12 is included. The 1 / 1.5 frequency divider 11 receives the differential clock signals CLK1 and CLK1B having a duty of 50% at the positive phase input and the negative phase input, respectively, and performs the frequency dividing operation at any one of the frequency division numbers 1 and 1.5. Execute. The frequency division number of the 1 / 1.5 frequency divider 11 is set by a frequency division number setting signal DVCNT.

整数分周器12は、1/1.5分周器11の相補出力信号DOaおよびDObをそれぞれ正相および逆相入力に受け、整数分周数Pで分周動作を行なって最終分周信号DOを生成する。   The integer frequency divider 12 receives the complementary output signals DOa and DOb of the 1 / 1.5 frequency divider 11 at the normal phase and reverse phase inputs, respectively, performs a frequency division operation with the integer frequency division number P, and performs the final frequency division signal. Generate DO.

1/1.5分周器11が、分周数1に設定された場合、入力クロック信号CLK1およびCLK1Bを、出力信号DOaおよびDObとして出力する。分周数が1.5に設定された場合、1/1.5分周器11は、入力信号CLK1に対しLレベル期間を半クロックサイクル長くしてサブ分周信号DOaおよびDObを生成する。   When the 1 / 1.5 frequency divider 11 is set to the frequency division number 1, the input clock signals CLK1 and CLK1B are output as the output signals DOa and DOb. When the frequency division number is set to 1.5, 1 / 1.5 frequency divider 11 generates sub frequency division signals DOa and DOb by extending the L level period by a half clock cycle with respect to input signal CLK1.

整数分周器12は、1/1.5分周器11の出力信号DOaの立上がりエッジをカウントし、そのカウント値がP/2となるごとに出力信号DOの論理レベルを切換える。   The integer frequency divider 12 counts the rising edge of the output signal DOa of the 1 / 1.5 frequency divider 11, and switches the logic level of the output signal DO every time the count value becomes P / 2.

図8は、図7に示す分周回路の動作を示すタイミング図である。図8においては、整数分周器12の分周数Pが8の場合の動作を、この発明の実施の形態1との比較のために示す。   FIG. 8 is a timing chart showing the operation of the frequency dividing circuit shown in FIG. In FIG. 8, the operation when the frequency dividing number P of the integer frequency divider 12 is 8 is shown for comparison with the first embodiment of the present invention.

分周数設定信号DVCNTが、入力クロック信号CLK1の1.5サイクルと2サイクルの間のLレベルに設定される。図8においては、1.5分周動作を指定する場合において、分周数選択信号DVCNTが、入力クロック信号CLK1の立ち上がりに同期してHレベルに設定され、このHレベルが1.75クロックサイクルの間維持される場合を一例として示す。この場合、1/1.5分周器11は、分周数設定信号DVCNTがHレベルの期間、出力信号DOaのLレベル期間を、入力クロック信号CLK1の半クロックサイクル(0.5クロック)長くする。したがって、図8に示す場合、1/1.5分周器11の出力信号DOaにおいては、1.5クロックサイクルの信号が1つ出力されるだけである。   Frequency division number setting signal DVCNT is set to the L level between 1.5 and 2 cycles of input clock signal CLK1. In FIG. 8, when 1.5 frequency division operation is designated, the frequency division number selection signal DVCNT is set to H level in synchronization with the rising edge of the input clock signal CLK1, and this H level is 1.75 clock cycles. As an example, the case of being maintained during In this case, the 1 / 1.5 frequency divider 11 extends the L level period of the output signal DOa by a half clock cycle (0.5 clock) of the input clock signal CLK1 while the frequency division number setting signal DVCNT is at the H level. To do. Therefore, in the case shown in FIG. 8, only one signal of 1.5 clock cycles is output from the output signal DOa of the 1 / 1.5 frequency divider 11.

整数分周器12においては、入力信号DOaにおいて、1.5クロックパルスが1つ挿入されるだけであり、入力信号DOaのHレベルへの立上がりを4カウントする期間、最終分周信号DOをHレベルに設定し、次いで、入力信号DOaのHレベルへの立上りを4つカウントする間その最終分周信号DOをLレベルに設定する。したがって、図8に示す様に、分周数選択信号DVCNTが1.75クロックサイクルの間Hレベルに設定された場合、出力分周信号DOがHレベル期間が0.5クロックサイクル長くなり、したがって、8.5クロックサイクルの周期の分周信号を得ることができ、8.5分周を実現することができる。   In the integer frequency divider 12, only one 1.5 clock pulse is inserted in the input signal DOa, and the final frequency division signal DO is set to H during the period in which the rising of the input signal DOa to H level is counted four times. Then, the final frequency-divided signal DO is set to L level while counting four rising edges of the input signal DOa to H level. Therefore, as shown in FIG. 8, when the frequency division number selection signal DVCNT is set to H level for 1.75 clock cycles, the output frequency division signal DO becomes H clock period longer by 0.5 clock cycles. A frequency-divided signal having a period of 8.5 clock cycles can be obtained, and 8.5 frequency-dividing can be realized.

一方、図9に示すように、分周数設定信号DVCNTが2クロックサイクル以上、入力クロック信号CLK1と非同期でHレベルに設定された場合、この1/1.5分周器11は、1.5クロックサイクルのパルスを2つ出力する。図9においては、分周数設定信号DVCNTが、2.25クロックサイクル期間Hレベルに設定される動作が、一例として示される。この場合、1.5クロックサイクルのパルスが2つ連続して整数分周器12へ与えられるため、整数分周器12の出力する最終分周信号DOのHレベル期間が5クロックサイクルとなり、また、Lレベル期間が4クロックサイクルとなり、周期9クロックサイクルの信号が生成され、9分周動作が行われる。   On the other hand, as shown in FIG. 9, when the frequency division number setting signal DVCNT is set to H level asynchronously with the input clock signal CLK1 for two clock cycles or more, the 1 / 1.5 frequency divider 11 is 1. Two pulses of 5 clock cycles are output. In FIG. 9, an operation in which the frequency division number setting signal DVCNT is set to the H level during the 2.25 clock cycle period is shown as an example. In this case, since two 1.5 clock cycle pulses are continuously supplied to the integer divider 12, the H level period of the final divided signal DO output from the integer divider 12 is 5 clock cycles. The L level period is 4 clock cycles, a signal having a period of 9 clock cycles is generated, and a 9-frequency division operation is performed.

分周数設定信号DVCNTの発生タイミングを最適化し、入力クロック信号CLK1の立下がりに同期して分周数設定信号DVCNTがHレベルに設定された場合を考える。この場合においても、3クロックを超えた期間、分周数設定信号DVCNTがHレベルの1.5分周動作を指定する状態に設定された場合、1.5クロックサイクルのパルスが2つ生成され、周期9クロックサイクルの分周信号が得られる。   Consider a case where the generation timing of the frequency division number setting signal DVCNT is optimized and the frequency division number setting signal DVCNT is set to the H level in synchronization with the fall of the input clock signal CLK1. Even in this case, if the frequency division number setting signal DVCNT is set to a state of designating the 1.5 frequency division operation at H level for a period exceeding 3 clocks, two pulses of 1.5 clock cycles are generated. A frequency-divided signal having a period of 9 clock cycles is obtained.

したがって、8分周動作に続いて8.5分周信号を生成するためには、分周数設定信号DVCNTの切換は、分周数1から分周数1.5への切換と分周数1.5から分周数1への切換を、極めて限られた最大3クロックサイクル期間内に実行する必要がある。従って、入力クロック信号CLK1が高速のクロック信号の場合、分周数設定のタイミングマージンが極めて小さくなり、正確に分数分周信号を生成するのが困難となる。   Therefore, in order to generate the 8.5 frequency division signal following the 8 frequency division operation, the frequency division number setting signal DVCNT is switched from the frequency division number 1 to the frequency division number 1.5 and the frequency division number. Switching from 1.5 to 1 is necessary within a very limited maximum of 3 clock cycles. Therefore, when the input clock signal CLK1 is a high-speed clock signal, the timing margin for setting the frequency division number becomes extremely small, and it becomes difficult to accurately generate the fractional frequency division signal.

整数分周数Pは、8に限定されず、2以上の整数であれば分数分周動作は実行することができる。したがって、明らかに、本実施の形態1における分周数の切換え間隔は、最低P/2+0.5クロックの期間を確保することができ、従来の1/1.5分周器を利用する構成に比べて十分余裕を持って分数分周数の設定および切換えを行うことができる。   The integer frequency dividing number P is not limited to 8, and the fractional frequency dividing operation can be executed as long as it is an integer of 2 or more. Therefore, obviously, the frequency division number switching interval in the first embodiment can secure a minimum P / 2 + 0.5 clock period, and uses a conventional 1 / 1.5 frequency divider. The fractional frequency division number can be set and switched with a sufficient margin.

図10は、この発明の実施の形態1に従う分周回路と図7に示す従来の分周回路の分周数設定のタイミングマージンを概略的に示す図である。   FIG. 10 schematically shows a timing margin for setting the frequency dividing number of the frequency dividing circuit according to the first embodiment of the present invention and the conventional frequency dividing circuit shown in FIG.

図10において、横軸には分周数Pを示し、縦軸に、1回目の分周数設定から2回目の分周数設定までの設定時間の余裕をクロックサイクル数で示す。図において四角の黒印が、図7に示す従来の分周回路の設定時間余裕を示し、三角印で示す直線は、この発明の実施の形態1に従う分周回路の分周数設定信号のタイミングマージンを示す。   In FIG. 10, the horizontal axis represents the frequency division number P, and the vertical axis represents the set time margin from the first frequency division number setting to the second frequency division number setting in terms of the number of clock cycles. In the figure, the black squares indicate the set time margin of the conventional frequency dividing circuit shown in FIG. 7, and the straight line indicated by the triangular marks indicates the timing of the frequency dividing number setting signal of the frequency dividing circuit according to the first embodiment of the present invention. Indicates the margin.

図7に示す従来の分周回路の場合、分周数1および1.5の間で切換える必要がある。従って、分周数Pが1および2の場合には、従来の分周回路における分周数設定信号の設定時間余裕は、それぞれ、1.5クロックサイクルと2クロックサイクルの間、2.5クロックサイクルと3クロックサイクルの間である。分周数Pが3の場合に、設定時間の余裕が3クロックサイクル(最適化タイミングでの分周数設定信号の切換)となり、以降、分周数Pが増大しても、時間的余裕は変化せず3クロックサイクルで一定である。   In the case of the conventional frequency dividing circuit shown in FIG. 7, it is necessary to switch between frequency dividing numbers 1 and 1.5. Therefore, when the frequency dividing number P is 1 and 2, the setting time margin of the frequency dividing number setting signal in the conventional frequency dividing circuit is 2.5 clock cycles between 1.5 clock cycles and 2 clock cycles, respectively. Between one cycle and three clock cycles. When the frequency division number P is 3, the setting time margin is 3 clock cycles (switching of the frequency division number setting signal at the optimization timing). Thereafter, even if the frequency division number P is increased, the time margin is not increased. It does not change and is constant at 3 clock cycles.

一方、この発明の実施の形態1に従う分周回路においては、分周数制御信号の設定の時間余裕は、2つの分周器1Aおよび1B両者の出力信号がHレベルの期間であるため、設定タイミングの時間的余裕は(P/2−0.5)クロックである。次の設定タイミングについては、P分周動作からP+0.5分周動作に切換える場合が最低条件であり、P/2+0.5クロックとなり、合計すると、その間隔は、Pであり、設定時間間隔は、分周数Pに直線的に比例する。したがって、分周数Pが3を超えると、この発明の実施の形態1に従う分周回路における分周数設定信号の時間的余裕は、従来回路に較べて大きくなり、低速動作で分周数制御信号を制御することができる。   On the other hand, in the frequency dividing circuit according to the first embodiment of the present invention, the time margin for setting the frequency division number control signal is set because the output signals of both frequency dividers 1A and 1B are in the H level period. The time margin for timing is (P / 2-0.5) clocks. As for the next setting timing, the minimum condition is to switch from the P frequency dividing operation to the P + 0.5 frequency dividing operation, which is P / 2 + 0.5 clock. In total, the interval is P, and the set time interval is , Linearly proportional to the frequency dividing number P. Therefore, when the frequency dividing number P exceeds 3, the time margin of the frequency dividing number setting signal in the frequency dividing circuit according to the first embodiment of the present invention becomes larger than that in the conventional circuit, and the frequency dividing number control is performed at a low speed operation. The signal can be controlled.

図11は、この発明の実施の形態1における分周回路に対する分周制御信号を発生する部分の構成の一例を概略的に示す図である。図11において、分周制御信号発生部は、分周制御信号を発生するタイミングを規定するタイミング発生器15と、マスタおよびスレーブを識別するデータを格納するマスタ/スレーブレジスタ16と、分周数を設定する分周数設定回路17と、これらのタイミング発生器15、マスタ/スレーブレジスタ16および分周数設定回路17の出力信号/データに従って分周数制御信号MXCNT、DVCNT1およびDVCNT2を生成する分周シーケンス制御回路18を含む。   FIG. 11 is a diagram schematically showing an example of the configuration of a portion for generating a frequency division control signal for the frequency divider circuit in the first embodiment of the present invention. In FIG. 11, the frequency division control signal generation unit includes a timing generator 15 that defines the timing at which the frequency division control signal is generated, a master / slave register 16 that stores data for identifying a master and a slave, and a frequency division number. Frequency division number setting circuit 17 to be set, and frequency division numbers for generating frequency division number control signals MXCNT, DVCNT1 and DVCNT2 in accordance with output signals / data of timing generator 15, master / slave register 16 and frequency division number setting circuit 17 A sequence control circuit 18 is included.

タイミング発生器15は、図1に示す整数分周器1Aおよび1Bの出力するサブ分周信号DO1およびDO2がともにHレベルのときに切換イネーブル信号ENをアサートする。マスタ/スレーブレジスタ16は、現サイクルにおけるマスタおよびスレーブの可変整数分周器を識別するデータを格納する。分周数設定回路17は、最終分周信号DOの分周数が、たとえば8、8.5、および9のいずれであるかを指定する情報を格納する。   Timing generator 15 asserts switching enable signal EN when both sub-divided signals DO1 and DO2 output from integer frequency dividers 1A and 1B shown in FIG. 1 are at the H level. The master / slave register 16 stores data identifying the master and slave variable integer frequency dividers in the current cycle. The frequency division number setting circuit 17 stores information specifying whether the frequency division number of the final frequency division signal DO is, for example, 8, 8.5, or 9.

分周シーケンス制御回路18は、分周数設定回路17に設定された分周数情報に従って、最終分周出力信号DOの分周シーケンスを識別し、タイミング発生器15からの切換イネーブル信号ENのアサート時に、マスタ/スレーブレジスタ16に格納されるマスタおよびスレーブ情報を参照して、分周数制御信号MXCNT、DVCNT1およびDVCNT2を生成する。次に、この図11に示す分周数制御信号発生部の動作について説明する。   The frequency division sequence control circuit 18 identifies the frequency division sequence of the final frequency division output signal DO according to the frequency division number information set in the frequency division number setting circuit 17 and asserts the switching enable signal EN from the timing generator 15. Sometimes, the frequency division number control signals MXCNT, DVCNT1, and DVCNT2 are generated with reference to the master and slave information stored in the master / slave register 16. Next, the operation of the frequency division number control signal generator shown in FIG. 11 will be described.

(i)現サイクルが分周数Pであり、次サイクルが分周数Pの場合:
いま、マスタ/スレーブレジスタ16には、現サイクルにおいて、先に分周動作を開始する(サブ分周信号が先にHレベルに立ち上がる)可変整数分周器1Aがマスタとして設定される。分周数設定信号DVCNT1およびDVCNT2はともに分周数Pに設定され、経路選択信号MXCNTはマスタを選択する状態に設定される。現サイクルおよび次サイクルにおいて分周数Pであるため、タイミング発生器15からの切換イネーブル信号ENがアサートされても、分周シーケンス制御回路18は、分周数制御信号MXCNT、DVCNT1およびDVCNT2の状態を維持する。
(I) When the current cycle is the frequency division number P and the next cycle is the frequency division number P:
Now, in the master / slave register 16, the variable integer frequency divider 1A that starts the frequency division operation first (the sub frequency division signal rises to the H level first) is set as the master in the current cycle. The frequency division number setting signals DVCNT1 and DVCNT2 are both set to the frequency division number P, and the path selection signal MXCNT is set to select the master. Since the frequency division number is P in the current cycle and the next cycle, even if the switching enable signal EN from the timing generator 15 is asserted, the frequency division sequence control circuit 18 is in the state of the frequency division number control signals MXCNT, DVCNT1 and DVCNT2. To maintain.

(ii)現サイクルが分周数Pであり、次サイクルにおける最終分周信号DOの分周数がP+0.5の場合:
現サイクルにおいて、可変整数分周器1Aがマスタとして動作している状態を考える。分周シーケンス制御回路18は、経路選択信号MXCNTをマスタの可変整数分周器1Aの出力するサブ分周信号DO1を選択する状態に設定し、また、分周数設定信号DVCNT1およびDVCNT2を、ともに分周数Pを指定する状態に設定している。
(Ii) When the current cycle is the frequency division number P and the frequency division number of the final frequency division signal DO in the next cycle is P + 0.5:
Consider a state in which the variable integer frequency divider 1A is operating as a master in the current cycle. The frequency division sequence control circuit 18 sets the path selection signal MXCNT to a state in which the sub frequency division signal DO1 output from the master variable integer frequency divider 1A is selected, and both the frequency division number setting signals DVCNT1 and DVCNT2 are set. The frequency division number P is set to be designated.

タイミング発生器15が、切換イネーブル信号ENをアサートすると、分周シーケンス制御回路18は、マスタの可変整数分周器1Aに対する分数設定信号DVCNT1を、分周数Pを指定する状態に設定し、また、スレーブの可変整数分周器1Bに対する分周数設定信号DVCNT2を分周数Pを指定する状態に設定する。経路選択信号MXCNTおよび分周数設定信号DVCNT1は、現サイクルにおいては変更されない。   When the timing generator 15 asserts the switching enable signal EN, the frequency division sequence control circuit 18 sets the fraction setting signal DVCNT1 for the master variable integer frequency divider 1A to a state in which the frequency division number P is designated. Then, the frequency division number setting signal DVCNT2 for the slave variable integer frequency divider 1B is set to a state in which the frequency division number P is designated. The route selection signal MXCNT and the frequency division number setting signal DVCNT1 are not changed in the current cycle.

現サイクルが完了し、次サイクルに入り、タイミング発生器15が、再び、出力分周信号DO1およびDO2に従って切換タイミング信号ENをアサートすると、分周シーケンス制御回路18は、経路選択信号MXCNTを可変整数分周器1Bの出力信号を選択する状態に設定するとともに、マスタ/スレーブレジスタ16の格納データを、可変整数分周器1Bがマスタであることを示す状態に設定する。また、このとき、可変整数分周器1Aに対する分周数設定信号DVCNT1が、分周数P+1を示す状態に設定される。これにより、P+0.5分周信号に対するマスタおよびスレーブの出力する分周信号の時間差関係を常にマスタの分周信号が速く変化する状態に設定する。また、可変整数分周器1Bの出力するサブ分周信号DO2が、選択されると、Hレベル期間がP+0.5クロック、Lレベル期間がP/2クロックとなる最終分周信号DOが生成され、P+0.5分周が実行される。   When the current cycle is completed and the next cycle is entered, and the timing generator 15 asserts the switching timing signal EN again in accordance with the output frequency division signals DO1 and DO2, the frequency division sequence control circuit 18 generates the path selection signal MXCNT as a variable integer. In addition to setting the output signal of the frequency divider 1B, the data stored in the master / slave register 16 is set to a state indicating that the variable integer frequency divider 1B is the master. At this time, the frequency division number setting signal DVCNT1 for the variable integer frequency divider 1A is set to a state indicating the frequency division number P + 1. As a result, the time difference between the frequency-divided signals output from the master and the slave with respect to the P + 0.5 frequency-divided signal is always set to a state in which the frequency-divided signal from the master changes rapidly. When the sub-frequency-divided signal DO2 output from the variable integer frequency divider 1B is selected, a final frequency-divided signal DO having an H level period of P + 0.5 clock and an L level period of P / 2 clock is generated. , P + 0.5 division is performed.

(iii)現サイクルが分周数P+0.5であり、次サイクルが分周数Pの場合:
現サイクルにおいてマスタが、可変整数分周器1Aであるとする。この場合、現サイクルにおいて、経路選択信号MXCNTは、マスタの可変整数分周器1Aの出力分周信号DO1を選択する状態に設定され、また、可変分周数選択信号DVCNT1およびDVCNT2は、分周数Pに設定されている。
(Iii) When the current cycle is the frequency division number P + 0.5 and the next cycle is the frequency division number P:
Assume that the master is the variable integer frequency divider 1A in the current cycle. In this case, in the current cycle, the path selection signal MXCNT is set to select the output frequency division signal DO1 of the master variable integer frequency divider 1A, and the variable frequency division number selection signals DVCNT1 and DVCNT2 are divided. The number P is set.

現サイクルにおいて、タイミング発生器15からの切換イネーブル信号ENがアサートされると、分周シーケンス制御回路18は、経路選択信号MXCNTを現在スレーブの可変整数分周器1Bの出力分周信号DO2を選択する状態に設定するとともに、分周数設定信号DVCNT1を分周数P+1を指定する状態に設定する。分周数設定信号DVCNT2は、分周数Pを指定する状態に維持される。また、マスタ/スレーブレジスタ16の格納データを、可変整数分周器1Bをマスタとして指定する状態に設定する。これにより、可変整数分周器1Bの出力信号DO2が選択されて最終分周信号DOが生成される。このとき、最終分周信号DOのHレベル期間が、サブ分周信号DO2により0.5クロック長くされ、P+0.5分周信号が生成される。   In the current cycle, when the switching enable signal EN from the timing generator 15 is asserted, the frequency division sequence control circuit 18 selects the output frequency division signal DO2 of the variable integer frequency divider 1B of the current slave as the path selection signal MXCNT. And the frequency division number setting signal DVCNT1 is set to a state in which the frequency division number P + 1 is designated. The frequency division number setting signal DVCNT2 is maintained in a state in which the frequency division number P is designated. Further, the data stored in the master / slave register 16 is set to a state in which the variable integer frequency divider 1B is designated as a master. As a result, the output signal DO2 of the variable integer frequency divider 1B is selected, and the final frequency-divided signal DO is generated. At this time, the H level period of the final frequency-divided signal DO is extended by 0.5 clocks by the sub-frequency-divided signal DO2, and a P + 0.5 frequency-divided signal is generated.

現サイクルが完了すると、次のサイクルにおいて、タイミング発生器15の出力する切換イネーブル信号ENがアサートされると、分周シーケンス制御回路18は、分周数設定信号DVCNT1を、分周数Pを指定する状態に設定する。分周数設定信号DVCNT2は、分周数Pを指定する状態に維持され、また、経路選択信号MXCNTも、マスタの可変整数分周器1Bの出力信号DO2を選択する状態に維持される。これにより、分周数P+0.5から分周数Pに更新された場合においても、次サイクルにおいてマスタおよびスレーブの出力信号の位相関係を維持することができる。次サイクルにおいては、マスタの可変整数分周器1Bの出力信号DO2に従って、P分周された最終分周信号DOが生成される。   When the current cycle is completed, when the switching enable signal EN output from the timing generator 15 is asserted in the next cycle, the frequency division sequence control circuit 18 designates the frequency division number setting signal DVCNT1 and the frequency division number P. Set to the state to be used. The frequency division number setting signal DVCNT2 is maintained in a state in which the frequency division number P is designated, and the path selection signal MXCNT is also maintained in a state in which the output signal DO2 of the master variable integer frequency divider 1B is selected. Thereby, even when the frequency division number P + 0.5 is updated to the frequency division number P, the phase relationship between the output signals of the master and the slave can be maintained in the next cycle. In the next cycle, the final frequency-divided signal DO divided by P is generated in accordance with the output signal DO2 of the variable integer frequency divider 1B of the master.

(iv)現サイクルが分周数P+0.5であり次サイクルが分周数P+0.5の場合:
今、現サイクルにおいてマスタが、可変整数分周器1Aである状態を考える。現サイクル開始時においては、経路選択信号MXCNTは、マスタの可変整数分周器1Aの出力分周信号DO1を選択する状態に設定されている。分周数設定信号DVCNT1は、分周数Pを指定する状態であり、また、分周数設定信号DVCNT2も、分周数Pを指定する状態である。
(Iv) When the current cycle is the frequency division number P + 0.5 and the next cycle is the frequency division number P + 0.5:
Consider a state in which the master is a variable integer frequency divider 1A in the current cycle. At the start of the current cycle, the path selection signal MXCNT is set to select the output frequency division signal DO1 of the master variable integer frequency divider 1A. The frequency division number setting signal DVCNT1 is a state for designating the frequency division number P, and the frequency division number setting signal DVCNT2 is also a state for designating the frequency division number P.

現サイクルにおいて、タイミング発生器15の出力する切換イネーブル信号ENがアサートされると、分周シーケンス制御回路18は、経路選択信号MXCNTをスレーブの可変整数分周器1Bの出力分周信号DO2を選択する状態に設定するとともに、マスタ/スレーブレジスタ16の格納データを、可変整数分周器1Bがマスタであることを示す状態に設定する。このときまた、可変整数分周器1Aに対する分周数設定信号DVCNT1が、分周数P+1を指定する状態に設定される。現サイクルにおいて、可変整数分周器1Bの出力信号DO2に従って、最終分周信号DOのHレベル期間がP/2+0.5となり、P+0.5分周された最終分周信号DOが生成される。   When the switching enable signal EN output from the timing generator 15 is asserted in the current cycle, the frequency division sequence control circuit 18 selects the output frequency division signal DO2 of the slave variable integer frequency divider 1B as the path selection signal MXCNT. And the data stored in the master / slave register 16 are set to a state indicating that the variable integer frequency divider 1B is the master. At this time, the frequency division number setting signal DVCNT1 for the variable integer frequency divider 1A is set to a state for designating the frequency division number P + 1. In the current cycle, according to the output signal DO2 of the variable integer frequency divider 1B, the H level period of the final divided signal DO becomes P / 2 + 0.5, and the final divided signal DO divided by P + 0.5 is generated.

次サイクルにおいて、再び、タイミング発生器15からの切換イネーブル信号ENがアサートされると、分周シーケンス制御回路18は、経路選択信号MXCNTを可変整数分周器1Aの出力分周信号DO1を選択する状態に設定するとともに、マスタ/スレーブレジスタ16の記憶データを、可変整数分周器1Aがマスタであることを示す状態に設定する。また、このとき、分周シーケンス制御回路18は、分周数設定信号DVCNT1を分周数Pを指定する状態に設定するとともに、分周数設定信号DVCNT2を分周数P+0.5を指定する状態に設定する。可変整数分周器1Aの出力信号DO1に従って、P+0.5分周された最終分周信号DOが生成される。   When the switching enable signal EN from the timing generator 15 is asserted again in the next cycle, the frequency division sequence control circuit 18 selects the output frequency division signal DO1 of the variable integer frequency divider 1A for the path selection signal MXCNT. At the same time, the data stored in the master / slave register 16 is set to a state indicating that the variable integer frequency divider 1A is the master. At this time, the frequency division sequence control circuit 18 sets the frequency division number setting signal DVCNT1 to a state for designating the frequency division number P, and sets the frequency division number setting signal DVCNT2 to the frequency division number P + 0.5. Set to. According to the output signal DO1 of the variable integer frequency divider 1A, a final frequency-divided signal DO divided by P + 0.5 is generated.

P+0.5分周動作が継続して実行される場合、各分周クロックサイクルにおいて、毛色選択信号MXCNT、および分周数設定信号DVCNT1およびDVCNT2の論理状態を反転させる。   When the P + 0.5 frequency division operation is continuously executed, the logic states of the hair color selection signal MXCNT and the frequency division number setting signals DVCNT1 and DVCNT2 are inverted in each frequency division clock cycle.

なお、上述の説明においては、可変整数分周器1Aおよび1Bおよび経路切換回路2の出力信号DO1、DO2およびDOは、シングルエンドの信号であるように示す。しかしながら、これらの分周信号DO1、DO2およびDOは、相補信号で構成される差動信号であってもよい。   In the above description, the variable integer frequency dividers 1A and 1B and the output signals DO1, DO2, and DO of the path switching circuit 2 are shown as being single-ended signals. However, these frequency-divided signals DO1, DO2, and DO may be differential signals composed of complementary signals.

また、分周数制御信号MXCNT、DVCNT1およびDVCNT2は、同一タイミングで、それらの論理状態が設定される必要はなく、分周数制御信号MXCNT、DVCNT1およびDVCNT2の設定に対する時間的余裕の範囲内で個々に制御されてもよい。   Further, the frequency division number control signals MXCNT, DVCNT1 and DVCNT2 do not need to have their logic states set at the same timing, and are within the time margin for setting the frequency division number control signals MXCNT, DVCNT1 and DVCNT2. It may be controlled individually.

また、PおよびP+1分周時における可変整数分周器1Aおよび1Bの出力分周信号DO1およびDO2のHレベル期間およびLレベル期間の時間関係は、図3および図4に示す関係に限定されない。分周動作途中における分周数設定信号DVCNT1およびDVCNT2による分周数切換が反映可能な時間範囲内において、サブ分周信号DO1およびDO2の論理レベルが同じとなる時間長さが長くされてもよい。この長い同一論理レベル期間内において分周制御信号MXCNT、DVCNT1およびDVCNT2を制御することにより、分周切換タイミングに対する許容時間範囲は、図5および図6に示す許容範囲よりも長くすることができる場合がある。一例として、分周数が8の場合、5クロックサイクル期間Hレベルとなり、3クロック期間Lレベルとなり、分周数が9の場合、5クロックサイクル期間Hレベルとなり、4クロックサイクル期間Lレベルとなる分周信号をプログラマブルカウンタを用いて生成する。マスタおよびスレーブの可変整数分周器の出力信号の位相は、0.5クロックサイクルあるものとする。この場合、分周数制御信号の制御タイミングとして、4クロックサイクル期間確保することが可能となり、連続する2つの制御タイミング切換として、最低8クロックサイクル期間確保することができる。   Further, the time relationship between the H level period and the L level period of the output frequency division signals DO1 and DO2 of the variable integer frequency dividers 1A and 1B at the time of P and P + 1 frequency division is not limited to the relationship shown in FIGS. The time length during which the logical levels of the sub-frequency-divided signals DO1 and DO2 are the same may be increased within a time range in which the frequency-number switching by the frequency-dividing number setting signals DVCNT1 and DVCNT2 can be reflected during the frequency-dividing operation. . When the frequency division control signals MXCNT, DVCNT1 and DVCNT2 are controlled within this long same logic level period, the allowable time range for the frequency division switching timing can be made longer than the allowable range shown in FIG. 5 and FIG. There is. As an example, when the frequency division number is 8, the clock level becomes H level for 5 clock cycles and becomes L level for 3 clock periods, and when the frequency division number is 9, it becomes H level for 5 clock cycles and becomes L level for 4 clock cycles. A frequency-divided signal is generated using a programmable counter. Assume that the phase of the output signal of the master and slave variable integer dividers is 0.5 clock cycles. In this case, 4 clock cycle periods can be secured as the control timing of the frequency division number control signal, and at least 8 clock cycle periods can be secured as two consecutive control timing switches.

以上のように、この発明の実施の形態1に従えば、PおよびP+1の分周数で分周可能な可変整数分周器を2つ並列に設け、この分周出力信号の位相を半クロックサイクルずらせ、これらの分周器の出力信号を経路選択回路により選択して最終分周信号を生成している。したがって、分周数切換のタイミングの時間的余裕を大きくすることができ、高速の入力クロック信号に対しても正確に、分周数を変更することができる。   As described above, according to the first embodiment of the present invention, two variable integer frequency dividers that can divide by P and P + 1 are provided in parallel, and the phase of this divided output signal is set to a half clock. The output signals of these frequency dividers are selected by the path selection circuit to generate the final frequency divided signal. Therefore, the time margin of the timing for switching the frequency division number can be increased, and the frequency division number can be accurately changed even for a high-speed input clock signal.

[実施の形態2]
図12は、この発明の実施の形態2に従う分周回路の動作を示すタイミング図である。この実施の形態2における分周回路の構成は、図1に示す実施の形態1に従う分周回路の構成と同じである。従って、入力クロック信号および分周数制御信号としては、実施の形態1と同様の信号が用いられ、図12においては、これらの信号を同一の符号で示す。
[Embodiment 2]
FIG. 12 is a timing diagram representing an operation of the frequency dividing circuit according to the second embodiment of the present invention. The configuration of the frequency dividing circuit in the second embodiment is the same as that of the frequency dividing circuit according to the first embodiment shown in FIG. Therefore, the same signals as those in the first embodiment are used as the input clock signal and the frequency division number control signal, and these signals are denoted by the same reference numerals in FIG.

この図12に示す動作シーケンスにおいては、P+0.5分周とP+1分周の切換を行なう。図12においては、分周数Pが8の場合を一例として示す。以下、図12を参照して、9分周と8.5分周の切換動作について説明する。   In the operation sequence shown in FIG. 12, switching between P + 0.5 frequency division and P + 1 frequency division is performed. In FIG. 12, the case where the frequency dividing number P is 8 is shown as an example. Hereinafter, with reference to FIG. 12, the switching operation between the 9 frequency division and the 8.5 frequency division will be described.

図12において、時刻T0から時刻T5の間が、9分周動作が行なわれる期間である。この期間においては、経路選択信号MXCNTはHレベルであり、可変整数分周器1Aの出力するサブ分周信号DO1が最終分周信号DOとして選択されて出力される。分周数ッ設定信号DVCNT1およびDVCNT2はともにHレベルであり、可変整数分周器1Aおよび1Bに対して9分周動作が指定される。従って、この期間においては、マスタの可変整数分周器1Aの出力信号に従って、9分周信号が出力される。   In FIG. 12, the period from time T0 to time T5 is a period during which the frequency division operation is performed. During this period, the path selection signal MXCNT is at the H level, and the sub-frequency-divided signal DO1 output from the variable integer frequency divider 1A is selected and output as the final frequency-divided signal DO. Frequency division number setting signals DVCNT1 and DVCNT2 are both at the H level, and a frequency division operation of 9 is designated for variable integer frequency dividers 1A and 1B. Accordingly, during this period, a frequency-divided signal of 9 is output in accordance with the output signal of the master variable integer frequency divider 1A.

時刻T5から時刻T6の間の期間が、8.5分周動作の期間である。この期間においては、サブ分周信号DO1およびDO2がともにHレベルの期間の間の時刻T6aにおいて、経路選択信号MXCNTをLレベルに切換え、そのときのスレーブの可変整数分周器1Bが出力するサブ分周信号DO2を選択する。また、分周数設定信号DVCNT2をLレベルに設定し、可変整数分周器1Bの分周数Pを8分周に指定する。分周数設定信号DVCNT1は、Hレベルに維持される。   A period between time T5 and time T6 is a period of 8.5 frequency division operation. In this period, the path selection signal MXCNT is switched to the L level at time T6a during the period in which both the sub-divided signals DO1 and DO2 are at the H level, and the slave variable integer frequency divider 1B at that time outputs the sub Select the divided signal DO2. Further, the frequency division number setting signal DVCNT2 is set to L level, and the frequency division number P of the variable integer frequency divider 1B is designated to be frequency division by 8. Frequency division number setting signal DVCNT1 is maintained at the H level.

したがって、期間T5からT6においては、最終分周信号DOは、Hレベル期間が4.5クロックサイクル、Lレベル期間が、4クロックサイクル期間となり、8.5クロックサイクルの周期の最終分周信号DOが生成される。   Therefore, in the period T5 to T6, the final frequency division signal DO is 4.5 clock cycles in the H level period and 4 clock cycle periods in the L level period, and the final frequency division signal DO in the period of 8.5 clock cycles. Is generated.

次いで、8.5分周動作から9分周動作に切換えられ、時刻T6から時刻T7の期間において再び9分周動作が実行される。時刻T6において、可変整数分周器1Bの出力するサブ分周信号DO2がHレベルに立上がったとき、スレーブの可変整数分周器1Aの出力するサブ分周信号DO1は、まだLレベルであり、半クロックサイクル経過後にHレベルに立上がる。   Next, the 8.5 frequency dividing operation is switched to the 9 frequency dividing operation, and the 9 frequency dividing operation is performed again in the period from time T6 to time T7. At time T6, when the sub divided signal DO2 output from the variable integer frequency divider 1B rises to H level, the sub divided signal DO1 output from the slave variable integer frequency divider 1A is still at the L level. Then, it rises to H level after a half clock cycle elapses.

これらのサブ分周信号DO1およびDO2がともにHレベルの期間の、たとえば時刻T7aにおいて、再び分周数設定信号DVCNT2をHレベルに立上げ、可変整数分周器1Bに対して9分周動作を指定する。経路選択信号MXCNTはLレベルに維持され、また、分周数設定信号DVCNT1はHレベルに維持される。したがって、最終分周信号DOとして、サブ分周信号DO2が選択され、可変整数分周器1Bの9分周動作に従って9分周された最終分周信号DOが生成される。   For example, at time T7a when both of the sub-divided signals DO1 and DO2 are at the H level, the frequency division number setting signal DVCNT2 is raised again to the H level, and the variable integer frequency divider 1B performs the frequency dividing operation by 9 specify. The path selection signal MXCNT is maintained at the L level, and the frequency division number setting signal DVCNT1 is maintained at the H level. Therefore, the sub-frequency-divided signal DO2 is selected as the final frequency-divided signal DO, and the final frequency-divided signal DO divided by 9 is generated in accordance with the frequency-dividing operation by 9 of the variable integer frequency divider 1B.

9分周信号を継続して得る場合には、可変整数分周器1Aおよび1B両者を9分周動作に設定し、マスタの出力するサブ分周信号を選択する。8.5分周信号を継続して得る場合には、経路選択信号を各クロックサイクルごとに切換えるとともに、分周数設定信号DVCNT1およびDVCNT2を、9分周動作および8分周動作で交互に切換え、マスタの可変整数分周器の分周数を8分周動作に設定し、また、スレーブの可変整数分周器の分周数を9分周動作に設定する。   In the case of continuously obtaining the frequency division signal of 9, the variable integer frequency dividers 1A and 1B are both set to the frequency division operation of 9, and the sub frequency division signal output from the master is selected. When the 8.5 frequency division signal is continuously obtained, the path selection signal is switched every clock cycle, and the frequency division number setting signals DVCNT1 and DVCNT2 are alternately switched by the frequency division operation and the frequency division operation of 8. The frequency division number of the master variable integer frequency divider is set to the frequency division operation of 8, and the frequency division number of the slave variable integer frequency divider is set to the frequency division operation of 9.

9分周動作から8.5分周動作に切換える場合の分周制御信号の時間的余裕は、図12に示すように、時刻T6bから時刻T6cまでの3.5クロックサイクル期間存在し、また、9分周動作切換時においても、時刻T7bから時刻T7cまでの3.5クロックサイクル期間、分周制御信号の設定に対する時間的余裕が存在する。   As shown in FIG. 12, the time margin of the frequency division control signal when switching from the frequency division 9 operation to the frequency division 8.5 operation is 3.5 clock cycle periods from time T6b to time T6c. Even at the time of switching the frequency division operation by 9, there is a time margin for setting the frequency division control signal during the 3.5 clock cycle period from time T7b to time T7c.

また、分周数制御信号を一旦設定した後次いで設定するまでには、時刻T6cから時刻T7bまでの最低でも5.0クロックサイクル期間存在する。したがって、8.5分周動作を実行するための分周制御信号の設定は、3.5クロックサイクルの間の任意の時刻に行うことができる。また、次いで9分周動作を実行するための分周数制御信号の設定までには、8.5クロックサイクルの時間的余裕が存在する。   Further, there is at least a 5.0 clock cycle period from the time T6c to the time T7b before the frequency division number control signal is once set and then set. Therefore, the setting of the frequency division control signal for executing the 8.5 frequency division operation can be performed at an arbitrary time during 3.5 clock cycles. In addition, there is a time margin of 8.5 clock cycles until the setting of the frequency division number control signal for performing the next frequency division operation.

一方、9分周動作から8.5分周動作への切換における分周数制御信号の時間的余裕は、同様、3.5クロックサイクル存在し、また、分周数制御信号を一旦設定した後に次に、8.5分周動作を設定するまでには、最低でも5.5クロックサイクル期間の時間が存在する。したがって9分周動作から8.5分周動作への切換に対しては、9クロックサイクルの時間的余裕が存在する。   On the other hand, the time margin of the frequency dividing number control signal in switching from the frequency dividing operation of 9 to the frequency dividing operation of 8.5 is similarly 3.5 clock cycles, and after the frequency dividing number control signal is once set. Next, there is at least a period of 5.5 clock cycles before the 8.5 frequency division operation is set. Therefore, there is a time margin of 9 clock cycles for switching from the 9 frequency dividing operation to the 8.5 frequency dividing operation.

以上のように、分周数をP+1とP+0.5の間で切換える場合においても、分周数制御信号設定の時間的余裕は、P/2−0.5クロックサイクル存在し、また、分周数制御信号の状態切換の間隔は、最低でも、(P+1)/2+0.5クロックサイクル期間存在する。したがって、分周数制御信号の設定間隔を長くすることができ、分周数制御信号を低速で制御することができる。   As described above, even when the frequency dividing number is switched between P + 1 and P + 0.5, the time margin for setting the frequency dividing number control signal is P / 2−0.5 clock cycles, and the frequency dividing number The interval of the state control of the number control signal is at least (P + 1) /2+0.5 clock cycle period. Therefore, the setting interval of the frequency division number control signal can be lengthened, and the frequency division number control signal can be controlled at a low speed.

なお、この図12に示す動作タイミングを実現するための制御回路の構成としては、実施の形態1において図11を参照して説明した制御信号発生部の構成を利用することができる。分周数選択回路17における分周数に従って、分周シーケンス制御回路18が、所定のシーケンスで、分周数制御信号MXCNT、DVCNT1およびDVCNT2の状態(論理値)を設定する。   As the configuration of the control circuit for realizing the operation timing shown in FIG. 12, the configuration of the control signal generation unit described in Embodiment 1 with reference to FIG. 11 can be used. According to the frequency division number in frequency division number selection circuit 17, frequency division sequence control circuit 18 sets the state (logical value) of frequency division number control signals MXCNT, DVCNT1 and DVCNT2 in a predetermined sequence.

[実施の形態3]
図13から図15は、この発明の実施の形態3に従う分周回路の動作を示すタイミング図である。この実施の形態3においては、分周数P、P+0.5およびP+1の3種類の分周数で分周動作を行なう。図13から図15においては、一例として、分周数Pが8の場合の動作シーケンスを示す。
[Embodiment 3]
13 to 15 are timing diagrams showing the operation of the frequency dividing circuit according to the third embodiment of the present invention. In the third embodiment, the frequency dividing operation is performed with three types of frequency dividing numbers P, P + 0.5, and P + 1. 13 to 15 show an operation sequence when the frequency dividing number P is 8 as an example.

この発明の実施の形態3において用いられる分周回路の全体の構成は、図1に示す分周回路の構成と同じであり、分周制御信号および入力クロック信号としては、実施の形態1と同様の信号が用いられる。したがって、これらの入力クロック信号および分周数制御信号に対しては、実施の形態1と同様の符号を用いる。以下、図13から図15を順次参照して、この発明の実施の形態3における分周動作について分周数Pが8の場合を一例として説明する。   The overall configuration of the frequency divider used in the third embodiment of the present invention is the same as that of the frequency divider shown in FIG. 1, and the frequency division control signal and the input clock signal are the same as those in the first embodiment. These signals are used. Therefore, the same reference numerals as those in the first embodiment are used for these input clock signal and frequency division number control signal. Hereinafter, with reference to FIGS. 13 to 15 in sequence, the frequency dividing operation according to the third embodiment of the present invention will be described as an example where the frequency dividing number P is 8.

先ず、図13を参照して、分周数Pが、8、8.5および9と順次切換えられる場合の動作について説明する。   First, referring to FIG. 13, the operation when the frequency dividing number P is sequentially switched to 8, 8.5, and 9 will be described.

図13において、時刻T0から時刻T8の間の期間が8分周動作期間である。この場合、このサイクルの初期状態においては、経路選択信号MXCNTはHレベルに設定され、また、分周数設定信号DVCNT1がLレベルである。時刻T8aにおいて、分周選択信号DVCNT2をLレベルに立下げ、可変整数分周器1Bの分周数を8に設定する。経路選択信号MXCNTおよび分周数設定信号DVCNT1は、その状態は維持される。   In FIG. 13, the period between time T0 and time T8 is the divide-by-8 operation period. In this case, in the initial state of this cycle, path selection signal MXCNT is set to H level, and frequency division number setting signal DVCNT1 is at L level. At time T8a, the frequency division selection signal DVCNT2 falls to the L level, and the frequency division number of the variable integer frequency divider 1B is set to 8. The state of the route selection signal MXCNT and the frequency division number setting signal DVCNT1 is maintained.

この状態においては、可変整数分周器1Aの出力信号DO1が最終分周信号DOとして選択される。したがって、期間T0−T8においては、可変整数分周器1Aがマスタとして動作し、分周数8の分周信号が生成される。   In this state, the output signal DO1 of the variable integer divider 1A is selected as the final divided signal DO. Therefore, in the period T0-T8, the variable integer frequency divider 1A operates as a master, and a frequency-divided signal with a frequency division number of 8 is generated.

時刻T8から始まるサイクルにおいては、可変整数分周器1Aがマスタ、可変整数分周器がスレーブである。これらの可変整数分周器1Aおよび1Bの分周数は、時刻T8においては、8である。このサイクルにおいて、8.5分周動作を実現するため、時刻T9aにおいて、経路選択信号MXCNTがLレベルに設定され、可変整数分周器1Bの出力信号DO2が最終分周信号DOとして選択される。このとき、また分周数選択信号DVCNT1がHレベルに設定され、可変整数分周器1Aの分周数が9に設定される。可変分周数選択信号DVCNT2はLレベルに維持される。   In the cycle starting from time T8, the variable integer frequency divider 1A is the master and the variable integer frequency divider is the slave. The frequency division number of these variable integer frequency dividers 1A and 1B is 8 at time T8. In this cycle, in order to realize the 8.5 frequency division operation, at time T9a, the path selection signal MXCNT is set to the L level, and the output signal DO2 of the variable integer frequency divider 1B is selected as the final frequency division signal DO. . At this time, the frequency division number selection signal DVCNT1 is set to the H level, and the frequency division number of the variable integer frequency divider 1A is set to 9. Variable frequency division number selection signal DVCNT2 is maintained at the L level.

したがって、時刻T8から時刻T9の間のサイクルにおいては、Hレベル期間が4.5クロックサイクル、Lレベル期間が4クロックサイクルの8.5分周された信号が生成される。   Therefore, in the cycle between time T8 and time T9, a signal divided by 8.5, in which the H level period is 4.5 clock cycles and the L level period is 4 clock cycles, is generated.

時刻T9から時刻T10の間の期間において、9分周動作が実行される。先の時刻T9aにおいて分周数選択信号DVCNT1がHレベルに設定されており、このサイクル開始時の時刻T9においては、可変整数分周器1Aの出力分周信号DO1の位相は、可変整数分周器1Bの出力する分周信号DO2よりも半クロックサイクル遅れており、マスタおよびスレーブの出力する分周信号の位相関係は維持されている。   In the period between time T9 and time T10, the 9-frequency division operation is executed. The frequency division number selection signal DVCNT1 is set to the H level at the previous time T9a. At the time T9 at the start of this cycle, the phase of the output frequency division signal DO1 of the variable integer frequency divider 1A is variable integer frequency division. The half-clock cycle is delayed from the frequency-divided signal DO2 output from the device 1B, and the phase relationship between the frequency-divided signals output from the master and the slave is maintained.

時刻T10aにおいて、分周数設定信号DVCNT2をLレベルからHレベルに設定し、可変整数分周器1Bの分周数を9に設定する。可変整数分周器1Aの分周数設定信号DVCNT1はHレベルに維持され、可変整数分周器1Aは9分周動作を持続する。経路選択信号MXCNTは、Lレベルであり、マスタの可変整数分周器1Bの出力信号を選択する。したがって、この場合、マスタとして動作する可変整数分周器1Bの出力する分周信号DO2が9分周信号であり、最終分周信号DOとして、サブ分周信号DO2に従って9分周された信号が得られる。   At time T10a, the frequency division number setting signal DVCNT2 is set from L level to H level, and the frequency division number of the variable integer frequency divider 1B is set to 9. The frequency division number setting signal DVCNT1 of the variable integer frequency divider 1A is maintained at the H level, and the variable integer frequency divider 1A continues the frequency division operation of 9. The path selection signal MXCNT is at the L level, and selects the output signal of the master variable integer frequency divider 1B. Therefore, in this case, the frequency-divided signal DO2 output from the variable integer frequency divider 1B operating as a master is a frequency-divided signal by 9, and the final frequency-divided signal DO is a signal that has been frequency-divided by 9 according to the sub-frequency-divided signal DO2. can get.

図13に示す分周シーケンスにおいて、分周数制御信号設定の時間的余裕は、3.5クロックサイクルである。分周数制御信号の切換の間の時間的余裕は、時刻T8cから時刻T9bまでが4.5クロックサイクルであり、この場合、合計8.0クロックサイクルの余裕がある。一方、8.5クロック分周から9分周を行なう場合には、時刻T9cから時刻T10bまでの期間が5クロックサイクルとなるため、時刻T9cから時刻T10cまでの8.5クロックサイクルの時間的余裕が存在する。   In the frequency dividing sequence shown in FIG. 13, the time margin for setting the frequency dividing number control signal is 3.5 clock cycles. The time margin between switching of the frequency division number control signal is 4.5 clock cycles from time T8c to time T9b. In this case, there is a total of 8.0 clock cycles. On the other hand, in the case of dividing from 8.5 clock division to 9 divisions, the period from time T9c to time T10b is 5 clock cycles, so there is a time margin of 8.5 clock cycles from time T9c to time T10c. Exists.

図14においては、分周数Pが8の場合において、9分周動作、8.5分周動作および8分周動作が続いて実行される場合の分周動作を示す。   FIG. 14 shows the frequency dividing operation when the frequency dividing number P is 8, and the frequency dividing operation of 9, the frequency dividing operation of 8.5, and the frequency dividing operation of 8 are successively executed.

時刻T0から時刻T11においては、可変整数分周器1Aがマスタとして動作し、その出力信号DO1に従って最終分周信号DOが生成される。この場合、分周数選択信号DVCNT1およびDVCNT2はともにHレベルに設定されており、可変整数分周器1Aおよび1Bがともに9分周動作を実行している。従って、この期間T0からT11においては、9分周された信号が最終分周信号DOとして生成される。   From time T0 to time T11, the variable integer frequency divider 1A operates as a master, and a final frequency-divided signal DO is generated according to the output signal DO1. In this case, frequency division number selection signals DVCNT1 and DVCNT2 are both set to the H level, and variable integer frequency dividers 1A and 1B are both performing a frequency division operation of 9. Therefore, in this period T0 to T11, a signal divided by 9 is generated as the final divided signal DO.

時刻T11から時刻T12の期間において、8.5分周動作が実行される。時刻T11においては、可変整数分周器1Aがマスタとして動作し、サブ分周信号DO1が、最終分周信号DOとして選択されて出力される。   In the period from time T11 to time T12, 8.5 frequency division operation is executed. At time T11, the variable integer frequency divider 1A operates as a master, and the sub-frequency-divided signal DO1 is selected and output as the final frequency-divided signal DO.

サブ分周信号DO1およびDO2がともにHレベルの時刻T12aにおいて、経路選択信号MXCNTをHレベルからLレベルに立下げ、また、可変整数分周器1Bの分周数設定信号DVCNT2をLレベルに設定し、可変整数分周器に8分周動作を実行させる。可変整数分周器1Aに対する分周数設定信号DVCNT1はHレベルであり、可変整数分周器1Aは9分周動作を実行する。   At time T12a when both the sub-divided signals DO1 and DO2 are at the H level, the path selection signal MXCNT falls from the H level to the L level, and the frequency division number setting signal DVCNT2 of the variable integer frequency divider 1B is set to the L level. Then, the variable integer frequency divider is caused to execute the dividing operation by 8. The frequency division number setting signal DVCNT1 for the variable integer frequency divider 1A is at the H level, and the variable integer frequency divider 1A executes the frequency division operation by 9.

したがって、最終分周信号DOは、時刻T12a以降、可変整数分周器1Bの出力するサブ分周信号DO2に従って生成され、Hレベル期間が4.5クロックサイクル、Lレベル期間が4.0クロックサイクル期間となり、8.5分周された信号が生成される。   Therefore, after time T12a, final frequency division signal DO is generated according to sub frequency division signal DO2 output from variable integer frequency divider 1B, and H level period is 4.5 clock cycles and L level period is 4.0 clock cycles. A period is generated and a signal divided by 8.5 is generated.

次の時刻T12から時刻T13の期間において8分周動作が実行される。時刻T12においては、可変整数分周器1Aの出力する分周信号DO1は、可変整数分周器1Bの出力する分周信号DO2よりも位相が半クロックサイクル遅れており、マスタおよびスレーブの分周器の出力信号の位相関係は維持される。   In the period from the next time T12 to time T13, the divide-by-8 operation is executed. At time T12, the divided signal DO1 output from the variable integer divider 1A is delayed in phase by a half clock cycle from the divided signal DO2 output from the variable integer divider 1B. The phase relationship of the output signal of the instrument is maintained.

時刻T13aにおいて、分周数選択信号DVCNT1をHレベルからLレベルに設定し、可変整数分周器1Aの分周数を8に設定する。経路選択信号MXCNTは、Lレベルに維持され、可変整数分周器1Bがマスタとして動作する。可変整数分周器1Bは、8分周動作を実行している。したがって、時刻T12から時刻T13のサイクルにおいては、可変整数分周器1Bの生成する信号DO2に従って8分周された信号が最終分周信号DOとして生成される。   At time T13a, the frequency division number selection signal DVCNT1 is set from H level to L level, and the frequency division number of the variable integer frequency divider 1A is set to 8. The path selection signal MXCNT is maintained at the L level, and the variable integer frequency divider 1B operates as a master. The variable integer frequency divider 1B performs a frequency division operation. Therefore, in the cycle from time T12 to time T13, a signal divided by 8 according to the signal DO2 generated by the variable integer frequency divider 1B is generated as the final frequency-divided signal DO.

時刻T13aにおいてスレーブの可変整数分周器1Aの分周数を8に設定することにより、この時刻T13においても、依然マスタおよびスレーブの出力信号の位相関係を維持することができる。   By setting the frequency division number of the slave variable integer frequency divider 1A to 8 at time T13a, the phase relationship between the output signals of the master and slave can still be maintained at time T13.

図14に示す分周シーケンスにおいても、分周数制御信号の切換タイミングの時間的余裕は、時刻T12bから時刻T12cの間および時刻T13bから時刻T13cの間のそれぞれ、3.5クロックサイクルである。また、分周数制御の間隔は、時刻T12cから時刻T13bにおいて4.5クロックサイクルであり、この場合、時刻T12cから時刻T13cまで、8クロックサイクルの時間的余裕が存在する。一方、時刻T0から時刻T11の間で、分周数制御信号の状態を変更する場合、5.5クロックサイクルと3.5クロックサイクル、合計9クロックサイクルの時間的余裕が存在する。   Also in the frequency dividing sequence shown in FIG. 14, the time margin of the switching timing of the frequency dividing number control signal is 3.5 clock cycles from time T12b to time T12c and from time T13b to time T13c. The frequency division number control interval is 4.5 clock cycles from time T12c to time T13b. In this case, there is a time margin of 8 clock cycles from time T12c to time T13c. On the other hand, when the state of the frequency division number control signal is changed between time T0 and time T11, there is a time margin of 5.5 clock cycles and 3.5 clock cycles, which is a total of 9 clock cycles.

したがって、この場合においても、分周数制御信号の切換タイミング余裕および切換間隔の時間的余裕は、分周数Pに比例して十分大きく設定することができ、低速動作で分周数を切換えることができる。   Therefore, even in this case, the switching timing margin of the frequency division number control signal and the time margin of the switching interval can be set sufficiently large in proportion to the frequency division number P, and the frequency division number can be switched at a low speed operation. Can do.

図15は、分周数Pを8として、8分周、9分周、および8分周が継続して実行される場合の動作を示すタイミング図である。   FIG. 15 is a timing chart showing an operation in the case where the frequency division number P is 8 and the frequency division by 8, the frequency division by 9, and the frequency division by 8 are continuously executed.

時刻T0から時刻T14の間の期間において8分周動作が実行される。このサイクル開始時においては、経路選択信号MXCNTがHレベルに設定され、可変整数分周器1Aがマスタとして動作し、その出力するサブ分周信号DO1が最終分周信号DOとして選択されて出力される。このとき、分周数設定信号DVCNT1およびDVCNT2はともにLレベルであり、可変整数分周器1Aおよび1Bは、ともに、8分周動作を実行している。   In the period between time T0 and time T14, the divide-by-8 operation is performed. At the start of this cycle, the path selection signal MXCNT is set to the H level, the variable integer frequency divider 1A operates as a master, and the output sub-divided signal DO1 is selected and output as the final divided signal DO. The At this time, the frequency division number setting signals DVCNT1 and DVCNT2 are both at the L level, and both the variable integer frequency dividers 1A and 1B are performing the frequency division operation.

時刻T14から時刻T15の間の期間において9分周動作が実行される。時刻T14においては、可変整数分周器1Aがマスタとして選択され、サブ分周信号DO1が最終分周信号DOとして選択されて出力される。このときは、先のサイクルにおいて設定されたように、可変整数分周器1Aおよび1Bは、ともに、8分周動作を行っている。   In the period between time T14 and time T15, the 9-frequency division operation is executed. At time T14, the variable integer frequency divider 1A is selected as the master, and the sub-frequency-divided signal DO1 is selected and output as the final frequency-divided signal DO. At this time, as set in the previous cycle, both the variable integer frequency dividers 1A and 1B are performing the divide-by-8 operation.

サブ分周信号DO1およびDO2がともにHレベルの時刻T15aにおいて、分周数設定信号DVCNT1およびDVCNT2を、ともにHレベルに設定し、可変整数分周器1Aおよび1Bに9分周動作を実行させる。経路選択信号MXCNTはHレベルに維持され、可変整数分周器1Aがマスタとして動作する。したがって、可変整数分周器1Aの出力信号DO1に従って、9分周された信号が最終分周信号DOとして出力される。   At time T15a when both of the sub-divided signals DO1 and DO2 are at the H level, the frequency division number setting signals DVCNT1 and DVCNT2 are both set to the H level, and the variable integer frequency dividers 1A and 1B are caused to execute the dividing operation by 9. The path selection signal MXCNT is maintained at the H level, and the variable integer frequency divider 1A operates as a master. Therefore, a signal divided by 9 is output as the final divided signal DO in accordance with the output signal DO1 of the variable integer frequency divider 1A.

次に再び、時刻T15から時刻T16の間の期間において8分周動作が行なわれる。時刻T15においては、可変整数分周器1Aおよび1Bは、ともに、9分周動作を実行している。サブ分周信号DO1およびDO2がともにHレベルの時刻T16aにおいて、分周数設定信号DVCNT1およびDVCNT2をともにLレベルに設定し、可変整数分周器1Aおよび1Bにともに8分周動作を実行させる。経路選択信号MXCNTは、Hレベルであり、可変整数分周器1Aがマスタとして動作し、したがって、最終分周信号DOとして、サブ分周信号DO1に従って、8分周された信号が生成される。可変整数分周器1Aおよび1Bの分周数をともに8に変更することにより、次サイクル開始時においてマスタおよびスレーブの出力信号の位相関係が維持される。   Next, in the period between time T15 and time T16, the divide-by-8 operation is performed. At time T15, variable integer frequency dividers 1A and 1B are both performing a frequency division operation of 9. At time T16a when both the sub-divided signals DO1 and DO2 are at the H level, the frequency dividing number setting signals DVCNT1 and DVCNT2 are both set to the L level, and both the variable integer frequency dividers 1A and 1B are caused to execute the dividing operation by 8. The path selection signal MXCNT is at the H level, and the variable integer frequency divider 1A operates as a master. Therefore, a signal divided by 8 is generated as the final frequency division signal DO according to the sub frequency division signal DO1. By changing the frequency dividing numbers of the variable integer frequency dividers 1A and 1B to 8, the phase relationship between the output signals of the master and slave is maintained at the start of the next cycle.

この図15において、8分周動作および9分周動作を交互に実行する場合、分周数選択信号DVCNT1およびDVCNT2はともに変更される。いずれのサイクルにおいても、マスタおよびスレーブの出力信号の位相関係を維持するためである。   In FIG. 15, when the frequency dividing operation and the frequency dividing operation are executed alternately, both frequency division number selection signals DVCNT1 and DVCNT2 are changed. This is because the phase relationship between the master and slave output signals is maintained in any cycle.

図15に示す動作シーケンスにおいて、分周数制御信号の設定時間的余裕は、時刻T15bから時刻T15cおよび時刻T16bから時刻T16cにおいて3.5クロックサイクル存在する。一方、分周数制御信号の切換間隔の時間的余裕は、最低でも、時刻T15cから時刻T16bまでの5.5クロックサイクル期間存在し、また、時刻T16bから次の分周制御信号の切換タイミングまでの間隔は、最低でも4.5クロックサイクル存在する。したがって、十分余裕を持って分周数制御信号の状態を切換えることができる。   In the operation sequence shown in FIG. 15, the setting time margin of the frequency division number control signal is 3.5 clock cycles from time T15b to time T15c and from time T16b to time T16c. On the other hand, there is at least a 5.5 clock cycle period from time T15c to time T16b as the time margin of the frequency division number control signal switching interval, and from time T16b to the next frequency division control signal switching timing. The interval is at least 4.5 clock cycles. Therefore, the state of the frequency division number control signal can be switched with a sufficient margin.

以上のように、8分周、8.5分周および9分周のいずれかの分周数から別の分周数に変更する場合、すなわち、P分周、P+0.5分周およびP+1分周の間での最終分周信号の分周数の切換においてもでも、分周数制御信号の時間的余裕は、実施の形態1および2と同様、3.5(=P/2−0.5)クロックサイクル以上存在する。また分周数制御信号を一旦設定した後に次に続いて設定するまでには、最低でも4.5クロックサイクル(=P/2+0.5クロックサイクル)の時間的余裕が存在する。これにより、分周数制御信号の設定間隔が広く、分周数制御信号を低速で制御することができる。   As described above, in the case of changing from any of the dividing frequency of 8, 8, 8.5 and 9 to another dividing number, that is, P dividing, P + 0.5 dividing and P + 1 dividing Even in the switching of the frequency division number of the final frequency division signal between the circumferences, the time margin of the frequency division number control signal is 3.5 (= P / 2-0. 5) Exists for more than clock cycles. In addition, there is a time margin of at least 4.5 clock cycles (= P / 2 + 0.5 clock cycles) before the frequency division number control signal is once set and then subsequently set. Thereby, the setting interval of the frequency division number control signal is wide, and the frequency division number control signal can be controlled at a low speed.

なおこの実施の形態3においても、分周数制御信号MXCNT、DVCNT1およびDVCNT2を生成する部分の構成としては、先の実施の形態1において図11を参照して説明した構成を利用することができる。分周シーケンス制御回路(図9)において、設定された分周数に応じてその分周シーケンスに対応して、分周数制御信号を生成する。   In the third embodiment as well, the configuration described with reference to FIG. 11 in the first embodiment can be used as the configuration for generating the frequency division number control signals MXCNT, DVCNT1 and DVCNT2. . In the frequency division sequence control circuit (FIG. 9), a frequency division number control signal is generated corresponding to the frequency division sequence in accordance with the set frequency division number.

[実施の形態4]
図16は、この発明の実施の形態4に従う可変分数分周器回路の構成を概略的に示す図である。図16において、可変分数分周回路は、実施の形態1と同様、2つの可変整数分周器21Aおよび21Bと、これらの可変整数分周器21Aおよび21Bの出力するサブ分周信号DO1およびDO2を、経路選択信号MXCNTに従って選択する経路切換回路2を含む。
[Embodiment 4]
FIG. 16 schematically shows a structure of a variable fractional frequency divider circuit according to the fourth embodiment of the present invention. In FIG. 16, the variable fractional frequency dividing circuit includes two variable integer frequency dividers 21A and 21B and sub frequency division signals DO1 and DO2 output from these variable integer frequency dividers 21A and 21B, as in the first embodiment. Includes a path switching circuit 2 that selects the signal according to the path selection signal MXCNT.

可変整数分周器21Aおよび21Bは、ともに、連続する2つの整数PおよびP+1を分周数として分数動作を実行することができる。可変整数分周器21Aには、デューティ50%のクロック信号CLK1が与えられ、可変整数分周器21Bには、クロック信号CLK1と相補なデューティ50%のクロック信号CLK1Bが与えられる。可変整数分周器21Aおよび21Bの分周数は、それぞれ分周数設定信号DVCNT1およびDVCNT2により設定される。   Both the variable integer frequency dividers 21A and 21B can execute a fractional operation using two consecutive integers P and P + 1 as a frequency division number. The variable integer frequency divider 21A is supplied with a clock signal CLK1 having a duty of 50%, and the variable integer frequency divider 21B is supplied with a clock signal CLK1B having a duty of 50% complementary to the clock signal CLK1. The frequency division numbers of the variable integer frequency dividers 21A and 21B are set by frequency division number setting signals DVCNT1 and DVCNT2, respectively.

この図16に示す可変分数分周回路の構成においては、可変整数分周器21Aおよび21Bの正相入力に、シングルエンドのクロック信号CLK1およびCLK1Bがそれぞれ与えられる。クロック信号CLK1およびCLK1Bは互いに相補なクロック信号であり、したがって、可変整数分周器21Aおよび21Bの分周開始時点(Hレベルのサブ分周信号を生成する時点)においては、入力クロック信号CLK1の半クロックサイクル期間の位相差が存在する。   In the configuration of the variable fractional frequency dividing circuit shown in FIG. 16, single-ended clock signals CLK1 and CLK1B are applied to the positive phase inputs of variable integer frequency dividers 21A and 21B, respectively. The clock signals CLK1 and CLK1B are complementary to each other. Therefore, at the time when the variable integer dividers 21A and 21B start dividing (when the H-level sub-divided signal is generated), the input clock signal CLK1 There is a phase difference of half clock cycle period.

可変整数分周器21Aおよび21Bは内部構成は同じであり、単に与えられるクロック信号CLK1およびCLK1Bの位相が異なるだけである。したがって、経路切換回路2も、これまでの実施の形態1から3において説明したものと同じ態様で、経路選択信号MXCNTに従って可変整数分周器21Aおよび21Bの出力信号DO1およびDO2を選択する。したがって、図16に示す可変分数分周回路の動作においても、これまでの実施の形態1から3において説明した動作と同様の動作を実現することができる。   The variable integer dividers 21A and 21B have the same internal configuration, and are merely different in the phases of the clock signals CLK1 and CLK1B to be applied. Therefore, path switching circuit 2 also selects output signals DO1 and DO2 of variable integer frequency dividers 21A and 21B according to path selection signal MXCNT in the same manner as described in the first to third embodiments. Therefore, even in the operation of the variable fractional frequency dividing circuit shown in FIG. 16, the same operation as that described in the first to third embodiments can be realized.

この実施の形態4において、可変整数分周器21Aおよび21Bとして、差動クロック信号でなく、シングルエンドのクロック信号に従って動作する回路がライブラリのマクロとして準備されている場合においても、十分に高速動作時においても余裕を持って分数数を切換えることのできる可変分数分周回路を実現することができる。   In the fourth embodiment, the variable integer frequency dividers 21A and 21B operate sufficiently fast even when a circuit that operates according to a single-ended clock signal instead of a differential clock signal is prepared as a library macro. It is possible to realize a variable fractional frequency dividing circuit capable of switching fractions with a margin even at times.

[実施の形態5]
図17は、この発明の実施の形態5に従う分数分周回路の構成を概略的に示す図である。この図17に示す可変分数分周回路においても、2つの可変整数分周器22および23と、経路切換回路2とが設けられる。可変整数分周器22は、デューティ50%のクロック信号CLK2の立上がりに同期してサブ分周信号DO1を生成し、分周動作中においては、分周数設定信号DVCLT1に従って、連続する2つの整数PおよびP+1のいずれかで分周動作を実行する。
[Embodiment 5]
FIG. 17 schematically shows a configuration of a fractional frequency dividing circuit according to the fifth embodiment of the present invention. Also in the variable fractional frequency dividing circuit shown in FIG. 17, two variable integer frequency dividers 22 and 23 and a path switching circuit 2 are provided. The variable integer divider 22 generates the sub-divided signal DO1 in synchronization with the rising of the clock signal CLK2 having a duty of 50%. During the dividing operation, the variable integer divider 22 follows two integers according to the dividing number setting signal DVCLT1. A frequency division operation is executed at either P or P + 1.

可変整数分周器23は、デューティ50%のクロック信号CLK2の立下がりに同期してサブ分周信号DO2を生成し、分周数設定信号DVCNT2に従って分周数PおよびP+1のいずれかで分周動作を実行する。   The variable integer frequency divider 23 generates a sub-frequency-divided signal DO2 in synchronization with the fall of the clock signal CLK2 having a duty of 50%, and divides the frequency by one of the frequency-dividing numbers P and P + 1 according to the frequency-dividing number setting signal DVCNT2. Perform the action.

経路切換回路2は、経路選択信号MXCNTに従って可変整数分周器22および23の出力信号DO1およびDO2の一方を選択して最終分周信号DOを生成する。   The path switching circuit 2 selects one of the output signals DO1 and DO2 of the variable integer frequency dividers 22 and 23 according to the path selection signal MXCNT and generates a final frequency division signal DO.

図17に示す可変分数分周回路の構成において、1つのクロック信号CLK2が利用されるだけであり、分周器22および23が分周動作を開始する入力クロック信号のトリガエッジが、互いに異なる。したがって、この可変整数分周器22および23の出力信号DO1およびDO2の分周動作開始タイミングは、入力クロック信号CLK2の半クロックサイクル期間ずれており、これまでの実施の形態1から4に示す分周回路と同様の動作を実現することができる。   In the configuration of the variable fractional frequency dividing circuit shown in FIG. 17, only one clock signal CLK2 is used, and the trigger edges of the input clock signals at which the frequency dividers 22 and 23 start the frequency dividing operation are different from each other. Therefore, the frequency division operation start timings of output signals DO1 and DO2 of variable integer frequency dividers 22 and 23 are shifted by a half clock cycle period of input clock signal CLK2, and are the same as those shown in the first to fourth embodiments so far. An operation similar to that of the peripheral circuit can be realized.

なお、分周数制御信号を生成する回路の構成としては、図11に示す構成を利用することができる。   Note that the configuration shown in FIG. 11 can be used as the configuration of the circuit that generates the frequency division number control signal.

この発明の実施の形態5に従う分数分周回路の構成において、シングルエンドの入力クロック信号を共通に、可変整数分周器に与えても、その分周動作のトリガエッジが入力クロック信号の半サイクルずれており、正確に、設定された分数精度の分周数で分周動作を行なうことができ、これまでの実施の形態1から4と同様の効果を得ることができる。   In the configuration of the fractional frequency dividing circuit according to the fifth embodiment of the present invention, even when a single-ended input clock signal is commonly supplied to a variable integer frequency divider, the trigger edge of the frequency division operation is a half cycle of the input clock signal. Therefore, the frequency dividing operation can be accurately performed with the set frequency dividing number, and the same effects as those of the first to fourth embodiments can be obtained.

[実施の形態6]
図18は、この発明の実施の形態6に従う可変分数分周回路の構成を概略的に示す図である。この図18に示す可変分数分周回路の構成は、以下の点で、図1に示す可変分数分周回路の構成と異なる。すなわち、可変整数分周器1Aおよび1Bの前段に、デューティ50%の入力クロック信号CLK2を受け、デューティ50%の差動クロック信号CLK3およびCLK3Bを生成する差動変換回路(SD)25が設けられる。差動変換回路25からの差動クロック信号CLK3およびCLK3Bが、それぞれ、可変整数分周器1Aの正相入力および逆相入力に与えられ、また、可変整数分周器1Bの逆相入力および整相入力に与えられる。
[Embodiment 6]
FIG. 18 schematically shows a structure of a variable fractional frequency dividing circuit according to the sixth embodiment of the present invention. The configuration of the variable fractional frequency dividing circuit shown in FIG. 18 is different from the configuration of the variable fractional frequency dividing circuit shown in FIG. 1 in the following points. That is, a differential conversion circuit (SD) 25 that receives an input clock signal CLK2 with a duty of 50% and generates differential clock signals CLK3 and CLK3B with a duty of 50% is provided in the preceding stage of the variable integer frequency dividers 1A and 1B. . Differential clock signals CLK3 and CLK3B from the differential conversion circuit 25 are respectively applied to the positive phase input and the negative phase input of the variable integer frequency divider 1A, and the negative phase input and the adjustment of the variable integer frequency divider 1B. Is given to the phase input.

図18に示す可変分数分周回路の他の構成は、図1に示す可変分数分周回路の構成と同じであり、対応する部分には同一参照番号を付し、その詳細説明は省略する。   The other configuration of the variable fractional frequency dividing circuit shown in FIG. 18 is the same as that of the variable fractional frequency dividing circuit shown in FIG. 1, and corresponding portions are denoted by the same reference numerals, and detailed description thereof is omitted.

差動変換回路25は、たとえば、一例として、基準電圧と入力クロック信号CLK2とを差動増幅する差動増幅回路で構成され、シングルエンドの信号を、差動信号に変換する。差動変換回路25は、シングルエンドの信号を差動信号に変換する機能を有していればよく、その内部構成は特に限定されない。   For example, the differential conversion circuit 25 is configured by a differential amplifier circuit that differentially amplifies the reference voltage and the input clock signal CLK2, for example, and converts a single-ended signal into a differential signal. The differential conversion circuit 25 only needs to have a function of converting a single-ended signal into a differential signal, and its internal configuration is not particularly limited.

図18に示す可変分数分周回路の構成の場合、1つのシングルエンドの入力クロック信号CLKに従って分周動作を行なうことができ、またこの差動変換回路25から、差動クロック信号CLK3およびCLK3Bが生成されるため、正確に、半クロックサイクル位相のずれた差動クロック信号CLK3およびCLK3Bを、それぞれ可変整数分周器1Aおよび1Bに与えることができる。また、先の実施の形態1から5の分周回路と同様の効果をも得ることができる。   In the case of the configuration of the variable fractional frequency dividing circuit shown in FIG. 18, the frequency dividing operation can be performed according to one single-ended input clock signal CLK, and differential clock signals CLK3 and CLK3B are supplied from differential converting circuit 25. Therefore, the differential clock signals CLK3 and CLK3B that are out of phase by a half clock cycle can be accurately supplied to the variable integer frequency dividers 1A and 1B, respectively. Further, the same effects as those of the frequency dividing circuits of the first to fifth embodiments can be obtained.

[実施の形態7]
図19は、この発明の実施の形態7に従う可変分数分周回路の構成を概略的に示す図である。この図19に示す可変分数分周回路においては、2つの可変整数分周器26Aおよび26Bが並列に設けられる。可変整数分周器26Aおよび26Bは、以下の点で、図1に示す可変整数分周器1Aおよび1Bとその構成が異なる。すなわち、可変整数分周器26Aおよび26Bは、分周パワーセーブ信号DIVPS1およびDIVPS2に従って、それぞれの消費電流が低減される。分周動作時において、動作電流が低減されると、その動作速度が低下し、分周数が設定された分周数よりも増大する。したがって、分周パワーセーブ信号DIVPS1およびDIVPS2に従って、可変整数分周器26Aおよび26Bの動作電流を低減する場合には、その分周動作に悪影響を及ぼさない程度に動作電流を削減する。
[Embodiment 7]
FIG. 19 schematically shows a structure of a variable fractional frequency dividing circuit according to the seventh embodiment of the present invention. In the variable fractional frequency dividing circuit shown in FIG. 19, two variable integer frequency dividers 26A and 26B are provided in parallel. The variable integer frequency dividers 26A and 26B are different from the variable integer frequency dividers 1A and 1B shown in FIG. 1 in the following points. That is, variable integer frequency dividers 26A and 26B have their current consumption reduced according to frequency-divided power save signals DIVPS1 and DIVPS2. When the operating current is reduced during the frequency dividing operation, the operating speed is reduced, and the frequency dividing number is increased from the set frequency dividing number. Therefore, when the operating currents of the variable integer frequency dividers 26A and 26B are reduced according to the frequency-divided power save signals DIVPS1 and DIVPS2, the operating current is reduced to the extent that the frequency-dividing operation is not adversely affected.

可変整数分周器26Aおよび26Bは、それぞれに与えられる入力クロック信号および分周数設定信号は、実施の形態1の構成と同じであり、それぞれの分周動作自体は、実施の形態1に示す可変整数分周器1Aおよび1Bそれぞれの分周動作と同じであり、それらの信号および分周動作の詳細説明は省略する。   In variable integer frequency dividers 26A and 26B, the input clock signal and the frequency division number setting signal applied to each are the same as those in the first embodiment, and the respective frequency dividing operations themselves are shown in the first embodiment. This is the same as the frequency dividing operation of each of the variable integer frequency dividers 1A and 1B, and detailed description of these signals and frequency dividing operation is omitted.

可変整数分周器26Aおよび26Bの出力するサブ分周信号DO1およびDO2が、経路切換回路2により、経路選択信号MXCNTに従って選択され、最終分周信号DOが生成される。P分周動作を連続して実施する場合、可変整数分周器26Aおよび26Bにおいて、マスタとして動作する可変整数分周器の出力信号が最終分周信号として利用され、スレーブとして動作する可変整数分周器の出力信号は利用されない。このスレーブとして動作する可変整数分周器の動作電流を低減して、分周信号に対する影響を及ぼすことなく、消費電流を低減する。   Sub-frequency-divided signals DO1 and DO2 output from variable integer frequency dividers 26A and 26B are selected by path switching circuit 2 in accordance with path selection signal MXCNT, and final frequency-divided signal DO is generated. When the P frequency dividing operation is continuously performed, in the variable integer frequency dividers 26A and 26B, the output signal of the variable integer frequency divider that operates as the master is used as the final frequency divided signal, and the variable integer frequency component that operates as the slave is used. The output signal of the peripheral is not used. By reducing the operating current of the variable integer frequency divider that operates as the slave, the current consumption is reduced without affecting the frequency-divided signal.

図20は、この発明の実施の形態7に従う可変整数分周器26Aの構成を概略的に示す図である。可変整数分周器26Bも同様の構成を有する。   FIG. 20 schematically shows a structure of variable integer frequency divider 26A according to the seventh embodiment of the present invention. The variable integer frequency divider 26B has the same configuration.

図20において、可変整数分周器26Aは、入力クロック信号CLK1およびCLK1Bをそれぞれ正相入力および逆相入力に受けて分周する分周器本体30と、分周器本体30に対し動作電流を供給する電流源31aおよび31bを含む。   In FIG. 20, a variable integer frequency divider 26 </ b> A receives the input clock signals CLK <b> 1 and CLK <b> 1 </ b> B by the positive phase input and the negative phase input, respectively, and divides the operating current to the divider main body 30. Current sources 31a and 31b to be supplied are included.

分周器本体30は、プログラムカウンタまたはフリップフロップ列で構成され、分周数PまたはP+1で分周動作を行なってサブ分周信号DO1を生成する。上側電流源31aは、分周パワーセーブ信号DIVPS1に従って電源ノードVCCから電流を分周器本体30へ供給する。下側電流源31bは、分周パワーセーブ信号DIVPS1に従って分周器本体30からの動作電流を接地ノードへ放電する。これらの電流源31aおよび31bの供給電流量が、分周パワーセーブ制御信号DIVPS1に従って調整される。電流源31aおよび31bは、一例として、2つの並列MOS電流源トランジスタで構成され、一方が常時オン状態で電流を充放電し、他方が分周パワーセーブ信号DIVPS1に従って選択的にオン/オフ状態に設定される。これにより、分周器本体30の動作電流量が、2つのMOS電流源トランジスタによる電流駆動および1つの電流源トランジスタによる電流駆動の間で調整される。   The frequency divider main body 30 is composed of a program counter or a flip-flop train, and performs a frequency dividing operation with the frequency dividing number P or P + 1 to generate the sub frequency dividing signal DO1. The upper current source 31a supplies current from the power supply node VCC to the frequency divider main body 30 in accordance with the frequency-divided power save signal DIVPS1. Lower current source 31b discharges the operating current from frequency divider main body 30 to the ground node in accordance with frequency-divided power save signal DIVPS1. The amount of current supplied from these current sources 31a and 31b is adjusted according to the divided power save control signal DIVPS1. As an example, current sources 31a and 31b are formed of two parallel MOS current source transistors, one of which is always on to charge / discharge current, and the other is selectively turned on / off according to divided power save signal DIVPS1. Is set. Thereby, the operating current amount of the frequency divider main body 30 is adjusted between the current driving by the two MOS current source transistors and the current driving by the one current source transistor.

また、これに代えて、分周パワーセーブ信号DIVPS1およびDIVPS2の電圧レベルを電源電圧VCCと接地電圧との間の中間電圧レベルに設定されて、電流源31aおよび31bが流す電流量が低減されてもよい。   Instead, the voltage level of the divided power save signals DIVPS1 and DIVPS2 is set to an intermediate voltage level between the power supply voltage VCC and the ground voltage, and the amount of current flowing through the current sources 31a and 31b is reduced. Also good.

図21は、この発明の実施の形態7に従う分周回路に従う分周数制御信号を発生する部分の構成を概略的に示す図である。この図21に示す分周数制御信号発生部の構成は、図11に示す分周数制御信号発生部の構成と以下の点でその構成が異なる。すなわち、分周シーケンス制御回路35は、分周数制御信号MXCNT、DVCNT1、およびDVCNT2に加えてさらに、分周パワーセーブ信号DIVPS1およびDIVPS2を生成する。   FIG. 21 schematically shows a structure of a portion for generating a frequency dividing number control signal according to the frequency dividing circuit according to the seventh embodiment of the present invention. The configuration of the frequency division number control signal generation unit shown in FIG. 21 is different from the configuration of the frequency division number control signal generation unit shown in FIG. 11 in the following points. That is, frequency division sequence control circuit 35 generates frequency division power save signals DIVPS1 and DIVPS2 in addition to frequency division number control signals MXCNT, DVCNT1, and DVCNT2.

分周シーケンス制御回路35は、分周数設定回路17に設定される最終分周信号DOの分周数に応じて、継続してP分周またはP+1分周を実行するかおよびどの時点でP分周からP+0.5分周またはP+1分周からP+0.5分周へ移行するかの識別はできる。   The frequency division sequence control circuit 35 continuously executes P frequency division or P + 1 frequency division according to the frequency division number of the final frequency division signal DO set in the frequency division number setting circuit 17, and at which point P It is possible to discriminate whether to shift from frequency division to P + 0.5 frequency division or P + 1 frequency division to P + 0.5 frequency division.

また、マスタ/スレーブレジスタ16に格納されるマスタ/スレーブ識別データ(フラグ)に従って分周シーケンス制御回路35は、可変整数分周器26Aおよび26Bのいずれがマスタであり、いずれがスレーブであるかを識別できる。したがって、スレーブの可変整数分周器に対する分周パワーセーブ信号DIVPS1またはDIVPS2をアサートし、そのスレーブの可変整数分周器の動作電流を低減する。   Further, according to the master / slave identification data (flag) stored in the master / slave register 16, the frequency division sequence control circuit 35 determines which of the variable integer frequency dividers 26A and 26B is a master and which is a slave. Can be identified. Therefore, the divided power save signal DIVPS1 or DIVPS2 for the slave variable integer frequency divider is asserted to reduce the operating current of the slave variable integer frequency divider.

マスタおよびスレーブの切換は、P+0.5分周動作実行時である。したがって、P+0.5分周開始前に、そのときのスレーブの可変整数分周器に対する分周パワーセーブ信号DIVPS1またはDIVPS2をネゲートし、このスレーブの可変整数分周器の動作電流を元の状態に復帰させ、正確に、スレーブからマスタに変更された可変整数分周器にP分周またはP+1分周動作を実行させる。   Switching between the master and the slave is performed when the P + 0.5 frequency division operation is executed. Therefore, before starting the P + 0.5 frequency division, the frequency division power save signal DIVPS1 or DIVPS2 for the variable integer frequency divider of the slave at that time is negated, and the operating current of the variable integer frequency divider of the slave is restored to the original state. Then, the variable integer frequency divider changed from the slave to the master is caused to execute the P frequency division or P + 1 frequency division operation.

なお、スレーブの可変整数分周器の動作電流の元の状態への復帰のタイミングおよび低減電流量は、可変整数分周器26Aおよび26Bの分周器本体30が、入力クロック信号CLK1およびCLK1Bに従って正確にPまたはP+1分周を実行するまでの引込時間を考慮して定められればよい。   The timing of returning the operating current of the slave variable integer frequency divider to the original state and the amount of reduced current are determined by the frequency divider body 30 of the variable integer frequency dividers 26A and 26B according to the input clock signals CLK1 and CLK1B. It may be determined in consideration of the pull-in time until the P or P + 1 frequency division is accurately executed.

また、上述の説明においては、スレーブの可変整数分周器の動作電流を低減している。しかしながら、このスレーブの可変整数分周器の動作電流を完全に停止させ、P+0.5分周開始前に、スレーブの可変整数分周器の消費電流を元の動作状態に戻すようにこれらの分周パワーセーブ信号DIVPS1およびDIVPS2の状態が設定されてもよい。この場合、図20に示す構成において電流源31aおよび31bを完全に、スレーブの可変整数分周器において遮断状態に設定するだけでよい。   In the above description, the operating current of the slave variable integer frequency divider is reduced. However, the operating current of the slave variable integer divider is completely stopped, and the current consumption of the slave variable integer divider is restored to the original operating state before the start of the P + 0.5 division. The states of the peripheral power save signals DIVPS1 and DIVPS2 may be set. In this case, the current sources 31a and 31b in the configuration shown in FIG. 20 need only be set to the cutoff state in the slave variable integer frequency divider.

また、この分周パワーセーブ信号DIVPS1およびDIVPS2により、分周器本体30へ供給される電源電圧(VCC)の電圧レベルが変更されてもよい。この場合、スレーブの可変整数分周器の動作電源電圧を低くする。   The voltage level of the power supply voltage (VCC) supplied to the frequency divider main body 30 may be changed by the frequency-divided power save signals DIVPS1 and DIVPS2. In this case, the operating power supply voltage of the slave variable integer frequency divider is lowered.

以上のように、この発明の実施の形態7においては、スレーブの整数分周器の消費電流を低減しており、分周回路全体の消費電流を低減することができる。   As described above, in the seventh embodiment of the present invention, the current consumption of the slave integer frequency divider is reduced, and the current consumption of the entire frequency divider circuit can be reduced.

なお、この発明の実施の形態7においても、入力クロック信号としては、シングルエンドのクロック信号が用いられてもよい。   In the seventh embodiment of the present invention, a single-ended clock signal may be used as the input clock signal.

[実施の形態8]
図22は、この発明の実施の形態8に従う可変分数分周回路の構成を概略的に示す図である。図22において、可変分数分周回路は、2つの可変整数分周器37Aおよび37Bと、経路切換回路2と、2つの可変整数分周器37Aおよび37Bからの分周数伝達信号CNTD1およびCNTD2に従って経路選択信号MXCLT2を生成する経路選択信号生成回路38とを含む。
[Embodiment 8]
FIG. 22 schematically shows a structure of a variable fractional frequency dividing circuit according to the eighth embodiment of the present invention. In FIG. 22, the variable fractional frequency dividing circuit is in accordance with two variable integer frequency dividers 37A and 37B, path switching circuit 2, and frequency division number transmission signals CNTD1 and CNTD2 from two variable integer frequency dividers 37A and 37B. And a route selection signal generation circuit 38 that generates a route selection signal MXCLT2.

可変整数分周器37Aは、デューティ50%のクロック信号CLK1およびCLK1Bを、それぞれ、正相入力および逆相入力に受け、分周数設定信号DVCNT3に従って、分周数PおよびP+1のいずれかで分周動作を行なってサブ分周信号DO1を生成するとともに、分周状態を示す分周状態報知信号D12を可変整数分周器37Bへ与える。この可変整数分周器37Aは、さらに、分周数設定状況を示す分周数伝達信号CNTD1を生成して経路選択信号生成回路38へ与える。分周状態報知信号D12は、サブ分周信号DO1の位相を示す信号であり、サブ分周信号DO1に従って生成される。   The variable integer frequency divider 37A receives the clock signals CLK1 and CLK1B having a duty of 50% at the positive phase input and the negative phase input, respectively, and divides the clock signals CLK1 and CLK1B by either the frequency division number P or P + 1 according to the frequency division number setting signal DVCNT3. The sub-frequency signal DO1 is generated by performing the frequency operation, and the frequency division state notification signal D12 indicating the frequency division state is supplied to the variable integer frequency divider 37B. The variable integer frequency divider 37A further generates a frequency division number transmission signal CNTD1 indicating the frequency division number setting status and supplies it to the path selection signal generation circuit 38. The frequency division state notification signal D12 is a signal indicating the phase of the sub frequency division signal DO1, and is generated according to the sub frequency division signal DO1.

可変整数分周器37Bは、入力クロック信号CLK1およびCLK1Bをそれぞれ逆相入力および正相入力に受け、分周数設定信号DVCNT3に従って分周数PおよびP+1のいずれかで分周動作を行いサブ分周信号DO2を生成するとともに分周数設定状況を示す分周数伝達信号CNTD2を生成して経路選択信号生成回路38へ伝達し、かつさらに分周状態報知信号D21を生成して可変整数分周器37Aへ与える。   The variable integer frequency divider 37B receives the input clock signals CLK1 and CLK1B at the negative phase input and the positive phase input, respectively, and performs a frequency division operation at either the frequency division number P or P + 1 according to the frequency division number setting signal DVCNT3. A frequency division number transmission signal CNTD2 indicating a frequency division number setting status is generated and transmitted to the path selection signal generation circuit 38, and a frequency division state notification signal D21 is further generated to generate a variable frequency division signal DO2. To container 37A.

この分周状態報知信号D12およびD21は、それぞれのサブ分周信号DO1およびDO2の状態と対応しており、可変整数分周器37Aおよび37Bは、これらの分周状態報知信号D12およびD21に従って、自身がマスタとして動作しているかスレーブとして動作しているかを判定する。   The frequency division state notification signals D12 and D21 correspond to the states of the respective sub frequency division signals DO1 and DO2, and the variable integer frequency dividers 37A and 37B follow the frequency division state notification signals D12 and D21, respectively. It determines whether it is operating as a master or a slave.

経路選択信号生成回路38は、これらの可変整数分周器37Aおよび37Bからの分周数伝達信号CNTD1およびCNTD2が、同じ分周数を示しているときには、経路選択信号MXCNT1を不変としてその状態を維持し、これらの分周数伝達信号CNTD1およびCNTD2が異なる分周数を示している場合には、経路選択信号生成回路38は、経路選択信号MXCNT2の状態を変更して、マスタおよびスレーブを交換する。   When the frequency division number transmission signals CNTD1 and CNTD2 from these variable integer frequency dividers 37A and 37B indicate the same frequency division number, the path selection signal generation circuit 38 sets the path selection signal MXCNT1 unchanged and changes its state. If the frequency division number transmission signals CNTD1 and CNTD2 indicate different frequency division numbers, the route selection signal generation circuit 38 changes the state of the route selection signal MXCNT2 and exchanges the master and the slave. To do.

経路切換回路2は、この経路選択信号MXCNT2を選択入力Sに受け、可変整数分周器37Aおよび37Bの出力信号DO1およびDO2の一方を選択して最終分周信号DOを生成する。次に、この図22に示す実施の形態8に従う可変分数分周回路の動作原理について説明する。   The path switching circuit 2 receives the path selection signal MXCNT2 at the selection input S, selects one of the output signals DO1 and DO2 of the variable integer frequency dividers 37A and 37B, and generates a final frequency division signal DO. Next, the operation principle of the variable fractional frequency dividing circuit according to the eighth embodiment shown in FIG. 22 will be described.

可変整数分周器37Aおよび37Bは、それぞれ分周動作開始タイミング(サブ分周信号の立上りタイミング)を示す分周状態報知信号D12およびD21を生成して相手方の可変整数分周器37Bおよび37Aへそれぞれ伝達する。可変整数分周器37Aおよび37Bは、それぞれ、これらの分周状態報知信号D12およびD21により、いずれの分周状態が0.5クロックサイクル速いかを識別し、速いほうの可変整数分周器がマスタであると判定する。   The variable integer frequency dividers 37A and 37B generate frequency division state notification signals D12 and D21 indicating the frequency division operation start timing (rising timing of the sub frequency division signal), respectively, and send them to the other variable integer frequency dividers 37B and 37A. Communicate each. The variable integer frequency dividers 37A and 37B respectively identify which frequency division state is faster by 0.5 clock cycles based on the frequency division state notification signals D12 and D21. It is determined that it is a master.

外部からの図示しない制御部からの分周数設定信号DVCNT3により、P+0.5分周動作が指示された場合、可変整数分周器37Aおよび37Bの出力信号DO1およびDO2の両者がHレベルの期間内において、マスタの可変整数分周器が分周数をP+1に設定し、スレーブの可変整数分周器はP分周に設定する。また、この設定後、マスタおよびスレーブの可変整数分周器から、分周数を示す分周数伝達信号CNTD1およびCNTD2が生成され、経路選択信号生成回路38へ与えられる。   When P + 0.5 frequency division operation is instructed by a frequency division number setting signal DVCNT3 from a control unit (not shown) from outside, a period in which both output signals DO1 and DO2 of variable integer frequency dividers 37A and 37B are at the H level. The variable integer frequency divider of the master sets the frequency division number to P + 1, and the variable integer frequency divider of the slave sets to P frequency division. Further, after this setting, frequency division number transmission signals CNTD1 and CNTD2 indicating the frequency division number are generated from the master and slave variable integer frequency dividers and supplied to the path selection signal generation circuit 38.

今、分周数設定信号DVCNT3により、P+0.5分周が指示された場合、このサイクル初期におけるマスタの可変整数分周器の分周数はP+1に設定され、スレーブの可変整数分周器はP分周に設定され、分周数伝達信号CNTD1およびCNTD2が指示する分周数が異なる。このとき、経路選択信号生成回路38は、経路選択信号MXCNT2の論理状態を切換え、経路切換回路2における選択経路を切換える。この状態において、スレーブの可変整数分周器がP分周動作し、マスタの可変整数分周器がP+1分周動作する。従って、実施の形態1において説明した動作と同様の動作が実行され、Hレベル期間が0.5クロック長くされた最終分周信号DOが生成され、P+0.5分周信号が生成される。   Now, when P + 0.5 frequency division is instructed by the frequency division number setting signal DVCNT3, the frequency division number of the master variable integer frequency divider at the beginning of this cycle is set to P + 1, and the slave variable integer frequency divider is The frequency division number set by P division and indicated by the frequency division number transmission signals CNTD1 and CNTD2 is different. At this time, the path selection signal generation circuit 38 switches the logic state of the path selection signal MXCNT2 and switches the selection path in the path switching circuit 2. In this state, the slave variable integer frequency divider performs the P frequency division operation, and the master variable integer frequency divider performs the P + 1 frequency division operation. Therefore, an operation similar to the operation described in the first embodiment is performed, the final frequency-divided signal DO whose H level period is increased by 0.5 clocks is generated, and the P + 0.5 frequency-divided signal is generated.

一方、分周数設定信号DVCNT3よりP分周が指示された場合、サイクル初期におけるマスタの可変整数分周器は分周数がPに設定され、スレーブの可変整数分周器も分周数をPに設定する。従って、分周数伝達信号CNTD1およびCNTD2は、ともにP分周動作を指示する状態に設定され、その論理レベルは同じであり、経路選択信号生成回路38は、経路選択信号MXCNT2の論理状態を維持し、経路切換回路2の選択経路は切換えられず維持される。これにより、実施の形態1において説明した動作と同様の動作が実現され、マスタの可変整数分周器の出力信号に従って最終分周信号DOとしてP分周信号が生成される。   On the other hand, when P frequency division is instructed by the frequency division number setting signal DVCNT3, the variable integer frequency divider of the master at the beginning of the cycle is set to P, and the variable integer frequency divider of the slave also sets the frequency division number. Set to P. Accordingly, the frequency division number transmission signals CNTD1 and CNTD2 are both set to a state instructing the P frequency division operation, and the logic levels thereof are the same, and the path selection signal generation circuit 38 maintains the logic state of the path selection signal MXCNT2. However, the selection path of the path switching circuit 2 is maintained without being switched. Thereby, an operation similar to the operation described in the first embodiment is realized, and a P frequency division signal is generated as the final frequency division signal DO according to the output signal of the master variable integer frequency divider.

分周数設定信号DVCNT3が、P+1分周動作を指示した場合、そのサイクル初期のマスタの可変整数分周器は、その分周数をP+1に設定し、また、スレーブの可変整数分周器も分周数をP+1に設定する。したがって、マスタおよびスレーブの可変整数分周器からの分周数伝達信号CNTD1およびCNTD2は、その論理状態が同じであり、経路選択信号生成回路38は、経路切換回路2に対する経路選択信号MXCNT2の論理状態を維持する。これにより、実施の形態2において説明した動作と同様の動作が実現され、マスタからのP+1分周信号が、最終分周信号DOとして選択されて出力される。   When the frequency division number setting signal DVCNT3 instructs P + 1 frequency division operation, the master variable integer frequency divider at the beginning of the cycle sets the frequency division number to P + 1, and the slave variable integer frequency divider also Set the frequency division number to P + 1. Accordingly, the frequency division number transmission signals CNTD1 and CNTD2 from the master and slave variable integer frequency dividers have the same logic state, and the path selection signal generation circuit 38 determines the logic of the path selection signal MXCNT2 for the path switching circuit 2. Maintain state. Thereby, an operation similar to the operation described in the second embodiment is realized, and the P + 1 frequency-divided signal from the master is selected and output as the final frequency-divided signal DO.

図23は、図22に示す可変整数分周器37Aの構成の一例を概略的に示す図である。可変整数分周器37Bも同様の構成を備え、内部での信号が異なるだけである。   FIG. 23 schematically shows an example of the configuration of variable integer frequency divider 37A shown in FIG. The variable integer frequency divider 37B also has the same configuration and differs only in the internal signal.

図23において、可変整数分周器37Aは、連続する2つの整数PおよびP+1のいずれかで分周を行なうP/P+1分周回路40と、この可変整数分周器37Aがマスタであるかスレーブであるかを判定するマスタ/スレーブ判定回路42と、分周数切換タイミングを発生する切換タイミング発生回路44と、マスタ/スレーブ判定回路42からのマスタ/スレーブ指示フラグMSFと外部の制御回路からの分周数設定信号DVCNT3とに従って分周数伝達信号CNTD1を生成する分周数設定部46を含む。   In FIG. 23, a variable integer frequency divider 37A includes a P / P + 1 frequency dividing circuit 40 that divides the frequency by one of two consecutive integers P and P + 1, and whether the variable integer frequency divider 37A is a master or a slave. A master / slave determination circuit 42 for determining whether or not, a switching timing generation circuit 44 for generating a frequency division number switching timing, a master / slave instruction flag MSF from the master / slave determination circuit 42, and an external control circuit A frequency division number setting unit 46 that generates a frequency division number transmission signal CNTD1 according to the frequency division number setting signal DVCNT3 is included.

P/P+1分周回路40は、先の実施の形態1における可変整数分周器1Aに相当し、デューティ50%の差動クロック信号CLK1およびCLK1Bに従って分周動作を実行する。   P / P + 1 frequency dividing circuit 40 corresponds to variable integer frequency divider 1A in the first embodiment, and performs a frequency dividing operation according to differential clock signals CLK1 and CLK1B having a duty of 50%.

マスタ/スレーブ判定回路42は、P/P+1分周回路40の出力信号DO1と図22に示す相手方の可変整数分周器37Bの出力信号DO2を、それぞれ、分周状態報知信号D12およびD21として受け、分周状態報知信号D12のHレベルへの立上がりが分周状態報知信号D21の立上がりよりも早いときに、可変整数分周器37Aがマスタであるとしてマスタ/スレーブ指示フラグMSFをマスタを指示する状態に設定する。一方、この分周状態報知信号D12の立上がりよりも早いタイミングで分周状態報知信号D21が立上がった場合、マスタ/スレーブ判定回路42は、マスタ/スレーブ指示フラグMSFをスレーブを指定する状態に設定する。マスタ/スレーブ判定回路42の構成としては、たとえばPLLにおける入力クロック信号と出力クロック信号の位相差を検出する位相検出回路の構成を利用することができる。   The master / slave determination circuit 42 receives the output signal DO1 of the P / P + 1 frequency dividing circuit 40 and the output signal DO2 of the counterpart variable integer frequency divider 37B shown in FIG. 22 as frequency division state notification signals D12 and D21, respectively. When the rising of the divided state notification signal D12 to the H level is earlier than the rising of the divided state notification signal D21, the master / slave instruction flag MSF is instructed by the variable integer frequency divider 37A as the master. Set to state. On the other hand, when the divided state notification signal D21 rises at a timing earlier than the rising of the divided state notification signal D12, the master / slave determination circuit 42 sets the master / slave instruction flag MSF to a state for designating the slave. To do. As a configuration of the master / slave determination circuit 42, for example, a configuration of a phase detection circuit that detects a phase difference between an input clock signal and an output clock signal in a PLL can be used.

分周状態報知信号D12およびD21が、それぞれ、サブ分周信号DO1およびDO2に対応しており、切換タイミング発生回路44は、これらがともにHレベルのときに切換イネーブル信号ENA1をアサートする。   Frequency division state notification signals D12 and D21 correspond to sub frequency division signals DO1 and DO2, respectively, and switching timing generation circuit 44 asserts switching enable signal ENA1 when both are at the H level.

分周数設定部46は、切換イネーブル信号ENA1がアサートされると、マスタ/スレーブ判定回路42からのマスタ/スレーブ指示フラグMSFと分周数設定信号DVCNT3とに従って、分周数設定信号DVCNT1を分周数PおよびP+1のいずれかを示す状態に設定する。次に切換イネーブル信号ENAがアサートされるまで、分周数設定信号DVCNT1の状態が保持される。   When the switching enable signal ENA1 is asserted, the frequency division number setting unit 46 divides the frequency division number setting signal DVCNT1 according to the master / slave instruction flag MSF and the frequency division number setting signal DVCNT3 from the master / slave determination circuit 42. The state is set to indicate either the number P or P + 1. Next, the state of the frequency division number setting signal DVCNT1 is held until the switching enable signal ENA is asserted.

分周数設定部46は、分周数設定信号DVCNT3がP+0.5分周を指示する場合、マスタ/スレーブ指示フラグMSFがマスタを示す場合には、分周数選設定信号DVCNT1を分周数P+1を指定する状態に設定し、一方、マスタ/スレーブ指示フラグMSFがスレーブを指示する場合には分周設定信号DVCNT1を分周数Pを指定する状態に設定する。   The frequency division number setting unit 46 divides the frequency division number selection setting signal DVCNT1 when the frequency division number setting signal DVCNT3 indicates P + 0.5 frequency division, or when the master / slave instruction flag MSF indicates the master. On the other hand, when the master / slave instruction flag MSF indicates the slave, the frequency division setting signal DVCNT1 is set to the state where the frequency division number P is specified.

一方、分周数設定信号DVCNT3がP分周を指示する場合には、マスタ/スレーブ指示フラグMSFがマスタを指示する場合およびスレーブを指示する場合、いずれにおいても、分周数設定部46は、P分周動作を行なうように分周数設定信号DVCNT1を設定する。分周数設定信号DVCNT3がP+1分周を指定する場合には、マスタ/スレーブ指示フラグMSFがマスタおよびスレーブのいずれを指定する状態においても分周数P+1を選択する状態に分周数設定信号DVCNT1を設定する。   On the other hand, when frequency division number setting signal DVCNT3 instructs P frequency division, in both cases where master / slave instruction flag MSF instructs the master and slaves, frequency division number setting unit 46 A frequency division number setting signal DVCNT1 is set so as to perform the P frequency division operation. When the frequency division number setting signal DVCNT3 designates P + 1 frequency division, the frequency division number setting signal DVCNT1 is selected so that the frequency division number P + 1 is selected even when the master / slave instruction flag MSF designates either master or slave. Set.

図22に示す可変整数分周器37Bも、この図23に示す可変整数分周器37Aの構成と同じであり、生成される信号が異なるだけである。これにより、可変整数分周器37Aおよび37Bそれぞれにおいて自身の状態を判定して、指定された最終分周信号の分周数に応じて分周数を設定することができる。   The variable integer frequency divider 37B shown in FIG. 22 has the same configuration as that of the variable integer frequency divider 37A shown in FIG. 23, and only the generated signal is different. Thereby, each of the variable integer frequency dividers 37A and 37B can determine its own state and set the frequency division number according to the frequency division number of the designated final frequency division signal.

図24は、図22に示す経路選択信号生成回路38の構成の一例を概略的に示す図である。図24において、経路選択信号生成回路38は、分周数伝達信号CNTD1およびCNTD2の一致/不一致を判定する一致判定回路50と、一致判定回路50の出力信号に従って経路選択信号MXCNT2を生成する経路切換制御回路52を含む。   FIG. 24 schematically shows an example of the configuration of path selection signal generation circuit 38 shown in FIG. In FIG. 24, a path selection signal generation circuit 38 includes a match determination circuit 50 that determines whether the frequency division number transmission signals CNTD1 and CNTD2 match or does not match, and path switching that generates a path selection signal MXCNT2 according to the output signal of the match determination circuit 50. A control circuit 52 is included.

一致判定回路50は、可変整数分周器37Aおよび37Bからの切換イネーブル信号ENA1およびENA2がともにアサートされるときに、分周数伝達信号CNTD1およびCNTD2の論理レベルの一致/不一致を判定する。   The coincidence determination circuit 50 determines whether or not the logic levels of the frequency division number transmission signals CNTD1 and CNTD2 coincide with each other when the switching enable signals ENA1 and ENA2 from the variable integer frequency dividers 37A and 37B are both asserted.

経路切換制御回路52は、切換イネーブル信号ENA1およびENA2がともにアサート状態のときに一致判定回路50の出力信号の論理レベルを判定し、その判定結果に従って経路選択信号MXCNT2の状態を設定する。経路切換制御回路52は、切換イネーブル信号ENA1およびENA2がともにネゲートされると、ラッチ状態となる。一例として、一致判定回路50は、たとえばEXOR回路で構成し、このEXOR回路の出力信号がHレベルであり不一致を示すときに、経路切換制御回路52の出力信号の論理状態を変更して経路選択信号MXCNT2を変更してマスタ/スレーブを切換える。この場合、経路切換制御回路52を、Tフリップフロップで構成し、そのクロック入力にEXOR回路の出力信号を与えればよい。   The path switching control circuit 52 determines the logic level of the output signal of the coincidence determination circuit 50 when both the switching enable signals ENA1 and ENA2 are asserted, and sets the state of the path selection signal MXCNT2 according to the determination result. The path switching control circuit 52 enters a latched state when the switching enable signals ENA1 and ENA2 are both negated. As an example, the coincidence determination circuit 50 is composed of, for example, an EXOR circuit. When the output signal of the EXOR circuit is at the H level and indicates a mismatch, the logical state of the output signal of the path switching control circuit 52 is changed to select a path. The signal MXCNT2 is changed to switch the master / slave. In this case, the path switching control circuit 52 may be constituted by a T flip-flop, and the output signal of the EXOR circuit may be given to its clock input.

図25は、分周数設定信号DVCNT3を生成する部分の構成の一例を概略的に示す図である。図25において、分周数設定信号生成部は、最終分周信号(DO)の分周数を設定する分周数設定回路62と、この分周数設定回路62の設定された分周数に従って分周シーケンスを決定する分周シーケンス決定部64を含む。   FIG. 25 is a diagram schematically showing an example of the configuration of a part that generates the frequency division number setting signal DVCNT3. In FIG. 25, the frequency division number setting signal generator generates a frequency division number setting circuit 62 for setting the frequency division number of the final frequency division signal (DO), and the frequency division number set by the frequency division number setting circuit 62. A frequency division sequence determination unit 64 that determines a frequency division sequence is included.

分周数設定回路62においては、たとえばPLL周波数シンセサイザにおいて生成される最終分周信号DOの分周数が設定される。分周シーケンス決定部64は、この設定された分周数に従ってP分周、P+0.5分周およびP+1分周のシーケンスを決定し、その決定されたシーケンスに従って入力クロック信号CLK1に同期して分周数設定信号DVCNT3を生成する。このとき、分周シーケンス決定部64は、次サイクルにおける分周数が予め内部でわかっており、この入力クロック信号CLK1をカウントして、各分周サイクルの開始時に、分周数設定信号DVCNT3の状態を設定する。または、これに代えて、分周シーケンス決定部64は、最終分周信号DOがLレベルの期間において分周数設定信号DVCNT3を次サイクルにおける分周数を示すように設定してもよい。この場合、次サイクル開始時においては、次サイクルの最終分周信号に分周数を示す状態に維持され、この状態が、最終分周信号DOがLレベルとなるまで維持される。   In frequency division number setting circuit 62, for example, the frequency division number of final frequency division signal DO generated in a PLL frequency synthesizer is set. The frequency division sequence determination unit 64 determines the P frequency division, P + 0.5 frequency division, and P + 1 frequency division sequences according to the set frequency division number, and performs frequency division in synchronization with the input clock signal CLK1 according to the determined sequence. A frequency setting signal DVCNT3 is generated. At this time, the frequency dividing sequence determining unit 64 knows the frequency dividing number in the next cycle in advance, counts this input clock signal CLK1, and sets the frequency dividing number setting signal DVCNT3 at the start of each frequency dividing cycle. Set the state. Alternatively, the frequency division sequence determination unit 64 may set the frequency division number setting signal DVCNT3 to indicate the frequency division number in the next cycle during the period when the final frequency division signal DO is at the L level. In this case, at the start of the next cycle, the final frequency division signal of the next cycle is maintained in a state indicating the frequency division number, and this state is maintained until the final frequency division signal DO becomes L level.

以上のように、この発明の実施の形態8に従えば、可変整数分周器において、分周数選択信号を生成する回路を設け、また、その分周数伝達信号に従ってマスタの可変整数分周器を設定してサブ分周信号の伝達経路を切換えている。したがって、外部から、各分周サイクルにおける分周数を指定する分周数設定信号(DVCNT3)のみを与えるだけでよく、制御信号の数を低減することができ、配線面積および消費電力を低減することができる。   As described above, according to the eighth embodiment of the present invention, the variable integer frequency divider is provided with a circuit for generating the frequency division number selection signal, and the master variable integer frequency division is performed according to the frequency division number transmission signal. The transmission path of the sub-divided signal is switched by setting a device. Therefore, only the frequency division number setting signal (DVCNT3) for designating the frequency division number in each frequency division cycle need only be externally supplied, the number of control signals can be reduced, and the wiring area and power consumption can be reduced. be able to.

[実施の形態9]
図26は、この発明の実施の形態9に従う可変分数分周回路の構成を概略的に示す図である。図26において、可変整数分周器70Aおよび70Bが並列に設けられ、また、これらの可変整数分周器70Aおよび70Bの出力信号DO1およびDO2を経路選択信号MXCNTに従って選択する経路切換回路2が設けられる。
[Embodiment 9]
FIG. 26 schematically shows a structure of a variable fractional frequency dividing circuit according to the ninth embodiment of the present invention. In FIG. 26, variable integer frequency dividers 70A and 70B are provided in parallel, and a path switching circuit 2 for selecting output signals DO1 and DO2 of these variable integer frequency dividers 70A and 70B in accordance with path selection signal MXCNT is provided. It is done.

可変整数分周器70Aおよび70Bは、以下の点で、図1に示す可変整数分周器1Aおよび1Bとその構成が異なる。すなわち、これらの可変整数分周器70Aおよび70Bは、分周リセット信号DVRSTに従ってその分周動作がリセットされ、再度分周動作を初期値から開始する。この可変整数分周器70Aおよび70Bは、たとえばプログラマブルカウンタで構成される場合には、分周リセット信号DVRSTに従ってそのカウント動作がリセットされ、カウント値が初期値に復帰して、再度カウント動作を行なって分周動作を実行する。一方、この可変整数分周器70Aおよび70Bが、フリップフロップ列で構成される場合、各フリップフロップ列の信号のリセット入力に分周リセット信号DVRSTが与えられてそれぞれ初期状態に設定される。   Variable integer frequency dividers 70A and 70B differ in configuration from variable integer frequency dividers 1A and 1B shown in FIG. 1 in the following points. That is, these variable integer frequency dividers 70A and 70B are reset in frequency division operation in accordance with the frequency division reset signal DVRST, and start the frequency division operation from the initial value again. When these variable integer frequency dividers 70A and 70B are constituted by programmable counters, for example, the count operation is reset in accordance with frequency division reset signal DVRST, the count value returns to the initial value, and the count operation is performed again. Execute frequency division. On the other hand, when variable integer frequency dividers 70A and 70B are formed of flip-flop trains, frequency-divided reset signal DVRST is applied to the reset input of the signal of each flip-flop train, and each is set to an initial state.

可変整数分周器70Aおよび70Bの他の構成は図1に示す実施の形態1に従う分周回路の可変整数分周器1Aおよび1Bの構成と同じであり、分周数設定信号DVCNT1およびDVCNT2にそれぞれ従ってデューティ50%の差動クロック信号CLK1およびCLK1Bを分周数PまたはP+1で分周してサブ分周信号DO1およびDO2をそれぞれ生成する。   Other configurations of variable integer frequency dividers 70A and 70B are the same as those of variable integer frequency dividers 1A and 1B of the frequency dividing circuit according to the first embodiment shown in FIG. 1, and frequency division number setting signals DVCNT1 and DVCNT2 Accordingly, the differential clock signals CLK1 and CLK1B having a duty of 50% are frequency-divided by the frequency dividing number P or P + 1 to generate sub-frequency-divided signals DO1 and DO2, respectively.

経路切換回路2は、実施の形態1の場合と同様、経路選択信号MXCNTに従って可変整数分周器70Aおよび70Bの出力信号の一方を選択して最終分周信号DOを生成する。従って、この図26に示す分数分周回路のリセット動作を除く分周動作自体は実施の形態1から3の分周回路の分周動作と同じである。   Similarly to the case of the first embodiment, path switching circuit 2 selects one of the output signals of variable integer frequency dividers 70A and 70B in accordance with path selection signal MXCNT and generates final frequency division signal DO. Therefore, the frequency dividing operation itself excluding the resetting operation of the fractional frequency dividing circuit shown in FIG. 26 is the same as the frequency dividing operation of the frequency dividing circuits of the first to third embodiments.

分周リセット信号DVRSTは、可変整数分周器70Aおよび70Bの出力信号DO1およびDO2の位相差が、入力クロック信号CLK1の半クロックサイクル以上存在する場合にアサートされる。すなわち、電源投入時などにおいて、回路起動時間誤差などにより、可変整相分周器70Aおよび70Bの有する分周信号DO1およびDO2が、入力クロック信号CLK1の半クロックサイクル以上ずれる場合が存在し、このような差が生じた場合、正確に、ステップサイズ0.5で分周を行なうことができなくなる。この分周リセット信号DVRSTを利用することにより、正確に0.5クロックサイクルの位相差を有する分周信号DO1およびDO2を生成して、分数精度の分周動作を実行することができる。   The frequency division reset signal DVRST is asserted when the phase difference between the output signals DO1 and DO2 of the variable integer frequency dividers 70A and 70B exists for a half clock cycle or more of the input clock signal CLK1. That is, when the power is turned on, there is a case where the divided signals DO1 and DO2 of the variable phasing dividers 70A and 70B deviate by more than a half clock cycle of the input clock signal CLK1 due to an error in circuit startup time. When such a difference occurs, it is impossible to accurately perform frequency division with a step size of 0.5. By using the frequency division reset signal DVRST, the frequency division signals DO1 and DO2 having a phase difference of 0.5 clock cycle can be accurately generated, and the frequency division operation with fractional precision can be executed.

図27は、分周リセット信号DVRSTを発生する部分の構成の一例を概略的に示す図である。図27において、分周リセット信号生成部は、可変整数分周器70Aおよび70Bの出力信号DO1およびDO2の位相差を検出する位相差検出回路76と、位相差検出回路76の出力信号に従ってリセット信号DVRSTを生成するリセット信号発生回路77とを含む。   FIG. 27 is a diagram schematically showing an example of the configuration of a part that generates the frequency division reset signal DVRST. In FIG. 27, the frequency division reset signal generator generates a phase difference detection circuit 76 that detects the phase difference between the output signals DO1 and DO2 of the variable integer frequency dividers 70A and 70B, and a reset signal according to the output signal of the phase difference detection circuit 76. A reset signal generating circuit 77 for generating DVRST.

位相差検出回路76は、たとえばサブ分周信号DO1およびDO2の論理レベルが異なる期間に応じた信号を生成する不一致検出回路と、この不一致検出回路の出力信号に従って容量素子を充電する回路と、容量素子の充電電位検出回路とで構成される。この容量素子は、サブ分周信号DO1およびDO2の位相差が0.5クロックと一致すると放電される。容量素子の充電電位が所定レベル以上となると位相差が半クロック以上あると判定されて、分周リセット信号DVRSTがアサートされる。   The phase difference detection circuit 76 includes, for example, a mismatch detection circuit that generates a signal corresponding to a period in which the logic levels of the sub-divided signals DO1 and DO2 are different, a circuit that charges a capacitive element in accordance with an output signal of the mismatch detection circuit, It is comprised with the charge potential detection circuit of an element. This capacitive element is discharged when the phase difference between the sub-frequency-divided signals DO1 and DO2 matches 0.5 clock. When the charging potential of the capacitive element becomes equal to or higher than a predetermined level, it is determined that the phase difference is half a clock or more, and the frequency division reset signal DVRST is asserted.

これに代えて、位相差検出回路76は、サブ分周信号DO1およびDO2の論理状態が0.5クロックに対して異なる期間をカウントするカウンタで構成されてもよい。カウンタのカウント値が所定値を越えると位相差が半クロック以上あると判定されて分周リセット信号DVRSTがアサートされる。   Instead of this, the phase difference detection circuit 76 may be configured by a counter that counts periods in which the logic states of the sub-frequency-divided signals DO1 and DO2 are different with respect to 0.5 clocks. When the count value of the counter exceeds a predetermined value, it is determined that the phase difference is equal to or greater than half a clock, and the frequency division reset signal DVRST is asserted.

この分周リセット信号DVRSTがアサートされる場合の位相差の臨界値は、半クロックサイクルでなくてもよく、可変分数分周回路が利用されるたとえばPLL周波数シンセサイザの同期引込期間等に応じて適宜定められればよい。   The critical value of the phase difference in the case where the frequency division reset signal DVRST is asserted may not be a half clock cycle, and is appropriately determined according to, for example, a synchronization pull-in period of a PLL frequency synthesizer in which a variable fractional frequency dividing circuit is used. It may be determined.

以上のように、この発明の実施の形態9に従えば、2つの可変整数分周器の出力信号の位相差が例えば0.5クロックサイクルの所定値以上のときに、可変整数分周器の分周動作をリセットするように構成している。したがって、実施の形態1の効果に加えて、正確に、0.5クロックサイクルの位相差を有する分周信号を生成して、分周動作を実行することができる。   As described above, according to the ninth embodiment of the present invention, when the phase difference between the output signals of the two variable integer dividers is equal to or greater than a predetermined value of 0.5 clock cycles, for example, The frequency dividing operation is reset. Therefore, in addition to the effect of the first embodiment, it is possible to accurately generate a frequency-divided signal having a phase difference of 0.5 clock cycle and execute the frequency-dividing operation.

なお、実施の形態1から9の分数分周回路の構成が適宜組合わせて用いられてもよい。
[実施の形態10]
図28は、この発明の実施の形態10に従う可変分数分周回路の構成を概略的に示す図である。図28において、同一構成の可変整数分周器80がN+1個並列に設けられる。以下の説明においては、これらの可変整数分周器を互いに識別するために、符号DIV0−DIVNで示す。可変整数分周器DIVk(k=0−Nのいずれか)は、デューティ50%の差動クロック信号CLK4kおよびCLK4kBをそれぞれ正相入力および逆相入力に受け、分周数PまたはP+1で分周動作を行なってサブ分周信号DOkを生成する。これらの可変整数分周器DIV0−DIVNは、それぞれの分周数が、分周数設定信号DVCNT40−DVCNT4Nに従って設定される。
Note that the configurations of the fractional frequency dividing circuits of the first to ninth embodiments may be used in appropriate combination.
[Embodiment 10]
FIG. 28 schematically shows a structure of a variable fractional frequency dividing circuit according to the tenth embodiment of the present invention. In FIG. 28, N + 1 variable integer frequency dividers 80 having the same configuration are provided in parallel. In the following description, these variable integer frequency dividers are denoted by symbols DIV0 to DIVN in order to distinguish them from each other. Variable integer frequency divider DIVk (one of k = 0 to N) receives differential clock signals CLK4k and CLK4kB having a duty of 50% at the positive phase input and the negative phase input, respectively, and divides by frequency division number P or P + 1. An operation is performed to generate a sub-divided signal DOk. These variable integer frequency dividers DIV0 to DIVN have their frequency division numbers set according to frequency division number setting signals DVCNT40 to DVCNT4N.

可変整数分周器DIV0−DIVNの出力信号DO0−DONを選択するために、経路切換回路82が設けられる。経路切換回路82は、経路選択信号MXCNT3に従って、可変整数分周器DIV0−DIVNの出力信号DO0−DONのいずれかを選択して最終分周信号DOを生成する。   A path switching circuit 82 is provided for selecting the output signals DO0-DON of the variable integer frequency dividers DIV0-DIVN. The path switching circuit 82 selects one of the output signals DO0-DON of the variable integer frequency dividers DIV0-DIVN according to the path selection signal MXCNT3, and generates the final frequency-divided signal DO.

図29は、この図28に示す可変整数分周器DIV0−DIVNに与えられるクロック信号CLK40、CLK40B−CLK4N、CLK4NBの位相関係の一例を示す図である。図29において、可変整数分周器DIVkおよびDIV(k+1)へ与えられるクロック信号CLK4kおよびCLK4(k+1)は、位相がΔTずれている。ここで、ΔTは、T/(N+1)であり、Tは、入力クロック信号CLK40−CLK4Nの1クロックサイクル期間である。ここで、0≦J<N、かつ、N≧1を満たす整数である。   FIG. 29 shows an example of the phase relationship between clock signals CLK40, CLK40B-CLK4N and CLK4NB supplied to variable integer frequency dividers DIV0 to DIVN shown in FIG. In FIG. 29, clock signals CLK4k and CLK4 (k + 1) applied to variable integer frequency dividers DIVk and DIV (k + 1) are out of phase by ΔT. Here, ΔT is T / (N + 1), and T is one clock cycle period of the input clock signals CLK40 to CLK4N. Here, it is an integer satisfying 0 ≦ J <N and N ≧ 1.

したがって、可変整数分周器DIVJに与えられる入力クロック信号CLK4Jは、入力クロック信号CLK40に対し、期間J・ΔTだけ位相が遅れている。一方、可変整数分周器DIVNに与えられる入力クロック信号CLK4Nは、入力クロック信号CLK40に対し、期間N・ΔTだけ遅れている。次に、図28に示す可変分数分周回路の動作について説明する。図30から図32は、この図28に示す可変分数分周回路の動作を示すタイミング図である。以下、図30から図32を参照して、図28に示す可変分数分周回路の分周動作切換について説明する。   Therefore, the phase of the input clock signal CLK4J supplied to the variable integer frequency divider DIVJ is delayed by the period J · ΔT with respect to the input clock signal CLK40. On the other hand, the input clock signal CLK4N applied to the variable integer frequency divider DIVN is delayed by a period N · ΔT with respect to the input clock signal CLK40. Next, the operation of the variable fractional frequency dividing circuit shown in FIG. 28 will be described. 30 to 32 are timing charts showing the operation of the variable fractional frequency dividing circuit shown in FIG. Hereinafter, the frequency division operation switching of the variable fractional frequency dividing circuit shown in FIG. 28 will be described with reference to FIGS.

まず、図30を参照して、J番目の可変整数分周器DIVJがマスタとなって分周動作を実施している状態から、次に、P+A/(N+1)分周を実施する場合について説明する。Aは、0<A<N+1の整数である。マスタの可変整数分周器DIVJの出力信号DOJに対し、スレーブの可変整数分周器は、その番号が1ずつ増分するにつれてその出力信号がΔTだけ遅延し、この遅延量は、分周信号DONからさらにDO0のもとにサイクリックに変化して増分される。   First, with reference to FIG. 30, a description will be given of a case where P + A / (N + 1) frequency division is performed from the state where the J-th variable integer frequency divider DIVJ serves as a master and performs frequency division operation. To do. A is an integer of 0 <A <N + 1. In contrast to the output signal DOJ of the master variable integer frequency divider DIVJ, the slave variable integer frequency divider delays its output signal by ΔT as its number is incremented by 1. This delay amount is determined by the divided signal DON. And cyclically changed under DO0 and incremented.

P+A/(N+1)分周を実施する場合、可変整数分周器DIV0−DIVNの出力信号DO0−DONがすべてHレベルの期間の時刻taにおいて、経路選択信号MXCNT3により、MOD(A+J,N+1)番目すなわち(A+J)のモジュロ(N+1)の演算結果、すなわち(A+J)/(N+1)の剰余の番号に対応する可変整数分周器(DIVk)の分周数をPに設定して、その分周数がPに設定された可変整数分周器(DIVk)の出力信号(DOk)を選択して最終分周信号DOを生成する。   When the P + A / (N + 1) frequency division is performed, the MOD (A + J, N + 1) th is generated by the path selection signal MXCNT3 at the time ta when the output signals DO0-DON of the variable integer frequency dividers DIV0-DIV are all at the H level. That is, the division number of the variable integer divider (DIVk) corresponding to the result of the modulo (N + 1) of (A + J), that is, the remainder number of (A + J) / (N + 1) is set to P The output signal (DOk) of the variable integer divider (DIVk) whose number is set to P is selected to generate the final divided signal DO.

このとき、マスタおよびスレーブの出力信号の位相関係を維持するため、図30におけるサブ分周信号DOkよりも先に分周動作が実行されて、サブ分周信号が先にHレベルに立上がる信号、すなわちサブ分周信号DOJからDO(k−1)までを出力する可変整数分周器の分周数をP+1に設定し、残りの可変整数分周器の分周数をPに設定する。この操作により、最終分周信号DOは、Hレベル期間がA/(N+1)クロックサイクル長くされており、P+A/(N+1)分周が実現される。スレーブの可変整数分周器の出力信号は、順次ΔTだけ隣接する番号の可変整数分周器の出力信号に対して位相が遅れている。   At this time, in order to maintain the phase relationship between the output signals of the master and the slave, a frequency division operation is executed prior to the sub-frequency-divided signal DOk in FIG. 30, and the sub-frequency-divided signal rises to the H level first. That is, the frequency division number of the variable integer frequency divider that outputs the sub frequency division signals DOJ to DO (k−1) is set to P + 1, and the frequency division number of the remaining variable integer frequency dividers is set to P. By this operation, the final frequency-divided signal DO has the H level period extended by A / (N + 1) clock cycles, and P + A / (N + 1) frequency division is realized. The output signal of the variable integer frequency divider of the slave is delayed in phase with respect to the output signal of the variable integer frequency divider of the adjacent numbers sequentially by ΔT.

経路選択信号MXCNTおよび分周数設定信号DVCNT40−DVCNT4Nの状態の設定は、サブ分周信号DO0−DONがすべてHレベルの期間に行なわれる。このHレベル期間は、最低でも、P/2−N/(N+1)クロックサイクル期間存在する。したがって、先の実施の形態9において説明したように、分周数Pが4であれば、1.5クロックサイクル以上のタイミング余裕があり、十分に余裕を持って分周数の切換を行なうことができる。   The state selection of the path selection signal MXCNT and the frequency division number setting signals DVCNT40 to DVCNT4N is performed during a period when all the sub frequency division signals DO0 to DON are at the H level. This H level period is at least P / 2−N / (N + 1) clock cycle periods. Therefore, as described in the ninth embodiment, if the frequency division number P is 4, there is a timing margin of 1.5 clock cycles or more, and the frequency division number is switched with a sufficient margin. Can do.

次に、可変整数分周器DIVJがマスタとして分周動作を実施した状態で、次にP+1分周動作を実施する場合の動作を図31を参照して説明する。   Next, with reference to FIG. 31, the operation when the P + 1 frequency dividing operation is performed next with the variable integer frequency divider DIVJ performing the frequency dividing operation as a master will be described.

この場合、図31に示すように、時刻tbにおいて、可変整数分周器DIV0−DIVNの出力信号DO−DONがすべてHレベルの期間において、可変整数分周器DIV0−DIVNの分周数をすべてP+1に設定する。経路選択信号MXCNT3は、J番目の可変整数分周器DIVJの出力信号DOJを継続して選択する。これにより、マスタおよびスレーブの出力信号の位相関係を維持した状態で、P+1分周を実行することができる。   In this case, as shown in FIG. 31, at the time tb, all the variable integer frequency dividers DIV0 to DIVN are all divided during the period when the output signals DO-DON of the variable integer frequency dividers DIV0 to DIVN are all at the H level. Set to P + 1. The path selection signal MXCNT3 continuously selects the output signal DOJ of the Jth variable integer frequency divider DIVJ. As a result, P + 1 frequency division can be executed while maintaining the phase relationship between the master and slave output signals.

次に、図32を参照して、J番目の可変整数分周器DIVJがマスタとして分周動作を実施している状態から次にP分周を実施する場合の動作について説明する。この場合、前述のP+A/(N+1)分周における係数Aが0の場合に相当し、サブ分周信号DO0−DONが全てHレベルの時刻tcにおいて、経路選択信号MXCNT3によりMOD(0+J,A+1)、すなわちJ番目の可変整数分周器DIVJの出力信号DOJを継続して選択する。このとき、可変整数分周器DIVJがマスタであり、このマスタの可変整数分周器DIVJよりも先に分周動作を実行する可変整数分周器は存在しないため、すべての可変整数分周器DIV0−DIVNの分周数をPに設定する。これにより、最終分周信号DOとして、P分周された信号が生成される。また、マスタおよびスレーブの出力信号の位相関係は維持される。   Next, with reference to FIG. 32, an operation when the P-th frequency division is performed next from the state where the J-th variable integer frequency divider DIVJ is performing the frequency division operation as a master will be described. In this case, this corresponds to the case where the coefficient A in the P + A / (N + 1) frequency division is 0. At time tc when all the sub-frequency-divided signals DO0-DON are at the H level, MOD (0 + J, A + 1) is generated by the path selection signal MXCNT3. That is, the output signal DOJ of the J-th variable integer frequency divider DIVJ is continuously selected. At this time, since the variable integer frequency divider DIVJ is a master and there is no variable integer frequency divider that performs a frequency dividing operation prior to the variable integer frequency divider DIVJ of this master, all the variable integer frequency dividers Set the frequency division number of DIV0-DIVN to P. As a result, a P-divided signal is generated as the final divided signal DO. Also, the phase relationship between the master and slave output signals is maintained.

上述のように、N+1個の可変整数分周器を並列に設け、各可変整数分周器をPまたはP+1分周動作を実行可能とすることにより、1/(N+1)クロック単位での細かい精度で分数分周数を設定することができる。   As described above, by providing N + 1 variable integer frequency dividers in parallel and enabling each variable integer frequency divider to perform P or P + 1 frequency division operations, fine accuracy in 1 / (N + 1) clock units. The fractional frequency can be set with.

図33は、図28に示す分周数制御信号MXCNT3およびDVCNT40−DVCNT4Nを発生する部分の構成を概略的に示す図である。図33において、分周制御信号発生回路100は、分周数切換タイミングを生成する切換タイミング発生回路102と、最終分周信号DOの分周数を設定するDO分周数設定回路104と、DO分周数設定回路104で設定された分周数に従って分周シーケンスを設定する分周シーケンス設定回路106と、マスタの可変整数分周器を示す情報を格納するマスタレジスタ108と、分周数制御信号MXCNT3およびDVCNT40−DVCNT4Nを生成する分周制御信号生成回路110とを含む。   FIG. 33 schematically shows a structure of a portion for generating frequency division number control signals MXCNT3 and DVCNT40-DVCNT4N shown in FIG. 33, a frequency division control signal generation circuit 100 includes a switching timing generation circuit 102 that generates a frequency division number switching timing, a DO frequency division number setting circuit 104 that sets the frequency division number of the final frequency division signal DO, A frequency dividing sequence setting circuit 106 that sets a frequency dividing sequence according to the frequency dividing number set by the frequency dividing number setting circuit 104, a master register 108 that stores information indicating a master variable integer frequency divider, and frequency division number control A frequency division control signal generation circuit 110 for generating signals MXCNT3 and DVCNT40-DVCNT4N.

分周制御信号発生回路110は、切換タイミング発生回路102からの切換イネーブル信号ENCの活性化時、分周シーケンス設定回路106からの最終分周数指示信号FDRとマスタレジスタレジスタ108に格納されたマスタ指示データMMとに従って分周数制御信号MXCNT3およびDVCNT40−DVCNT4Nを生成する。   When the switching enable signal ENC from the switching timing generating circuit 102 is activated, the frequency dividing control signal generating circuit 110 receives the final frequency dividing number instruction signal FDR from the frequency dividing sequence setting circuit 106 and the master stored in the master register register 108. Frequency division number control signals MXCNT3 and DVCNT40-DVCNT4N are generated in accordance with instruction data MM.

切換タイミング発生回路102は、可変整数分周器DIV0−DIVNの出力信号DO0−DONがすべてHレベルのときに切換イネーブル信号ENCをアサートする。   Switching timing generation circuit 102 asserts switching enable signal ENC when output signals DO0-DON of variable integer frequency dividers DIV0-DIVN are all at the H level.

DO分周数設定回路104は、最終分周信号DOに要求される分周数を示す情報を格納する。DO分周数設定回路104に格納される分周数情報は、予め固定的にROMなどにより格納されてもよく、また、アプリケーションなどに応じて使用者が適宜設定してもよい。   The DO frequency division number setting circuit 104 stores information indicating the frequency division number required for the final frequency division signal DO. The frequency division number information stored in the DO frequency division number setting circuit 104 may be fixedly stored in advance in a ROM or the like, or may be appropriately set by a user according to an application or the like.

分周シーケンス設定回路106は、たとえば最終分周数と各分周数のシーケンスを示す情報とを対応して格納するテーブルメモリを含み、入力クロック信号たとえばCLK40に従って各分周サイクルに対し、分周数指示信号FDRを生成する。この分周シーケンス設定回路106は、また、最終分周信号DOがLレベルのときに、その最終分周数指示信号FDRを更新するように構成されてもよい。   The frequency division sequence setting circuit 106 includes, for example, a table memory that stores the final frequency division number and information indicating the sequence of each frequency division number in correspondence with each other. A numerical instruction signal FDR is generated. The frequency division sequence setting circuit 106 may be configured to update the final frequency division number instruction signal FDR when the final frequency division signal DO is at L level.

分周制御信号発生回路110は、切換イネーブル信号ENCのアサート時、すなわち分周信号DO0−DONがすべてHレベルのときに、分周数指示信号FDRとマスタレジスタ108に格納されるマスタ指示信号データMMとに従って、必要な演算を実行して分周数制御信号MXCNT3およびDVCNT40−DVCNT4Nの状態を設定して出力する。   The frequency division control signal generation circuit 110 generates the frequency division number instruction signal FDR and the master instruction signal data stored in the master register 108 when the switching enable signal ENC is asserted, that is, when the frequency division signals DO0 to DON are all at the H level. In accordance with MM, necessary operations are executed to set and output the states of frequency division number control signals MXCNT3 and DVCNT40-DVCNT4N.

図34は、図33に示す分周制御信号生成回路110の動作を示すフロー図である。以下、図34を参照して、図33に示す分周数制御信号発生部の分周制御信号発生動作について説明する。   FIG. 34 is a flowchart showing the operation of the frequency division control signal generation circuit 110 shown in FIG. Hereinafter, the frequency division control signal generation operation of the frequency division number control signal generation unit shown in FIG. 33 will be described with reference to FIG.

図34において、まず、マスタの可変整数分周器が初期状態に設定され(MM=K)(ステップSP1)、次いで、最終分周信号DOの分周数が分周数設定回路104に設定される(ステップSP2)。ここで、Kは、0≦K≦Nを満たす整数である。   34, first, the master variable integer frequency divider is set to an initial state (MM = K) (step SP1), and then the frequency division number of the final frequency division signal DO is set to the frequency division number setting circuit 104. (Step SP2). Here, K is an integer that satisfies 0 ≦ K ≦ N.

この設定された最終分周信号の分周数に従って、最終分周信号の分周数指示信号FDRが初期値P+B/(N+1)に設定される(ステップSP3)。ここで、Bは、0≦B≦N+1を満たす整数である。   According to the set frequency division number of the final frequency division signal, the frequency division number indication signal FDR of the final frequency division signal is set to the initial value P + B / (N + 1) (step SP3). Here, B is an integer that satisfies 0 ≦ B ≦ N + 1.

次いで、分周動作が開始され、初期設定されたマスタおよびスレーブが、デフォルト状態の分周数設定信号により決定される分周数(デフォルト値;例えば分周数P)に従って分周動作を実行する(ステップSP4)。このとき、各可変整数分周器DIV0−DIVNは、それぞれ与えられたクロック信号に従って分周動作を開始する。   Next, a frequency division operation is started, and the initially set master and slave execute the frequency division operation according to the frequency division number (default value; for example, frequency division number P) determined by the frequency division number setting signal in the default state. (Step SP4). At this time, each of the variable integer frequency dividers DIV0 to DIVN starts a frequency dividing operation according to a given clock signal.

分周サイクルが始まり、サブ分周信号DO0−DONがすべてHレベルとなると、分周信号生成回路110において、分周シーケンス設定回路106から与えられた最終分周数指示信号FDRを受け、現サイクルにおける最終分周信号の分周数を識別する(ステップSP5)。最終分周数指示信号FDRが分周数PまたはP+1を指定しているとき(B=0またはN+1のとき)、分周制御信号生成回路110は、初期設定されたマスタを維持し、すべての可変整数分周器DIV0−DIVNに対し、対応の可変分周数設定信号DVCNT0−DVCNTNを分周数P+B/(N+1)を示す状態に設定する。これにより、可変整数分周器の分周数がPまたはP+1に設定される(ステップSP6)。   When the frequency-dividing cycle starts and all the sub-frequency-divided signals DO0-DON are at the H level, the frequency-dividing signal generation circuit 110 receives the final frequency-dividing instruction signal FDR given from the frequency-division sequence setting circuit 106, and the current cycle The frequency division number of the final frequency division signal is identified (step SP5). When the final frequency division number instruction signal FDR designates the frequency division number P or P + 1 (when B = 0 or N + 1), the frequency division control signal generation circuit 110 maintains the initially set master, For variable integer frequency dividers DIV0 to DIVN, corresponding variable frequency division number setting signals DVCNT0 to DVCNTN are set to a state indicating frequency division number P + B / (N + 1). As a result, the frequency division number of the variable integer frequency divider is set to P or P + 1 (step SP6).

一方、最終分周数指示信号FDRが分数分周数を示しているとき(Bが、1からNのいずれかの整数のとき)、分周制御信号生成回路110は、以下の動作を実行する。すなわち、現在マスタの可変整数分周器の番号Kを、MOD(K+B,N+1)の番号に設定する。また、番号KからMOD(K+B,N+1)−1の可変整数分周器の分周数設定信号DVCNTを、分周数P+1を指定する状態に設定し、残りの可変整数分周器に対する分周数設定信号DVCNTを分周数Pを指定する状態に設定する(ステップSP7)。   On the other hand, when final frequency division number instruction signal FDR indicates a fractional frequency division number (when B is an integer from 1 to N), frequency division control signal generation circuit 110 executes the following operation. . That is, the number K of the variable integer frequency divider of the current master is set to the number of MOD (K + B, N + 1). Further, the frequency division number setting signal DVCNT of the variable integer frequency divider from number K to MOD (K + B, N + 1) -1 is set to a state in which the frequency division number P + 1 is designated, and the frequency division for the remaining variable integer frequency dividers is performed. The number setting signal DVCNT is set to a state for designating the frequency dividing number P (step SP7).

サブ分周信号に対する分周数が指定されて、切換タイミング発生回路102からの切換イネーブル信号ENCがアサートされると、分周制御信号生成回路110が、確定状態の経路選択信号MXCNT3、および分周数選択信号DVCNT0−DVCNTNを出力する。また、マスタレジスタ108のマスタ指示データMMを、次の分周サイクルにおけるマスタの可変整数分周器の番号MOD(K+B,N+1)を示す値に設定する(ステップSP8)。これにより、現サイクルにおいて、最終分周数指示信号FDRが指定する分周動作が実行される。   When the frequency division number for the sub frequency division signal is designated and the switching enable signal ENC from the switching timing generation circuit 102 is asserted, the frequency division control signal generation circuit 110 receives the path selection signal MXCNT3 in the definite state and the frequency division signal. Number selection signals DVCNT0 to DVCNTN are output. Further, the master instruction data MM of the master register 108 is set to a value indicating the number MOD (K + B, N + 1) of the master variable integer frequency divider in the next frequency dividing cycle (step SP8). Thereby, in the current cycle, the frequency dividing operation designated by the final frequency dividing number instruction signal FDR is executed.

分周動作終了指示が与えられるかの判別がステップSP9において行なわれ、この分周動作終了指示が与えられていない場合には、再びステップSP2に戻り、一連の分周動作を実行する。この分周終了指示は、たとえば電源遮断または動作モード終了(たとえば携帯端末などのPLL周波数シンセサイザにおいて利用される場合の送受信停止指示などにより生成される。このステップSP9において分周終了が指示されると、分周動作が終了する。   It is determined whether or not a frequency division operation end instruction is given in step SP9. If this frequency division operation end instruction is not given, the process returns to step SP2 again to execute a series of frequency division operations. This frequency division end instruction is generated by, for example, power shutdown or operation mode end (for example, a transmission / reception stop instruction when used in a PLL frequency synthesizer such as a portable terminal. When the end of frequency division is instructed in step SP9) The frequency dividing operation ends.

以上のように、各々が連続する2つの整数PおよびP+1で分周動作が可能な可変整数分周器を複数個並列に設け、それぞれ分周動作を1/(N+1)クロックサイクルずれて分周動作を実行するように構成しており、より細かい分数精度で分周動作を行なうことができる。   As described above, a plurality of variable integer frequency dividers each capable of dividing by two consecutive integers P and P + 1 are provided in parallel, and each dividing operation is divided by 1 / (N + 1) clock cycles. The operation is configured to be executed, and the frequency dividing operation can be performed with finer fractional accuracy.

[変更例]
図35は、この発明の実施の形態10に従う可変分数分周回路の変更例の構成を概略的に示す図である。この図35に示す可変分周分周回路は、以下の点で、図28に示す可変分数分周回路の構成とその構成が異なる。すなわち、可変整数分周器DIV0−DIVNに対し、クロック遅延生成回路120が設けられる。
[Example of change]
FIG. 35 schematically shows a structure of a modification of the variable fractional frequency dividing circuit according to the tenth embodiment of the present invention. The variable frequency dividing circuit shown in FIG. 35 differs from the configuration of the variable fractional frequency dividing circuit shown in FIG. 28 in the following points. That is, clock delay generation circuit 120 is provided for variable integer frequency dividers DIV0 to DIVN.

クロック遅延生成回路120は、デューティ50%の差動クロック信号CLK1およびCLK1Bをそれぞれ受けるバッファ122aおよび122bと、バッファ122aの出力クロック信号をそれぞれ時間ΔTだけ遅延する遅延回路DLK1−DLKNと、バッファ122bの出力クロック信号をそれぞれ時間ΔTだけ遅延する遅延回路DLKB1−DLKBN含む。ここで、遅延時間ΔTは、正確に、ΔT=T/(N+1)である。   Clock delay generation circuit 120 includes buffers 122a and 122b that receive differential clock signals CLK1 and CLK1B having a duty of 50%, delay circuits DLK1 to DLKN that delay output clock signals of buffer 122a by time ΔT, and buffers 122b, respectively. Delay circuits DLKB1-DLKBN for delaying the output clock signals by time ΔT are included. Here, the delay time ΔT is exactly ΔT = T / (N + 1).

バッファ122aおよび122bからのクロック信号は、それぞれクロック信号CLK40およびCLK40Bとして可変整数分周器DIV0へ与えられる。遅延回路DLK1,DLKB1、…、DLKJ,DLKBJ、…、DLKN,DLKBNは、それぞれ、可変整数分周器DIV1、…、DIVJ、…、DIVNに対応して設けられる。遅延回路DLK1およびDLKB1から、デューティ50%の差動クロック信号CLK41およびCLK41Bがそれぞれ生成され、可変整数分周器DIV1へ与えられる。   Clock signals from buffers 122a and 122b are applied to variable integer frequency divider DIV0 as clock signals CLK40 and CLK40B, respectively. Delay circuits DLK1, DLKB1,..., DLKJ, DLKBJ,..., DLKN, DLKBN are provided corresponding to variable integer frequency dividers DIV1,. From delay circuits DLK1 and DLKB1, differential clock signals CLK41 and CLK41B having a duty of 50% are generated and applied to variable integer frequency divider DIV1.

遅延回路DLKJおよびDLKBJから、入力クロック信号CLK1およびCLK1Bに対しJ・ΔTだけ遅延したデューティ50%の差動クロック信号CLK4JおよびCLK4JBが生成され、可変整数分周器DIVJへ与えられる。遅延回路DLKNおよびDLKBNからは、入力クロック信号CLK1およびCLK1Bに対しN・ΔTだけ遅延したデューティ50%の差動クロック信号CLK4NおよびCLK4NBがそれぞれ生成され、可変整数分周器DIVNへ与えられる。   From delay circuits DLKJ and DLKBJ, differential clock signals CLK4J and CLK4JB having a duty of 50% delayed by J · ΔT with respect to input clock signals CLK1 and CLK1B are generated and applied to variable integer frequency divider DIVJ. From delay circuits DLKN and DLKBN, differential clock signals CLK4N and CLK4NB having a duty of 50% delayed by N · ΔT with respect to input clock signals CLK1 and CLK1B are generated and applied to variable integer frequency divider DIVN.

すなわち、iを1からNの整数として、遅延回路DLKi,DLKBiから、入力クロック信号CLK1およびCLKB1に対して遅延時間i・ΔTを有するデューティ50%の差動クロック信号CLKiおよびCLKBiが生成されて、可変整数分周器DIViへ与えられる。   That is, assuming that i is an integer from 1 to N, differential clock signals CLKi and CLKBi with a duty of 50% having delay time i · ΔT with respect to input clock signals CLK1 and CLKB1 are generated from delay circuits DLKi and DLKBi, Is provided to the variable integer divider DIVi.

この図35に示す可変分数分周回路の他の構成は、図28に示す可変分数分周回路の構成と同じであり、対応する部分には同一参照番号を付し、その詳細説明は省略する。   The other configuration of the variable fractional frequency dividing circuit shown in FIG. 35 is the same as that of the variable fractional frequency dividing circuit shown in FIG. 28, and corresponding portions are denoted by the same reference numerals, and detailed description thereof is omitted. .

図35に示す構成の場合、入力クロック信号として、外部から1対の差動クロック信号CLK1およびCLK1Bが与えられるだけであり、可変整数分周器DIV1−DIVNそれぞれに対して、外部からクロック信号CLK41およびCLK41B−CLK4N,CLKNBを個々に生成して与える必要はなく、配線レイアウト面積を低減することができる。   In the configuration shown in FIG. 35, only a pair of differential clock signals CLK1 and CLK1B are externally supplied as input clock signals, and clock signal CLK41 is externally supplied to each of variable integer frequency dividers DIV1-DIVN. Further, it is not necessary to generate and give CLK41B-CLK4N and CLKNB individually, and the wiring layout area can be reduced.

なお、この発明の実施の形態10に従う可変分数分周回路においても、実施の形態1から9の構成のいずれかと組合せて用いられてもよい。   Note that the variable fractional frequency dividing circuit according to the tenth embodiment of the present invention may also be used in combination with any of the configurations of the first to ninth embodiments.

以上のように、この発明の実施の形態10に従えば、複数の互いに位相がΔT(=T/(N+1))だけずれた分周クロック信号に従って分周数PおよびP+1で分周動作が可能な可変整数分周回路を並列に設けている。これにより、実施の形態1から9の効果に加えて、より細かい分数精度で分周信号を生成することができる。   As described above, according to the tenth embodiment of the present invention, a plurality of frequency division operations can be performed with frequency division numbers P and P + 1 in accordance with a plurality of frequency division clock signals whose phases are shifted by ΔT (= T / (N + 1)). Variable integer frequency dividers are provided in parallel. Thereby, in addition to the effects of the first to ninth embodiments, a frequency-divided signal can be generated with finer fractional accuracy.

この発明は、分数精度で分周を行なう分周回路に適用することにより、高速の入力クロック信号に対しても正確に分数分周数で分周を行う分周回路を実現することができる。特に、PLL周波数シンセサイザなどに適用することにより、高速の入力クロック信号に対しても所望の分周比の分周信号を正確に生成することができる。   By applying the present invention to a frequency dividing circuit that divides the frequency with fractional accuracy, it is possible to realize a frequency dividing circuit that accurately divides the high-speed input clock signal by the fractional frequency. In particular, when applied to a PLL frequency synthesizer or the like, a frequency-divided signal having a desired frequency-dividing ratio can be accurately generated even for a high-speed input clock signal.

1A,1B 可変整数分周器、2 経路切換回路、21A,21B,22,23 可変整数分周器、25 差動クロック生成回路、26A,26B 可変整数分周器、30 分周器本体、31a,31b 電流源、37A,37B 可変整数分周器、38 経路選択信号生成回路、70A,70B 可変整数分周器、DIV0−DIVN 可変整数分周器、82 経路切換回路、120 クロック遅延生成回路。   1A, 1B Variable integer frequency divider, 2 path switching circuit, 21A, 21B, 22, 23 Variable integer frequency divider, 25 Differential clock generation circuit, 26A, 26B Variable integer frequency divider, 30 frequency divider body, 31a , 31b Current source, 37A, 37B variable integer frequency divider, 38 path selection signal generation circuit, 70A, 70B variable integer frequency divider, DIV0-DIVN variable integer frequency divider, 82 path switching circuit, 120 clock delay generation circuit.

Claims (8)

互いに並列に設けられ、各々が分周数設定信号に従って与えられたクロック信号を少なくとも連続する2つの整数PおよびP+1のいずれかの分周数で分周して出力するN+1個の分周器を備え、前記N+1個の分周器は、それぞれ0からNまでの番号が順に付され、前記N+1個の分周器におけるJ番目の分周器は、前記0番目の分周器に与えられるクロック信号に対してJ/(N+1)クロックサイクル位相がずれたクロック信号が与えられ、前記Nは、1以上の整数であり、
経路選択信号に従って前記N+1個の分周器の出力信号のいずれか1つを選択して最終分周信号として出力する経路切換回路を備える、分周回路。
N + 1 frequency dividers which are provided in parallel with each other and divide and output a clock signal applied according to a frequency division number setting signal by at least one of the continuous integers P and P + 1. The N + 1 frequency dividers are numbered sequentially from 0 to N, and the Jth frequency divider in the N + 1 frequency dividers is a clock provided to the 0th frequency divider. A clock signal having a phase difference of J / (N + 1) clock cycles is given to the signal, and N is an integer of 1 or more,
A frequency dividing circuit comprising a path switching circuit that selects any one of output signals of the N + 1 frequency dividers according to a path selection signal and outputs the selected signal as a final frequency division signal.
前記選択信号は、K番目の分周器の出力信号が選択された状態で前記最終分周信号のP分周からP+A/(N+1)分周に変更する際には、MOD(A+J,N+1)番目の分周器の出力信号を選択し、前記分周数設定信号は、前記MOD(A+J、N+1)番目の分周器の分周数を前記Pに設定し、前記MOD(A+J、N+1)番目の分周器よりも早いタイミングで分周動作を開始する分周器に対しては分周数を前記P+1に設定し、残りの分周器に対しては分周数を前記Pに設定し、ここで、Aは、0以上N以下の整数であり、前記MOD(A+J、N+1)は、A+Jに対するモジュローN+1の演算を示し、
前記J番目の分周器の出力信号が選択された状態で前記最終分周信号の分周数をP+1分周に変更する場合には、前記分周器の分周数をすべて前記P+1に設定するように前記分周数選択信号が選択され、前記経路選択信号は、継続して前記J番目の分周器の出力信号を選択する状態に維持される、請求項1記載の分周回路。
The selection signal is MOD (A + J, N + 1) when changing from P division of the final division signal to P + A / (N + 1) division with the output signal of the Kth divider selected. The output signal of the second frequency divider is selected, and the frequency division number setting signal sets the frequency division number of the MOD (A + J, N + 1) th frequency divider to P, and the MOD (A + J, N + 1). The frequency division number is set to P + 1 for the frequency divider that starts the frequency division operation earlier than the first frequency divider, and the frequency division number is set to P for the remaining frequency dividers. Where A is an integer greater than or equal to 0 and less than or equal to N, and MOD (A + J, N + 1) represents a modulo N + 1 operation on A + J;
When the frequency division number of the final frequency division signal is changed to P + 1 division while the output signal of the J-th frequency divider is selected, all the frequency division numbers of the frequency divider are set to P + 1. The frequency dividing circuit according to claim 1, wherein the frequency division number selection signal is selected so that the path selection signal is continuously selected to select an output signal of the J-th frequency divider.
各前記分周器は、前記経路選択信号が他の分周器を指定しているときには、分周パワーセーブ信号に従って動作電流を低減する手段を備える、請求項1または2記載の分周回路。   3. The frequency dividing circuit according to claim 1, wherein each of the frequency dividers includes means for reducing an operating current according to a frequency divided power save signal when the path selection signal designates another frequency divider. 前記Nは1であり、前記N+1個の分周器は、第1および第2の分周器を備え、
各前記分周器は、
相互に自身の分周状態を示す信号を送信する手段と、
前記送信手段から送信された相手方の分周状態と自身の分周状態と外部からの最終分周信号の分周数を指定する信号とに従って自身の分周数を設定するとともに、該設定された分周数を示す分周数伝達信号を生成する分周数設定手段とを含み、
前記分周回路は、さらに、
前記第1および第2の分周器に共通に設けられ、前記第1および第2の分周器の分周数設定手段から伝達された分周数伝達信号に従って前記経路切換回路に対する前記経路選択信号を生成する経路選択信号生成回路を備える、請求項1から3のいずれかに記載の分周回路。
N is 1, and the N + 1 frequency dividers include first and second frequency dividers,
Each said divider is
Means for mutually transmitting signals indicating their frequency division states;
Set the frequency division number according to the frequency division state of the other party transmitted from the transmission means, the frequency division state of the other party, and the signal specifying the frequency division number of the final frequency division signal from the outside, and the set A frequency division number setting means for generating a frequency division number transmission signal indicating the frequency division number,
The frequency divider further comprises:
The path selection for the path switching circuit according to the frequency division number transmission signal provided in common to the first and second frequency dividers and transmitted from the frequency division number setting means of the first and second frequency dividers The frequency dividing circuit according to claim 1, further comprising a path selection signal generating circuit that generates a signal.
前記クロック信号はシングルエンドのデューティ50%のクロック信号である、請求項1から4のいずれかに記載の分周回路。   5. The frequency dividing circuit according to claim 1, wherein the clock signal is a single-ended 50% duty clock signal. シングルエンドの外部から与えられるデューティ50%のクロック信号からデューティ50%の差動クロック信号を生成して前記N+1個の分周器に対するクロック信号を生成する回路をさらに備える、請求項1から4のいずれかに記載の分周回路。   5. The circuit according to claim 1, further comprising a circuit that generates a differential clock signal having a duty of 50% from a clock signal having a duty of 50% given from outside of a single end to generate a clock signal for the N + 1 frequency dividers. Any one of the frequency divider circuits. 外部から与えられた入力クロック信号に従って、前記N+1個の分周器に対するクロック信号を生成するクロック遅延生成回路をさらに備え、前記クロック遅延生成回路は、第j番目の分周器に対しては、前記入力クロック信号に対してj/(N+1)クロックサイクル遅延したクロック信号を生成して前記j番目の分周器に与え、ここで、jは、0からNのいずれかの整数である、請求項1から4のいずれかに記載の分周回路。   The clock delay generation circuit further includes a clock delay generation circuit for generating a clock signal for the N + 1 frequency dividers in accordance with an input clock signal given from the outside. A clock signal delayed by j / (N + 1) clock cycles with respect to the input clock signal is generated and provided to the j th frequency divider, where j is an integer from 0 to N. Item 5. The frequency dividing circuit according to any one of Items 1 to 4. 各前記分周器は、リセット制御信号が前記分周器の出力信号の位相差が所定値よりも大きいことを示すとき、分周動作をリセットする、請求項1から4のいずれかに記載の分周回路。   5. The frequency divider according to claim 1, wherein each of the frequency dividers resets a frequency dividing operation when a reset control signal indicates that a phase difference between output signals of the frequency divider is larger than a predetermined value. Divider circuit.
JP2009185720A 2009-08-10 2009-08-10 Frequency divider circuit Pending JP2011040934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009185720A JP2011040934A (en) 2009-08-10 2009-08-10 Frequency divider circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009185720A JP2011040934A (en) 2009-08-10 2009-08-10 Frequency divider circuit

Publications (1)

Publication Number Publication Date
JP2011040934A true JP2011040934A (en) 2011-02-24

Family

ID=43768264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009185720A Pending JP2011040934A (en) 2009-08-10 2009-08-10 Frequency divider circuit

Country Status (1)

Country Link
JP (1) JP2011040934A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629871A (en) * 2012-03-22 2012-08-08 物联微电子(常熟)有限公司 Device and method for realizing wide-range multi-frequency band frequency division and frequency selection
JP2018019221A (en) * 2016-07-27 2018-02-01 株式会社ソシオネクスト Frequency division correction circuit, receiving circuit, and integrated circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629871A (en) * 2012-03-22 2012-08-08 物联微电子(常熟)有限公司 Device and method for realizing wide-range multi-frequency band frequency division and frequency selection
JP2018019221A (en) * 2016-07-27 2018-02-01 株式会社ソシオネクスト Frequency division correction circuit, receiving circuit, and integrated circuit
CN107666302A (en) * 2016-07-27 2018-02-06 株式会社索思未来 Frequency dividing amendment circuit, receiving circuit and integrated circuit
CN107666302B (en) * 2016-07-27 2021-06-15 株式会社索思未来 Frequency division correction circuit, receiving circuit and integrated circuit

Similar Documents

Publication Publication Date Title
JP6375317B2 (en) Fast frequency division method
US6914460B1 (en) Counter-based clock doubler circuits and methods
JP4780144B2 (en) Frequency divider circuit
US7652517B2 (en) Method and apparatus for generating synchronous clock signals from a common clock signal
JP4044819B2 (en) Phase switched dual-modulus prescaler circuit with means for reducing power consumption
JP5097573B2 (en) Frequency divider circuit
JP3601961B2 (en) Dual modulus prescaler
US10790837B1 (en) Self-tuning digital clock generator
CN111092617B (en) Frequency divider circuit, method for frequency divider circuit and compensation circuit
US6906571B1 (en) Counter-based phased clock generator circuits and methods
US8253449B2 (en) Clock switch circuit and clock switch method of the same
US7236040B2 (en) Method and apparatus for generating multiphase clocks
KR101406087B1 (en) Frequency Divider And Method For Dividing Frequency Of Frequency Divider
JP4817241B2 (en) 4-phase output 2 (2n + 1) frequency division phase shifter
Höppner et al. An open-loop clock generator for fast frequency scaling in 65nm CMOS technology
US8466720B2 (en) Frequency division of an input clock signal
JP2004056717A (en) Semiconductor device, system board and multi-phase clock generating circuit
JP2011040934A (en) Frequency divider circuit
US20030090303A1 (en) Frequency divider
US10560053B2 (en) Digital fractional frequency divider
KR20060131743A (en) A frequency divider and an electronic device incorporating such a frequency divider
JP2004172732A (en) Clock switch circuit
US7010714B1 (en) Prescaler architecture capable of non integer division
KR101418519B1 (en) Frequency Divider And Method For Dividing Frequency Of Frequency Divider
US7643580B2 (en) Signal generator circuit having multiple output frequencies

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20120123

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Effective date: 20130712

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130723

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131029