JPS61198818A - Preset type synchronous programmable counter - Google Patents

Preset type synchronous programmable counter

Info

Publication number
JPS61198818A
JPS61198818A JP3654085A JP3654085A JPS61198818A JP S61198818 A JPS61198818 A JP S61198818A JP 3654085 A JP3654085 A JP 3654085A JP 3654085 A JP3654085 A JP 3654085A JP S61198818 A JPS61198818 A JP S61198818A
Authority
JP
Japan
Prior art keywords
frequency division
frequency
clock
division ratio
counter
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
JP3654085A
Other languages
Japanese (ja)
Inventor
Yoshio Muramatsu
村松 芳男
Keiichi Inada
稲田 恵一
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.)
Pioneer Corp
Original Assignee
Pioneer Electronic 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 Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP3654085A priority Critical patent/JPS61198818A/en
Publication of JPS61198818A publication Critical patent/JPS61198818A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

PURPOSE:To attain double high speed operation by providing a frequency divider frequency-dividing a basic clock into 1/2, a preset type synchronous programmble counter, a means inputting a clock thereto and a means retarding the frequency division operation of the first frequency divider by one period's share of the basic clock. CONSTITUTION:When the frequency division ratio is an add number, a frequency division control signal DC fed to an input terminal 103 is set to logical H. A frequency division ratio setting signal DET fed to an input terminal 101 is set to a value of (frequency division ratio - 5). Suppose that the frequency division ratio is an odd number '131', the frequency division ratio set signal DET is '126'. In this case, when a counter 2 counts '126', that is, a PSPC 112 (counter 1) counts '63', the DET pulse having a width of one period of the frequency division clock DCLK synchronously with the trailing of the basic clock FCLK is fed to the input terminal 101.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリセット式シンクロナス・プログラマブル
・カウンタ、より詳細には、ディレィ・タイムの小さな
基本素子を使用しなくとも、従来の2倍の高速動作が可
能なプリセット式シンクロナス・プログラマブル・カウ
ンタに関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention provides a preset type synchronous programmable counter, more specifically, a preset type synchronous programmable counter, which has twice the delay time of the conventional one without using basic elements with small delay times. This invention relates to a preset type synchronous programmable counter capable of high-speed operation.

〔従来の技術〕[Conventional technology]

入力クロックのカウント値がプリセットされた値に達す
ると出力を発生するプリセット式シンクロナス・カウン
タは、その性質を利用して所定のカウント値に達したと
きに制御信号を発生する手段や分周器などに広く用いら
れている。このプリセット式シンクロナス・カウンタに
おいて、制御信号によりプリセット値を任意に設定でき
る様にしたものは、プリセット式シンクロナス・プログ
ラマブル・カウンタと呼ばれている。
A preset type synchronous counter that generates an output when the count value of the input clock reaches a preset value takes advantage of this property and uses a frequency divider or means to generate a control signal when the count value reaches a predetermined count value. It is widely used. Among these preset type synchronous counters, one in which the preset value can be arbitrarily set by a control signal is called a preset type synchronous programmable counter.

第3図は、従来のプリセット式シンクロナス・プログラ
マブル・カウンタを示したもので、分周器として用いら
れている。
FIG. 3 shows a conventional preset type synchronous programmable counter, which is used as a frequency divider.

第3図(A)において、300はプリセット式%式%( PC)でP段のカウンタ段(3031〜303p)を有
する構成になっている。301は分周比設定信号(DE
T)の入力端子で、この分周比設定信号DETは設定さ
れた分周比と(PSPC300のカウント数−1)なる
値が一致したときに発生される。302は入力クロック
の加わるクロック入力端子、304は分周出力が送出さ
れる出力端子である。
In FIG. 3(A), reference numeral 300 is a preset type % type % (PC) having a configuration having P stages of counter stages (3031 to 303p). 301 is a frequency division ratio setting signal (DE
This frequency division ratio setting signal DET is generated at the input terminal of T) when the set frequency division ratio matches the value (count number of PSPC 300 - 1). 302 is a clock input terminal to which an input clock is applied, and 304 is an output terminal to which a frequency-divided output is sent.

PSPC300を構成する各段は、いずれも第3図(B
)°に示すカウンタ段303と同じ構成になっている。
Each stage constituting the PSPC300 is shown in Figure 3 (B
It has the same configuration as the counter stage 303 shown in )°.

カウンタ段303において、305は前段検出回路で、
前段の各カウンタ段が前でハイレベル“H゛であること
が検出されたときに検出信号を出力する。前段検出回路
305の出力は排他的NOR(EX−NOR)回路30
6の一方の入力端子に加えられる。EX−NOR回路3
06の出力は、端子301に入力されたDET信号と共
にNOR回路307に加えられる。NOR回路307の
出力はD型フリップ・フロップ(D・FF)308の入
力端子りに加えられる。このD・FF308のクロック
端子Cに入力クロックが加えられ、その出力端子Qから
発生されたカウンタ段303の出力はEX−NOR30
6の他の入力端子に加えられる。
In the counter stage 303, 305 is a previous stage detection circuit;
Each counter stage in the previous stage outputs a detection signal when it is detected that the previous stage is at a high level “H”.
is applied to one input terminal of 6. EX-NOR circuit 3
The output of 06 is applied to the NOR circuit 307 together with the DET signal input to the terminal 301. The output of the NOR circuit 307 is applied to the input terminal of a D-type flip-flop (DFF) 308. An input clock is applied to the clock terminal C of this D-FF 308, and the output of the counter stage 303 generated from the output terminal Q is output to the EX-NOR 30.
6 other input terminals.

