JP3031206B2 - Divider circuit - Google Patents

Divider circuit

Info

Publication number
JP3031206B2
JP3031206B2 JP7172012A JP17201295A JP3031206B2 JP 3031206 B2 JP3031206 B2 JP 3031206B2 JP 7172012 A JP7172012 A JP 7172012A JP 17201295 A JP17201295 A JP 17201295A JP 3031206 B2 JP3031206 B2 JP 3031206B2
Authority
JP
Japan
Prior art keywords
signal
input
output
frequency
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP7172012A
Other languages
Japanese (ja)
Other versions
JPH0923153A (en
Inventor
幸範 杉山
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)

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, and more particularly, to a frequency divider which outputs a phase-controlled clock signal which is a reference for circuit operation.

【0002】[0002]

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

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

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

【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 by 2n are used, the phase of the two signals is such that the 2n-divided signal rises at the rising edge of the 2-divided signal. There is a case where the signal rises, and a case where the 2n frequency-divided signal rises at the fall of the frequency-divided signal 2 irrespective of whether a rising edge or a falling edge is counted. Since it is determined by the initial state of the frequency dividing circuit and the 2n frequency dividing circuit, it is usually not uniquely determined. In such a case, transmission and reception of signals between the circuit block operating with the divide-by-2 signal and the circuit block operating with the divide-by-2 signal cannot be designed well, so that phase adjustment 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 as described above is disclosed in Japanese Patent Application Laid-Open No. Sho 56-14962.
There is a “timing signal generation circuit” disclosed in Japanese Patent Application Laid-Open No. 4 (1999) -86. This circuit has a frequency higher than this basic clock and lower than the original oscillation frequency with respect to a 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 a divide-by-2 circuit and a divide-by-2n circuit.

【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 a 2n frequency dividing circuit 4
3, D-type flip-flops 51 and 52, gates 53 to
The signal is frequency-divided by a frequency-divided-by-2 circuit 45 comprising an inverter 59 and a frequency-divided-by-2 signal CLK and a frequency-divided-by-2 signal T1. In this case, the 2n frequency-divided signal CLK, that is, the lower frequency is the basic clock. Output of 2n frequency-divided signal is D with reset
Connected to the latch signal input of the flip-flop 44,
The data input of this flip-flop 44 is connected to VDD. The output of the flip-flop 44 is reset when the inverted signal of the original clock signal 42 falls. Therefore, the output of the flip-flop 44 becomes “1” at the rise of the basic clock 42 and becomes “0” at the fall of the inverted signal of the original clock signal. ".

【0008】この回路ではこのフリップフロップ44の
出力で、2分周回路45を所望の状態に初期化すること
により、2n分周信号と2分周信号の位相を所望の状態
に合わせている。さらに、一般に各分周信号の位相を合
わせる方法としては、特定のタイミングで全分周器を初
期化する方法が、従来よく使用されている。この方法を
2分周回路と6分周回路に適用した場合の一例を図6に
示し、その動作を説明する。
In this circuit, the output of the flip-flop 44 initializes the divide-by-2 circuit 45 to a desired state, thereby adjusting the phases of the 2n-divided signal and the divide-by-2 signal to a desired state. Further, in general, as a method of adjusting the phase of each frequency-divided signal, a method of initializing all frequency dividers at a specific timing has been conventionally often used. An example in which this method is applied to a divide-by-2 circuit and a 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 D with reset for latching a data input signal at a rising edge of a latch input signal.
Type flip-flops, 36 and 37 are D-type flip-flops for latching a 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 signals to be divided, RESET
Is a reset signal externally supplied to initialize all the frequency dividers.

【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 the value to the output Q, outputs the inverted signal to the Q bar,
When the reset R becomes "1" (R bar becomes "0"), Q becomes "0" and Q bar is reset to "1". The D-type flip-flops 36 and 37 perform a 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 data D1 to Q when the selection signal S is “0”, and output 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分周信号となる。
The D-type flip-flop with reset 31 constitutes a frequency divider by an inverted signal of the data output being fed back to the data input.
.. Constitute a counter that repeatedly counts as “00 → 01 → 10 → 00...” And constitutes a 6-frequency divider together with the flip-flop 34. The CLK signal is connected to latch inputs of a flip-flop 31 forming a frequency divider and a flip-flop 32-34 forming a frequency divider,
A divided signal and a divided-by-6 signal are obtained.

