JPH03108013A - Clock break detecting circuit - Google Patents

Clock break detecting circuit

Info

Publication number
JPH03108013A
JPH03108013A JP24345789A JP24345789A JPH03108013A JP H03108013 A JPH03108013 A JP H03108013A JP 24345789 A JP24345789 A JP 24345789A JP 24345789 A JP24345789 A JP 24345789A JP H03108013 A JPH03108013 A JP H03108013A
Authority
JP
Japan
Prior art keywords
clock
circuit
disconnection
edge
detection
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
JP24345789A
Other languages
Japanese (ja)
Inventor
Toshiaki Ono
大野 敏昭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP24345789A priority Critical patent/JPH03108013A/en
Publication of JPH03108013A publication Critical patent/JPH03108013A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate a need of circuits of resistances and capacitors to make a clock break detecting circuit into an LSI by constituting this circuit of a master clock break detecting part, a clock break detecting part, an edge detecting circuit, a delay line, an AND circuit, a counter, a monitor circuit, and an OR circuit. CONSTITUTION:A master clock (a) is inputted to a master clock break detecting part 10 and a clock break detecting part 20, and the detecting part 10 uses a monostable multivibrator, to which a time constant is preliminarily set, to detect a break of the clock (a), and an obtained detection signal (d) is inputted to an OR circuit 30. Meanwhile, the clock (a) inputted to the detecting part 20 is sent to a counter 22, and a simultaneously inputted clock (b) is inputted to an AND circuit 21B and a delay line 21A in an edge detecting circuit 21. ANDing between the clock (b) and the delayed clock (b) is operated in the circuit 21B to generate an edge pulse (c). Since the pulse (c) is not generated at the time of a break of the clock (b), the counted value of the counter 22 is monitored by a monitor circuit 23; and when a prescribed set value is obtained, a detection signal (e) of the circuit 23 is outputted to the circuit 30.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、クロックの断を検出するクロック断検出回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a clock disconnection detection circuit that detects clock disconnection.

〔従来の技術〕[Conventional technology]

クロックは、論理和回路等に用いられている。 The clock is used in an OR circuit and the like.

また、複数のクロックが用いられることもある。Also, multiple clocks may be used.

このクロックが論理和回路等で断となるときがある。こ
のようなりロックの断は、クロック断検出回路により検
出される。このクロック断検出回路の一例が第2図に示
されている。
There are times when this clock is disconnected due to an OR circuit or the like. Such a lock break is detected by a clock break detection circuit. An example of this clock disconnection detection circuit is shown in FIG.

第2図に示される従来のクロック断検出回路は、複数の
クロックgの断を検出し、クロック断信号りを出力する
。このクロックgの断は、次のようにして検出される。
The conventional clock disconnection detection circuit shown in FIG. 2 detects disconnection of a plurality of clocks g and outputs a clock disconnection signal. This disconnection of clock g is detected as follows.

すなわち、複数のクロックgは、モノマルチバイブレー
タ51にそれぞれ入力される。モノマルチバイブレータ
51は、時定数が設定されており、クロックgの断を検
出している。
That is, the plurality of clocks g are input to the mono multivibrator 51, respectively. The mono multivibrator 51 has a set time constant and detects interruption of the clock g.

モノマルチバイブレータ51からの出力信号は、論理和
回路52に入力される。論理和回路52は、これら出力
信号の論理和の演算をし、クロック断信号りを出力する
The output signal from the mono multivibrator 51 is input to an OR circuit 52. The OR circuit 52 performs a logical OR operation on these output signals and outputs a clock cutoff signal.

このようにして、クロック断検出回路は、クロックの断
を検出している。
In this way, the clock interruption detection circuit detects clock interruption.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のクロック断検出回路では、各クロックが
モノマルチバイブレータに入力されている。これらのモ
ノマルチバイブレータには、時定数設定のための抵抗−
コンデンサ回路(R−C回路)が必要である。
In the conventional clock disconnection detection circuit described above, each clock is input to a mono multivibrator. These mono multivibrators have a resistor for setting the time constant.
A capacitor circuit (RC circuit) is required.