次に、第3図の動作を第4図のタイム・チャートを参照
し、入力クロックを1/nに分周する場合を例にとって
説明する。
Next, the operation of FIG. 3 will be explained with reference to the time chart of FIG. 4, taking as an example the case where the input clock is divided into 1/n.

1 / nに分周するときは、n段目のカウンタ段以外
のDET信号はローレベル″L”になっているが、n段
目のカウンタ段に加えられる分周比設定信号DETは、
PSPC300のカウント値が(n−1)になったとき
に、第4図山)に示す様に、入力クロックの一周期幅を
持ったDETパルスを発生してそのNOR回路307に
加える。
When dividing the frequency by 1/n, the DET signals other than the n-th counter stage are at a low level "L", but the frequency division ratio setting signal DET applied to the n-th counter stage is
When the count value of the PSPC 300 reaches (n-1), a DET pulse having a width of one cycle of the input clock is generated and applied to the NOR circuit 307, as shown in FIG.

従って、入力クロックが各カウンタ段に加えられると、
初段のカウンタ段3031より順次その出力即ちD−F
F308の出力が“H″レベルなって行く。
Therefore, when the input clock is applied to each counter stage,
The outputs of the first counter stage 3031, that is, D-F
The output of F308 goes to "H" level.

カウント値が(n−1)、即ち(n−1)段目までのカ
ウンタ段の出力が全て“H”となると、第n段カウンタ
における前段検出回路305は検出信号を発生する。こ
れによりEX−NOR306の出力は“L′となる。カ
ウント値が(n−1)になり、まだDETパルスが加わ
らない期間はNOR回路306の出力及び分周比設定信
号DETは共に:L”となり、D−FF308の入力端
子りに“H”が加えられる。従って、前段検出回路30
5が検出信号を発生し、カウント値が(n −1)にな
った時点で、D−FF308の出力は第4図(C)に示
す様にH″となる。
When the count value is (n-1), that is, when all the outputs of the counter stages up to the (n-1) stage become "H", the previous stage detection circuit 305 in the n-th stage counter generates a detection signal. As a result, the output of the EX-NOR 306 becomes "L". During the period when the count value becomes (n-1) and no DET pulse is applied yet, the output of the NOR circuit 306 and the frequency division ratio setting signal DET are both "L". Therefore, “H” is applied to the input terminal of the D-FF 308. Therefore, the front stage detection circuit 30
5 generates a detection signal and when the count value reaches (n-1), the output of the D-FF 308 becomes H'' as shown in FIG. 4(C).

