JP2008052478A - Clock stop detection circuit and clock stop detection method - Google Patents

Clock stop detection circuit and clock stop detection method Download PDF

Info

Publication number
JP2008052478A
JP2008052478A JP2006227498A JP2006227498A JP2008052478A JP 2008052478 A JP2008052478 A JP 2008052478A JP 2006227498 A JP2006227498 A JP 2006227498A JP 2006227498 A JP2006227498 A JP 2006227498A JP 2008052478 A JP2008052478 A JP 2008052478A
Authority
JP
Japan
Prior art keywords
register
clock
clock stop
internal
stop 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
JP2006227498A
Other languages
Japanese (ja)
Inventor
Tokuhito Mizuguchi
徳人 水口
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2006227498A priority Critical patent/JP2008052478A/en
Publication of JP2008052478A publication Critical patent/JP2008052478A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a clock stop detection circuit and clock stop detection method that does not require any external component of an IC to be inspected and is capable of suppressing increase in component mounting area and product price. <P>SOLUTION: In the clock stop detection circuit, an IC 7 comprises: an emergency internal register 2 for storing data to output during clock stop; a register selection flip-flop 4 for selecting either an internal register 1 or the emergency register 2 based on whether a clock is in operation or in a stop state upon occurrence of a register read request signal (a); and an output data switching circuit 5 for outputting a value of the register selected by the register selection flip-flop 4 to a general purpose bus 6. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ICの内部クロックの停止を検出するクロック停止検出回路およびクロック停止検出方法に関する。   The present invention relates to a clock stop detection circuit and a clock stop detection method for detecting a stop of an internal clock of an IC.

図2は、第1従来技術を示すクロック停止回路の構成図である。
図2において、111は検査対象となるIC、112はモノマルチバイブレータ、113は抵抗、114はコンデンサ、115はクロック停止監視回路である。
以下、図2を用いて、第1従来技術によるクロック停止回路の構成および動作を説明する。
従来のクロック停止検出回路は、検査対象となるIC111の外部にモノマルチバイブレータ112を設置し、検査対象となるIC111の内部クロック又は同クロックにて生成される信号が、正常時は連続して発生することを利用してモノマルチバイブレータ112を起動し、異常時は上記信号が停止することによりモノマルチバイブレータ112の出力を抵抗113とコンデンサ114による時定数後に反転し、これにより検査対象となるIC111のクロック停止を検出している(例えば、特許文献1参照)。
FIG. 2 is a block diagram of a clock stop circuit showing the first prior art.
In FIG. 2, 111 is an IC to be inspected, 112 is a mono multivibrator, 113 is a resistor, 114 is a capacitor, and 115 is a clock stop monitoring circuit.
Hereinafter, the configuration and operation of the clock stop circuit according to the first prior art will be described with reference to FIG.
In the conventional clock stop detection circuit, the mono multivibrator 112 is installed outside the IC 111 to be inspected, and the internal clock of the IC 111 to be inspected or a signal generated by the same clock is generated continuously when normal. The mono multivibrator 112 is activated by using this, and when the abnormality occurs, the signal is stopped, so that the output of the mono multivibrator 112 is inverted after the time constant by the resistor 113 and the capacitor 114, thereby the IC 111 to be inspected. (See, for example, Patent Document 1).

図3は、第2従来技術を示すクロック停止回路の構成図である。
図3において、121は検査対象となるIC、122はフリップフロップ、123はクロック停止監視回路である。
以下、図3を用いて、第2従来技術によるクロック停止回路の構成および動作を説明する。
検査対象となるIC121の外部にフリップフロップ122を設置し、外部からフリップフロップ122をセットし、検査対象となるIC121のクロック又は同クロックにて生成される信号が、正常時はフリップフロップ122をクリアし、異常時は上記信号が停止することによりフリップフロップ122がセットされたままになり、これにより検査対象となるIC121のクロック停止を検出している。
FIG. 3 is a block diagram of a clock stop circuit showing the second prior art.
In FIG. 3, 121 is an IC to be inspected, 122 is a flip-flop, and 123 is a clock stop monitoring circuit.
Hereinafter, the configuration and operation of the clock stop circuit according to the second prior art will be described with reference to FIG.
A flip-flop 122 is installed outside the IC 121 to be inspected, and the flip-flop 122 is set from the outside. However, when an abnormality occurs, the above-mentioned signal is stopped and the flip-flop 122 remains set, thereby detecting the clock stop of the IC 121 to be inspected.

