JPH114162A - Clock dividing device - Google Patents

Clock dividing device

Info

Publication number
JPH114162A
JPH114162A JP9154983A JP15498397A JPH114162A JP H114162 A JPH114162 A JP H114162A JP 9154983 A JP9154983 A JP 9154983A JP 15498397 A JP15498397 A JP 15498397A JP H114162 A JPH114162 A JP H114162A
Authority
JP
Japan
Prior art keywords
counter
reset
clock
flip
value
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
JP9154983A
Other languages
Japanese (ja)
Inventor
Mitsutaka Terada
田 光 孝 寺
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP9154983A priority Critical patent/JPH114162A/en
Publication of JPH114162A publication Critical patent/JPH114162A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a clock dividing device which can optionally adjust the dividing ratio, duty and phase and can generate a dividing clock. SOLUTION: The count value of a counter 1 is compared with the Hi and Low set values inputted from the terminals 7 and 8 respectively. Then a synchronous RS flip-flop circuit 5 is controlled to acquire a divided clock that has the optional duty and phase. Meanwhile, the count value of the counter 1 is compared with the reset value inputted from a terminal 9 to control the resetting of the counter 1. Thus, a divided clock having an optional dividing ratio is obtained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば通信システ
ムにおいてクロックを分周して使用する装置に関するも
ので、一般的にはクロックの分周数、デューティ、位相
を調節して利用するような装置に使用するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus which divides and uses a clock in a communication system, for example. It is used for.

【0002】[0002]

【従来の技術】従来、クロックの分周にはバイナリカウ
ンタを用いて1/2n 分周する回路がよく用いられてい
た。また、特開平4-287208号公報に示されるように、分
周数とデューティを任意に設定できるものがあった。
2. Description of the Related Art Conventionally, a circuit for dividing a clock by 1 / 2n using a binary counter has been often used for dividing a clock. Further, as disclosed in Japanese Patent Application Laid-Open No. 4-287208, there has been a configuration in which the frequency division number and the duty can be arbitrarily set.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の技術においては、位相が一定の分周クロックを生成
することしかできなかった。
However, in the above-mentioned prior art, only a frequency-divided clock having a fixed phase can be generated.

【0004】本発明は、上記問題点を解決するもので、
分周数、デューティ、位相を任意に調節して分周クロッ
クを生成することができるクロック分周装置を提供する
ことを目的とする。
[0004] The present invention solves the above problems,
It is an object of the present invention to provide a clock frequency divider capable of generating a frequency-divided clock by arbitrarily adjusting a frequency division number, a duty, and a phase.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明のクロック分周装置は、分周数、デューテ
ィ、位相を決定するためのパラメータを設定する手段を
備え、設定されたパラメータにしたがって分周クロック
を出力する機能を持たせたものである。
In order to achieve the above object, a clock frequency divider according to the present invention comprises means for setting parameters for determining a frequency division number, a duty, and a phase. Has a function of outputting a frequency-divided clock according to.

【0006】[0006]

【発明の実施の形態】本発明の請求項1に記載の発明
は、分周数を任意に決定するためのパラメータを設定す
る手段と、デューティを任意に決定するためのパラメー
タを設定する手段と、位相を任意に決定するためのパラ
メータを設定する手段と、設定されたパラメータに従っ
て分周カウンタと出力用フリップフロップを制御する手
段と、設定されたパラメータに対応した分周クロックを
出力する手段とを備えたクロック分周装置であり、これ
により、設定したパラメータにしたがった分周クロック
を得ることができる。
The invention according to claim 1 of the present invention comprises means for setting a parameter for arbitrarily determining a frequency division number, and means for setting a parameter for arbitrarily determining a duty. Means for setting a parameter for arbitrarily determining a phase, means for controlling a frequency dividing counter and an output flip-flop according to the set parameter, and means for outputting a frequency-divided clock corresponding to the set parameter. , Whereby a divided clock according to the set parameters can be obtained.