つづいて、n段のカウンタ段に第4図(blに示す様に
DETパルスが加わると、NOR回路307の出力は再
び“L”となって、D−FF30Bの入力端子りに“L
”が加わる。
Subsequently, when a DET pulse is applied to the n-stage counter stage as shown in FIG.
” is added.

この伏態で、カウント値nに対する入力クロック(n)
が入力さると、その立上りでD−FF308の出力は“
H″からL”になる。この立下りで各カウンタ段をリセ
ットすれば、入力クロックを1/Hに分周することがで
きる。
In this state, the input clock (n) for the count value n
When input, the output of D-FF308 becomes “
It changes from H″ to L″. By resetting each counter stage at this falling edge, the input clock can be divided into 1/H.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のpspcにおいては、その最高動作周波数は、各
回路棄子即ち、前段一致回路305、EX−NOR回路
306、NOR回路307、D・FF308の各ディレ
ィ・タイムによって決定される。そこで、最高動作周波
数を高める為には、各回路素子により小さいディレィ・
タイムを持った回路素子を使用するか、電源電圧を上げ
て各画素子のディレィ・タイムを減少させることが必要
である。
In the conventional PSPC, its maximum operating frequency is determined by the delay time of each circuit, that is, the pre-stage matching circuit 305, the EX-NOR circuit 306, the NOR circuit 307, and the D.FF 308. Therefore, in order to increase the maximum operating frequency, it is necessary to increase the delay and
It is necessary to reduce the delay time of each pixel by using circuit elements with time or by increasing the power supply voltage.

然しなから、前者の方法は、ディレィ・タイムの極めて
小さい回路素子を設計することは困難であり、また得ら
れても高価である。後者の場合は、特別な高電圧源を必
要とすると共に、各回路素子の許容電圧、許容損失特性
等からそれ程、最高動作周波数を改善できないという問
題があった。
However, in the former method, it is difficult to design a circuit element with extremely small delay time, and even if it is obtained, it is expensive. In the latter case, there is a problem that a special high voltage source is required and that the maximum operating frequency cannot be significantly improved due to the allowable voltage and allowable loss characteristics of each circuit element.

本発明は、従来のPSPCにおける前述の問題点を除去
する為に成されたもので、ディレィ・タイムが従来より
も小さい回路素子や、従来よりも高い動作電源を必要と
せず、従来のPSPCと同じ回路素子及び動作電源を用
いて、従来のPSPCよりも2倍の高速で動作可能なp
spcを提供することを目的とする。
The present invention was made in order to eliminate the above-mentioned problems in conventional PSPCs, and does not require circuit elements with smaller delay times than conventional ones or higher operating power supplies than conventional ones, and is different from conventional PSPCs. p that can operate twice as fast as conventional PSPC using the same circuit elements and operating power supply.
The purpose is to provide spc.

〔問題点を解決するための手段〕[Means for solving problems]

従来のPSPCにおける前述の問題点を解消し前記目的
を達成する為に本発明は、基本クロックを分周比設定信
号に従って分周した出力を発生するプリセット式シンク
ロナス・プログラマブル・カウンタにおいて、 (al  基本クロックを1/2に分周する分周器と、
(bl  分周器から出力された分周クロックを入力し
、この分周クロックを、その分周比設定信号に当る分周
起動信号に従って分周した出方を発生するプリセット式
シンクロナス・プログラマブル・カウンタと、 (c)  基本クロック周波数に対する所望の分周比に
対応して設定された分周比設定信号に基づき、その分周
比の1/2に最も近い分周クロック間波数にカウント・
アップが行われる時点を含むが少なくともその前のカウ
ント・アップ時点は含まない幅を持った分周起動信号を
発生して前記プリセット式シンクロナス・プログラマブ
ル・カウンタに入力する手段と、 (d)  分周比が基本クロック周波数に対して奇数の
場合のみ、前記分周起動信号がプリセット式シンクロナ
ス・プログラマブル・カウンタに入力されたときの最初
の分周器の分周動作を基本クロックの一周期分だけ遅延
させる手段を設ける様にしたものである。
In order to solve the above-mentioned problems in the conventional PSPC and achieve the above-mentioned object, the present invention provides a preset type synchronous programmable counter that generates an output by dividing a basic clock according to a frequency division ratio setting signal. A frequency divider that divides the basic clock into 1/2,
(bl) A preset type synchronous programmable system that inputs the divided clock output from the frequency divider and generates an output by dividing this divided clock according to the division start signal corresponding to the division ratio setting signal. (c) Based on a division ratio setting signal set corresponding to a desired division ratio with respect to the basic clock frequency, count the wave number between divided clocks that is closest to 1/2 of the division ratio.
(d) means for generating a frequency-divided start signal having a width that includes a time point at which the count-up is performed, but excludes at least a previous count-up time point, and inputting the signal to the preset type synchronous programmable counter; Only when the frequency ratio is an odd number with respect to the basic clock frequency, the frequency dividing operation of the first frequency divider when the frequency division start signal is input to the preset synchronous programmable counter is divided into one period of the basic clock. In this embodiment, a means for delaying the time is provided.

〔実施例〕〔Example〕

本発明の実施例を、図面を参照して詳細に説明する。 Embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例の説明図、第2図は同実施例
の動作を示すタイミング・チャートである。なお、この
実施例は、PSPCを分周装置として用いた場合の実施
例である。
FIG. 1 is an explanatory diagram of an embodiment of the present invention, and FIG. 2 is a timing chart showing the operation of the embodiment. Note that this embodiment is an embodiment in which a PSPC is used as a frequency dividing device.

第1図において、101は分周比設定信号DETの入力
端子、102は基本クロック(OCL K)の入力端子
である。103は分周制御信号(DO8)の入力端子で
、分周制御信号DOSは、分周比が偶数のときは“L”
レベルとなり、分周比が奇数のときは“H”レベルとな
る。
In FIG. 1, 101 is an input terminal for a frequency division ratio setting signal DET, and 102 is an input terminal for a basic clock (OCLK). 103 is an input terminal for the frequency division control signal (DO8), and the frequency division control signal DOS is "L" when the frequency division ratio is an even number.
When the frequency division ratio is an odd number, the signal becomes "H" level.

104は分周器で、D型フリップ・フロップ(D−FF
)から成り、クロック端子Cに基本クロックFCLKが
加えられ、入力端子りと反転出力端子0が接続される。
104 is a frequency divider, which is a D-type flip-flop (D-FF
), the basic clock FCLK is applied to the clock terminal C, and the input terminal and the inverted output terminal 0 are connected.

これにより基本クロックFCLKを1/2に分周した出
力が反転出力端子0に発生する。
As a result, an output obtained by dividing the basic clock FCLK into 1/2 is generated at the inverting output terminal 0.

105〜108はD−FFで、D−FF105の入力端
子りには分周比設定信号DETが、クロック端子Cには
分周器104をインバータ109で反転して得られる分
周クロック(D CL K)が加えられる。D−FF1
06の入力端子りにはD・FF105の出力が、クロッ
ク端子Cには基本クロックFCLKが加えられる。D−
FF107の入力、端子りにはD−FF106の出力が
、クロック端子Cには、基本クロックFCLKをインバ
ータ110で反転したクロックが加えられる。D・FF
108の入力端子りにはD−FF107の出力が、クロ
ック端子Cには基本クロックを反転したクロックが加え
られる。なお、D−FFIO7の出力は、次に説明する
PSPCの分周起動信号(D S S)として用いられ
る。
105 to 108 are D-FFs, the input terminal of the D-FF 105 receives a frequency division ratio setting signal DET, and the clock terminal C receives a frequency division clock (DCL) obtained by inverting the frequency divider 104 with an inverter 109. K) is added. D-FF1
The output of the D.FF 105 is applied to the input terminal of 06, and the basic clock FCLK is applied to the clock terminal C. D-
The output of the D-FF 106 is applied to the input terminal of the FF 107, and the clock obtained by inverting the basic clock FCLK by an inverter 110 is applied to the clock terminal C. D・FF
The output of the D-FF 107 is applied to the input terminal 108, and a clock obtained by inverting the basic clock is applied to the clock terminal C. Note that the output of the D-FFIO 7 is used as a frequency division activation signal (DSS) of the PSPC, which will be described next.

111はNAND回路で、その3個の入力側にはD−F
F107(7)出力、D−FF10817)反転出力及
び分周制御信号DC3が加えられ、その出力端は分周器
104のリセット端子Rに接続される。
111 is a NAND circuit, and its three input sides are D-F.
F107 (7) output, D-FF10817) inverted output and frequency division control signal DC3 are applied, and the output terminal thereof is connected to reset terminal R of frequency divider 104.