このように、従来のクロック停止検出回路は、検査対象となるICの外部に部品と配線を設置してクロック停止を検出するのである。
特開平10−283058号公報(第2図)
Thus, the conventional clock stop detection circuit detects the clock stop by installing components and wiring outside the IC to be inspected.
Japanese Patent Laid-Open No. 10-283058 (FIG. 2)

しかしながら、従来技術によるクロック停止検出回路は、検査対象となるICの外部に部品と配線を設置するため、部品実装面積が増大し、製品価格が上昇するという問題があった。
本発明はこのような問題点に鑑みてなされたものであり、検査対象となるICの外部部品を必要とせず、部品実装面積の増大と、製品価格の上昇を抑えることができるクロック停止検出回路およびクロック停止検出方法を提供することを目的とする。
However, the clock stop detection circuit according to the prior art has a problem that the component mounting area increases and the product price increases because components and wiring are installed outside the IC to be inspected.
The present invention has been made in view of such problems, and does not require an external component of an IC to be inspected, and can suppress an increase in component mounting area and an increase in product price. An object of the present invention is to provide a clock stop detection method.

上記問題を解決するため、請求項1に記載の発明は、クロックを生成する内部クロック生成回路と、内部レジスタと、汎用バスを有し、外部からの内部レジスタ読み出し要求信号により前記内部レジスタの値を前記汎用バスに出力するICのクロック停止検出回路において、前記ICは、前記クロックが停止した時に出力するためのデータを記憶する異常時用内部レジスタと、前記内部レジスタ読み出し要求信号の発生時に前記クロックが動作しているか停止しているかの状態に基づいて前記内部レジスタと前記異常時用レジスタのいずれかを選択するレジスタ選択用フリップフロップと、前記レジスタ選択用フリップフロップにより選択されたレジスタの値を前記汎用バスに出力する出力データ切替回路と、を備えたことを特徴としている。   In order to solve the above problem, the invention according to claim 1 includes an internal clock generation circuit that generates a clock, an internal register, and a general-purpose bus, and the value of the internal register is determined by an external internal register read request signal. In the IC clock stop detection circuit for outputting to the general-purpose bus, the IC includes an internal register for abnormal time storing data to be output when the clock is stopped, and the internal register read request signal when the internal register read request signal is generated. A register selection flip-flop that selects either the internal register or the abnormality register based on whether the clock is operating or stopped, and the value of the register selected by the register selection flip-flop And an output data switching circuit for outputting to the general-purpose bus.

また、請求項2に記載の発明は、クロックを生成する内部クロック生成回路と、内部レジスタと、汎用バスを有し、外部からの内部レジスタ読み出し要求信号により前記内部レジスタの値を前記汎用バスに出力するICのクロック停止検出方法において、前記クロックが停止した時に出力するデータを異常時用レジスタに記憶するステップと、前記内部レジスタ読み出し要求信号の発生時に前記クロックが動作しているか停止しているかの状態に基づいて前記内部レジスタと前記異常時用レジスタのいずれかを選択するステップと、前記選択されたレジスタの値を前記汎用バスに出力するステップと、を備えたことを特徴としている。   The invention according to claim 2 further includes an internal clock generation circuit that generates a clock, an internal register, and a general-purpose bus, and the value of the internal register is transferred to the general-purpose bus by an external internal register read request signal. In the clock stop detection method of the IC to be output, the step of storing the data to be output when the clock is stopped in the error register, and whether the clock is operating or stopped when the internal register read request signal is generated And selecting one of the internal register and the abnormal-time register on the basis of the state, and outputting the value of the selected register to the general-purpose bus.