【0007】本発明の請求項2に記載の発明は、原振ク
ロックに同期して動作し、リセット信号入力によりリセ
ットされる装置のタイミングを決定するカウンタと、原
振クロックに同期して動作し、セット端子にHiが入力
されるとHiに、リセット端子にHiが入力されるとL
owにセットされて分周されたクロックを出力する同期
型RSフリップフロップ回路と、前記カウンタの出力値
と予め設定されたHi設定値とを比較し、一致したとき
に前記同期型RSフリップフロップ回路のセット端子に
Hi信号を送出する第1の比較器と、前記カウンタの出
力値と予め設定されたLow設定値とを比較し、一致し
たときに前記同期型RSフリップフロップ回路のリセッ
ト端子にHi信号を送出する第2の比較器と、前記カウ
ンタの出力値と予め設定されたリセット設定値とを比較
し、一致したときに前記カウンタのリセット端子にHi
信号を送出する第3の比較器とを備えたクロック分周装
置であり、これにより、設定したパラメータにしたがっ
た分周クロックを得ることができる。
According to a second aspect of the present invention, a counter which operates in synchronization with an original clock, determines a timing of a device reset by a reset signal input, and operates in synchronization with an original clock. , Hi when the set terminal is input, and L when the reset terminal is input Hi.
a synchronous RS flip-flop circuit that outputs a frequency-divided clock set to ow, and compares the output value of the counter with a preset Hi set value, and when they match, the synchronous RS flip-flop circuit And a first comparator that sends a Hi signal to a set terminal of the synchronous RS flip-flop circuit, and compares the output value of the counter with a preset Low set value. A second comparator for transmitting a signal, the output value of the counter is compared with a preset reset value, and when they match, a Hi terminal is connected to the reset terminal of the counter.
This is a clock frequency divider provided with a third comparator for transmitting a signal, whereby a frequency-divided clock according to a set parameter can be obtained.

【0008】(実施の形態)以下、本発明の実施の形態
について詳細に説明する。図1は本発明の一実施の形態
におけるクロック分周装置の構成を示すものである。図
1において、1はクロック分周装置のタイミングを決定
するカウンタであり、原振クロック入力端子6から入力
される原振クロックに同期して動作し、リセット信号入
力により0にリセットされる。2は第1の比較器であ
り、カウンタ1の出力値とHi設定値入力端子7に与え
られるHi設定値とを比較し、一致したときに同期型R
Sフリップフロップ回路5のセット端子にHi信号を送
出する。3は第2の比較器であり、カウンタ1の出力値
とLow設定値入力端子8に与えられるLow設定値と
を比較し、一致したときに同期型RSフリップフロップ
回路5のリセット端子にHi信号を送出する。4は第3
の比較器であり、カウンタ1の出力値とリセット設定値
入力端子9に与えられるリセット設定値とを比較し、一
致したときにカウンタ1のリセット端子にHi信号を送
出する。5は同期型RSフリップフロップ回路であり、
原振クロック入力端子6から入力される原振クロックに
同期して動作し、セット端子にHiが入力されるとHi
に、リセット端子にHiが入力されるとLowにセット
される。6は原振クロック入力端子であり、本装置外部
から原振クロックを入力するためのものである。7はH
i設定値入力端子であり、本装置外部からHi設定値を
入力するためのものである。8はLow設定値入力端子
であり、本装置外部からLow設定値を入力するための
ものである。9はリセット設定値入力端子であり、本装
置外部からリセット設定値を入力するためのものであ
る。10は分周クロック出力端子であり、同期型RSフ
リップフロップ回路5の出力を分周クロックとして本装
置外部へ出力するためのものである。
(Embodiment) Hereinafter, embodiments of the present invention will be described in detail. FIG. 1 shows a configuration of a clock frequency dividing device according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a counter for determining the timing of the clock frequency dividing device, which operates in synchronization with the original clock input from the original clock input terminal 6, and is reset to 0 by a reset signal input. Reference numeral 2 denotes a first comparator which compares the output value of the counter 1 with the Hi set value given to the Hi set value input terminal 7 and, when they match, a synchronous R
The Hi signal is sent to the set terminal of the S flip-flop circuit 5. Reference numeral 3 denotes a second comparator, which compares the output value of the counter 1 with the Low set value given to the Low set value input terminal 8 and outputs a Hi signal to the reset terminal of the synchronous RS flip-flop circuit 5 when they match. Is sent. 4 is 3rd
The comparator compares the output value of the counter 1 with the reset set value given to the reset set value input terminal 9 and sends out a Hi signal to the reset terminal of the counter 1 when they match. 5 is a synchronous RS flip-flop circuit,
It operates in synchronization with the original clock input from the original clock input terminal 6, and when Hi is input to the set terminal, Hi
Is set to Low when Hi is input to the reset terminal. Reference numeral 6 denotes a master clock input terminal for inputting a master clock from outside the apparatus. 7 is H
An i setting value input terminal for inputting a Hi setting value from outside the apparatus. Reference numeral 8 denotes a Low setting value input terminal for inputting a Low setting value from outside the apparatus. Reference numeral 9 denotes a reset setting value input terminal for inputting a reset setting value from outside the apparatus. Reference numeral 10 denotes a divided clock output terminal for outputting the output of the synchronous RS flip-flop circuit 5 as a divided clock to the outside of the device.