このようなR−C回路を備えるクロック断検出回路を実
装すると、次のような問題が発生する。
When a clock interruption detection circuit including such an RC circuit is implemented, the following problem occurs.

すなわち、R−C回路のために、実装面積が大きく占め
られてしまう。また、論理LSI上での実現が不可能に
近いといった欠点もある。
That is, the RC circuit occupies a large amount of mounting area. Another disadvantage is that it is almost impossible to implement on a logic LSI.

本発明の目的は、このような欠点を除去し、RC回路の
削減ができるクロック断検出回路を提供することにある
SUMMARY OF THE INVENTION An object of the present invention is to provide a clock disconnection detection circuit that can eliminate such drawbacks and reduce the number of RC circuits.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、マスタクロックと1つ以上のクロックとのク
ロック断を検出してクロック断信号を出力するクロック
断検出回路であって、 前記マスタクロックのクロック断を、予め時定数の設定
されているモノマルチバイブレータにより検出し、検出
信号を出力するマスタクロック断検出部と、 クロックに基づいて生成されるリセット信号で前記マス
タクロックの計数をリセットし、この計数が設定値に達
すると検出信号を出力するクロック断検出部と、 前記マスタクロック断検出部と前記各クロック断検出部
とからの検出信号の論理和の演算を行いクロック断信号
を出力する論理和演算部とを有することを特徴としてい
る。
The present invention is a clock disconnection detection circuit that detects a clock disconnection between a master clock and one or more clocks and outputs a clock disconnection signal, and the clock disconnection detection circuit detects a clock disconnection between a master clock and one or more clocks and outputs a clock disconnection signal. A master clock disconnection detection section that detects with a mono multivibrator and outputs a detection signal, resets the master clock count with a reset signal generated based on the clock, and outputs a detection signal when this count reaches a set value. and a logical OR operation unit that performs a logical sum operation of detection signals from the master clock failure detection unit and each of the clock failure detection units and outputs a clock failure signal. .

また、本発明において、クロック断検出部は、クロック
信号のエツジを検出してエツジパルスを生成し、このエ
ツジパルスをリセット信号として出力するエツジ検出回
路と、 マスタクロックの計数をして計数値を出力し、前記エツ
ジ検出回路からのリセット信号により計数値をリセット
するカウンタと、 前記カウンタからの計数値を監視し、計数が設定値に達
すると検出信号を出力する監視回路とを有するのが好適
である。
Further, in the present invention, the clock loss detection section includes an edge detection circuit that detects an edge of a clock signal to generate an edge pulse, and outputs this edge pulse as a reset signal, and an edge detection circuit that counts the master clock and outputs a counted value. , a counter that resets a count value by a reset signal from the edge detection circuit, and a monitoring circuit that monitors the count value from the counter and outputs a detection signal when the count reaches a set value. .

さらに、本発明において、エツジ検出回路は、クロック
を遅延する遅延手段と、 クロックと、前記遅延手段からのクロックとの論理積の
演算を行いエツジパルスを生成する論理積演算手段とを
有するのが好適である。
Furthermore, in the present invention, it is preferable that the edge detection circuit has delay means for delaying a clock, and AND operation means for performing an AND operation between the clock and the clock from the delay means to generate an edge pulse. It is.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例を示す構成図である。第1
図に示されるクロック断検出回路は、マスタクロックa
と複数のクロックbとのクロック断を検出するものであ
る。
FIG. 1 is a configuration diagram showing an embodiment of the present invention. 1st
The clock disconnection detection circuit shown in the figure is based on the master clock a.
This is to detect clock disconnection between the clocks b and the plurality of clocks b.

このクロック断検出回路は、マスタクロック断検出部l
Oと、クロック断検出部2oと、論理和回路30とを備
えている。
This clock disconnection detection circuit includes a master clock disconnection detection section l.
0, a clock disconnection detection section 2o, and an OR circuit 30.