請求項1に記載の発明によると、従来必要であった外部部品と配線を削除することができ、部品実装面積を縮小し、製品価格の上昇を抑えることができるクロック停止検出回路を得ることができる。   According to the first aspect of the present invention, it is possible to obtain a clock stop detection circuit that can delete external parts and wirings that have been conventionally required, reduce the component mounting area, and suppress an increase in product price. it can.

また、請求項2に記載の発明によると、従来必要であった外部部品と配線を削除することができ、部品実装面積を縮小し、製品価格の上昇を抑えることができるクロック停止検出方法を得ることができる。   According to the second aspect of the present invention, there is obtained a clock stop detection method capable of deleting external components and wirings that have been conventionally required, reducing the component mounting area, and suppressing an increase in product price. be able to.

以下、本発明の実施の形態について図を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明を示すクロック停止検出回路の構成図である。
図1において、1は内部レジスタ、2は異常時用レジスタ、3は内部クロック生成回路、4はレジスタ選択用フリップフロップ、5は出力データ切替回路、6は汎用バス、7は検査対象となるIC、8はクロック停止監視回路である。また、aは内部レジスタ読み出し要求信号である。
本発明のクロック停止検出回路が従来技術と異なる点は、外部から内部レジスタ読み出し要求が発生した時に、検査対象となるIC7の内部クロックガ動作しているか停止しているかの状態により内部レジスタ1又は異常時用レジスタ2を選択するレジスタ選択用フリップフロップ4と、レジスタ選択用フリップフロップ4により選択されたレジスタの値を汎用バス6に出力する出力データ切替回路5をIC7の内部に備えるようにしている点である。
以下、図1を用いて、本発明のクロック停止検出回路の動作を説明する。
内部レジスタ読み出し要求信号aが発生していない時は、レジスタ選択用フリップフロップ4のCLR入力が有効となっており、このためレジスタ選択用フリップフロップ4のQ出力はローとなり、汎用バス6には異常時用レジスタ2の値が出力されている。ただし、この時クロック停止監視回路8は汎用バス6を読み出していないので、汎用バス6に出力されている内容は意味を持たない。
内部クロックが動作している場合は、内部レジスタ読み出し要求信号aが発生すると、レジスタ選択用フリップフロップ4のCLR入力が無効となり、内部クロックによりレジスタ選択用フリップフロップ4のQ出力はハイになり、汎用バス6には内部レジスタ1の値が出力される。
内部クロックが停止している場合は、内部レジスタ読み出し要求信号aが発生しレジスタ選択用フリップフロップ4のCLR入力が無効になっても、クロックが入力されないためレジスタ選択用フリップフロップ4のQ出力はローのままであり、汎用バス6には異常時用レジスタ2の値が出力される。これにより外部のクロック停止監視回路8は検査対象となるIC7の内部クロックが停止したことを認識できる。
内部レジスタ読み出し要求信号aと汎用バス6は既にIC7に内蔵されているものであり、クロック停止検出回路を付加しても、IC7の外部に別途専用の配線を用意する必要はない。
FIG. 1 is a block diagram of a clock stop detection circuit showing the present invention.
In FIG. 1, 1 is an internal register, 2 is an error register, 3 is an internal clock generation circuit, 4 is a register selection flip-flop, 5 is an output data switching circuit, 6 is a general-purpose bus, and 7 is an IC to be tested. , 8 are clock stop monitoring circuits. Further, a is an internal register read request signal.
The clock stop detection circuit of the present invention is different from the prior art in that when an internal register read request is generated from the outside, the internal register 1 or an abnormality is detected depending on whether the internal clock signal of the IC 7 to be inspected is operating or stopped. The IC 7 includes a register selection flip-flop 4 for selecting the time register 2 and an output data switching circuit 5 for outputting the value of the register selected by the register selection flip-flop 4 to the general-purpose bus 6. Is a point.
Hereinafter, the operation of the clock stop detection circuit of the present invention will be described with reference to FIG.
When the internal register read request signal a is not generated, the CLR input of the register selection flip-flop 4 is valid, so that the Q output of the register selection flip-flop 4 becomes low and the general-purpose bus 6 has The value of the error register 2 is output. However, since the clock stop monitoring circuit 8 does not read the general-purpose bus 6 at this time, the contents output to the general-purpose bus 6 have no meaning.
When the internal clock is operating, when the internal register read request signal a is generated, the CLR input of the register selection flip-flop 4 becomes invalid, and the Q output of the register selection flip-flop 4 becomes high by the internal clock, The value of the internal register 1 is output to the general-purpose bus 6.
When the internal clock is stopped, even if the internal register read request signal a is generated and the CLR input of the register selection flip-flop 4 becomes invalid, the clock is not input, so the Q output of the register selection flip-flop 4 is It remains low and the value of the error register 2 is output to the general-purpose bus 6. Thus, the external clock stop monitoring circuit 8 can recognize that the internal clock of the IC 7 to be inspected has stopped.
The internal register read request signal “a” and the general-purpose bus 6 are already built in the IC 7, and even if a clock stop detection circuit is added, it is not necessary to prepare a dedicated wiring outside the IC 7.