【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をリセットする構成になっている。
In this circuit, the frequency-divided signal by 2 and 6
The phase adjustment of the frequency-divided signal is performed by initializing the above-described frequency-divider 2 and frequency-divider 6 with a RESET signal. However, the RESET signal is usually provided from the outside, and is often completely asynchronous with the CLK signal. Therefore, in order to prevent the frequency divider from malfunctioning, the RESET signal is synchronized by the CLK signal, and the release timing of the initialization signal is set to the CLK signal.
It is necessary to deviate from the rising timing of the signal. The flip-flops 35 to 37 synchronize the RESET signal. First, the reset D-type flip-flop 35 detects the rising edge of the RESET signal and outputs "1".
And the D-type flip-flops 36 and 3 receiving the output
7 synchronizes with 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 always becomes "1" for one cycle from the fall of the CLK signal to the next fall. Therefore, this signal is used to initialize the 2 divider and the 6 divider. In this case, the frequency-divided signal of 2 and 6
The phase of the divided signal can be adjusted.

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

【0015】[0015]

【発明が解決しようとする課題】上述した従来例の回路
(図5)では、分周器を初期化するロード信号を生成す
るために、フリップフロップ44を使用しており、その
初期化のための付加回路が多くなり、通過時間が遅い。
従って、回路規模が大きいことによりコスト増を招き、
通過時間が遅いことにより、回路が動作可能な、分周さ
れるべき元のクロック信号の最高周波数が低下してしま
うという問題点があった。さらに、上述のロード信号
を、元のクロック信号を分周して生成した基本クロック
信号の、立上りまたは立下りでセットして、そのセット
後に元のクロック信号の半周期後の、元のクロック信号
の立上りまたは立下りでリセットするフリップフロップ
で生成するため、必ず変化タイミングが元のクロックの
半周期分ずれ、基本クロック信号の変化タイミングとま
ったく同一の変化タイミングで変化するタイミング信号
は生成できないという問題点があった。
In the above-described conventional circuit (FIG. 5), the flip-flop 44 is used to generate a load signal for initializing the frequency divider. And the passing time is slow.
Therefore, the cost is increased due to the large circuit scale,
The slow transit time causes a problem that the maximum frequency of the original clock signal to be divided, at which the circuit can operate, is reduced. Further, the above-described load signal is set at the rising or falling of the basic clock signal generated by dividing the original clock signal, and after the setting, the original clock signal half a cycle of the original clock signal is set. Is generated by a flip-flop that resets at the rising or falling edge of the clock, the change timing is always shifted by a half cycle of the original clock, and a timing signal that changes at exactly 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信号を生成するための回路も必要で
あり、コスト増になっていた。
In FIG. 6 in which the full frequency divider is initialized at the specific timing described above, the signal for initializing the full frequency divider must be synchronized, so that the circuit becomes very large. There was a problem that the cost increased. Further, in order to reliably perform the initialization operation of the frequency divider, RE
Set the SET signal to “0” first, then to “1”,
After that, since the signal must be kept at "1" for at least one cycle of the CLK signal and then set to "0" again, a circuit for generating such a RESET signal is also required, which has increased the cost.

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

【0018】[0018]

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

【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.
2 is a circuit diagram of a divide-by-2 circuit and a divide-by-6 circuit in the embodiment, and FIG. 2 is a timing chart of the circuit of FIG. In this circuit, the circuit is configured so that the divide-by-6 signal finally rises at the rise of the divide-by-2 signal. It can be easily set to rise.

【0020】以下、本実施例の回路の動作を説明する。
図1において、11〜14はラッチ信号の立上りエッジ
でデータ入力信号をラッチするD型フリップフロップ、
15は2入力NAND、16は3入力NAND、17,
19は2入力NOR、18,20はセレクタである。
Hereinafter, the operation of the circuit of this embodiment will be described.
In FIG. 1, reference numerals 11 to 14 denote D-type flip-flops for latching a data input signal at a rising edge of a latch signal.
15 is a 2-input NAND, 16 is a 3-input NAND, 17,
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, a data output signal is feedback-connected to a data input signal to form a divide-by-2 circuit. The flip-flops 12 and 13 are “00 →
01 → 10 → 00... ”, And constitutes a 6-frequency divider together with the flip-flop 14. The CLK signal is supplied to a flip-flop 11 forming a 2 frequency divider and a flip-flop 12 to a 6 frequency divider.
14 are connected as latch signals, and become a divide-by-2 signal and a divide-by-6 signal, respectively.