【0009】以上のように構成されたクロック分周装置
の動作を図2のタイミングチャートを参照しながら説明
する。ここで、本実施の形態では、分周数は16以下と
し、カウンタ1は4ビットのバイナリカウンタとする。
また、Hi設定値には3、Low設定値には7、リセッ
ト設定値には12が本装置外部から設定されているもの
とする。原振クロック21は、原振クロック入力端子6
から入力される原振クロックであり、本装置はこれに同
期して動作する。カウンタ値22は、カウンタ1の出力
値である。フリップフロップセット信号23は、比較器
2の出力信号であり、同期型RSフリップフロップ回路
5のセット端子に入力されている。フリップフロップリ
セット信号24は、比較器3の出力信号であり、同期型
RSフリップフロップ回路5のリセット端子に入力され
ている。カウンタリセット信号25は、比較器4の出力
信号であり、カウンタ1のリセット端子に入力されてい
る。分周クロック26は、同期型RSフリップフロップ
回路5の出力信号であり、分周クロック出力端子10か
ら本装置外部へ出力される。
The operation of the clock frequency divider constructed as described above will be described with reference to the timing chart of FIG. Here, in the present embodiment, the frequency division number is 16 or less, and the counter 1 is a 4-bit binary counter.
In addition, it is assumed that 3 is set for the Hi setting value, 7 is set for the Low setting value, and 12 is set for the reset setting value from outside the apparatus. The source clock 21 is connected to the source clock input terminal 6
This device operates in synchronization with the original clock input from the device. The counter value 22 is the output value of the counter 1. The flip-flop set signal 23 is an output signal of the comparator 2 and is input to the set terminal of the synchronous RS flip-flop circuit 5. The flip-flop preset signal 24 is an output signal of the comparator 3 and is input to a reset terminal of the synchronous RS flip-flop circuit 5. The counter reset signal 25 is an output signal of the comparator 4 and is input to the reset terminal of the counter 1. The divided clock 26 is an output signal of the synchronous RS flip-flop circuit 5 and is output from the divided clock output terminal 10 to the outside of the device.

【0010】カウンタ値22は、カウンタリセット信号
25がHiになると次の原振クロック21の立ち上がり
エッジで0にリセットされ、以後原振クロック21の立
ち上がりエッジ毎に1ずつカウントアップされる。カウ
ンタ値22とHi設定値入力端子7から入力されるHi
設定値とを比較器2で比較しており、一致するとフリッ
プフロップセット信号23がHiになる。フリップフロ
ップセット信号23がHiになると、次の原振クロック
21の立ち上がりエッジで同期型RSフリップフロップ
回路5はHiにセットされ、分周クロック26はHiに
なる。カウンタ値22とLow設定値入力端子8から入
力されるLow設定値とを比較器3で比較しており、一
致するとフリップフロップリセット信号24がHiにな
る。フリップフロップリセット信号24がHiになる
と、次の原振クロック21の立ち上がりエッジで同期型
RSフリップフロップ回路5はLowにセットされ、分
周クロック26はLowになる。カウンタ値22とリセ
ット設定値入力端子9から入力されるリセット設定値と
を比較器4で比較しており、一致するとカウンタリセッ
ト信号25がHiになる。カウンタリセット信号25が
Hiになると、次の原振クロック21の立ち上がりエッ
ジでカウンタ1は0にリセットされ、カウンタ値22は
0になる。以降、上記の動作が繰り返される。
When the counter reset signal 25 becomes Hi, the counter value 22 is reset to 0 at the next rising edge of the original clock 21, and thereafter, is incremented by one at every rising edge of the original clock 21. The counter value 22 and Hi input from the Hi set value input terminal 7
The comparator 2 compares the set value with the set value. When the set values match, the flip-flop set signal 23 becomes Hi. When the flip-flop set signal 23 becomes Hi, the synchronous RS flip-flop circuit 5 is set to Hi at the next rising edge of the original clock 21, and the frequency-divided clock 26 becomes Hi. The counter value 22 is compared with the Low set value input from the Low set value input terminal 8 by the comparator 3, and when they match, the flip preset signal 24 becomes Hi. When the flip-flop preset signal 24 becomes Hi, the synchronous RS flip-flop circuit 5 is set to Low at the next rising edge of the original clock 21, and the frequency-divided clock 26 becomes Low. The counter value 22 is compared with the reset setting value input from the reset setting value input terminal 9 by the comparator 4, and when they match, the counter reset signal 25 becomes Hi. When the counter reset signal 25 becomes Hi, the counter 1 is reset to 0 at the next rising edge of the original clock 21, and the counter value 22 becomes 0. Thereafter, the above operation is repeated.

