JP2719071B2 - Timing control signal generation circuit - Google Patents

Timing control signal generation circuit

Info

Publication number
JP2719071B2
JP2719071B2 JP4109521A JP10952192A JP2719071B2 JP 2719071 B2 JP2719071 B2 JP 2719071B2 JP 4109521 A JP4109521 A JP 4109521A JP 10952192 A JP10952192 A JP 10952192A JP 2719071 B2 JP2719071 B2 JP 2719071B2
Authority
JP
Japan
Prior art keywords
output
counter
signal
terminal
supplied
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 - Fee Related
Application number
JP4109521A
Other languages
Japanese (ja)
Other versions
JPH05308262A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP4109521A priority Critical patent/JP2719071B2/en
Publication of JPH05308262A publication Critical patent/JPH05308262A/en
Application granted granted Critical
Publication of JP2719071B2 publication Critical patent/JP2719071B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はパルス幅が常に一定であ
る各種タイミング制御信号発生回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to various timing control signal generating circuits having a constant pulse width.

【0002】[0002]

【従来の技術】各種タイミング制御信号の内、HIGH
レベルの期間あるいはLOWレベルの期間が常に一定で
あるタイミング制御信号の発生回路は図3に示すような
回路構成が知られている。同図において、入力端子30
にはクロック信号CKが供給され8ビットカウンタ4
3,44,Dフリップフロップ45のクロック端子に入
力されている。
2. Description of the Related Art Among various timing control signals, HIGH
A circuit configuration as shown in FIG. 3 is known as a timing control signal generating circuit in which the level period or the LOW level period is always constant. In FIG.
Is supplied with a clock signal CK and an 8-bit counter 4
3, 44, are input to the clock terminal of the D flip-flop 45.

【0003】入力端子36にはある一定の周期を持った
ロード信号LOADが供給され、8ビットカウンタ43
及び44のロード信号入力端子LDに入力されている。
A load signal LOAD having a certain period is supplied to an input terminal 36, and an 8-bit counter 43 is provided.
And 44 are input to the load signal input terminal LD.

【0004】また、該8ビットカウンタ43,44の2
つのカウントイネーブル端子の内、CET端子は共に電
源に接続されている。そして、8ビットカウンタ43の
リップルキャリー出力端子RCはインバータ回路46の
入力端子及びナンド回路47の一方の入力端子に接続さ
れ、8ビットカウンタ44のリップルキャリー出力端子
RCはインバータ回路54の入力端子に接続されてい
る。
[0004] Further, 2 of the 8-bit counters 43 and 44
Among the count enable terminals, the CET terminal is connected to the power supply. The ripple carry output terminal RC of the 8-bit counter 43 is connected to the input terminal of the inverter circuit 46 and one input terminal of the NAND circuit 47, and the ripple carry output terminal RC of the 8-bit counter 44 is connected to the input terminal of the inverter circuit 54. It is connected.

【0005】インバータ回路46の出力端子は8ビット
カウンタ43のもう1つのカウントイネーブル端子CE
P端子に接続され、インバータ回路47の出力端子は8
ビットカウンタ44のもう1つのカウントイネーブル端
子CEP及びナンド回路48の他方の入力端子に接続さ
れている。
The output terminal of the inverter circuit 46 is another count enable terminal CE of the 8-bit counter 43.
Connected to the P terminal and the output terminal of the inverter circuit 47 is
It is connected to another count enable terminal CEP of the bit counter 44 and the other input terminal of the NAND circuit 48.

【0006】そして、該ナンド回路48の出力端子はD
フリップフロップ45のデータ入力端子に接続され、該
DフリップフロップのQ出力は出力端子42に接続され
OUT信号として出力される。
The output terminal of the NAND circuit 48 is D
The Q output of the D flip-flop is connected to the output terminal 42 and is output as an OUT signal.

【0007】また、8ビットカウンタ43のデータ入力
端子P0乃至P7においてはP7,P5は電源に,P6
はグランドに接続され、その他のP0乃至P4の5個の
入力については図3のように遅延調整用端子37乃至4
1が接続され、夫々Y0乃至Y4の信号として各データ
入力端子に供給される。
In the data input terminals P0 to P7 of the 8-bit counter 43, P7 and P5 are connected to the power supply,
Is connected to ground, and the other five inputs P0 to P4 are connected to the delay adjustment terminals 37 to 4 as shown in FIG.
1 are connected and supplied to the respective data input terminals as signals Y0 to Y4.

【0008】一方、8ビットカウンタ44のデータ入力
端子P0乃至P7においてもP7は電源に,P6,P5
はグランドに接続され、その他のP0乃至P4について
は同じく図3のように遅延調整用入力端子31乃至35
が接続され、夫々Z0乃至Z4の信号として各データ入
力端子に供給される。
On the other hand, also at the data input terminals P0 to P7 of the 8-bit counter 44, P7 is used as a power source, and P6, P5
Are connected to the ground, and the other P0 to P4 are input terminals 31 to 35 for delay adjustment as shown in FIG.
Are connected and supplied to the respective data input terminals as signals of Z0 to Z4.

【0009】次に、図4を用いて従来回路の動作につい
て説明する。従来回路は基本的にLOWレベルの期間が
常に10クロック分あるタイミング制御信号であり、ロ
ード信号の立ち下がりからこのLOWレベルまでの遅延
量を遅延調整用端子31乃至35,37乃至41より設
定せしめるものである。
Next, the operation of the conventional circuit will be described with reference to FIG. The conventional circuit is basically a timing control signal in which the LOW level period is always 10 clocks, and the amount of delay from the fall of the load signal to this LOW level is set by the delay adjustment terminals 31 to 35 and 37 to 41. Things.