112はPSPCで、第3図に示したpspcと同じ構
成のものである。そのクロック端子CLKには、分周器
104及びインバータ109によって発生された分周ク
ロックDCLKが加えられ、そのLOAD端子には、P
SF’C112の分周比設定信号に当る分周起動信号D
SSが、D−FF107の出力により加えられる。
112 is a PSPC, which has the same configuration as the PSPC shown in FIG. A frequency-divided clock DCLK generated by a frequency divider 104 and an inverter 109 is applied to the clock terminal CLK, and a P
Frequency division start signal D corresponding to the frequency division ratio setting signal of SF'C112
SS is added by the output of D-FF107.

なお、これら各回路の動作電源には、従来のPSPCに
おいて用いられているものと同じものが用いられる。
Note that the same power supply as that used in the conventional PSPC is used as the operating power supply for each of these circuits.

次に、第1図の動作を、第2図のタイム・チャートを参
照して説明する。
Next, the operation shown in FIG. 1 will be explained with reference to the time chart shown in FIG.

第2図において、(A)は分周比が基本クロックFCL
Kの周波数に対して奇数の場合のタイム・チャートを示
し、(B)は分周比が基本クロックFCLKの周波数に
対して偶数の場合のタイム・チャートを示すものである
。また、「カウンタ1」は、PSPCI 12のカウン
ト動作を示し、「カウンタ2」は、PSPCI 12が
基本クロックCLKで動作すると仮定した場合のカウン
ト動作を示す。
In Figure 2, (A) shows that the frequency division ratio is the basic clock FCL.
A time chart in the case where the frequency of K is an odd number is shown, and (B) shows a time chart in the case where the frequency division ratio is an even number with respect to the frequency of the basic clock FCLK. Further, "Counter 1" indicates the counting operation of the PSPCI 12, and "Counter 2" indicates the counting operation when it is assumed that the PSPCI 12 operates with the basic clock CLK.

以下、第1図の動作を、分周比が奇数の場合と偶数の場
合に分けて説明する。
The operation shown in FIG. 1 will be explained below separately for the case where the frequency division ratio is an odd number and the case where the frequency division ratio is an even number.

(1)分周比が奇数の場合の動作 分周比が奇数の場合、入力端子103に加えられる分周
制御信号DO3は、“H”に設定される。また、入力端
子101に加えられる分周比設定信号DETは、(分周
比−5)なる値に設定される。いま分周比が奇数のrl
 31Jであるとすると、分周比設定信号DETは「1
26」となる。
(1) Operation when the frequency division ratio is an odd number When the frequency division ratio is an odd number, the frequency division control signal DO3 applied to the input terminal 103 is set to "H". Further, the frequency division ratio setting signal DET applied to the input terminal 101 is set to a value of (frequency division ratio - 5). rl whose frequency division ratio is odd now
31J, the division ratio setting signal DET is "1".
26".

この場合、カウンタ2がr126Jをカウントしたとき
即ちPSPC112(カウンタ1)が「63」をカウン
トしたとき、第2図(A)の(C)に示す様に、基本ク
ロックFCLKの立下に同期して分周クロックDCLK
の1周期の幅を持ったDETパルスを入力端子101に
加える様に構成されている。
In this case, when the counter 2 counts r126J, that is, when the PSPC 112 (counter 1) counts "63", it is synchronized with the falling edge of the basic clock FCLK, as shown in (C) of FIG. 2 (A). frequency-divided clock DCLK
The configuration is such that a DET pulse having a width of one cycle is applied to the input terminal 101.

この構成において、基本クロックFCLKが入力端子1
02に加えると(第2図(A)(a))、分周器104
及びインバータ109は、基本クロックFCLKを1/
2に分周した分周クロックDCLKを発生して(第2図
(A)の(b))、D−FF105及びPSPCI 1
2の各クロック端子に加える。
In this configuration, the basic clock FCLK is input to input terminal 1.
02 (FIG. 2(A)(a)), the frequency divider 104
And the inverter 109 converts the basic clock FCLK by 1/
2 ((b) in FIG. 2(A)), the D-FF 105 and PSPCI 1
2 to each clock terminal.

基本クロックFCLKは、D−FF106のクロック端
子Cに加えられ、更にインバータ110で反転されてD
−FF107及び108にも加えられる。
The basic clock FCLK is applied to the clock terminal C of the D-FF 106, and is further inverted by the inverter 110.
- Also added to FF107 and FF108.

DETパルスが加えられない間は、分周器104は分周
クロックDCLKを発生する動作を継続し、D−FF1
05〜107はL”出力状態を保持し、D−FF108
は“H”出力状態を保持する。
While the DET pulse is not applied, the frequency divider 104 continues to generate the divided clock DCLK, and the D-FF1
05 to 107 maintain the L” output state, and D-FF108
maintains the "H" output state.

従って、PSPCI 12は、分周クロックDCLKが
入力される毎に、第3図の場合と同様なカウント・アッ
プ動作を行う。
Therefore, the PSPCI 12 performs a count-up operation similar to that shown in FIG. 3 every time the divided clock DCLK is input.