本発明は、モーションフィールドネットワークに好適であり、特にASICに組み込むことにより高信頼性を低コストで実現できる。   The present invention is suitable for a motion field network, and in particular, high reliability can be realized at low cost by being incorporated in an ASIC.

本発明を示すクロック停止検出回路の構成図Configuration diagram of a clock stop detection circuit showing the present invention 第1従来技術を示すクロック停止回路の構成図Configuration of clock stop circuit showing the first prior art 第2従来技術を示すクロック停止回路の構成図Configuration diagram of clock stop circuit showing second prior art

符号の説明Explanation of symbols

1 内部レジスタ
2 異常時用レジスタ
3 内部クロック生成回路
4 レジスタ選択用フリップフロップ
5 出力データ切替回路
6 汎用バス
7、111、121 検査対象となるIC
112 モノマルチバイブレータ
113 抵抗
114 コンデンサ
8、115、123 クロック停止監視回路
122 フリップフロップ
a 内部レジスタ読み出し要求信号
DESCRIPTION OF SYMBOLS 1 Internal register 2 Abnormality register 3 Internal clock generation circuit 4 Flip-flop for register selection 5 Output data switching circuit 6 General-purpose bus 7, 111, 121 IC to be inspected
112 Mono multivibrator 113 Resistor 114 Capacitor 8, 115, 123 Clock stop monitoring circuit 122 Flip-flop a Internal register read request signal

Claims (2)