【0010】まず、8ビットカウンタ43のデータ入力
端子P7,P6,P5は101と固定されており、P4
乃至P0には入力端子41乃至37よりY4乃至Y0と
して00100が設定されている、即ち、全体としてP
7乃至P0は10100100(10進表記で「16
4」)が設定されている。
First, the data input terminals P7, P6 and P5 of the 8-bit counter 43 are fixed at 101, and P4
00100 are set as Y4 to Y0 from input terminals 41 to 37 in P0 to P0.
7 to P0 are 10100100 (“16 in decimal notation”
4 ") is set.

【0011】同様に、8ビットカウンタ51のデータ入
力端子P7,P6,P5は100で固定されており、P
4〜P0には入力端子35〜31よりZ4〜Z0として
11010が設定されている、つまり、全体として10
011010(10進表記で「154」)が設定されて
いる。
Similarly, the data input terminals P7, P6 and P5 of the 8-bit counter 51 are fixed at 100,
11010 is set to 4-P0 as Z4-Z0 from the input terminals 35-31, that is, 10 as a whole.
011010 (“154” in decimal notation) is set.

【0012】図4に示すように、入力端子36より供給
されるロード信号LOADは1クロックの間LOWで、
その他はHIGHレベルのある一定周期を持ったパルス
である。ロード信号LOADがLOWレベルの時8ビッ
トカウンタ43,44は共にロード機能として動作し、
入力端子30より供給されるクロック信号CKが立ち上
がると8ビットカウンタ43の出力端子Q0乃至Q7に
は初期設定値である「164」(10進表記)が、8ビ
ットカウンタ44の出力端子Q0乃至Q7には「15
4」(10進表記)が夫々出力される。
As shown in FIG. 4, the load signal LOAD supplied from the input terminal 36 is LOW for one clock.
Others are high level pulses having a certain period. When the load signal LOAD is at the LOW level, the 8-bit counters 43 and 44 both operate as a load function,
When the clock signal CK supplied from the input terminal 30 rises, "164" (decimal notation), which is the initial setting value, is output to the output terminals Q0 to Q7 of the 8-bit counter 43, and the output terminals Q0 to Q7 of the 8-bit counter 44. "15
4 "(decimal notation) is output.

【0013】8ビットカウンタ43,44のリップルキ
ャリー出力は共に出力端子Q0乃至Q7がすべてHIG
Hレベルの時にHIGHレベルとなり、それ以外の時は
LOWレベルであるのでこの時は共にLOWが出力され
る。
The output terminals Q0 to Q7 of the 8-bit counters 43 and 44 all have the HIG level.
When the signal is at the H level, the signal is at the HIGH level. At other times, the signal is at the LOW level.

【0014】そして、カウンタ43のリップルキャリー
出力信号はインバータ46により反転されHIGHとな
り、該カウンタ43のもう1つのカウントイネーブル端
子CEPに供給される。また、該リップルキャリー出力
はナンド回路48の一方の入力端子にも供給され、該リ
ップルキャリー出力がLOWであることから該ナンド回
路48の出力はHIGHとなり、Dフリップフロップ4
5のデータ入力端子に供給される。
Then, the ripple carry output signal of the counter 43 is inverted by the inverter 46 to become HIGH, and is supplied to another count enable terminal CEP of the counter 43. The ripple carry output is also supplied to one input terminal of a NAND circuit 48. Since the ripple carry output is LOW, the output of the NAND circuit 48 becomes HIGH, and the D flip-flop 4
5 data input terminals.

【0015】一方、カウンタ44のリップルキャリー出
力信号はインバータ47により反転されHIGHとな
り、該カウンタ44のもう1つのカウントイネーブル端
子CEP及びナンド回路48の他方入力端子へ供給され
る。
On the other hand, the ripple carry output signal of the counter 44 is inverted by the inverter 47 to be HIGH, and is supplied to another count enable terminal CEP of the counter 44 and the other input terminal of the NAND circuit 48.

【0016】そして、端子36より供給されるロード信
号LOADが図4に示すようなタイミングでHIGHに
なると、カウンタ43及び44は次のクロック信号の立
ち上がりからカウントアップ動作になり、またDフリッ
プフロップ45のQ出力はこのクロック信号の立ち上が
りにより、該Dフリップフロップ55のデータ入力端子
に供給されているHIGHレベルが出力され、出力端子
42のOUT信号はHIGHとなる。
When the load signal LOAD supplied from the terminal 36 becomes HIGH at the timing shown in FIG. 4, the counters 43 and 44 start counting up from the next rising edge of the clock signal, and the D flip-flop 45 In response to the rise of the clock signal, the HIGH level of the Q output supplied to the data input terminal of the D flip-flop 55 is output, and the OUT signal of the output terminal 42 becomes HIGH.

【0017】以降、クロック信号CKが立ち上がるごと
にこのカウントアップ動作はカウンタ43の出力Q0乃
至Q7がすべてHIGHとなるまで続けられ、出力端子
42のOUT信号もHIGHが保持される。そして、カ
ウンタ43の出力Q0乃至Q7がすべてHIGHになる
と該カウンタ43のリップルキャリー出力はHIGHと
なりナンド回路48の一方入力端子に供給され、該ナン
ド回路48の他方入力端子がHIGHであることから該
ナンド回路48の出力はLOWとなってDフリップフロ
ップ45のデータ入力端子に供給される(図4のB2の
出力波形参照)。
Thereafter, each time the clock signal CK rises, this count-up operation is continued until all the outputs Q0 to Q7 of the counter 43 become HIGH, and the OUT signal of the output terminal 42 is also kept HIGH. When all the outputs Q0 to Q7 of the counter 43 become HIGH, the ripple carry output of the counter 43 becomes HIGH and is supplied to one input terminal of the NAND circuit 48, and the other input terminal of the NAND circuit 48 is HIGH. The output of the NAND circuit 48 becomes LOW and is supplied to the data input terminal of the D flip-flop 45 (see the output waveform of B2 in FIG. 4).

【0018】また、このリップルキャリー出力信号は接
続されているインバータ46により反転されてLOWと
なり該カウンタ43のカウントイネーブル端子CEPに
供給され該カウンタ43はカウントストップ状態とな
り、リップルキャリー出力は、以後該カウンタ43のロ
ード入力端子LDにLOWが供給されるまでクロックが
変化してもこのHIGHレベルが保持される(図4のB
0,反転B0の出力波形参照)。
The ripple carry output signal is inverted by the connected inverter 46 and becomes LOW, and is supplied to the count enable terminal CEP of the counter 43, so that the counter 43 is in the count stop state. This HIGH level is maintained even if the clock changes until LOW is supplied to the load input terminal LD of the counter 43 (B in FIG. 4).
0, see output waveform of inverted B0).