【0011】以上のように、本実施の形態によれば、リ
セット設定値入力端子9からリセット設定値を適切に設
定することにより、またHi設定値入力端子7からHi
設定値を、またLow設定値入力端子8からLow設定
値を、それぞれ適切に設定することにより、任意の分周
数とデューティと位相を持つ分周クロックを同期型RS
フリップフロップ回路5から出力することができる。
As described above, according to the present embodiment, by appropriately setting the reset set value from the reset set value input terminal 9, and by setting the Hi set value input terminal 7 to Hi
By appropriately setting the set value and the Low set value from the Low set value input terminal 8, a divided clock having an arbitrary division number, duty, and phase can be synchronized with the synchronous RS.
It can be output from the flip-flop circuit 5.

【0012】なお、上記の実施の形態では、分周数が1
6以下であるので、カウンタ1は4ビットであるが、任
意の分周数でもそれに応じた大きさのカウンタを使用す
ることで、同様なクロック分周を行うことができる。ま
た、以上の実施の形態では、Hi設定値には3、Low
設定値には7、リセット設定値には12が設定されてい
るものとしたが、カウンタ1のビット数であらわすこと
のできる任意の値が設定可能である。
In the above embodiment, the frequency division number is one.
Since the number is 6 or less, the counter 1 has 4 bits, but the same clock frequency division can be performed by using a counter having a size corresponding to an arbitrary frequency division number. In the above embodiment, the Hi set value is 3, Low.
Although the set value is set to 7 and the reset set value is set to 12, any value that can be represented by the number of bits of the counter 1 can be set.

【0013】[0013]

【発明の効果】以上説明したように、本発明によれば、
分周数、デューティ、位相を決定するためのパラメータ
を設定する手段を備えているので、原振クロックに対す
る分周クロックの分周数、デューティ、位相を自由に設
定することができる。
As described above, according to the present invention,
Since means for setting parameters for determining the frequency division number, duty, and phase are provided, the frequency division number, duty, and phase of the frequency-divided clock with respect to the original clock can be freely set.

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

【図1】本発明の一実施の形態におけるクロック分周装
置の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a clock frequency divider according to an embodiment of the present invention.

【図2】同装置における動作を示すタイミング図FIG. 2 is a timing chart showing an operation in the apparatus.

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

