JPH0923153A - Frequency dividing circuit - Google Patents

Frequency dividing circuit

Info

Publication number
JPH0923153A
JPH0923153A JP7172012A JP17201295A JPH0923153A JP H0923153 A JPH0923153 A JP H0923153A JP 7172012 A JP7172012 A JP 7172012A JP 17201295 A JP17201295 A JP 17201295A JP H0923153 A JPH0923153 A JP H0923153A
Authority
JP
Japan
Prior art keywords
signal
frequency
divided
circuit
input
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.)
Granted
Application number
JP7172012A
Other languages
Japanese (ja)
Other versions
JP3031206B2 (en
Inventor
Yukinori Sugiyama
幸範 杉山
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP7172012A priority Critical patent/JP3031206B2/en
Publication of JPH0923153A publication Critical patent/JPH0923153A/en
Application granted granted Critical
Publication of JP3031206B2 publication Critical patent/JP3031206B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent operation frequency from being reduced by providing this frequency dividing circuit with 1st and 2nd flip flops(FFs) and a logic circuit and automatically setting up the 2-frequency divided signal of an input signal and the 2n-frequency divided signal of the input signal to specific states. SOLUTION: In the FFs 13, 14, the FF 13 is regarded as an upper bit and 00→01→10→00→... are repeatedly counted up. If a CLK signal is raised when a data output from the FF 13 is '1', the FF 14 inverts the data output, but when the output of the FF 13 is '0', the FF 14 does not change the data output even when the CLK signal is raised. Thereby an output from a three-input NAND 16 becomes '1' only in a specific state of a 6-frequency divider, i.e., the state of a counter constituted of the FFs 12, 13 is 00 and the output of the FF 14 is '0'. If a data input signal to an FF 11 is masked to '1' by a two-input NAND 15 when the signal is '1', a 2-frequency divider can be initialized to a specific state when the 6-frequency divider is in the specific state and phase matching between a 2-frequency divided signal and a 6-frequency divided signal can be executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は分周回路に関し、特
に回路動作の基準となる位相制御されたクロック信号を
出力する分周回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frequency divider circuit, and more particularly to a frequency divider circuit that outputs a phase-controlled clock signal that serves as a reference for circuit operation.

【0002】[0002]

【従来の技術】近年のマイクロプロセッサあるいはマイ
クロコントローラでは、LSIに内蔵したクロック逓倍
回路により、外部から供給されるクロックの数倍から数
十倍(通常は2の階乗倍)のクロックを発生させて、こ
のクロックに同期して内部を動作させることにより、外
部とのインタフェースに使用するクロックの周波数は比
較的低く押さえながら、性能の向上をはかるものが多
い。
2. Description of the Related Art In recent microprocessors or microcontrollers, a clock multiplication circuit built in an LSI generates a clock that is several times to several tens times (usually a factorial multiplication of 2) of the clock supplied from the outside. By operating the inside in synchronization with this clock, the frequency of the clock used for the interface with the outside is kept relatively low and the performance is improved in many cases.

【0003】このような場合、外部とのインタフェース
に使用するクロックと、内部動作に使用するクロック
と、少なくとも2つのクロックがLSI内部に必要にな
り、実際には、特定の回路用にさらに高速のクロックを
使用するなど、複数のクロックを使用することが少なく
ない。このためクロック逓倍回路では最も高速なクロッ
クを生成し、このクロックを順次分周する事により、複
数のクロックを生成する方法がとられる。
In such a case, at least two clocks, a clock used for interface with the outside and a clock used for internal operation, are required inside the LSI, and in fact, a higher speed is required for a specific circuit. It is not uncommon to use multiple clocks, such as using clocks. Therefore, a method of generating a plurality of clocks by generating the fastest clock in the clock multiplication circuit and sequentially dividing this clock is adopted.

【0004】このように1つのクロックより、複数の周
波数の違うクロックを分周回路で生成する場合に問題と
なるのが、これらの複数のクロックの位相をどのよう
に、ある特定の状態に合わせるかということである。一
般に、最も高速なクロック信号とそれを2n(nは自然
数)分周した信号の位相は、元のクロック信号の立上り
エッジをカウントして分周するか、立下りエッジをカウ
ントして分周するかで一意に決定されるため、問題にな
らない。
As described above, a problem arises when a frequency divider generates a plurality of clocks having different frequencies from one clock. How to match the phases of these plurality of clocks to a certain specific state. That is. In general, the phase of the fastest clock signal and a signal obtained by dividing it by 2n (n is a natural number) is divided by counting rising edges of the original clock signal or by counting falling edges. Since it is uniquely determined by, it does not matter.

【0005】しかし、最も高速なクロック信号を2分周
した信号と、2n分周した信号を使用する場合には、こ
の2つの信号の位相は、2分周信号の立上りで2n分周
信号が立上る場合と、2分周信号の立下りで2n分周信
号が立上る場合とがあり、それは立上りエッジ/立下り
エッジのどちらかをカウントするかには関係せず、電源
投入時の2分周回路、2n分周回路の初期状態により決
定されるため、通常は一意には決められない。このよう
な場合、2分周信号で動作する回路ブロックと、2n分
周信号で動作する回路ブロックの間の信号の送受がうま
く設計できないため、通常は何らかの方法で位相合わせ
が行われる。
However, when a signal obtained by dividing the highest speed clock signal by 2 and a signal obtained by dividing 2n are used, the phase of these two signals is 2n divided at the rising edge of the divided 2 signal. There are cases where the signal rises and cases where the 2n frequency-divided signal rises at the falling edge of the frequency-divided 2 signal. It does not matter whether the rising edge or the falling edge is counted, and the 2 Since it is determined by the initial state of the frequency dividing circuit and the 2n frequency dividing circuit, it cannot normally be uniquely determined. In such a case, transmission / reception of a signal between the circuit block that operates with the frequency-divided 2 signal and the circuit block that operates with the 2n-frequency-divided signal cannot be designed properly, and thus phase matching is usually performed by some method.

【0006】このように複数の分周信号の位相を特定の
状態に合わせるものとしては、特開昭56−14962
4号公報に示される「タイミング信号発生回路」があ
る。この回路には、ある発振周波数を分周して得られる
基本クロックに対して、この基本クロックよりは周波数
が高く、元の発振周波数よりは周波数が低く、その基本
クロックと所望の位相関係を持ったタイミング信号を発
生させる回路について述べられている。以下、この回路
を、2分周回路と2n分周回路の場合に適用した場合に
ついて、その第4図を図5により説明する。
A method for adjusting the phases of a plurality of frequency-divided signals to a specific state in this way is disclosed in JP-A-56-14962.
There is a "timing signal generation circuit" shown in Japanese Patent No. 4 publication. This circuit has a frequency higher than the basic clock and lower than the original oscillation frequency with respect to the basic clock obtained by dividing a certain oscillation frequency, and has a desired phase relationship with the basic clock. A circuit for generating a timing signal is described. Hereinafter, FIG. 4 will be described with reference to FIG. 5 in the case where this circuit is applied to the case of the frequency dividing circuit of 2 and the frequency dividing circuit of 2n.

【0007】元となるクロック信号は、2n分周回路4
3と、D型フリップフロップ51,52,ゲート53〜
59,インバータ60からなる2分周回路45とで分周
され、2n分周信号CLKと2分周信号T1になる。こ
の場合2n分周信号CLK、つまり周波数の低い方が基
本クロックとなる。2n分周信号の出力はリセット付D
型フリップフロップ44のラッチ信号入力に接続され、
このフリップフロップ44のデータ入力はVDDに接続
されている。また、このフリップフロップ44の出力は
元となるクロック信号42の反転信号の立下りでリセッ
トされる。従って、フリップフロップ44の出力は、基
本クロック42の立上りで「1」になり、元となるクロ
ック信号の反転信号の立下りで「0」になるため、元と
なるクロックのほぼ半周期間「1」を示す信号になる。
The original clock signal is the 2n frequency dividing circuit 4
3, D-type flip-flops 51 and 52, and gates 53 to
59 and the frequency dividing circuit 45 composed of the inverter 60 to divide the frequency into a 2n frequency dividing signal CLK and a 2 frequency dividing signal T1. In this case, the 2n frequency-divided signal CLK, that is, the lower frequency becomes the basic clock. 2n frequency division signal output with reset D
Connected to the latch signal input of the type flip-flop 44,
The data input of this flip-flop 44 is connected to VDD. The output of the flip-flop 44 is reset at the fall of the inverted signal of the original clock signal 42. Therefore, the output of the flip-flop 44 becomes "1" at the rising edge of the basic clock 42 and becomes "0" at the falling edge of the inverted signal of the original clock signal. It becomes the signal which shows.

【0008】この回路ではこのフリップフロップ44の
出力で、2分周回路45を所望の状態に初期化すること
により、2n分周信号と2分周信号の位相を所望の状態
に合わせている。さらに、一般に各分周信号の位相を合
わせる方法としては、特定のタイミングで全分周器を初
期化する方法が、従来よく使用されている。この方法を
2分周回路と6分周回路に適用した場合の一例を図6に
示し、その動作を説明する。
In this circuit, the output of the flip-flop 44 is used to initialize the divide-by-2 circuit 45 to a desired state, thereby adjusting the phases of the 2n-divided signal and the divided-by-2 signal to the desired state. Further, generally, as a method of matching the phases of the respective frequency-divided signals, a method of initializing all frequency dividers at a specific timing has been often used conventionally. An example of applying this method to the divide-by-2 circuit and the divide-by-6 circuit is shown in FIG. 6 and its operation will be described.

【0009】図6で、31〜35はラッチ入力信号の立
上りエッジでデータ入力信号をラッチするリセット付D
型フリップフロップ、36,37はラッチ入力信号の立
下りエッジでデータ入力信号をラッチするD型フリップ
フロップ、18,20はセレクタ、17,19はNO
R、CLKは分周される元のクロック信号、RESET
は全分周器を初期化するため、外部から供給されるリセ
ット信号である。
In FIG. 6, reference numerals 31 to 35 denote reset D for latching the data input signal at the rising edge of the latch input signal.
Type flip-flops, 36 and 37 are D-type flip-flops that latch the data input signal at the falling edge of the latch input signal, 18 and 20 are selectors, and 17 and 19 are NO.
R and CLK are the original clock signal to be divided, RESET
Is a reset signal supplied from the outside to initialize the entire frequency divider.

【0010】リセット付D型フリップフロップ31〜3
5は、クロックCの立上りエッジでデータDの値をラッ
チし出力Qへ出力し、Qバーにその反転信号を出力し、
またリセットRが「1」となる(Rバーは「0」とな
る)と、Qが「0」となり、Qバーが「1」にリセット
される。D型フリップフロップ36,37は、クロック
Cの立下りでデータDの値をラッチして出力Q(Qバー
が反転出力)を出力する立下りエッジラッチ動作をす
る。セレクタ18,20は、選択信号Sが「0」のとき
データD1がQに出力され、選択信号Sが「1」のとき
データD2が出力される。
D-type flip-flops 31 to 3 with reset
5 latches the value of the data D at the rising edge of the clock C, outputs it to the output Q, and outputs its inverted signal to the Q bar,
When the reset R becomes "1" (R bar becomes "0"), Q becomes "0" and the Q bar is reset to "1". The D-type flip-flops 36 and 37 perform the falling edge latch operation of latching the value of the data D at the falling edge of the clock C and outputting the output Q (Q bar is an inverted output). The selectors 18 and 20 output the data D1 to Q when the selection signal S is "0", and output the data D2 when the selection signal S is "1".

【0011】リセット付D型フリップフロップ31はデ
ータ出力の反転信号がデータ入力にフィードバック接続
されて2分周器を構成し、フリップフロップ32,33
は「00→01→10→00…」と繰返しカウントする
カウンタを構成し、フリップフロップ34と一緒に6分
周器を構成する。CLK信号は、2分周器を構成するフ
リップフロップ31と6分周器を構成するフリップフロ
ップ32〜34のラッチ入力に接続され、それぞれ、2
分周信号、6分周信号となる。
In the D-type flip-flop 31 with reset, the inverted signal of the data output is feedback-connected to the data input to form a divide-by-2 frequency divider, and the flip-flops 32 and 33 are provided.
Constitutes a counter that repeatedly counts "00 → 01 → 10 → 00 ...", and constitutes a 6-divider together with the flip-flop 34. The CLK signal is connected to the latch inputs of the flip-flop 31 that constitutes the frequency divider by 2 and the flip-flops 32 to 34 that constitute the frequency divider by 6, and is respectively 2
It becomes a frequency division signal and a frequency division signal by 6.

【0012】さて、この回路において、2分周信号と6
分周信号の位相合わせは、前述の2分周器と6分周器を
RESET信号で初期化することで行う。しかし、通常
RESET信号は外部から与えられ、CLK信号とは全
く非同期であることが多い。そのため分周器の誤動作を
防ぐためには、このRESET信号のCLK信号による
同期化を行って、初期化信号の解除タイミングをCLK
信号の立上りタイミングとずらす必要がある。フリップ
フロップ35〜37は、このRESET信号の同期化処
理を行っており、まずリセット付D型フリップフロップ
35がRESET信号の立上りを検出して出力を「1」
にし、その出力を受けたD型フリップフロップ36,3
7がCLK信号の立下りで同期化をかけ、フリップフロ
ップ37の出力が「1」になるとその出力でフリップフ
ロップ35をリセットする構成になっている。
Now, in this circuit, the divided-by-two signal and 6
The phase matching of the frequency-divided signal is performed by initializing the above-described frequency divider 2 and frequency divider 6 with the RESET signal. However, the RESET signal is usually given from the outside and is often completely asynchronous with the CLK signal. Therefore, in order to prevent the frequency divider from malfunctioning, the CLK signal of the RESET signal is used for synchronization, and the release timing of the initialization signal is set to CLK.
It is necessary to shift it from the rising timing of the signal. The flip-flops 35 to 37 perform the synchronization processing of the RESET signal. First, the D-type flip-flop with reset 35 detects the rising edge of the RESET signal and outputs "1".
And the D-type flip-flops 36, 3 that received the output
7 synchronizes at the falling edge of the CLK signal, and when the output of the flip-flop 37 becomes "1", the flip-flop 35 is reset by the output.

【0013】従って、フリップフロップ37の出力は、
RESET信号が立上った後に、常にCLK信号の立下
りから次の立下りまでの1サイクル間「1」になる信号
になるため、この信号で2分周器、6分周器を初期化す
れば、分周器の誤動作を招くことなく、2分周信号と6
分周信号の位相合わせが行える。
Therefore, the output of the flip-flop 37 is
After the RESET signal rises, the signal is always "1" for one cycle from the falling edge of the CLK signal to the next falling edge, so this signal is used to initialize the 2 divider and 6 divider. By doing so, the frequency-divided signal of 6 and the frequency-divided signal of 6 can be generated without causing malfunction of the frequency divider.
The phase of the divided signal can be adjusted.

【0014】この回路のタイミングチャートを図7に示
す。図から明らかなように、RESET信号を「1」に
する前は、2分周信号の立下りで6分周信号が立上って
いたが、RESET信号を「1」にした後は、2分周信
号の立上りで6分周信号が立上るようになっている。も
ちろん、この逆の位相になるように回路を構成すること
も、容易に可能である。
A timing chart of this circuit is shown in FIG. As is apparent from the figure, before the RESET signal is set to "1", the divided-by-6 signal rises at the falling edge of the divided-by-2 signal, but after the RESET signal is set to "1", it becomes 2 The divide-by-6 signal rises at the rising edge of the divided signal. Of course, it is also possible to easily configure the circuit so as to have the opposite phase.

【0015】[0015]

【発明が解決しようとする課題】上述した従来例の回路
(図5)では、分周器を初期化するロード信号を生成す
るために、フリップフロップ44を使用しており、その
初期化のための付加回路が多くなり、通過時間が遅い。
従って、回路規模が大きいことによりコスト増を招き、
通過時間が遅いことにより、回路が動作可能な、分周さ
れるべき元のクロック信号の最高周波数が低下してしま
うという問題点があった。さらに、上述のロード信号
を、元のクロック信号を分周して生成した基本クロック
信号の、立上りまたは立下りでセットして、そのセット
後に元のクロック信号の半周期後の、元のクロック信号
の立上りまたは立下りでリセットするフリップフロップ
で生成するため、必ず変化タイミングが元のクロックの
半周期分ずれ、基本クロック信号の変化タイミングとま
ったく同一の変化タイミングで変化するタイミング信号
は生成できないという問題点があった。
In the conventional circuit (FIG. 5) described above, the flip-flop 44 is used to generate the load signal for initializing the frequency divider. The number of additional circuits is increased and the transit time is slow.
Therefore, the large circuit scale causes an increase in cost,
Due to the slow passage time, there is a problem that the maximum frequency of the original clock signal to be frequency-divided, which allows the circuit to operate, is lowered. Furthermore, the load signal described above is set at the rising or falling edge of the basic clock signal generated by dividing the original clock signal, and after the setting, the original clock signal half cycle after the original clock signal. Since it is generated by a flip-flop that resets at the rise or fall of the clock, the change timing is always deviated by a half cycle of the original clock, and a timing signal that changes at the same change timing as the change timing of the basic clock signal cannot be generated. There was a point.

【0016】また、上述した特定のタイミングで全分周
器を初期化する図6では、全分周器を初期化するための
信号を、同期化しなければならないため、回路が非常に
大きくなり、コスト増になるという問題点があった。さ
らに、分周器の初期化動作を確実に行うためには、RE
SET信号を最初「0」にしておいてから「1」にし、
その後少なくともCLK信号の1サイクル以上「1」に
し続けた後、再度「0」にしなければならないため、こ
のようなRESET信号を生成するための回路も必要で
あり、コスト増になっていた。
Further, in FIG. 6 which initializes all the frequency dividers at the above-mentioned specific timing, the signal for initializing all the frequency dividers must be synchronized, so that the circuit becomes very large, There was a problem that the cost would increase. Furthermore, in order to perform the initialization operation of the frequency divider surely, RE
Set the SET signal to "0" first and then to "1",
After that, the circuit must be kept at "1" for at least one cycle of the CLK signal and then set to "0" again. Therefore, a circuit for generating such a RESET signal is also required, resulting in an increase in cost.

【0017】本発明の目的は、簡単な回路を付加しただ
けで分周信号の位相を特定状態に合わせた分周出力を可
能とした分周回路を提供することにある。
An object of the present invention is to provide a frequency dividing circuit capable of performing frequency division output in which the phase of the frequency divided signal is adjusted to a specific state by adding a simple circuit.

【0018】[0018]

【課題を解決するための手段】本発明の分周回路の構成
は、入力信号がラッチ信号入力端に接続されかつデータ
信号出力の反転信号がデータ信号入力端にフィードバッ
ク接続されることにより、前記入力信号の立上りエッジ
または立下りエッジで前記データ信号出力がラッチされ
前記入力信号の2分周信号を出力する第1のD型フリッ
プフロップと、前記入力信号を2n(nは2以上の自然
数)分周するように前記入力信号の立上りエッジまたは
立下りエッジをn回繰り返しカウントするカウンタと、
このカウンタの出力に従って前記入力信号の立上りまた
は立下りエッジで前記データ信号出力をラッチされ前記
入力信号の2n分周信号を出力する第2のD型フリップ
フロップと、前記カウンタの値と前記第2のフリップフ
ロップの出力がある特定の値になると前記第1のフリッ
プフロップのデータ信号入力を0または1に固定する論
理回路とを少なくとも備え、前記入力信号の2分周信号
および前記入力信号の2n分周信号の位相が自動的に特
定状態に合わせられるようにしたことを特徴とする。
The frequency divider circuit according to the present invention has a configuration in which an input signal is connected to a latch signal input terminal and an inverted signal of a data signal output is feedback-connected to a data signal input terminal. A first D-type flip-flop that outputs the frequency-divided signal of the input signal by latching the data signal output at the rising edge or the falling edge of the input signal, and the input signal is 2n (n is a natural number of 2 or more) A counter that repeatedly counts rising edges or falling edges of the input signal n times so as to divide the frequency;
A second D-type flip-flop that latches the data signal output at a rising edge or a falling edge of the input signal according to the output of the counter and outputs a 2n frequency-divided signal of the input signal, the counter value, and the second value. And a logic circuit for fixing the data signal input of the first flip-flop to 0 or 1 when the output of the flip-flop reaches a specific value, and divides the input signal by 2 and the input signal 2n. It is characterized in that the phase of the divided signal is automatically adjusted to a specific state.

【0019】[0019]

【発明の実施の形態】次に、本発明の第1の実施の形態
について図面を参照して説明する。図1は本発明の第1
の実施の形態における2分周回路と6分周回路の回路図
であり、図2は図1の回路のタイミングチャートであ
る。本回路では、最終的に2分周信号の立上りで6分周
信号が立上るように、回路を構成するが、これと逆の設
定、すなわち2分周信号の立下りで6分周信号が立上る
ように設定することも容易に可能である。
Next, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows the first embodiment of the present invention.
FIG. 2 is a circuit diagram of a frequency divider circuit of 2 and a frequency divider circuit of 6 in the embodiment, and FIG. 2 is a timing chart of the circuit of FIG. 1. In this circuit, the circuit is configured so that the divided-by-6 signal finally rises at the rising edge of the divided-by-2 signal. However, the reverse setting, that is, the divided-by-6 signal is generated at the falling edge of the divided-by-2 signal. It is also possible to easily set to stand up.

【0020】以下、本実施例の回路の動作を説明する。
図1において、11〜14はラッチ信号の立上りエッジ
でデータ入力信号をラッチするD型フリップフロップ、
15は2入力NAND、16は3入力NAND、17,
19は2入力NOR、18,20はセレクタである。
The operation of the circuit of this embodiment will be described below.
In FIG. 1, 11 to 14 are D-type flip-flops that latch the data input signal at the rising edge of the latch signal,
15 is a 2-input NAND, 16 is a 3-input NAND, 17,
Reference numeral 19 is a 2-input NOR, and 18 and 20 are selectors.

【0021】フリップフロップ11は、データ出力信号
がデータ入力信号にフィードバック接続され、2分周回
路を構成する。フリップフロップ12,13は「00→
01→10→00…」と繰返しカウントするカウンタを
構成し、フリップフロップ14と一緒に6分周器を構成
する。CLK信号は、2分周器を構成するフリップフロ
ップ11と6分周器を構成するフリップフロップ12〜
14にラッチ信号として接続され、それぞれ2分周信
号、6分周信号となる。
In the flip-flop 11, the data output signal is feedback-connected to the data input signal to form a divide-by-2 circuit. The flip-flops 12 and 13 are "00 →
A counter that repeatedly counts "01 → 10 → 00 ..." Is configured, and together with the flip-flop 14, a 6-divider is configured. The CLK signal includes a flip-flop 11 forming a frequency divider of 2 and a flip-flop 12 forming a frequency divider of 6 to
It is connected to 14 as a latch signal, and becomes a divided-by-2 signal and a divided-by-6 signal, respectively.

【0022】本回路では、2分周信号と6分周信号の位
相合わせは、フリップフロップ12〜14の反転出力に
接続された3入力NAND16と、フリップフロップ1
1のデータ入力信号の前段に挿入された2入力NAND
15で行う。
In the present circuit, the phase-division of the divided-by-2 signal and the divided-by-6 signal is performed by the 3-input NAND 16 connected to the inverted outputs of the flip-flops 12-14 and the flip-flop 1.
2-input NAND inserted before the 1-data input signal
Do at 15.

【0023】フリップフロップ12,13は、フリップ
フロップ13を上位ビットとして、00→01→10→
00…を繰返しカウントし、またフリップフロップ14
は、フリップフロップ13のデータ出力が「1」の特に
CLK信号が立上ると、データ出力を反転するが、フリ
ップフロップ13の出力が「0」の時にCLK信号あ立
上ってもデータ出力を変化させない構成になっているた
め、3入力NAND16の出力は、フリップフロップ1
2,13で構成されるカウンタの状態が「00」、フリ
ップフロップ14の出力が「0」という、6分周器の特
定の状態の時のみ「1」となる。従って、この信号が
「1」の時に2入力NAND15により、フリップフロ
ップ11のデータ入力信号を「1」にマスクすることに
より、6分周器が特定の状態の時に、2分周器を特定の
状態に初期化することができ、2分周信号と6分周信号
の位相合わせを行うことができる。
The flip-flops 12 and 13 have 00.fwdarw.01.fwdarw.10.fwdarw.
00 ... is repeatedly counted, and the flip-flop 14
Inverts the data output when the data output of the flip-flop 13 is "1", especially when the CLK signal rises. However, when the output of the flip-flop 13 is "0", the data output is inverted even if the CLK signal rises. Since the configuration does not change, the output of the 3-input NAND 16 is the flip-flop 1
It becomes "1" only when the state of the counter composed of 2 and 13 is "00" and the output of the flip-flop 14 is "0", and in a specific state of the 6-frequency divider. Therefore, when this signal is "1", the 2-input NAND 15 masks the data input signal of the flip-flop 11 to "1", so that when the 6-divider is in a specific state, the 2-divider is specified. It can be initialized to the state, and the phases of the divided-by-2 signal and the divided-by-6 signal can be matched.

【0024】図2のタイミングチャートにおいて、時刻
T1以前は、6分周信号は2分周信号の立下りタイミン
グで立上っていたが、時刻T1でCLK信号が立上る
と、6分周器のカウンタの値が「00」、6分周信号が
「0」になり、3入力NAND16の出力が「0」にな
るため、フリップフロップ11のデータ入力信号は
「1」にマスクされる。この後、T2でCLK信号が立
上ると、2分周信号はフリップフロップ11のデータ入
力信号が1にマスクされているため、通常は「0」に変
化するところが「1」を出力し続ける。このため時刻T
2以降は6分周信号が2分周信号の立上りタイミングで
立上るようになる。
In the timing chart of FIG. 2, before the time T1, the divide-by-6 signal rises at the falling timing of the divide-by-2 signal, but when the CLK signal rises at the time T1, the divide-by-6 frequency divider. Since the value of the counter is “00”, the divide-by-6 signal is “0”, and the output of the 3-input NAND 16 is “0”, the data input signal of the flip-flop 11 is masked to “1”. After that, when the CLK signal rises at T2, since the data input signal of the flip-flop 11 is masked to 1 in the divided-by-two signal, "1" is normally output where it changes to "0". Therefore, time T
After 2, the frequency-divided 6 signal rises at the rising timing of the frequency-divided 2 signal.

【0025】なお、時刻T2で、フリップフロップ11
のデータ入力信号をマスクするための信号、NAND1
6の出力が変化するが、この変化は時刻T2でCLK信
号が立上って、6分周器の出力が変化してから生じるた
め、必ず遅延が入り、変化する前に、フリップフロップ
11がラッチ動作を終えるため、通常問題ない。
At time T2, the flip-flop 11
Signal for masking the data input signal of NAND1, NAND1
The output of 6 changes, but this change occurs after the CLK signal rises at time T2 and the output of the 6-divider changes, so there is always a delay, and before the change, the flip-flop 11 Since the latch operation is completed, there is usually no problem.

【0026】これとは逆に、2分周信号の立下りで6分
周信号が立上るように回路を構成するには、3入力NA
ND16を3入力ANDに変更し、2力NAND15を
2入力NORに変更すれば良い。このように回路を構成
すれば、6分周器のカウンタの値が「00」、6分周信
号が「0」の時に、フリップフロップ11のデータ入力
信号が「0」にマスクされるため、その後は2分周信号
立下りで6分周信号が立上るようになる。
On the contrary, in order to configure the circuit so that the divided-by-6 signal rises at the fall of the divided-by-2 signal, the 3-input NA is used.
The ND 16 may be changed to a 3-input AND, and the 2-power NAND 15 may be changed to a 2-input NOR. If the circuit is configured in this way, the data input signal of the flip-flop 11 is masked to "0" when the counter value of the divide-by-6 frequency divider is "00" and the divide-by-6 signal is "0". After that, the divided-by-6 signal rises when the divided-by-2 signal falls.

【0027】以上説明したように、本発明を用いれば、
通常の2分周器、6分周器の組に、わずかな回路を追加
するだけで、2分周信号と6分周信号の位相を特定の状
態に合わすことが可能なため、従来例に比較してコス
ト、動作周波数が大幅に改善される。
As described above, according to the present invention,
Since it is possible to match the phases of the divided-by-2 signal and the divided-by-6 signal to a specific state by adding a few circuits to the set of the normal divide-by-2 frequency divider and the divide-by-6 frequency divider, The cost and operating frequency are significantly improved in comparison.

【0028】図3は本発明の第2の実施の形態における
2分周回路と10分周回路の回路図であり、図4は図3
の回路のタイミングチャートである。本回路では、最終
的に2周信号の立上りで10分周信号が立上るように、
回路を構成する。以下、これら図3,図4を参照して、
回路の動作を説明する。
FIG. 3 is a circuit diagram of a divide-by-2 circuit and a divide-by-10 circuit according to the second embodiment of the present invention, and FIG. 4 is shown in FIG.
3 is a timing chart of the circuit. In this circuit, the divided-by-10 signal rises at the rising edge of the divided-two signal,
Configure the circuit. Hereinafter, with reference to these FIG. 3 and FIG.
The operation of the circuit will be described.

【0029】図3において、11〜14,21はラッチ
信号の立上りエッジでデータ入力信号をラッチする図1
と同様のD型フリップフロップ、15は2入力NAN
D、24は4入力NAND、17,19,22は2入力
NOR、18,20,24はセレクタである。フリップ
フロップ11はデータ出力信号がデータ入力信号にフィ
ードバック接続され、2分周回路を構成する。
In FIG. 3, 11 to 14 and 21 latch the data input signal at the rising edge of the latch signal.
D-type flip-flop similar to the above, 15 is a 2-input NAN
D and 24 are 4-input NANDs, 17, 19 and 22 are 2-input NORs, and 18, 20, and 24 are selectors. The data output signal of the flip-flop 11 is feedback-connected to the data input signal to form a divide-by-2 circuit.

【0030】フリップフロップ12〜14は「000→
001→010→011→100→000…」と繰返し
カウントするカウンタを構成し、フリップフロップ21
と一緒に10分周器を構成する。CLK信号は、2分周
器を構成するフリップフロップ11と10分周器を構成
するフリップフロップ12〜14,21にラッチ信号と
して接続され、それぞれ2分周信号、10分周信号とな
る。
The flip-flops 12 to 14 are "000 →
The counter that repeatedly counts "001 → 010 → 011 → 100 → 000 ...
Together with the 10 divider. The CLK signal is connected as a latch signal to the flip-flop 11 that constitutes the frequency divider by 2 and the flip-flops 12 to 14 and 21 that constitute the frequency divider by 10, and becomes a frequency-divided signal by 2 and a frequency-divided signal by 10, respectively.

【0031】この回路でも、2分周信号と10分周信号
の位相合わせは、フリップフロップ12〜14,21の
反転出力に接続された4入力NAND24と、フリップ
フロップ11のデータ入力信号の前段に挿入された2入
力NAND15とで行う。
Also in this circuit, the phase division of the divided-by-2 signal and the divided-by-10 signal is performed before the 4-input NAND 24 connected to the inverted outputs of the flip-flops 12 to 14 and 21 and the data input signal of the flip-flop 11. This is done with the inserted 2-input NAND 15.

【0032】フリップフロップ12〜14は、フリップ
フロップ14を最上位ビットとして、「000→001
→010→011→100→000…」を繰返しカウン
トし、またフリップフロップ21は、フリップフロップ
14のデータ出力が「1」の時にCLK信号が立上ると
データ出力を反転するが、フリップフロップ14の出力
が「0」の時にCLK信号が立上ってもデータ出力を変
化させない構成になっているため、4入力NAND24
の出力は、フリップフロップ12〜4で構成されるカウ
ンタの状態が「000」、フリップフロップ21の出力
が「0」という、10分周器の特定の状態の時のみ
「1」となる。従って、この信号が「1」の時に、2入
力NAND15により、フリップフロップ11のデータ
入力信号を「1」にマスクすることにより、10分周基
が特定の状態の時に、2分周基を特定の状態に初期化す
ることができ、2分周信号と10分周信号の位相合わせ
を行うことができる。
The flip-flops 12 to 14 use the flip-flop 14 as the most significant bit, “000 → 001”.
→ 010 → 011 → 100 → 000 ... ”, and the flip-flop 21 inverts the data output when the CLK signal rises when the data output of the flip-flop 14 is“ 1 ”. Since the data output is not changed even when the CLK signal rises when the output is “0”, the 4-input NAND 24
The output of is only "1" when the state of the counter constituted by the flip-flops 12 to 4 is "000" and the output of the flip-flop 21 is "0" in a specific state of the frequency divider 10. Therefore, when this signal is "1", the 2-input NAND 15 masks the data input signal of the flip-flop 11 to "1" to specify the divide-by-2 basis when the divide-by-10 basis is in a specific state. The signal can be initialized to the state of (1), and the phases of the divided-by-2 signal and the divided-by-10 signal can be adjusted.

【0033】図4のタイミングチャートにおいて、時刻
T1以前は10分周信号が2分周信号の立下りタイミン
グで立上っていた。時刻T1でCLK信号が立上ると、
10分周器のカウンタの値が「000」、10分周信号
が「0」になり、3入力NAND37の出力が「0」に
なるため、フリップフロップ31のデータ入力信号は
「1」にマスクされる。この後、T2でCLK信号が立
上ると、2分周信号はフリップフロップ11のデータ入
力信号が「1」にマスクされているため、通常は「0」
に変化するところが、「1」を出力し続ける。このた
め、時刻T2以前は、10分周信号が2分周信号の立上
りタイミングで立上るようになる。
In the timing chart of FIG. 4, before the time T1, the divided-by-10 signal rises at the falling timing of the divided-by-2 signal. When the CLK signal rises at time T1,
Since the counter value of the frequency divider 10 is "000", the frequency division signal is "0", and the output of the 3-input NAND 37 is "0", the data input signal of the flip-flop 31 is masked to "1". To be done. After that, when the CLK signal rises at T2, the divided-by-2 signal is normally "0" because the data input signal of the flip-flop 11 is masked by "1".
However, it continues to output "1". Therefore, before the time T2, the 10-divided signal rises at the rising timing of the 2-divided signal.

【0034】従って、本発明の回路によれば、通常の2
分周器、10分周器の組にわずかな回路を追加するだけ
で、2周信号と10分周信号の位相を特定の状態に合わ
すことが可能なため、従来例に比較してコスト、動作周
波数が大幅に改善される。
Therefore, according to the circuit of the present invention, the normal 2
Since it is possible to match the phases of the frequency-divided 2 signal and the frequency-divided 10 signal to a specific state by simply adding a small number of circuits to the set of the frequency divider and the frequency divider 10, the cost compared to the conventional example, The operating frequency is greatly improved.

【0035】[0035]

【発明の効果】以上説明したように、本発明を用いれ
ば、元となるクロック信号から生成される、2分周信号
と2n(nは2以上の自然数)分周信号を使用するシス
テムにおいて、2分周器と2n分周器の組に、ごくわず
かな回路を追加するだけで、2分周信号と2n分周信号
の位相を特定の状態に合わせることが可能なため、従来
例に比較して、大幅にコストを削減でき、動作周波数の
低下もおこらないという効果がある。
As described above, according to the present invention, in a system using a frequency-divided 2 signal and a frequency-divided signal 2n (n is a natural number of 2 or more) generated from an original clock signal, Compared with the conventional example, it is possible to match the phase of the divided-by-2 signal and the divided-by-2n signal to a specific state by adding a very small number of circuits to the set of divided-by-2 and divided-by-2n circuits. Thus, there is an effect that the cost can be significantly reduced and the operating frequency is not lowered.

【0036】さらに、従来例の回路に存在した基本クロ
ック信号の変化タイミングとまったく同一の変化タイミ
ングで変化するタイミング信号は生成できないという問
題も、本発明には存在せず、非常に効果的な回路といえ
る。
Furthermore, the problem that a timing signal that changes at exactly the same change timing as the change timing of the basic clock signal that exists in the conventional circuit cannot be generated does not exist in the present invention, and is a very effective circuit. Can be said.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施の形態における2分周信号
と6分周信号の位相を合わせる回路図である。
FIG. 1 is a circuit diagram for matching the phases of a divided-by-2 signal and a divided-by-6 signal in a first embodiment of the present invention.

【図2】第1の実施の形態のタイミングチャートであ
る。
FIG. 2 is a timing chart of the first embodiment.

【図3】本発明の第2の実施の形態における2分周信号
と10分周信号の位相を合わせる回路図である。
FIG. 3 is a circuit diagram that matches the phases of a divided-by-2 signal and a divided-by-10 signal in the second embodiment of the present invention.

【図4】本発明の第2の実施の形態のタイミングチャー
トである。
FIG. 4 is a timing chart of the second embodiment of the present invention.

【図5】従来例の分周回路の回路図である。FIG. 5 is a circuit diagram of a conventional frequency divider circuit.

【図6】従来例における2分周信号と6分周信号の位相
を合わせる回路図である。
FIG. 6 is a circuit diagram for matching the phases of a divided-by-2 signal and a divided-by-6 signal in a conventional example.

【図7】図6の動作を示すタイミングチャートである。FIG. 7 is a timing chart showing the operation of FIG.

【符号の説明】[Explanation of symbols]

11〜14,21,36,37,51,52 D型フ
リップフロップ 31〜35,44 リセット付D型フリップフロップ 15 2入力NAND回路 16 3入力NAND回路 17,19,22 2入力NOR回路 18,20,23 セレクタ 24 4入力NAND回路 43 2n分周回路 45 2分周回路 53〜57 AND回路 58,59 2入力OR回路 60〜62 インバータ
11-14, 21, 36, 37, 51, 52 D-type flip-flop 31-35, 44 D-type flip-flop with reset 15 2-input NAND circuit 16 3-input NAND circuit 17, 19, 22 2-input NOR circuit 18, 20 , 23 selector 24 4-input NAND circuit 43 2n frequency dividing circuit 45 2 frequency dividing circuit 53-57 AND circuit 58,59 2-input OR circuit 60-62 inverter

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力信号がラッチ信号入力端に接続され
かつデータ信号出力の反転信号がデータ信号入力端にフ
ィードバック接続されることにより、前記入力信号の立
上りエッジまたは立下りエッジで前記データ信号出力が
ラッチされ前記入力信号の2分周信号を出力する第1の
D型フリップフロップと、前記入力信号を2n(nは2
以上の自然数)分周するように前記入力信号の立上りエ
ッジまたは立下りエッジをn回繰り返しカウントするカ
ウンタと、このカウンタの出力に従って前記入力信号の
立上りまたは立下りエッジで前記データ信号出力をラッ
チされ前記入力信号の2n分周信号を出力する第2のD
型フリップフロップと、前記カウンタの値と前記第2の
フリップフロップの出力がある特定の値になると前記第
1のフリップフロップのデータ信号入力を0または1に
固定する論理回路とを少なくとも備え、前記入力信号の
2分周信号および前記入力信号の2n分周信号の位相が
自動的に特定状態に合わせられるようにしたことを特徴
とする分周回路。
1. A data signal output at a rising edge or a falling edge of the input signal, wherein an input signal is connected to a latch signal input terminal and an inverted signal of a data signal output is feedback-connected to a data signal input terminal. Is latched and outputs a frequency-divided signal of the input signal by a first D-type flip-flop and the input signal by 2n (n is 2).
A counter that repeatedly counts the rising edge or falling edge of the input signal n times so as to divide the frequency, and the data signal output is latched at the rising or falling edge of the input signal according to the output of this counter. A second D that outputs a 2n-divided signal of the input signal
A flip-flop and a logic circuit for fixing the data signal input of the first flip-flop to 0 or 1 when the value of the counter and the output of the second flip-flop reach a certain value. A frequency dividing circuit, wherein phases of a frequency-divided signal of the input signal and a frequency-divided signal of the input signal 2n are automatically adjusted to a specific state.
【請求項2】 nが3であり、カウンタが3進カウンタ
であり、論理回路が3入力NAND回路からなる請求項
1記載の分周回路。
2. The frequency dividing circuit according to claim 1, wherein n is 3, the counter is a ternary counter, and the logic circuit is a 3-input NAND circuit.
【請求項3】 nが5であり、カウンタが5進カウンタ
であり、論理回路が4入力NAND回路からなる請求項
1記載の分周回路。
3. The frequency dividing circuit according to claim 1, wherein n is 5, the counter is a quinary counter, and the logic circuit is a 4-input NAND circuit.
JP7172012A 1995-07-07 1995-07-07 Divider circuit Expired - Lifetime JP3031206B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7172012A JP3031206B2 (en) 1995-07-07 1995-07-07 Divider circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7172012A JP3031206B2 (en) 1995-07-07 1995-07-07 Divider circuit

Publications (2)

Publication Number Publication Date
JPH0923153A true JPH0923153A (en) 1997-01-21
JP3031206B2 JP3031206B2 (en) 2000-04-10

Family

ID=15933898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7172012A Expired - Lifetime JP3031206B2 (en) 1995-07-07 1995-07-07 Divider circuit

Country Status (1)

Country Link
JP (1) JP3031206B2 (en)

Also Published As

Publication number Publication date
JP3031206B2 (en) 2000-04-10

Similar Documents

Publication Publication Date Title
US5914996A (en) Multiple clock frequency divider with fifty percent duty cycle output
US6242953B1 (en) Multiplexed synchronization circuits for switching frequency synthesized signals
US5365119A (en) Circuit arrangement
US7034584B2 (en) Apparatus for frequency dividing a master clock signal by a non-integer
US5250858A (en) Double-edge triggered memory device and system
JP2008545320A (en) Programmable divider with other bits
US8471607B1 (en) High-speed frequency divider architecture
US5230013A (en) PLL-based precision phase shifting at CMOS levels
GB2257276A (en) Frequency divider
US6507230B1 (en) Clock generator having a deskewer
US6960942B2 (en) High speed phase selector
US20190173458A1 (en) Shift register utilizing latches controlled by dual non-overlapping clocks
US6667638B1 (en) Apparatus and method for a frequency divider with an asynchronous slip
US20030090303A1 (en) Frequency divider
US7049864B2 (en) Apparatus and method for high frequency state machine divider with low power consumption
JP3031206B2 (en) Divider circuit
JP2010283816A (en) Circuit for aligning clock to parallel data
US6597211B2 (en) Clock divider circuit producing 0° and 90° outputs with a 50% duty cycle
KR0146649B1 (en) Sine wave divide cluck generator
KR100353533B1 (en) Delay locked loop circuit
US6856172B1 (en) Sequential logic circuit for frequency division
CN117559972A (en) Signal generating circuit
KR100632300B1 (en) Clock driver of semiconductor device
KR200212806Y1 (en) Frequency Divider by 10
US6839399B2 (en) Programmable counter with half-integral steps

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000111