【0019】一方、カウンタ44はこの時、出力Q7乃
至Q0が「245」(10進表記)であることからカウ
ントアップ動作が続けられる。そして、次のクロック信
号CKの立ち上がりがくるとDフリップフロップ45の
Q出力はLOWレベルとなり、出力端子42のOUT信
号もLOWレベルとなる。
On the other hand, at this time, since the outputs Q7 to Q0 are "245" (decimal notation), the counter 44 continues the count-up operation. Then, when the next rising of the clock signal CK comes, the Q output of the D flip-flop 45 becomes LOW level, and the OUT signal of the output terminal 42 also becomes LOW level.

【0020】次に、カウンタ43のリップルキャリー出
力がHIGHになってから10クロック後、カウンタ4
4の出力Q0乃至Q7にはすべてHIGHが出力され、
該カウンタ44のリップルキャリー出力もHIGHとな
る。そして、この信号がインバータ47により反転され
LOWレベルとなり、ナンド回路48の他方の入力端子
に供給され、該ナンド回路48の出力はHIGHとなる
(図4のB1,反転B1,B2の出力波形参照)。ま
た、該インバータ47のLOWレベル出力は該カウンタ
44のカウントイネーブル端子CEPに供給され、該カ
ウンタ44はカウントストップ状態となり、該カウンタ
44のリップルキャリー出力は、以後該カウンタ44の
ロード入力端子LDにLOWが供給されるまでクロック
信号が変化してもHIGHレベルが保持される。
Next, 10 clocks after the ripple carry output of the counter 43 becomes HIGH,
HIGH is output to all the outputs Q0 to Q7 of No. 4,
The ripple carry output of the counter 44 also becomes HIGH. Then, this signal is inverted by the inverter 47 to become LOW level and supplied to the other input terminal of the NAND circuit 48, and the output of the NAND circuit 48 becomes HIGH (see the output waveforms of B1, B1 and B2 in FIG. 4). ). Further, the LOW level output of the inverter 47 is supplied to the count enable terminal CEP of the counter 44, the counter 44 enters the count stop state, and the ripple carry output of the counter 44 is thereafter supplied to the load input terminal LD of the counter 44. The HIGH level is maintained even if the clock signal changes until LOW is supplied.

【0021】そして、次のクロック信号CKの立ち上が
りがくるとDフリップフロップのQ出力はHIGHレベ
ルとなり、出力端子42のOUT信号もHIGHとな
る。上記で述べた出力端子42のOUT信号の波形を表
したのが図4のタイミングチャートにおけるOUT2の
出力波形である。この波形より判るように、カウンタ4
3,44がロード信号LOADによりロード機能として
動作するクロック信号CKの立ち上がりよりカウントし
て92クロック間HIGH,10クロック間LOWレベ
ルで、以後次に入力端子36よりLOWレベルが供給さ
れ、カウンタ43のリップルキャリー出力RCが再びL
OW→HIGHレベルに変化するまでOUT信号はHI
GHレベルを保持し続けるようなタイミング制御信号と
なる。
Then, when the next rising of the clock signal CK comes, the Q output of the D flip-flop goes high, and the OUT signal at the output terminal 42 goes high. The waveform of the OUT signal of the output terminal 42 described above is the output waveform of OUT2 in the timing chart of FIG. As can be seen from this waveform, the counter 4
3 and 44 are counted from the rising edge of the clock signal CK which operates as a load function by the load signal LOAD, and are HIGH for 92 clocks and LOW level for 10 clocks. Thereafter, the LOW level is supplied from the input terminal 36 and the counter 43 Ripple carry output RC is low again
The OUT signal remains HI until the signal changes from OW to HIGH level.
This is a timing control signal that keeps the GH level.