また、クロック断検出部2oは、エツジ検出回路21と
、カウンタ22と、監視回路23とを備えている。
Further, the clock interruption detection section 2o includes an edge detection circuit 21, a counter 22, and a monitoring circuit 23.

さらに、エツジ検出回路21は、遅延線22Aと、論理
積回路21Bとを備えている。
Further, the edge detection circuit 21 includes a delay line 22A and an AND circuit 21B.

このようなりロック断検出回路では、マスタクロック断
検出部10は、マスタクロックaのクロッり断を検出し
、検出信号dを出力する。クロック断の検出は、従来技
術と同様、R−C回路を備えたモノマルチバイブレータ
により行われる。
In such a lock disconnection detection circuit, the master clock disconnection detection section 10 detects a clock disconnection of the master clock a and outputs a detection signal d. Detection of clock interruption is performed by a monomultivibrator equipped with an RC circuit, as in the prior art.

クロック断検出部20のエツジ検出回路21は、クロッ
クbのエツジを検出する。すなわち、遅延線21aがク
ロックbを遅延する。そして、論理積回路21Bが、ク
ロックbと遅延されたクロックbとの論理積の演算をし
、エツジパルスCを出力する。
The edge detection circuit 21 of the clock interruption detection section 20 detects the edge of clock b. That is, delay line 21a delays clock b. Then, the AND circuit 21B performs an AND operation on the clock b and the delayed clock b, and outputs an edge pulse C.

なお、エツジ検出回路21を、遅延素子である遅延線、
論理反転回路(インバータ)および論理積回路(アンド
回路)とで構成しても、クロックbの立ち上がり変化を
パルス化できる。
Note that the edge detection circuit 21 is a delay line that is a delay element,
Even if it is configured with a logic inversion circuit (inverter) and an AND circuit (AND circuit), the rising edge change of clock b can be converted into a pulse.

カウンタ22は、端子CKに入力されるマスタクロック
aを計数し、計数値を端子Qから出力する。
The counter 22 counts the master clock a input to the terminal CK, and outputs the counted value from the terminal Q.

また、カウンタ22は、端子Rに入力されるエツジパル
スCにより、計数値をリセットする。
Further, the counter 22 resets the count value by the edge pulse C input to the terminal R.

監視回路23は、カウンタ22からの計数値を監視して
いる。そして、この計数値において所定の設定値を検出
すると、検出信号eを出力する。
The monitoring circuit 23 monitors the count from the counter 22. When a predetermined set value is detected in this count value, a detection signal e is output.

論理和回路30は、マスタクロック断検出部10からの
検出信号dと各クロック断検出部20からの検出信号e
との論理積の演算をしてクロック断信号fを出力する。
The OR circuit 30 receives the detection signal d from the master clock interruption detection section 10 and the detection signal e from each clock interruption detection section 20.
A logical AND operation is performed and a clock cutoff signal f is output.

次に、このクロック断検出回路の動作について説明する
Next, the operation of this clock disconnection detection circuit will be explained.

マスタクロックaは、マスタクロック断検出部10と、
クロック断検出部20とに入力される。マスタクロック
断検出部10では、予め時定数の設定されているモノマ
ルチバイブレータにより、マスタクロックaのクロック
断が検出される。そして、検出信号dが論理和回路30
に入力される。
The master clock a has a master clock disconnection detection section 10,
The signal is input to the clock interruption detection section 20. In the master clock disconnection detection section 10, a clock disconnection of the master clock a is detected by a mono multivibrator whose time constant is set in advance. Then, the detection signal d is output from the OR circuit 30.
is input.

一方、クロック断検出部20に入力されたマスタクロッ
クaは、カウンタ22の端子CKに入力されカウントさ
れる。クロック断検出部20には、クロックbが入力さ
れている。クロックbは、エツジ検出回路21の論理和
回路21Bと、遅延線21Aとに入力される。遅延線2
1Aが、クロックbを遅延して論理和回路21Bに送る
。論理和回路21Bは、クロックbと、遅延されたクロ
ックbとの論理和の演算をし、エツジパルスCを生成す
る。このエツジパルスCは、カウンタ22の端子Rに入
力される。
On the other hand, the master clock a input to the clock disconnection detection section 20 is input to the terminal CK of the counter 22 and counted. A clock b is input to the clock disconnection detection section 20. Clock b is input to the OR circuit 21B of the edge detection circuit 21 and the delay line 21A. delay line 2
1A delays clock b and sends it to OR circuit 21B. The OR circuit 21B performs an OR operation on the clock b and the delayed clock b, and generates an edge pulse C. This edge pulse C is input to terminal R of the counter 22.