【0022】本回路では、2分周信号と6分周信号の位
相合わせは、フリップフロップ12〜14の反転出力に
接続された3入力NAND16と、フリップフロップ1
1のデータ入力信号の前段に挿入された2入力NAND
15で行う。
In this circuit, the phases of the divide-by-2 signal and the divide-by-6 signal are adjusted by the three-input NAND 16 connected to the inverted outputs of the flip-flops 12 to 14 and the flip-flop 1
Two-input NAND inserted before the one data input signal
Perform 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 use the flip-flop 13 as an upper bit, 00 → 01 → 10 →
00... Are repeatedly counted.
When the data output of the flip-flop 13 is the CLK signal rises when the "1", but inverts the data output, the data output up CLK signal when the output of the flip-flop 13 is "0" is standing Is not changed, the output of the three-input NAND 16 is connected to the flip-flop 1
It becomes "1" only in a specific state of the 6-frequency divider, that is, the state of the counter composed of 2 and 13 is "00" and the output of the flip-flop 14 is "0". Therefore, by masking the data input signal of the flip-flop 11 to "1" by the two-input NAND 15 when this signal is "1", when the 6-divider is in a specific state, the 2-divider is specified. It can be initialized to the state, and the phase of the divide-by-2 signal and the divide-by-6 signal can be adjusted.

【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 6-divided signal rises at the falling timing of the 2-divided signal, but when the CLK signal rises at the time T1, the 6-divider is used. , The divided-by-6 signal becomes "0" and the output of the three-input NAND 16 becomes "0", so that the data input signal of the flip-flop 11 is masked to "1". Thereafter, when the CLK signal rises at T2, since the data input signal of the flip-flop 11 is masked to 1 in the frequency-divided-by-2 signal, the signal which normally changes to "0" continues to output "1". Therefore, the time T
After 2, the 6-divided signal rises at the rising timing of the 2-divided signal.

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

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

【0027】以上説明したように、本発明を用いれば、
通常の2分周器、6分周器の組に、わずかな回路を追加
するだけで、2分周信号と6分周信号の位相を特定の状
態に合わすことが可能なため、従来例に比較してコス
ト、動作周波数が大幅に改善される。
As described above, according to the present invention,
Since it is possible to match the phases of the divide-by-2 signal and the divide-by-6 signal to a specific state by adding only a few circuits to the ordinary set of the divide-by-2 and divide-by-6 circuits, The cost and operating frequency are greatly 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.
3 is a timing chart of the circuit of FIG. In this circuit, a 10-frequency-divided signal rises at the rising edge of the 2-cycle signal.
Configure the circuit. Hereinafter, with reference to FIGS. 3 and 4,
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, reference numerals 11 to 14 and 21 denote data input signals 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 flip-flop 11 has a data output signal fed back to the data input signal and forms 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 →
001 → 010 → 011 → 100 → 000... ”, And the flip-flop 21
Together with the frequency divider. The CLK signal is connected as a latch signal to a flip-flop 11 constituting a divide-by-2 frequency divider and flip-flops 12 to 14 and 21 constituting a divide-by-10 frequency divider, and becomes a divide-by-2 signal and a divide-by-10 signal, respectively.

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

【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 and write "000 → 001".
→ 010 → 011 → 100 → 000... ”, And the flip-flop 21 inverts the data output when the CLK signal rises while 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
Is "1" only when the state of the counter composed of the flip-flops 12 to 4 is "000" and the output of the flip-flop 21 is "0" in a specific state of the 10-frequency divider. Therefore, when this signal is “1”, the data input signal of the flip-flop 11 is masked to “1” by the two-input NAND 15 to specify the divide-by-2 group when the divide-by-10 group is in a specific state. And the phase of the divide-by-2 signal and the divide-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 divide-by-10 signal has risen at the falling timing of the divide-by-2 signal. When the CLK signal rises at time T1,
The data input signal of the flip-flop 31 is masked to “1” because the value of the counter of the 10-frequency divider is “000”, the signal of the 10-frequency divider is “0”, and the output of the 3-input NAND 37 is “0”. Is done. Thereafter, when the CLK signal rises at T2, the divide-by-2 signal is normally "0" because the data input signal of the flip-flop 11 is masked to "1".
, Continues to output “1”. Therefore, before the time T2, the divide-by-10 signal rises at the rising timing of the divide-by-2 signal.

【0034】従って、本発明の回路によれば、通常の2
分周器、10分周器の組にわずかな回路を追加するだけ
で、2周信号と10分周信号の位相を特定の状態に合わ
すことが可能なため、従来例に比較してコスト、動作周
波数が大幅に改善される。
Therefore, according to the circuit of the present invention, the ordinary 2
The phase of the two-frequency signal and the frequency of the ten-frequency signal can be adjusted to a specific state by adding only a few circuits to the frequency divider and the frequency-divider set. 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 divide-by-2 signal and a 2n (n is a natural number of 2 or more) divided signal generated from an original clock signal, Compared to the conventional example, it is possible to match the phase of the 2 divided signal and the 2n divided signal to a specific state by adding a very small circuit to the set of the 2 divider and the 2n divider. Thus, there is an effect that the cost can be greatly reduced and the operating frequency does not decrease.

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

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

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

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

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

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

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