クロックを生成する内部クロック生成回路(3)と、内部レジスタ(1)と、汎用バス(6)を有し、外部からの内部レジスタ読み出し要求信号(a)により前記内部レジスタ(1)の値を前記汎用バス(6)に出力するIC(7)のクロック停止検出回路において、
前記IC(7)は、
前記クロックが停止した時に出力するためのデータを記憶する異常時用内部レジスタ(2)と、
前記内部レジスタ読み出し要求信号(a)の発生時に前記クロックが動作しているか停止しているかの状態に基づいて前記内部レジスタ(1)と前記異常時用レジスタ(2)のいずれかを選択するレジスタ選択用フリップフロップ(4)と、
前記レジスタ選択用フリップフロップ(4)により選択されたレジスタの値を前記汎用バス(6)に出力する出力データ切替回路(5)と、を備えたことを特徴とするクロック停止検出回路。
It has an internal clock generation circuit (3) for generating a clock, an internal register (1), and a general-purpose bus (6). The value of the internal register (1) is set by an external internal register read request signal (a). In the clock stop detection circuit of the IC (7) that outputs to the general-purpose bus (6),
The IC (7)
An internal register for abnormal time (2) for storing data to be output when the clock is stopped;
A register that selects either the internal register (1) or the abnormal time register (2) based on whether the clock is operating or stopped when the internal register read request signal (a) is generated A selection flip-flop (4);
An output data switching circuit (5) for outputting the value of the register selected by the register selection flip-flop (4) to the general-purpose bus (6).
クロックを生成する内部クロック生成回路(3)と、内部レジスタ(1)と、汎用バス(6)を有し、外部からの内部レジスタ読み出し要求信号(a)により前記内部レジスタ(1)の値を前記汎用バス(6)に出力するIC(7)のクロック停止検出方法において、
前記クロックが停止した時に出力するデータを異常時用レジスタ(2)に記憶するステップと、
前記内部レジスタ読み出し要求信号(a)の発生時に前記クロックが動作しているか停止しているかの状態に基づいて前記内部レジスタ(1)と前記異常時用レジスタ(2)のいずれかを選択するステップと、
前記選択されたレジスタの値を前記汎用バス(6)に出力するステップと、を備えたことを特徴とするクロック停止検出方法。
It has an internal clock generation circuit (3) for generating a clock, an internal register (1), and a general-purpose bus (6). The value of the internal register (1) is set by an external internal register read request signal (a). In the clock stop detection method of the IC (7) that outputs to the general-purpose bus (6),
Storing data to be output when the clock is stopped in the error register (2);
Selecting either the internal register (1) or the error register (2) based on whether the clock is operating or stopped when the internal register read request signal (a) is generated When,
And outputting the value of the selected register to the general-purpose bus (6).
JP2006227498A 2006-08-24 2006-08-24 Clock stop detection circuit and clock stop detection method Pending JP2008052478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006227498A JP2008052478A (en) 2006-08-24 2006-08-24 Clock stop detection circuit and clock stop detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006227498A JP2008052478A (en) 2006-08-24 2006-08-24 Clock stop detection circuit and clock stop detection method

Publications (1)

Publication Number Publication Date
JP2008052478A true JP2008052478A (en) 2008-03-06

Family

ID=39236482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006227498A Pending JP2008052478A (en) 2006-08-24 2006-08-24 Clock stop detection circuit and clock stop detection method

Country Status (1)

Country Link
JP (1) JP2008052478A (en)

Similar Documents

Publication Publication Date Title
JP2010281695A (en) Semiconductor integrated circuit
US10884448B1 (en) Clock glitch detection circuit
JP2010026896A (en) Memory system, and memory error cause specifying method
US20150081041A1 (en) Output apparatus and diagnosis method therefor
JP2008052478A (en) Clock stop detection circuit and clock stop detection method
JP2009021982A (en) Data conversion diagnostic bit in data converter
US10985765B2 (en) Apparatus including safety logic
JP2013077921A (en) Clock diagnosis circuit
US20200167223A1 (en) Apparatus including safety logic
JP2006022686A (en) Failure detecting device for fan and electronic equipment
JP4935782B2 (en) Self-diagnosis circuit
JP4862760B2 (en) Detection signal processing circuit
JP2003242049A (en) Method of detecting abnormality in microcomputer
Hiari et al. Towards single-chip diversity TMR for automotive applications
JP2013206149A (en) Semiconductor integrated circuit device and system using the same
US11287471B1 (en) Electronic circuit for online monitoring a clock signal
JP4797961B2 (en) AD converter circuit
WO2024080199A1 (en) Abnormality detection device
US20070293175A1 (en) Semiconductor integrated circuit
JP2008299749A (en) Power supply control circuit, function expansion unit, image forming apparatus, and power supply control method
KR20200016777A (en) Device including safety logic
JP2006258718A (en) Inspection circuit
JP2008040700A (en) Clock failure detector and programmable controller
JP4754355B2 (en) Semiconductor integrated circuit and semiconductor system including the semiconductor integrated circuit
JP2016127308A (en) Abnormal data signal processing method and abnormal data signal processing device