【0022】次に、データ入力端子41乃至37より供
給されるY4乃至Y0が00000である時、即ち、カ
ウンタ43のデータロード値が「160」(10進表
記)である時は、カウンタ44のデータ入力端子には1
0クロック間LOWレベルという条件があるため、入力
端子35乃至31より供給されるZ4乃至Z0は101
10、即ち「150」(10進表記)というデータが入
力されねばならない。
Next, when Y4 to Y0 supplied from the data input terminals 41 to 37 are 000000, that is, when the data load value of the counter 43 is "160" (decimal notation), the counter 44 1 for data input terminal
Since there is a condition of LOW level for 0 clock, Z4 to Z0 supplied from the input terminals 35 to 31 are equal to 101.
10, that is, data of "150" (decimal notation) must be input.

【0023】そして、これらのロード値が入力された時
の動作も基本的には上述したような動作をし、その出力
波形を示したものが図4のタイミングチャートにおける
OUT3の波形となる。このデータ設定時のOUT3の
出力信号は、カウンタ43,44がロード信号LOAD
によりロード機能として動作するクロック信号CKの立
ち上がりよりカウントして96クロック間HIGH,1
0クロック間LOWレベルで、以後ロード信号LOAD
にLOWレベルが供給されるごとに上記動作を繰り返す
ようなタイミング制御信号となる。
The operation when these load values are input basically operates as described above, and the output waveform is the waveform of OUT3 in the timing chart of FIG. When the data is set, the output signal of OUT3 is output from the counters 43 and 44 to the load signal LOAD.
Is counted from the rising edge of the clock signal CK operating as a load function, and HIGH, 1 for 96 clocks is counted.
LOW level for 0 clock, and thereafter load signal LOAD
Is a timing control signal that repeats the above operation each time a LOW level is supplied to the timing control signal.

【0024】[0024]

【発明が解決しようとする課題】ところで、従来の遅延
制御回路においてはカウンタ43及び44には遅延調整
用端子が5本ずつあり、カウンタ43においてはそのロ
ード値は「160〜191」,カウント44においては
「128〜159」まで設定可能であるが、LOWパル
スの期間が常に10クロック間必要であるという制約が
あるため、実際に制御できる遅延設定量はカウンタ43
においては「160〜169」,カウンタ44において
は「150〜159」までしか設定できず、遅延調整用
端子数に比べてその調整量が少なすぎるという課題があ
った。
In the conventional delay control circuit, each of the counters 43 and 44 has five terminals for delay adjustment, and the load value of the counter 43 is 160 to 191 and the count 44 Can be set from “128 to 159”, but there is a restriction that the period of the LOW pulse is always required for 10 clocks.
In this case, only "160 to 169" can be set in the counter 44 and "150 to 159" can be set in the counter 44, and there is a problem that the adjustment amount is too small compared to the number of delay adjustment terminals.

【0025】[0025]

【課題を解決するための手段】本発明は上記問題点に鑑
みて発明されたものであり、クロック信号が供給される
nビットカウンタと、該カウンタ回路のnビット出力デ
ータとある定数を加算する加算器と、該nビットカウン
タのリップルキャリー出力と加算器のキャリー出力を入
力とする論理ゲートを有し、該nビットカウンタは外部
ロード信号によりその初期状態が設定され、かつnビッ
トのデータ入力端子の内のmビット分の端子を遅延制御
のための遅延調整端子としたタイミング信号発生回路を
提供するものであり、更に本発明では上記nビットカウ
ンタからのリップルキャリー出力を反転回路を介して上
記論理ゲートに供給するようにしたものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and adds an n-bit counter to which a clock signal is supplied, and n-bit output data of the counter circuit and a constant. An adder; and a logic gate to which the ripple carry output of the n-bit counter and the carry output of the adder are input. The n-bit counter has an initial state set by an external load signal, and has an n-bit data input. The present invention provides a timing signal generating circuit in which terminals of m bits among terminals are used as delay adjustment terminals for delay control. Further, in the present invention, a ripple carry output from the n-bit counter is passed through an inverting circuit. The logic gate is supplied to the logic gate.

【0026】[0026]

【作用】本発明は上記のように構成されるものであるか
ら、nビットカウンタを一方の遅延設定に使用するため
遅延調整用端子を大幅に削減でき、かつ遅延調整量もそ
のnビットカウンタの調整可能量がそのまま使用でき
る。
Since the present invention is constructed as described above, an n-bit counter is used for setting one of the delays, so that the number of delay adjustment terminals can be greatly reduced, and the amount of delay adjustment can be reduced. The adjustable amount can be used as it is.

【0027】[0027]

【実施例】以下、本発明の一実施例を図面に従って詳細
に説明する。図1において入力端子1にはクロック信号
CKが供給され、8ビットカウンタ10及びDフリップ
フロップ14のクロック入力端子に接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to the drawings. In FIG. 1, a clock signal CK is supplied to an input terminal 1 and is connected to a clock input terminal of an 8-bit counter 10 and a D flip-flop 14.

【0028】一方、入力端子2にはロード信号LOAD
が供給され、8ビットカウンタ10のロード信号入力端
子LDに接続されており、該8ビットカウンタ10のカ
ウントイネーブル端子の内、端子CETは電源に接続さ
れている。また、8ビットカウンタ10のデータ入力端
子P0乃至P7の内、P7は電源に,P6,P5はグラ
ンドにその電圧レベルが固定され、P0乃至P4は図示
のように入力端子3乃至7より遅延調整用信号(X0乃
至X4)が供給される。
On the other hand, a load signal LOAD is
Is supplied to the load signal input terminal LD of the 8-bit counter 10, and the terminal CET of the count enable terminals of the 8-bit counter 10 is connected to the power supply. Further, among the data input terminals P0 to P7 of the 8-bit counter 10, the voltage level of P7 is fixed to the power supply, P6 and P5 are fixed to the ground, and P0 to P4 are delayed from the input terminals 3 to 7 as shown. Supply signals (X0 to X4).