1 カウンタ 2 第1の比較器 3 第2の比較器 4 第3の比較器 5 同期型フリップフロップ回路 6 原振クロック入力端子 7 Hi設定値入力端子 8 Low設定値入力端子 9 リセット設定値入力端子 10 分周クロック出力端子 DESCRIPTION OF SYMBOLS 1 Counter 2 1st comparator 3 2nd comparator 4 3rd comparator 5 Synchronous flip-flop circuit 6 Original clock input terminal 7 Hi set value input terminal 8 Low set value input terminal 9 Reset set value input terminal 10-divided clock output pin

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 分周数を任意に決定するためのパラメー
タを設定する手段と、デューティを任意に決定するため
のパラメータを設定する手段と、位相を任意に決定する
ためのパラメータを設定する手段と、設定されたパラメ
ータに従って分周カウンタと出力用フリップフロップを
制御する手段と、設定されたパラメータに対応した分周
クロックを出力する手段とを備えたクロック分周装置。
1. A means for setting a parameter for arbitrarily determining a frequency division number, a means for setting a parameter for arbitrarily determining a duty, and a means for setting a parameter for arbitrarily determining a phase And a means for controlling a frequency dividing counter and an output flip-flop according to set parameters, and means for outputting a divided clock corresponding to the set parameters.
【請求項2】 原振クロックに同期して動作し、リセッ
ト信号入力によりリセットされる装置のタイミングを決
定するカウンタと、原振クロックに同期して動作し、セ
ット端子にHiが入力されるとHiに、リセット端子に
Hiが入力されるとLowにセットされて分周されたク
ロックを出力する同期型RSフリップフロップ回路と、
前記カウンタの出力値と予め設定されたHi設定値とを
比較し、一致したときに前記同期型RSフリップフロッ
プ回路のセット端子にHi信号を送出する第1の比較器
と、前記カウンタの出力値と予め設定されたLow設定
値とを比較し、一致したときに前記同期型RSフリップ
フロップ回路のリセット端子にHi信号を送出する第2
の比較器と、前記カウンタの出力値と予め設定されたリ
セット設定値とを比較し、一致したときに前記カウンタ
のリセット端子にHi信号を送出する第3の比較器とを
備えたクロック分周装置。
2. A counter that operates in synchronization with the original clock and determines the timing of a device that is reset by a reset signal input, and a counter that operates in synchronization with the original clock and Hi is input to the set terminal. A synchronous RS flip-flop circuit that is set to Low when Hi is input to the reset terminal and outputs a frequency-divided clock;
A first comparator for comparing an output value of the counter with a preset Hi set value, and sending a Hi signal to a set terminal of the synchronous RS flip-flop circuit when they match, an output value of the counter; And a preset Low setting value, and when they match, a second signal for sending a Hi signal to the reset terminal of the synchronous RS flip-flop circuit
And a third comparator for comparing the output value of the counter with a preset reset value and sending a Hi signal to a reset terminal of the counter when they match with each other. apparatus.
JP9154983A 1997-06-12 1997-06-12 Clock dividing device Pending JPH114162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9154983A JPH114162A (en) 1997-06-12 1997-06-12 Clock dividing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9154983A JPH114162A (en) 1997-06-12 1997-06-12 Clock dividing device

Publications (1)

Publication Number Publication Date
JPH114162A true JPH114162A (en) 1999-01-06

Family

ID=15596157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9154983A Pending JPH114162A (en) 1997-06-12 1997-06-12 Clock dividing device

Country Status (1)

Country Link
JP (1) JPH114162A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100986611B1 (en) 2008-06-13 2010-10-08 김영식 Low power frequency divider and low power phased locked loop including the frequency divider
JP2015173323A (en) * 2014-03-11 2015-10-01 株式会社メガチップス Frequency division clock generation circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100986611B1 (en) 2008-06-13 2010-10-08 김영식 Low power frequency divider and low power phased locked loop including the frequency divider
JP2015173323A (en) * 2014-03-11 2015-10-01 株式会社メガチップス Frequency division clock generation circuit

Similar Documents

Publication Publication Date Title
EP1293890A3 (en) Clock control method, frequency dividing circuit and PLL circuit
JPH07202655A (en) Clock composition device
GB2116759A (en) Programmable multiple frequency ratio synchronous clock signal generator circuit and method
JPH10304652A (en) Programmable pulse width modulation circuit
JPH114162A (en) Clock dividing device
US6316973B1 (en) Transmission timing adjusting circuit and method
RU2005108980A (en) METHOD AND DEVICE FOR REDUCING PHASE JUMPING WHEN SWITCHING SYNCHRONIZATION SOURCES
JP3253514B2 (en) Clock generation circuit in PLL circuit
JPH0983350A (en) Clock generation device
KR100286695B1 (en) Apparatus for applying pll reference clock
JPH05315898A (en) Trigger synchronization circuit
JP2692071B2 (en) Phase-locked pulse generator
JP2526781B2 (en) Synchronous clock generator
JPH1013925A (en) Circuit for changing transmission and reception timing
JP3424415B2 (en) Phase shift circuit
JP2970296B2 (en) Data multiplexing circuit
KR20000011957U (en) Divider Using Flip-Flop
JPH02171049A (en) External synchronization clock pulse generating circuit
JPH0670344U (en) High-speed data multiplexing circuit
JPH06169238A (en) Pattern generating circuit
JPH0774654A (en) Multiplex circuit
JPH06152556A (en) Data multiplex circuit
JPH0661807A (en) Digital duty factor adjustment circuit
JPH1056362A (en) Digital signal processing integrated circuit
JPH03256410A (en) Frequency synthesizer