カウンタ22は、先に述べたように、マスタクロックa
の計数をしている。このカウントはエツジパルスCによ
りリセットされる。もし、クロックbが断になると、エ
ツジパルスCが生成されず、カウンタ22のリセットが
行われない。カウンタ22は、このような計数に係る計
数値を端子Qから監視回路23へ出力する。監視回路2
3は、カウンタ22からの計数値を監視している。そし
て、この計数値において所定の設定値を検出すると、監
視回路23が検出信号eを論理和回路30に出力する。
As mentioned earlier, the counter 22 is connected to the master clock a.
are counting. This count is reset by edge pulse C. If clock b is cut off, edge pulse C is not generated and counter 22 is not reset. The counter 22 outputs the count value related to such counting from the terminal Q to the monitoring circuit 23. Monitoring circuit 2
3 monitors the count from the counter 22. When a predetermined set value is detected in this count value, the monitoring circuit 23 outputs a detection signal e to the OR circuit 30.

論理和回路30は、マスタクロック断検出回路10から
の検出信号dと、各クロック断検出部20からの検出信
号eとの論理和の演算を行う。そして、マスタクロック
aおよび各クロックbの中で、1つでもクロック断にな
ると、論理和回路30がクロック断信号fを出力する。
The OR circuit 30 performs a logical sum operation between the detection signal d from the master clock interruption detection circuit 10 and the detection signal e from each clock interruption detection section 20 . If even one of the master clock a and each clock b becomes disconnected, the OR circuit 30 outputs a clock disconnection signal f.

このようにして、マスタクロックおよび各クロックのク
ロック断を検出することができる。
In this way, clock disconnection of the master clock and each clock can be detected.

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

以上説明したように、本発明によれば、抵抗およびコン
デンサの回路を削減でき、結果的にマスクとなるクロッ
ク以外の断検出をすべて論理で構成でき、LSI内に実
現できる。
As described above, according to the present invention, the number of resistor and capacitor circuits can be reduced, and as a result, all disconnection detection other than the clock serving as a mask can be configured with logic, and can be implemented within an LSI.

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

第1図は、本発明の一実施例を示す構成図、第2図は、
従来のクロック断検出回路の一例を示す構成図である。 10・・・・・マスタクロック断検出部20・・・・・
クロック断検出部 21・・・・・エツジ検出回路 21A・・・・遅延線 21B・・・・論理積回路 22・・・・・カウンタ 23・・・・・監視回路 30・・・・・論理和回路
FIG. 1 is a configuration diagram showing one embodiment of the present invention, and FIG.
FIG. 2 is a configuration diagram showing an example of a conventional clock disconnection detection circuit. 10... Master clock disconnection detection unit 20...
Clock loss detection unit 21... Edge detection circuit 21A... Delay line 21B... AND circuit 22... Counter 23... Monitoring circuit 30... Logic sum circuit

Claims (3)