【0029】また、該8ビットカウンタ10の出力端子
Q0乃至Q7はキャリー信号出力のみ検出する加算器1
1のデータ入力端子A0乃至A7にLSB乃至MSBの
順で接続され、該加算器11の他方のデータ入力端子B
7乃至B0はMSB乃至LSBの順で00001011
(10進表記で「11」)に、また、キャリーイン入力
端子CIPはグランドにレベル固定されている。該加算
器11のキャリービット出力端子COUTはナンド回路
13の一方の入力端子に接続されている。
Output terminals Q0 to Q7 of the 8-bit counter 10 are adders 1 for detecting only the carry signal output.
1 are connected to the data input terminals A0 to A7 in the order of LSB to MSB, and the other data input terminal B of the adder 11 is connected.
7 to B0 are 00001011 in the order of MSB to LSB
("11" in decimal notation), and the carry-in input terminal CIP is fixed at the ground level. The carry bit output terminal COUT of the adder 11 is connected to one input terminal of the NAND circuit 13.

【0030】そして、8ビットカウンタ10のリップル
キャリー出力端子RCはインバータ回路12の入力端子
に接続され、該インバータ12の出力端子は8ビットカ
ウンタ10のもう1つのカウントイネーブル端子CEP
とナンド回路13の他方の入力端子に接続されている。
該ナンド回路13の出力端子はDフリップフロップ14
のデータ入力端子に接続され、該Dフリップフロップ1
4のQ出力は出力端子8にOUT信号として供給され
る。まず、8ビットカウンタ10のデータ入力端子の
内、P7がHIGH,P6,P5はLOWに固定されて
おり、P4乃至P0の設定は入力端子7乃至3よりX4
〜X0の信号として11010が供給され、従って、入
力端子P7乃至P0のデータ設定値は10011010
(10進表記で「154」)に設定されている。
The ripple carry output terminal RC of the 8-bit counter 10 is connected to the input terminal of the inverter circuit 12, and the output terminal of the inverter 12 is connected to another count enable terminal CEP of the 8-bit counter 10.
And the other input terminal of the NAND circuit 13.
The output terminal of the NAND circuit 13 is a D flip-flop 14
Of the D flip-flop 1
4 is supplied to an output terminal 8 as an OUT signal. First, among the data input terminals of the 8-bit counter 10, P7 is fixed to HIGH, P6 and P5 are fixed to LOW, and P4 to P0 are set to X4 from the input terminals 7 to 3.
11010 is supplied as a signal of X0 to X0. Therefore, the data set value of the input terminals P7 to P0 is
("154" in decimal notation).

【0031】入力端子2より供給されるロード信号LO
ADは従来例と同様に1クロック間LOWレベルで、そ
の他はHIGHレベルのある一定の周期を持ったパルス
である。
Load signal LO supplied from input terminal 2
AD is a low level pulse for one clock as in the conventional example, and the other is a high level pulse having a certain period.

【0032】ロード信号LOADがLOWレベルの時、
8ビットカウンタ10はロード機能として動作し、入力
端子1より供給されるクロック信号CKの立ち上がりに
より、該8ビットカウンタ10の出力端子Q7乃至Q0
にはデータ入力端子P7乃至P0に設定されている10
011010(10進表記で「154」)が出力され
る。
When the load signal LOAD is at a low level,
The 8-bit counter 10 operates as a load function. When the clock signal CK supplied from the input terminal 1 rises, the output terminals Q7 to Q0 of the 8-bit counter 10
Are set to the data input terminals P7 to P0.
011010 (“154” in decimal notation) is output.

【0033】この時、該カウンタ10のリップルキャリ
ー出力端子RCは出力端子Q0乃至Q7がすべてHIG
Hレベルである時のみHIGHレベル(10進表記で
「255」)となるので、このロード機能として上記
「154」が出力された場合にはLOWレベルが出力さ
れインバータ12の入力端子へ供給され、該インバータ
12の出力はHIGHレベルとなり、該カウンタ10の
もう1つのカウントイネーブル端子CEP及びナンド回
路13の他方入力端子へと供給される。
At this time, the output terminals Q0 to Q7 of the ripple carry output terminal RC of the counter 10 are all HIG.
Only when it is at H level, it becomes HIGH level ("255" in decimal notation). Therefore, when "154" is output as the load function, LOW level is output and supplied to the input terminal of the inverter 12, The output of the inverter 12 becomes HIGH level and is supplied to another count enable terminal CEP of the counter 10 and the other input terminal of the NAND circuit 13.

【0034】一方、カウンタ10の出力端子Q7乃至Q
0が入力端子A7乃至A0に接続されている加算器11
は他方の入力端子B0乃至B7に供給されている「1
1」(10進表記)と、該カウンタ10の端子Q7乃至
Q0の出力「154」(10進表記)と加算を行い、そ
の加算結果は「165」となる。
On the other hand, the output terminals Q7 to Q7 of the counter 10
0 is connected to the input terminals A7 to A0.
Is "1" supplied to the other input terminals B0 to B7.
"1" (decimal notation) and the output "154" (decimal notation) of the terminals Q7 to Q0 of the counter 10, and the addition result is "165".