PSPC112(カウンタ1)のカウント値が〔63」
に達すると、基本クロックF CL K 1の立下り同
期して、第2図(A)の(C)に示すDETパルスが入
力端子101に加えられる。
The count value of PSPC112 (counter 1) is [63]
When it reaches, the DET pulse shown in (C) of FIG. 2(A) is applied to the input terminal 101 in synchronization with the falling of the basic clock FCLK1.

これにより、D−FF105は、分周クロックD CL
 K 2 の立上り (カウンタ1のカウンタ値r64
J )において出力を発生する(第2図(A)の(d)
)。この出力を受けて、D−FFIO6は、基本クロッ
クF CL K 4の立上り (カウンタ2のカウント
値r129J)において出力を発生する(第2図(A)
の(e)) 、 D −FF107は反転された基本ク
ロックFCLKをクロックとしているので、基本クロッ
クFCLK4の立下りにおいて出力を発生する(第2図
(A)の(f))。D−FF108は反転出力を発生し
ているので、基本クロックFCLKsの立下りにおいて
それまでの@H”出力から“L″出力反転する(第2図
(A)の(沿)。これらの各D・FFの出力幅は、分周
クロックDCLKの1周期分である。
As a result, the D-FF 105 uses the divided clock D CL
Rise of K 2 (counter value r64 of counter 1
J ) generates an output ((d) in Figure 2(A)
). In response to this output, the D-FFIO6 generates an output at the rising edge of the basic clock FCLK4 (count value r129J of counter 2) (Fig. 2 (A)).
(e)) Since the D-FF 107 uses the inverted basic clock FCLK as its clock, it generates an output at the falling edge of the basic clock FCLK4 ((f) in FIG. 2(A)). Since the D-FF 108 generates an inverted output, the "L" output is inverted from the previous @H" output at the falling edge of the basic clock FCLKs (as shown in FIG. 2 (A)). - The output width of the FF is one period of the divided clock DCLK.

NAND回路111の入力端子に加わる3人力について
見ると、D−FF107の出が“H”になる以前、即ち
基本クロックFCLK4の立下り時点よりも前において
は、D−FF107の出力はL″であるので、NAND
回路112の出力は“H”状態を保持する(第2図(A
)(h))。従って、分周器104はリセットされず、
正常な分周動作を継続する。
Looking at the three forces applied to the input terminal of the NAND circuit 111, before the output of the D-FF 107 becomes "H", that is, before the falling point of the basic clock FCLK4, the output of the D-FF 107 is "L". Because there is, NAND
The output of the circuit 112 maintains the "H" state (see Fig. 2 (A)).
)(h)). Therefore, frequency divider 104 is not reset;
Continue normal frequency division operation.

基本クロックFCLK4の立下りにおいてD・FF10
7が“L”から“H3になると、NAND回路111加
わる3人力は何れも“H″となるので、NAND回路1
11の出力は“H”から“L”になる。そして、・D−
FF108が基本クロックFCLKsの立下りで“L″
出力反転するまで前記“L”状態を保持する(第2図(
A)の(h))。
At the falling edge of the basic clock FCLK4, D・FF10
7 changes from "L" to "H3", all three inputs added to the NAND circuit 111 become "H", so the NAND circuit 1
The output of 11 changes from "H" to "L". And, D-
FF108 goes “L” at the falling edge of basic clock FCLKs
The “L” state is maintained until the output is reversed (see Figure 2 (
A) (h)).

分周器104は、NAND回路111からの“L”出力
を受け、この期間即ち基本クロックF CL K 4の
立下りからFCLKsの立下りまでの一周期の間、分周
動作を中断する。この結果、分周器104は、基本クロ
ックFCLK6の立上りで分周動作を開始して、分周ク
ロックD CL K3を発生する(第2図(A)の(b
))。
The frequency divider 104 receives the "L" output from the NAND circuit 111, and suspends the frequency division operation during this period, that is, one cycle from the fall of the basic clock FCLK4 to the fall of FCLKs. As a result, the frequency divider 104 starts the frequency division operation at the rising edge of the basic clock FCLK6, and generates the frequency divided clock DCLK3 ((b) in FIG. 2(A)).
)).