【特許請求の範囲】[Claims] (1)マスタクロックと1つ以上のクロックとのクロッ
ク断を検出してクロック断信号を出力するクロック断検
出回路であって、 前記マスタクロックのクロック断を、予め時定数の設定
されているモノマルチバイブレータにより検出し、検出
信号を出力するマスタクロック断検出部と、 クロックに基づいて生成されるリセット信号で前記マス
タクロックの計数をリセットし、この計数が設定値に達
すると検出信号を出力するクロック断検出部と、 前記マスタクロック断検出部と前記各クロック断検出部
とからの検出信号の論理和の演算を行いクロック断信号
を出力する論理和演算部とを有することを特徴とするク
ロック断検出回路。
(1) A clock disconnection detection circuit that detects a clock disconnection between a master clock and one or more clocks and outputs a clock disconnection signal, the clock disconnection detection circuit having a time constant set in advance to detect the clock disconnection of the master clock. A master clock disconnection detection unit that detects with a multivibrator and outputs a detection signal, and resets the master clock count with a reset signal generated based on the clock, and outputs a detection signal when this count reaches a set value. A clock comprising: a clock disconnection detection section; and an OR operation section that performs a logical sum operation of detection signals from the master clock disconnection detection section and each of the clock disconnection detection sections and outputs a clock disconnection signal. disconnection detection circuit.
(2)クロック断検出部は、 クロック信号のエッジを検出してエッジパルスを生成し
、このエッジパルスをリセット信号として出力するエッ
ジ検出回路と、 マスタクロックの計数をして計数値を出力し、前記エッ
ジ検出回路からのリセット信号により計数値をリセット
するカウンタと、 前記カウンタからの計数値を監視し、計数が設定値に達
すると検出信号を出力する監視回路とを有する請求項1
記載のクロック断検出回路。
(2) The clock loss detection section includes an edge detection circuit that detects an edge of a clock signal, generates an edge pulse, and outputs this edge pulse as a reset signal; and an edge detection circuit that counts the master clock and outputs a counted value; Claim 1, further comprising: a counter that resets a count value by a reset signal from the edge detection circuit; and a monitoring circuit that monitors the count value from the counter and outputs a detection signal when the count reaches a set value.
The clock disconnection detection circuit described.
(3)エッジ検出回路は、 クロックを遅延する遅延手段と、 クロックと、前記遅延手段からのクロックとの論理積の
演算を行いエッジパルスを生成する論理積演算手段とを
有する請求項2記載のクロック断検出回路。
(3) The edge detection circuit comprises: delay means for delaying a clock; and AND operation means for performing an AND operation between the clock and the clock from the delay means to generate an edge pulse. Clock disconnection detection circuit.
JP24345789A 1989-09-21 1989-09-21 Clock break detecting circuit Pending JPH03108013A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24345789A JPH03108013A (en) 1989-09-21 1989-09-21 Clock break detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24345789A JPH03108013A (en) 1989-09-21 1989-09-21 Clock break detecting circuit

Publications (1)

Publication Number Publication Date
JPH03108013A true JPH03108013A (en) 1991-05-08

Family

ID=17104173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24345789A Pending JPH03108013A (en) 1989-09-21 1989-09-21 Clock break detecting circuit

Country Status (1)

Country Link
JP (1) JPH03108013A (en)

Similar Documents

Publication Publication Date Title
EP1237282B1 (en) Circuit for the detection of clock signal period abnormalities
JPH03108013A (en) Clock break detecting circuit
JP2578330B2 (en) Signal gate
JPH0823326A (en) Clock fault detection circuit
JPH08181588A (en) Clock interruption detection circuit
JPH0426914Y2 (en)
JPH06204993A (en) Clock interruption detection circuit
JPH03258055A (en) System selection control circuit
JPH0714184B2 (en) Clock down detection circuit
JP2557106Y2 (en) Redundant controller
JPS6055277A (en) Failure detector of analog circuit
JPH0556022A (en) Transmission line switching circuit
JPS6327930A (en) Interruption control circuit
JPS61105147A (en) Clock interruption detection circuit
JPH02143607A (en) Clock noise detection circuit
JPS6272022A (en) Lsi system clock supervisory method
SU881682A1 (en) Duplicated device
JPH05183541A (en) Transmission line duplex system
JPS6389917A (en) Clock break detecting circuit
JPH05236026A (en) Digital signal monitor circuit
JPS6354034A (en) Detection circuit for plural pulse trains
JPS63101918A (en) Clock disconnection detecting circuit
JPS6184111A (en) Clock interruption detecting circuit
JPS6361350A (en) Information processing system
JPH0348339A (en) Fixed fault deciding circuit