【0035】ここで、加算器11のキャリー出力COU
TはAi+Bi(i=0乃至7)の加算結果が「25
6」(10進表記)以上でHIGHとなり、加算結果が
「255」以下の時はLOWレベルとなるので加算結果
が上記のように「165」の場合はCOUTはLOWと
なる。そして、該加算器11のリップルキャリー出力端
子COUTの出力はナンド回路13の一方の入力端子に
接続されているため、該ナンド回路13の出力はHIG
Hレベルとなる。
Here, carry output COU of adder 11
For T, the addition result of Ai + Bi (i = 0 to 7) is “25”.
When the addition result is "255" or less, COUT becomes LOW when the addition result is "165" as described above. Since the output of the ripple carry output terminal COUT of the adder 11 is connected to one input terminal of the NAND circuit 13, the output of the NAND circuit 13 is HIGH.
It becomes H level.

【0036】次に、図2に示すタイミングチャートのよ
うに入力端子2より供給されるロード信号LOADがH
IGHレベルになるとカウンタ10はカウントアップ機
能となり、次のクロック信号CKの立ち上がりよりカウ
ントアップ動作を始める。また、このクロック信号の立
ち上がりによりDフリップフロップ14のQ出力には、
該Dフリップフロップ14のデータ入力端子に供給され
ているHIGHレベルの信号が出力され、出力端子8の
OUT信号はHIGHレベルとなる。
Next, as shown in the timing chart of FIG. 2, the load signal LOAD supplied from the input terminal 2 becomes H level.
When the counter goes to the IGH level, the counter 10 has a count-up function, and starts counting up from the next rising of the clock signal CK. Also, the rising edge of this clock signal causes the Q output of the D flip-flop 14 to
The signal at the HIGH level supplied to the data input terminal of the D flip-flop 14 is output, and the OUT signal at the output terminal 8 becomes HIGH.

【0037】クロック信号CKの立ち上がりがくるごと
にカウンタ10のカウントアップ動作が続き、加算器1
1の加算結果もクロックが立ち上がるごとに1ずつ増加
するが、該加算器11の加算結果が「256」以上にな
るまでは該加算器11のキャリー出力端子COUTの出
力はLOWレベルを保持し、かつカウンタ10のリップ
ルキャリー出力端子RCの出力も該カウンタ出力Q0乃
至Q7がすべてHIGHレベルになるまではLOWレベ
ルを保持するため、出力端子8のOUT信号もHIGH
レベルを保持し続ける。そして、カウントアップ動作が
続きカウンタ10の出力端子Q0乃至Q7の出力が「2
45」(10進表記)になった時、加算器11の加算結
果は「256」となり該加算器11のキャリー出力端子
COUTの出力はHIGHレベルとなる。このキャリー
出力端子COUTの出力がHIGHレベルになったこと
により、ナンド回路13の出力は2つの入力がともにH
IGHレベルであることからLOWレベルとなり、Dフ
リップフロップ14のデータ入力端子に供給される(図
2のA0,A2の出力波形参照)。
Each time the rising edge of the clock signal CK comes, the count-up operation of the counter 10 continues, and the adder 1
The addition result of 1 also increases by 1 each time the clock rises, but the output of the carry output terminal COUT of the adder 11 keeps the LOW level until the addition result of the adder 11 becomes “256” or more, In addition, the output of the ripple carry output terminal RC of the counter 10 also keeps the LOW level until all the counter outputs Q0 to Q7 become the HIGH level, so that the OUT signal of the output terminal 8 is also HIGH.
Keep holding the level. Then, the count-up operation continues, and the outputs of the output terminals Q0 to Q7 of the counter 10 become "2
When "45" (decimal notation) is reached, the addition result of the adder 11 becomes "256", and the output of the carry output terminal COUT of the adder 11 becomes HIGH level. Since the output of carry output terminal COUT attains a HIGH level, both outputs of NAND circuit 13 are at H level.
Since it is at the IGH level, it goes to the LOW level and is supplied to the data input terminal of the D flip-flop 14 (see the output waveforms of A0 and A2 in FIG. 2).

【0038】また、この時カウンタ10の端子Q0乃至
Q7の出力はすべてHIGHレベルとなっていないの
で、該カウンタ10のリップルキャリー出力端子RCの
出力はLOWレベルを保持し、カウントアップ動作が続
けられる。そして、次のクロック信号CKの立ち上がり
によりDフリップフロップ14のQ出力には、該Dフリ
ップフロップ14のデータ入力端子に供給されているL
OWレベルが出力され、出力端子8のOUT信号はLO
Wレベルなり、以後入力端子2より供給されるロード信
号LOADにLOWレベルがきてカウンタ10がロード
機能動作となるまで加算器11のキャリー出力端子CO
UTの出力はHIGHレベルを保持し続ける。
At this time, since the outputs of the terminals Q0 to Q7 of the counter 10 are not all at the HIGH level, the output of the ripple carry output terminal RC of the counter 10 keeps the LOW level, and the count-up operation is continued. . Then, at the next rise of the clock signal CK, the Q output of the D flip-flop 14 is supplied to the L input supplied to the data input terminal of the D flip-flop 14.
The OW level is output, and the OUT signal of the output terminal 8 is
The level of the load signal LOAD supplied from the input terminal 2 is changed to the LOW level, and the carry output terminal CO of the adder 11 is changed until the counter 10 enters the load function operation.
The output of the UT keeps the HIGH level.