この分周クロックDCLK3の発生した時点でPSPC
112(カウンタ1)はカウント値「64」を示してお
り、カウンタ2はr130Jにカウント・アップされる
(第2図(A)の(11、(Jl)。
At the time when this divided clock DCLK3 is generated, the PSPC
112 (counter 1) indicates the count value "64", and counter 2 is counted up to r130J ((11, (Jl) in FIG. 2(A)).

一方、D−FF107が基本クロックFCLK4の立下
りで発生した出力即ち分周起動信号DSSはPSPCI
 12に加えられ、その分周比設定信号となる。従って
、PSPCI 12は、このDSSの加わっているとき
の分周クロ・ツクDCLK3の立上りでリセットされる
(第2図(A)の(bl 、 (J))。
On the other hand, the output generated by the D-FF107 at the falling edge of the basic clock FCLK4, that is, the frequency division start signal DSS, is the PSPCI
12 and becomes the frequency division ratio setting signal. Therefore, the PSPCI 12 is reset at the rising edge of the frequency dividing clock DCLK3 when this DSS is applied ((bl, (J) in FIG. 2(A)).

即ち、PSPC112(カウンタ1)は、カウント値が
「64」から「65」にカウント・アップされる時点で
リセットされ、カウンタ2は、カウント値がrl 30
Jからrl 31Jにカウント・アップされる時点でリ
セットされる(第2図(A)の(1) 、 (J))。
That is, the PSPC 112 (counter 1) is reset when the count value is counted up from "64" to "65", and the counter 2 is reset when the count value reaches rl 30.
It is reset when the count is counted up from J to rl 31J ((1) and (J) in FIG. 2(A)).

従って、PSPC112(カウンタ1)がリセットされ
た時点を基本クロックFCLKについて見れば、1/3
11に分周されたことになり、PSPCI 12の出力
端子からは、基本クロックFCLKの1/131の分周
信号が出力される。
Therefore, if we look at the point in time when PSPC112 (counter 1) is reset with respect to the basic clock FCLK, 1/3
Therefore, the output terminal of the PSPCI 12 outputs a frequency-divided signal of 1/131 of the basic clock FCLK.

この動作は、NAND回路111の出力で分周器104
の動作を基本クロックFCLKの1周期分だけ遅らせ、
本来ならば基本クロックFCLKsの立上り時点で行わ
れるPSPCI 12のリセット動作を基本クロックF
CLKの1クロツタ分(1周期分)遅らせたことによる
ものである。この結果、PSPC112(カウンタ1)
がカウント値「64」を保持している期間は、それまで
のカウント値の保持期間(基本クロックFCLKの2間
期分)よりも基本クロックFCLKの1周期分長くなっ
ている。
This operation is performed by the frequency divider 104 using the output of the NAND circuit 111.
The operation of is delayed by one cycle of the basic clock FCLK,
The reset operation of PSPCI 12, which would normally be performed at the rising edge of the basic clock FCLKs, is changed to the basic clock F.
This is due to the delay of one clock (one period) of CLK. As a result, PSPC112 (counter 1)
The period during which the count value "64" is held is longer by one period of the basic clock FCLK than the previous holding period of the count value (two periods of the basic clock FCLK).

以上の動作により、従来のPSPCI 12を用いて、
それよりも2倍の周波数の基本クロックを1/131に
分周することができる。その他の奇数分周比で分周する
場合の動作も同様である。
With the above operations, using the conventional PSPCI 12,
A basic clock having twice the frequency can be divided into 1/131. The operation is similar when frequency division is performed using other odd frequency division ratios.

(2)分周比が偶数の場合の動作 分周比が偶数の場合、入力端子103に加えられる分周
制御信号DO3は、“L゛に設定される。従って、NA
ND回路111の出力は常に“H”となるので、分周器
104は正常な分周動作を行い、分周比設定信号DET
が加えられても、その分周動作に一時中断は生じない。
(2) Operation when the frequency division ratio is an even number When the frequency division ratio is an even number, the frequency division control signal DO3 applied to the input terminal 103 is set to "L". Therefore, the NA
Since the output of the ND circuit 111 is always "H", the frequency divider 104 performs normal frequency division operation, and the frequency division ratio setting signal DET
is added, there will be no temporary interruption in the frequency division operation.

また、入力端子101に加えられる分周比設定信号DE
Tは、(分周比−4)なる値に設定される。いま分周比
が偶数のr124Jであるとすると、分周比設定信号D
ETはr120Jとなる。
Furthermore, the frequency division ratio setting signal DE applied to the input terminal 101
T is set to a value of (frequency division ratio - 4). Assuming that the frequency division ratio is r124J, which is an even number, the frequency division ratio setting signal D
ET becomes r120J.

この場合、カウンタ2がrl 20Jをカウントしたと
き即ちPSPC112(カウンタ1)が「60」をカウ
ントしたとき、第2図(B)の(C)に示す様に、基本
クロックFCLKの立下りに周期して分周クロックDC
LKの1周期の幅を持ったDETパルスを入力端子10
1に加える様に構成されている。
In this case, when the counter 2 counts rl 20J, that is, when the PSPC 112 (counter 1) counts "60", as shown in FIG. frequency-divided clock DC
A DET pulse with a width of one period of LK is input to the input terminal 10.
It is configured to be added to 1.

この構成において、分周器104、D−FF105〜1
08の動作は、前述の(1)の場合と同様である。
In this configuration, the frequency divider 104, the D-FFs 105 to 1
The operation of 08 is similar to the case of (1) above.

PSPC112(カウンタ1)のカウント値が「60」
に達すると、基本クロックF CL K +の立下りに
周期して、第2図(B)の(C)に示すDETパルスが
入力端子101に加えられる。
The count value of PSPC112 (counter 1) is "60"
When the DET pulse shown in FIG. 2(B) (C) is applied to the input terminal 101 at the falling edge of the basic clock F CL K +.

これにより、前述の(1)と同様にして、D−FF10
5は、分周クロックD CL K2の立下り(カウンタ
1のカウント(lr611.カウンタ2のカウント値r
122J)において出力を発生しく第2図CB>の(d
>)D−FF106は、基本クロックF CL K 4
の立上り (カウンタ2のカウント値r123J)にお
いて出力を発生しく第2図(B)の(e))、D−FF
107は、基本クロックF CL K 4の立下りにお
いて出力を発生しく第2図(B)の(f))、D−FF
IO8は、基本クロックFCLKsの立下りにおいて、
それまでのH″から6L″に反転する(第2図(B)の
(幻)、これらの各D−FFの出力幅は、分周クロ7り
DCLKの1周期分である。
As a result, in the same way as in (1) above, the D-FF10
5 is the fall of the frequency divided clock D CL K2 (counter 1 count (lr611. counter 2 count value r
122J) to generate an output at (d
>) D-FF106 is the basic clock FCLK4
(e) in Figure 2 (B)), D-FF
107 generates an output at the falling edge of the basic clock FCLK4 ((f) in FIG. 2(B)), D-FF
IO8, at the falling edge of the basic clock FCLKs,
The output width of each of these D-FFs, which is inverted from H'' to 6L'' (illustrated in FIG. 2B), is equal to one period of the frequency dividing clock 7 or DCLK.

分周制御信号DC3はL”であるので、NAND回路1
11の出力は常に“H”である。
Since the frequency division control signal DC3 is “L”, the NAND circuit 1
The output of 11 is always "H".

従って、分周比が偶数の場合は、分周比設定信号DET
が加えられても、分周器104は正常な分周動作を継続
する。
Therefore, if the frequency division ratio is an even number, the frequency division ratio setting signal DET
Even if the frequency divider 104 is added, the frequency divider 104 continues the normal frequency division operation.

この結果、PSPC112(カウンタ1)は、分周クロ
ックDCLKを入力してカウント・アップ動作を行う。
As a result, the PSPC 112 (counter 1) inputs the frequency-divided clock DCLK and performs a count-up operation.

D−FF107から基本クロックF CL K 4の立
下りで発生した出力即ち分周起動信号DSSがPSPC
I 12に加えられると、PSPCI 12は、この分
周起動信号DSSをその分周比設定信号として、分周ク
ロックD CL K3の立上りでセントされる(第2図
(B)の伽)、(h))。
The output generated from the D-FF107 at the falling edge of the basic clock FCLK4, that is, the frequency division start signal DSS, is the PSPC.
When applied to I 12, PSPCI 12 uses this frequency division activation signal DSS as its division ratio setting signal, and is set at the rising edge of frequency division clock D CL K3 (as shown in FIG. 2 (B)). h)).

即ち、PSPC112(カウンタ1)は、カウント値が
「61」から「62」にカウント・アップされる時点で
リセットされ、カウンタ2は、カウント値がr123J
からr124Jにカウント・アップされる時点でリセッ
トされる(第2図(B)の(hl 、 +1))。従っ
てPSPC112(カウンタ1)がリセットされた時点
を基本クロックFCLKについて見れば、1/124に
分周されたことになり、PSPCI 12の出力端子か
らは、基本クロックFCLKのl/124の分周信号が
出力される。
That is, the PSPC 112 (counter 1) is reset when the count value is counted up from "61" to "62", and the counter 2 is reset when the count value reaches r123J.
It is reset when the count is counted up from r124J ((hl, +1) in FIG. 2(B)). Therefore, if we look at the point in time when the PSPC 112 (counter 1) is reset with respect to the basic clock FCLK, it means that the frequency has been divided by 1/124, and from the output terminal of the PSPCI 12, a signal divided by 1/124 of the basic clock FCLK is output. is output.

以上の動作により、従来のPSPCI 12を用いて、
それよりも2倍の周波数の基本クロックを1/124に
分周することができる。その他の偶数分周比で分周する
場合の動作も同様である。
With the above operations, using the conventional PSPCI 12,
A basic clock having twice the frequency can be divided into 1/124. The operation is similar when frequency division is performed using other even frequency division ratios.

以上、本発明の一実施例について説明したが、この実施
例では、分周比設定信号の関係から、分周比が偶数の場
合は1/4、分周比が奇数の場合は115よりも小さい
分周は出来ないが、この様な少ない分周比の場合は分周
動作の遅れは実際上問題にならないので、分周動作を2
倍に高速化する必要は生じない。分周動作の遅れが問題
になるのは分周比が数十分の1以上の大きい場合である
ので、前記の様な制限があっても実用性に何等問題は生
じない。
An embodiment of the present invention has been described above, but in this embodiment, from the relationship of the frequency division ratio setting signal, when the frequency division ratio is an even number, it is 1/4, and when the frequency division ratio is an odd number, it is 115. Small frequency division is not possible, but in the case of such a small frequency division ratio, the delay in the frequency division operation is not a problem in practice, so the frequency division operation can be reduced to 2.
There is no need to double the speed. Since the delay in the frequency division operation becomes a problem when the frequency division ratio is large, such as several tens of tenths or more, there is no problem in practicality even with the above-mentioned limitations.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明によれば、従来のプリセット
式シンクロナス・プログラマブル・カウンタ及び動作電
源を用いて、従来のものよりも2倍の高速で分周動作の
可能なプリセット式シンクロナス・プログラマブル・カ
ウンタを実現することが出来る。また、プレイ・タイム
が特別に小さいものを必要とせず、従来と同じ回路素子
及び動作電源を用いて構成出来るので設計が容易で、コ
ストを低く抑えることが出来る。
As explained above, according to the present invention, a preset type synchronous programmable counter and an operating power supply are used to create a preset type synchronous programmable counter that can perform frequency division operations twice as fast as conventional ones. A programmable counter can be realized. In addition, it does not require a device with a particularly short play time, and can be constructed using the same circuit elements and operating power source as conventional ones, making it easy to design and keeping costs low.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の説明図、第2図は同実施例
の動作を示すタイム・チャート、第3図は従来のプリセ
ット式シンクロナス・プログラマブル・カウンタの説明
図、第4図は第3図の動作を示すタイム・チャートを示
す。 第1図において、 101・・・分周比設定信号(DET)の入力端子、1
02・・・基本クロック(F CL K)の入力端子、
103・・・分周制御信号(DC3)の入力端子、10
4・・・分周器、105〜108・・・D型フリップ・
フロップ(D−FF) 、109.110・・・インバ
ータ、111・・・NAND回路、112・・・プリセ
ット式シンクロナス・プログラマブル・カウンタ(PS
PC) 、DCLK・・・分周クロック信号。
Fig. 1 is an explanatory diagram of one embodiment of the present invention, Fig. 2 is a time chart showing the operation of the same embodiment, Fig. 3 is an explanatory diagram of a conventional preset type synchronous programmable counter, and Fig. 4 is an explanatory diagram of an embodiment of the present invention. shows a time chart showing the operation of FIG. In Fig. 1, 101... input terminal of the division ratio setting signal (DET), 1
02...Basic clock (FCLK) input terminal,
103...Input terminal of frequency division control signal (DC3), 10
4... Frequency divider, 105-108... D type flip.
Flop (D-FF), 109.110... Inverter, 111... NAND circuit, 112... Preset type synchronous programmable counter (PS
PC), DCLK...divided clock signal.

Claims (1)

【特許請求の範囲】 基本クロックを分周比設定信号に従って分周した出力を
発生するプリセット式シンクロナス・プログラマブル・
カウンタにおいて、 (a)基本クロックを1/2に分周する分周器と、(b
)分周器から出力された分周クロックを入力しこの分周
クロックを、その分周比設定信号に当る分周起動信号に
従って分周した出力を発生するプリセット式シンクロナ
ス・プログラマブル・カウンタと、 (c)基本クロック周波数に対する所望の分周比に対応
して設定された分周比設定信号に基づき、その分周比の
1/2に最も近い分周クロック周波数にカウント・アッ
プが行われる時点を含むが少なくともその前のカウント
・アップ時点は含まない幅を持った分周起動信号を発生
して前記プリセット式シンクロナス・プログラマブル・
カウンタに入力する手段と、 (d)分周比が基本クロック周波数に対して奇数の場合
のみ、前記分周起動信号がプリセット式シンクロナス・
プログラマブル・カウンタに入力されたときの最初の分
周器の分周動作を基本クロックの一周期分だけ遅延させ
る手段、 を備えたことを特徴とするプリセット式シンクロナス・
プログラマブル・カウンタ。
[Claims] A preset type synchronous programmable device that generates an output obtained by dividing a basic clock according to a frequency division ratio setting signal.
In the counter, (a) a frequency divider that divides the basic clock into 1/2, and (b)
) a preset type synchronous programmable counter which inputs the divided clock output from the frequency divider and generates an output by dividing the frequency of the divided clock according to a division start signal corresponding to the division ratio setting signal; (c) Based on the division ratio setting signal set corresponding to the desired division ratio with respect to the basic clock frequency, the time point when counting up is performed to the divided clock frequency closest to 1/2 of the division ratio. The preset type synchronous programmable circuit generates a frequency-divided activation signal having a width including at least the count-up time but not including at least the previous count-up time.
(d) only when the division ratio is an odd number with respect to the basic clock frequency, the division start signal is a preset synchronous
A preset type synchronous clock comprising means for delaying the division operation of the first frequency divider by one period of the basic clock when input to the programmable counter.
Programmable counter.
JP3654085A 1985-02-27 1985-02-27 Preset type synchronous programmable counter Pending JPS61198818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3654085A JPS61198818A (en) 1985-02-27 1985-02-27 Preset type synchronous programmable counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3654085A JPS61198818A (en) 1985-02-27 1985-02-27 Preset type synchronous programmable counter

Publications (1)

Publication Number Publication Date
JPS61198818A true JPS61198818A (en) 1986-09-03

Family

ID=12472611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3654085A Pending JPS61198818A (en) 1985-02-27 1985-02-27 Preset type synchronous programmable counter

Country Status (1)

Country Link
JP (1) JPS61198818A (en)

Similar Documents

Publication Publication Date Title
US6061418A (en) Variable clock divider with selectable duty cycle
JP2745869B2 (en) Variable clock divider
US10972112B1 (en) 50%-duty-cycle consecutive integer frequency divider and phase-locked loop circuit
JPS6243568B2 (en)
US7881422B1 (en) Circuits and methods for dividing frequency by an odd value
EP0243235A2 (en) Noise pulse suppressing circuit in a digital system
US3440547A (en) Synchronizer for modifying the advance of timing wave countdown circuits
US9590637B1 (en) High-speed programmable frequency divider with 50% output duty cycle
US4942595A (en) Circuit for dividing the frequency of a digital clock signal by two and one-half
JPH11272357A (en) Delay time compensation circuit
US6667638B1 (en) Apparatus and method for a frequency divider with an asynchronous slip
JPH0411051B2 (en)
JPS61198818A (en) Preset type synchronous programmable counter
JP2659186B2 (en) Digital variable frequency divider
JP2665257B2 (en) Clock transfer circuit
JP2547723B2 (en) Divider circuit
JPH03171820A (en) 2n-1 frequency dividing circuit
JPH07101844B2 (en) Variable frequency divider
JPS61245648A (en) Injection synchronous type pulse generating circuit
KR20040042342A (en) Phase Locked Loop(PLL) having pulse swallow function
JPH05347555A (en) Variable frequency divider circuit
JPS62227220A (en) Frequency division circuit
JPH0613891A (en) Frequency divider
JPH0529924A (en) 1/9 frequency divider circuit
JPH0336812A (en) Synchronizing circuit