【図6】従来例における2分周信号と6分周信号の位相
を合わせる回路図である。
FIG. 6 is a circuit diagram for adjusting the phases of a divide-by-2 signal and a divide-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 to 14, 21, 36, 37, 51, 52 D-type flip-flops 31 to 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

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H03K 23/40 H03K 23/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H03K 23/40 H03K 23/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力信号がラッチ信号入力端に接続され
かつ出力信号となる第1のデータ信号出力の反転信号が
データ信号入力端にフィードバック接続されることによ
り、前記入力信号の立上りエッジまたは立下りエッジで
前記第1のデータ信号出力がラッチされ前記入力信号の
2分周信号を出力する第1のD型フリップフロップと、
前記入力信号を2n(nは2以上の自然数)分周するよ
うに前記入力信号の立上りエッジまたは立下りエッジを
n回繰り返しカウントするカウンタと、このカウンタの
出力に従って前記入力信号の立上りまたは立下りエッジ
出力信号となる第2のデータ信号出力またはこの第2
のデータ信号出力の反転信号がラッチされ前記入力信号
の2n分周信号を出力する第2のD型フリップフロップ
と、前記カウンタの値と前記第2のフリップフロップの
出力がある特定の論理値になると前記第1のD型フリッ
プフロップのデータ信号入力を0または1にマスクする
論理回路とを少なくとも備え、前記入力信号の2分周信
号および前記入力信号の2n分周信号の位相が自動的に
前記特定論理値に合わせられるようにしたことを特徴と
する分周回路。
An input signal is connected to a latch signal input terminal, and an inverted signal of a first data signal output serving as an output signal is feedback-connected to a data signal input terminal, so that a rising edge or a rising edge of the input signal is provided. A first D-type flip-flop for latching the first data signal output at a falling edge and outputting a frequency-divided signal of the input signal;
A counter for repeatedly counting the rising edge or the falling edge of the input signal n times so as to divide the input signal by 2n (n is a natural number of 2 or more), and the rising or falling of the input signal according to the output of the counter A second data signal output which becomes an output signal at the edge or the second data signal output
A second D-type flip-flop that latches an inverted signal of the data signal output of the above and outputs a 2n frequency-divided signal of the input signal, and the value of the counter and the output of the second flip-flop become a specific logical value. At least a logic circuit for masking the data signal input of the first D-type flip-flop to 0 or 1. The phase of the divide-by-2 signal of the input signal and the 2n-divided signal of the input signal is provided. Is automatically adjusted to the specific logical value.
【請求項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 comprises a three-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 JPH0923153A (en) 1997-01-21
JP3031206B2 true 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
JPH0923153A (en) 1997-01-21

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
JP4357692B2 (en) Non-integer frequency divider
US7034584B2 (en) Apparatus for frequency dividing a master clock signal by a non-integer
US5459855A (en) Frequency ratio detector for determining fixed frequency ratios in a computer system
US5250858A (en) Double-edge triggered memory device and system
US7652517B2 (en) Method and apparatus for generating synchronous clock signals from a common clock signal
US20050270073A1 (en) Glitch-free clock switching apparatus
US5230013A (en) PLL-based precision phase shifting at CMOS levels
US6507230B1 (en) Clock generator having a deskewer
US4703495A (en) High speed frequency divide-by-5 circuit
EP0313178A2 (en) Circuit and method for performing clock division and clock synchronization
US5339345A (en) Frequency divider circuit
US6677786B2 (en) Multi-service processor clocking system
US6271702B1 (en) Clock circuit for generating a delay
US6108393A (en) Enhanced prescaler phase interface
US6667638B1 (en) Apparatus and method for a frequency divider with an asynchronous slip
JP3031206B2 (en) Divider circuit
KR100355302B1 (en) Programmable frequency divider by high speed counter
JPH10215153A (en) Clock multiplication circuit and semiconductor integrated circuit
JP2000249747A (en) Timing signal generating circuit for semiconductor test device
US7328229B2 (en) Clock divider with glitch free dynamic divide-by change
JP2792759B2 (en) Synchronous clock generation circuit
KR100266742B1 (en) Programmable frequency divider
CN117559972A (en) Signal generating circuit

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