【0039】加算器11のキャリー出力端子COUTの
出力がHIGHレベルになってから10クロック後、カ
ウンタ10の端子Q0乃至Q7の出力はすべてHIGH
レベルとなり、該カウンタ10のリップルキャリー出力
端子RCもHIGHレベルとなる。そして、カウンタ1
0のリップルキャリー出力端子がHIGHレベルになる
とこの信号はインバータ12により反転されてLOWレ
ベルとなり、該カウンタ10のカウントイネーブル端子
CEPに供給され、カウンタ10は端子Q0乃至Q7の
出力及びリップルキャリー出力端子RCのHIGHレベ
ルを保持したままカウントストップ状態となる。
Ten clocks after the output of the carry output terminal COUT of the adder 11 becomes HIGH, the outputs of the terminals Q0 to Q7 of the counter 10 are all HIGH.
Level, and the ripple carry output terminal RC of the counter 10 also becomes HIGH level. And counter 1
When the 0 ripple carry output terminal goes high, this signal is inverted by the inverter 12 and goes low, and is supplied to the count enable terminal CEP of the counter 10. The counter 10 outputs the terminals Q0 through Q7 and the ripple carry output terminal. The count stop state is maintained while the high level of RC is maintained.

【0040】また、該インバータ12の出力はナンド回
路13の他方の入力端子に接続されていることから該ナ
ンド回路13の出力はHIGHレベルとなり、Dフリッ
プフロップ14のデータ入力端子に供給される(図2の
A1,反転A1,A2の出力波形参照)。
Further, since the output of the inverter 12 is connected to the other input terminal of the NAND circuit 13, the output of the NAND circuit 13 becomes HIGH level and is supplied to the data input terminal of the D flip-flop 14 ( (See the output waveforms of A1, A1 and A2 in FIG. 2).

【0041】そして、次のクロック信号の立ち上がりで
Dフリップフロップ14のQ出力にはHIGHレベルが
出力され出力端子8のOUT信号はHIGHレベルとな
り、以後次に入力端子2より供給されるロード信号LO
ADがLOWレベルになり、カウンタ10がロード機能
動作になるまで該カウンタ10のカウントストップ状態
は保持され、また、OUT信号も次に加算器11のキャ
リー出力端子COUTの出力がLOWからHIGHレベ
ルに変化するまでHIGHレベルが保持される。
Then, at the next rising edge of the clock signal, a high level is output to the Q output of the D flip-flop 14, and the OUT signal at the output terminal 8 becomes a high level.
The count stop state of the counter 10 is maintained until the AD goes to the LOW level and the counter 10 enters the load function operation, and the output of the carry output terminal COUT of the adder 11 also changes from the LOW to the HIGH level next when the OUT signal is output. The HIGH level is maintained until it changes.

【0042】以上に述べたタイミング信号の出力波形を
表したのが図2のOUT0の波形であり、カウンタ10
がロード信号LOADによりロード機能として動作する
クロック信号CKからカウントして、92クロック間H
IGH,10クロック間LOWレベルとなるようなタイ
ミング制御信号となる。
The output waveform of the timing signal described above is the waveform of OUT0 in FIG.
Counts from the clock signal CK operating as the load function by the load signal LOAD, and
The timing control signal is set to the LOW level for 10 clocks at IGH.

【0043】次に、入力端子7乃至3より供給されるX
4乃至X0が10110、即ちカウンタ10のデータ入
力端子P7乃至P0に10010110(10進表記で
「150」)が設定されている場合にもその回路動作は
基本的に上記で説明したものと同じ動作をし、その出力
波形を示したものが図2のタイミングチャートのOUT
1であり、この場合はカウンタ10がロード信号LOA
Dによりロード機能として動作するクロック信号CKの
立ち上がりよりカウントして96クロック間HIGH,
10クロック間LOWレベルで、以後次のロード信号に
LOWレベルが供給され加算器11のキャリー出力端子
COUTがLOW→HIGHに変化するまでHIGHレ
ベルを保持するタイミング制御信号となり、従来回路と
全く同じ動作を実現できる。
Next, X supplied from the input terminals 7 to 3
When 4 to X0 is 10110, that is, when 10010110 ("150" in decimal notation) is set to the data input terminals P7 to P0 of the counter 10, the circuit operation is basically the same as that described above. The output waveform is shown in the timing chart of FIG.
In this case, the counter 10 outputs the load signal LOA.
D is counted from the rising edge of the clock signal CK operating as a load function, and HIGH,
It is a LOW level for 10 clocks, and thereafter, a LOW level is supplied to the next load signal, and the timing control signal holds the HIGH level until the carry output terminal COUT of the adder 11 changes from LOW to HIGH. Can be realized.

【0044】また、加算器11のB0乃至B7の入力端
子に供給される定数を変えることによってLOWパルス
の幅を10クロックに限らず、さまざまなパルス幅に変
化させることができるのはいうまでもない。
It is needless to say that the width of the LOW pulse is not limited to 10 clocks but can be changed to various pulse widths by changing the constant supplied to the input terminals of B0 to B7 of the adder 11. Absent.

【0045】[0045]

【発明の効果】本発明は上述のように構成されるもので
あるから、遅延調整用端子が従来の半分の数(実施例で
は従来の10本に対し5本)で済み、しかも、かつ遅延
調整量も従来では10クロック間LOWレベルが必要と
いう条件のためにカウンタのデータ設定値もかなり制約
されていたが、本発明回路においてはその調整量はLO
Wレベルのパルス幅を変えることなくnビットカウンタ
の設定可能なデータ量がそのまま使用でき、かつ遅延調
整量は大幅に増加させることが可能となり特にLSI化
する際にはピン数を大幅に削減できることになり、また
加算器もキャリー出力のみに必要な論理ゲートだけで構
成すればゲート数も大幅に削減され、高集積化にも大変
有効なものとなる。
Since the present invention is constructed as described above, the number of terminals for delay adjustment is half the number of conventional terminals (in the embodiment, five instead of ten in the prior art). In the prior art, the data set value of the counter was considerably restricted due to the condition that the LOW level was required for 10 clocks.
The amount of data that can be set by the n-bit counter can be used as it is without changing the pulse width of the W level, and the amount of delay adjustment can be greatly increased. In particular, the number of pins can be significantly reduced when implementing an LSI. In addition, if the adder is composed of only logic gates required only for carry output, the number of gates is greatly reduced, which is very effective for high integration.

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

【図1】 本発明に係るタイミング制御信号発生回路の
一実施例を示すブロック的電気回路図。
FIG. 1 is a block diagram illustrating an embodiment of a timing control signal generating circuit according to the present invention.

【図2】 本発明に係るタイミング制御信号発生回路の
動作説明に供された波形図。
FIG. 2 is a waveform chart used for describing the operation of the timing control signal generation circuit according to the present invention.

【図3】 従来のタイミング制御信号発生回路を示すブ
ロック的電気回路図。
FIG. 3 is a block-like electric circuit diagram showing a conventional timing control signal generation circuit.

【図4】 従来のタイミング制御信号発生回路の動作説
明に供された波形図。
FIG. 4 is a waveform chart used for describing the operation of a conventional timing control signal generation circuit.

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

10 8ビットカウンタ 11 加算器 12 インバータ回路 13 ナンド回路 10 8-bit counter 11 Adder 12 Inverter circuit 13 NAND circuit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 クロック信号を受けこれをカウントする
nビットカウンタ回路と、 該nビットカウンタのnビット出力データと或る定数を
加算する加算器と、 上記nビットカウンタのリップルキャリー出力と上記加
算器のキャリー出力信号を入力とする論理ゲートとを有
し、 上記nビットカウンタは外部ロード信号によりその初期
状態が設定され、かつnビットのデータ入力端子の内の
mビット分の端子を遅延制御のための遅延調整端子とし
たことを特徴とするタイミング制御信号発生回路。
1. An n-bit counter circuit for receiving and counting a clock signal, an adder for adding n-bit output data of the n-bit counter and a certain constant, a ripple carry output of the n-bit counter and the addition A logic gate which receives a carry output signal of the device as an input, wherein the n-bit counter has its initial state set by an external load signal, and delays control of m-bit terminals among n-bit data input terminals. A timing control signal generation circuit, wherein the timing control signal generation circuit is a delay adjustment terminal for the control circuit.
【請求項2】 上記論理ゲートはその一方の端子に受け
る上記nビットカウンタからのリップルキャリー出力を
反転回路を介して受けるようにして成る請求項1に記載
されたタイミング制御信号発生回路。
2. The timing control signal generating circuit according to claim 1, wherein said logic gate receives a ripple carry output from said n-bit counter received at one terminal thereof through an inverting circuit.
JP4109521A 1992-04-28 1992-04-28 Timing control signal generation circuit Expired - Fee Related JP2719071B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4109521A JP2719071B2 (en) 1992-04-28 1992-04-28 Timing control signal generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4109521A JP2719071B2 (en) 1992-04-28 1992-04-28 Timing control signal generation circuit

Publications (2)

Publication Number Publication Date
JPH05308262A JPH05308262A (en) 1993-11-19
JP2719071B2 true JP2719071B2 (en) 1998-02-25

Family

ID=14512371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4109521A Expired - Fee Related JP2719071B2 (en) 1992-04-28 1992-04-28 Timing control signal generation circuit

Country Status (1)

Country Link
JP (1) JP2719071B2 (en)

Also Published As

Publication number Publication date
JPH05308262A (en) 1993-11-19

Similar Documents

Publication Publication Date Title
US5361290A (en) Clock generating circuit for use in single chip microcomputer
US4799022A (en) Frequency doubler with duty cycle monitor means
WO1982002464A1 (en) Programmable clock rate generator
US4241408A (en) High resolution fractional divider
US4694475A (en) Frequency divider circuit
JP2719071B2 (en) Timing control signal generation circuit
US7359475B2 (en) Counter circuit and semiconductor device containing the same
JPS6244727B2 (en)
JPS62276925A (en) Digital counter circuit
JP2659186B2 (en) Digital variable frequency divider
JPS6328368B2 (en)
JPS62233932A (en) Decoding circuit for bch code
SU961151A1 (en) Non-binary synchronous counter
JP4189729B2 (en) Asynchronous readout method of timer count value and timer
KR100236083B1 (en) Pulse generator
JP2946606B2 (en) Counter circuit
JP2748401B2 (en) Error pulse counting circuit
JPH0534409A (en) Test mode control signal generating circuit
JP2689539B2 (en) Divider
JPH0237822A (en) Frequency dividing circuit
JPH05183427A (en) Counter circuit
JPH0331015B2 (en)
JPH0779247B2 (en) Decode circuit
JPH0754894B2 (en) Pulse width modulation circuit
JPH0621790A (en) Pulse width modulation circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees