JP2000151388A - Device and method for output protection - Google Patents

Device and method for output protection

Info

Publication number
JP2000151388A
JP2000151388A JP10335049A JP33504998A JP2000151388A JP 2000151388 A JP2000151388 A JP 2000151388A JP 10335049 A JP10335049 A JP 10335049A JP 33504998 A JP33504998 A JP 33504998A JP 2000151388 A JP2000151388 A JP 2000151388A
Authority
JP
Japan
Prior art keywords
field programmable
programmable array
output
signal
clock signal
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.)
Granted
Application number
JP10335049A
Other languages
Japanese (ja)
Other versions
JP2972768B1 (en
Inventor
Hiroyuki Saito
弘幸 齋藤
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 Saitama Ltd
Original Assignee
NEC Saitama Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Saitama Ltd filed Critical NEC Saitama Ltd
Priority to JP33504998A priority Critical patent/JP2972768B1/en
Application granted granted Critical
Publication of JP2972768B1 publication Critical patent/JP2972768B1/en
Publication of JP2000151388A publication Critical patent/JP2000151388A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To control the output signal of a board having respective functions in a controller at the actuation of an FPGA (field programmable gate array) or when a fault when the FPGA is used for the board and the signal such as data is outputted from the board. SOLUTION: This output protection device has a monitored means 4 constituted of a circuit configured in an FPGA 2, a monitor means 5 which monitors whether or not the FPGA 2 is normally configured according to the signal generated by the monitored means 4, and a gate means 3 which makes a choice of whether or not the output signal from the FPGA 2 is transmitted to the outside according to the monitoring result.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、(FPGA:Fi
eld Programmable GateArra
y)技術に関し、特に、所定の回路データを読み込んで
自己の内部回路をコンフィグレーションするフィールド
プログラマブルアレイの動作を監視し、フィールドプロ
グラマブルアレイの異常動作時にフィールドプログラマ
ブルアレイからの出力を無効にする出力保護装置及び出
力保護方法に関する。
TECHNICAL FIELD The present invention relates to (FPGA: Fi
eld Programmable GateArra
y) With regard to technology, in particular, output protection for reading the predetermined circuit data, monitoring the operation of the field programmable array that configures its own internal circuit, and invalidating the output from the field programmable array when the field programmable array abnormally operates. The present invention relates to an apparatus and an output protection method.

【0002】[0002]

【従来の技術】図7は、従来例の構成を示すブロック図
であって、フィールドプログラマブルアレイ2をバスイ
ンターフェースとして使用した場合の回路構成である。
スリーステートバッファ3のバッファ制御信号はリセッ
ト信号8により制御されていた。このような従来技術と
しては、例えば、特許第2752947号に記載のもの
がある。すなわち、従来技術のフィールドプログラマブ
ルゲートアレイ起動検出システムは、電源投入時ごとに
外部から読み込んだ論理回路情報に基づいて内蔵する集
積回路内部のゲートの接続を行うタイプのフィールドプ
ログラマブルゲートアレイを有するシステムであって、
論理回路情報として、論理回路を複数のブロックに分け
フィールドプログラマブルゲートアレイ起動時に各ブロ
ックごとに任意の起動確認データを内部レジスタに設定
し当該内部レジスタの内容を外部に出力する起動確認端
子を持つように作成された論理回路情報をフィールドプ
ログラマブルゲートアレイに供給し、フィールドプログ
ラマブルゲートアレイの起動時に起動確認端子からの出
力データと論理回路情報として設定された任意の起動確
認データとの照合結果に基づいてフィールドプログラマ
ブルゲートアレイの異常を検出する構成となっている。
より具体的には、論理回路を複数のブロックに分けフィ
ールドプログラマブルゲートアレイ起動時に各ブロック
ごとに任意の起動確認データを内部レジスタに設定し当
該内部レジスタの内容を外部に出力する起動確認端子を
持つように作成された論理回路情報が実現されたフィー
ルドプログラマブルゲートアレイと、論理回路情報とし
て設定が指定された各ブロックごとの任意の起動確認デ
ータをあらかじめ認識したCPUと、フィールドプログ
ラマブルゲートアレイの起動確認端子の出力データとC
PUが認識している起動確認データとを照合し一致,不
一致に応じてフィールドプログラマブルゲートアレイの
正常,異常を判定する起動確認回路とを有している。こ
れにより、CPU等によるシステムの初期処理におい
て、フィールドプログラマブルゲートアレイの起動を確
認でき、フィールドプログラマブルゲートアレイ未起動
でCPUシステムを起動させることが無くなり、フィー
ルドプログラマブルゲートアレイが起動していなければ
フィールドプログラマブルゲートアレイをリセットし再
起動させる復旧処理を用意することもできるとしてい
る。また、読み込んだ論理回路情報により集積回路のゲ
ートの接続が行われた時、論理回路のブロック毎に設け
られた起動確認端子に出力されたデータを起動確認回路
によって確認するので、フィールドプログラマブルゲー
トアレイが正常に起動したかどうかを、論理回路のブロ
ック毎に判断できるとしている。
2. Description of the Related Art FIG. 7 is a block diagram showing a configuration of a conventional example, which is a circuit configuration when a field programmable array 2 is used as a bus interface.
The buffer control signal of the three-state buffer 3 was controlled by the reset signal 8. As such a conventional technique, for example, there is one described in Japanese Patent No. 2752947. That is, the prior art field programmable gate array start-up detection system is a system having a field programmable gate array of a type in which gates inside a built-in integrated circuit are connected based on logic circuit information externally read each time power is turned on. So,
As the logic circuit information, the logic circuit is divided into a plurality of blocks, and at the time of activation of the field programmable gate array, an arbitrary startup confirmation data is set for each block in an internal register, and a startup confirmation terminal for outputting the contents of the internal register to the outside is provided. The logic circuit information created in the above is supplied to the field programmable gate array, and based on the comparison result between the output data from the startup confirmation terminal and any startup confirmation data set as the logic circuit information when the field programmable gate array is activated. The configuration is such that an abnormality of the field programmable gate array is detected.
More specifically, the logic circuit is divided into a plurality of blocks, and at the time of activation of the field programmable gate array, an arbitrary start confirmation data is set for each block in an internal register and a start confirmation terminal for outputting the contents of the internal register to the outside is provided. A field programmable gate array in which the logic circuit information created as described above is realized, a CPU that previously recognizes arbitrary startup confirmation data for each block whose setting is designated as the logic circuit information, and a startup confirmation of the field programmable gate array Terminal output data and C
A start-up confirmation circuit is provided for collating the start-up confirmation data recognized by the PU and determining whether the field-programmable gate array is normal or abnormal in accordance with the match or non-coincidence. Thereby, in the initial processing of the system by the CPU or the like, the activation of the field programmable gate array can be confirmed, and the CPU system is not activated without the activation of the field programmable gate array. It is also possible to prepare a recovery process for resetting and restarting the gate array. In addition, when the gate of the integrated circuit is connected by the read logic circuit information, the data output to the startup confirmation terminal provided for each block of the logic circuit is confirmed by the startup confirmation circuit. It can be determined for each block of the logic circuit whether or not has been activated normally.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来技
術は、装置内のバス上へのデータ出力をリセット信号の
みで制御しているので、フィールドプログラマブルアレ
イ2の動作に関わらず装置内のバスへのデータ出力を許
可していたため、操作ミスによりROM1を未実装のま
まフィールドプログラマブルアレイ2を起動させたとき
に不定なデータを装置内のバス上に出力して、バス上の
データに影響を与えることによって装置のシステムダウ
ンを引き起こしてしまうという問題点があった。
However, in the prior art, the data output to the bus in the device is controlled only by the reset signal. Therefore, regardless of the operation of the field programmable array 2, the data output to the bus in the device is controlled. Since the data output is permitted, when the field programmable array 2 is started with the ROM 1 not mounted due to an operation error, undefined data is output to the bus in the device to affect the data on the bus. As a result, there is a problem that the system of the apparatus is brought down.

【0004】また、フィールドプログラマブルアレイ2
自身にクロック監視の能力がなかったため、フィールド
プログラマブルアレイ2へ供給されるクロック信号が何
らかの原因により断、もしくはフィールドプログラマブ
ルアレイ2の故障により正常動作が保証されなくなった
場合に、装置内のバス上へデータを出力してしまい装置
内のバスに影響を与えてしまうという問題点もあった。
The field programmable array 2
When the clock signal supplied to the field programmable array 2 is interrupted for some reason or the normal operation cannot be guaranteed due to a failure of the field programmable array 2 due to lack of clock monitoring capability of the device itself, the signal is transferred to a bus in the device. There is also a problem that data is output and the bus in the device is affected.

【0005】本発明は斯かる問題点を鑑みてなされたも
のであり、その目的とするところは、コンピュータ、計
算機等のシステムの制御装置において、制御装置内の各
々の機能を有したボードにフィールドプログラマブルア
レイを利用してこのボードからデータ等の信号を出力す
る場合に、フィールドプログラマブルアレイの起動時や
障害が発生した時にその出力信号を制御する出力保護装
置及び出力保護方法を提供する点にある。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a control device for a system such as a computer or a computer in which a board having each function in the control device is used. An object of the present invention is to provide an output protection device and an output protection method for controlling an output signal when a signal such as data is output from this board using a programmable array when a field programmable array is activated or a failure occurs. .

【0006】[0006]

【課題を解決するための手段】本発明の請求項1に記載
の要旨は、外部から与えられるクロック信号に基づいて
メモリ手段に保持されている所定の回路データを読み込
んで自己の内部回路をコンフィグレーションするフィー
ルドプログラマブルアレイの動作を監視し、フィールド
プログラマブルアレイの異常動作時にフィールドプログ
ラマブルアレイからの出力を無効にする出力保護装置で
あって、前記フィールドプログラマブルアレイ内にコン
フィグレーションされた回路で構成される監視対象手段
と、前記フィールドプログラマブルアレイが正常にコン
フィグレーションされて動作しているか否かを、前記監
視対象手段が生成する信号に基づいて監視すると共に、
当該監視対象手段が生成する信号が所望の信号と異なっ
ていることを検出したときに前記フィールドプログラマ
ブルアレイからの出力を無効にする論理値のバッファ制
御信号を出力し、当該監視対象手段が生成する信号が所
望の信号と一致することを検出したときに前記フィール
ドプログラマブルアレイからの出力を有効にする論理値
のバッファ制御信号を出力する監視手段と、前記バッフ
ァ制御信号の論理値に応じて前記フィールドプログラマ
ブルアレイからの出力を外部に伝達するか否かを選択す
るゲート手段を有することを特徴とする出力保護装置に
存する。また本発明の請求項2に記載の要旨は、外部か
ら与えられるクロック信号に基づいてメモリ手段に保持
されている所定の回路データを読み込んで自己の内部回
路をコンフィグレーションするフィールドプログラマブ
ルアレイの動作を監視し、フィールドプログラマブルア
レイの異常動作時にフィールドプログラマブルアレイか
らの出力を無効にする出力保護装置であって、前記フィ
ールドプログラマブルアレイ内にコンフィグレーション
された回路で構成され、前記クロック信号を所定の分周
比に基づいて分周した分周クロック信号を生成するクロ
ック分周手段と、前記フィールドプログラマブルアレイ
が正常にコンフィグレーションされて動作しているか否
かを、前記分周クロック信号の信号状態に基づいて監視
すると共に、前記分周クロック信号または前記クロック
信号に基づいてクロック断を検出したときに前記フィー
ルドプログラマブルアレイからの出力を無効にする論理
値のバッファ制御信号を出力し、前記分周クロック信号
または前記クロック信号が前記コンフィグレーションに
基づいて正常に生成されていることを検出したときに前
記フィールドプログラマブルアレイからの出力を有効に
する論理値のバッファ制御信号を出力するクロック断検
出手段と、前記バッファ制御信号の論理値に応じて前記
フィールドプログラマブルアレイからの出力を外部に伝
達するか否かを選択するゲート手段を有することを特徴
とする出力保護装置に存する。また本発明の請求項3に
記載の要旨は、外部から与えられるクロック信号に基づ
いてROMに保持されている所定の回路データを読み込
んで自己の内部回路をコンフィグレーションするフィー
ルドプログラマブルアレイの動作を監視し、フィールド
プログラマブルアレイの異常動作時にフィールドプログ
ラマブルアレイからの出力を無効にする出力保護装置で
あって、前記フィールドプログラマブルアレイ内にコン
フィグレーションされた回路で構成され、前記クロック
信号を所定の分周比に基づいて分周した分周クロック信
号を生成するクロック分周回路と、前記フィールドプロ
グラマブルアレイが正常にコンフィグレーションされて
動作しているか否かを、前記分周クロック信号の信号状
態に基づいて監視すると共に、前記分周クロック信号ま
たは前記クロック信号に基づいてクロック断を検出した
ときに前記フィールドプログラマブルアレイからの出力
を無効にする論理値のバッファ制御信号を出力し、前記
分周クロック信号または前記クロック信号が前記コンフ
ィグレーションに基づいて正常に生成されていることを
検出したときに前記フィールドプログラマブルアレイか
らの出力を有効にする論理値のバッファ制御信号を出力
するクロック断検出回路と、前記バッファ制御信号の論
理値に応じて前記フィールドプログラマブルアレイから
の出力を外部に伝達するか否かを選択するスリーステー
トバッファを有することを特徴とする出力保護装置に存
する。また本発明の請求項4に記載の要旨は、フィール
ドプログラマブルアレイの動作を監視し、フィールドプ
ログラマブルアレイの異常動作時にフィールドプログラ
マブルアレイからの出力を無効にする出力保護装置であ
って、前記フィールドプログラマブルアレイ内にコンフ
ィグレーションされた回路で構成される監視対象手段
と、前記フィールドプログラマブルアレイが正常にコン
フィグレーションされて動作しているか否かを、前記監
視対象手段が生成する信号に基づいて監視すると共に、
当該監視対象手段が生成する信号が所望の信号と異なっ
ていることを検出したときに前記フィールドプログラマ
ブルアレイからの出力を無効にする論理値のバッファ制
御信号を出力し、当該監視対象手段が生成する信号が所
望の信号と一致することを検出したときに前記フィール
ドプログラマブルアレイからの出力を有効にする論理値
のバッファ制御信号を出力する監視手段と、前記バッフ
ァ制御信号の論理値に応じて前記フィールドプログラマ
ブルアレイからの出力を外部に伝達するか否かを選択す
るゲート手段を有することを特徴とする出力保護装置に
存する。また本発明の請求項5に記載の要旨は、フィー
ルドプログラマブルアレイの動作を監視し、フィールド
プログラマブルアレイの異常動作時にフィールドプログ
ラマブルアレイからの出力を無効にする出力保護装置で
あって、前記フィールドプログラマブルアレイ内にコン
フィグレーションされた回路で構成され、外部から与え
られるクロック信号に基づいてクロック信号を所定の分
周比に基づいて分周した分周クロック信号を生成するク
ロック分周手段と、前記フィールドプログラマブルアレ
イが正常にコンフィグレーションされて動作しているか
否かを、前記分周クロック信号の信号状態に基づいて監
視すると共に、前記分周クロック信号または前記クロッ
ク信号に基づいてクロック断を検出したときに前記フィ
ールドプログラマブルアレイからの出力を無効にする論
理値のバッファ制御信号を出力し、前記分周クロック信
号または前記クロック信号が前記コンフィグレーション
に基づいて正常に生成されていることを検出したときに
前記フィールドプログラマブルアレイからの出力を有効
にする論理値のバッファ制御信号を出力するクロック断
検出手段と、前記バッファ制御信号の論理値に応じて前
記フィールドプログラマブルアレイからの出力を外部に
伝達するか否かを選択するゲート手段を有することを特
徴とする出力保護装置に存する。また本発明の請求項6
に記載の要旨は、フィールドプログラマブルアレイの動
作を監視し、フィールドプログラマブルアレイの異常動
作時にフィールドプログラマブルアレイからの出力を無
効にする出力保護装置であって、前記フィールドプログ
ラマブルアレイ内にコンフィグレーションされた回路で
構成され、外部から与えられるクロック信号に基づいて
クロック信号を所定の分周比に基づいて分周した分周ク
ロック信号を生成するクロック分周回路と、前記フィー
ルドプログラマブルアレイが正常にコンフィグレーショ
ンされて動作しているか否かを、前記分周クロック信号
の信号状態に基づいて監視すると共に、前記分周クロッ
ク信号または前記クロック信号に基づいてクロック断を
検出したときに前記フィールドプログラマブルアレイか
らの出力を無効にする論理値のバッファ制御信号を出力
し、前記分周クロック信号または前記クロック信号が前
記コンフィグレーションに基づいて正常に生成されてい
ることを検出したときに前記フィールドプログラマブル
アレイからの出力を有効にする論理値のバッファ制御信
号を出力するクロック断検出回路と、前記バッファ制御
信号の論理値に応じて前記フィールドプログラマブルア
レイからの出力を外部に伝達するか否かを選択するスリ
ーステートバッファを有することを特徴とする出力保護
装置に存する。また本発明の請求項7に記載の要旨は、
前記回路データを変更することにより前記分周クロック
信号は、所定の周波数範囲で可変であることを特徴とす
る請求項1乃至6のいずれか一項に記載の出力保護装置
に存する。また本発明の請求項8に記載の要旨は、前記
クロック断検出回路は、前記分周クロック信号の入力に
応じてカウントを開始するカウンタと、前記カウンタの
カウント値を格納するレジスタと、フィールドプログラ
マブルアレイの外部よりソフトウェアによりタイマ値を
設定およびクリアできるレジスタと、前記カウント値と
前記タイマ値とを比較する比較器と、前記比較器からの
信号によりセットされ、フィールドプログラマブルアレ
イ外部からのクロック断信号によりリセットされるセッ
トリセットフリップフロップを備えていることを特徴と
する請求項1乃至7のいずれか一項に記載の出力保護装
置に存する。また本発明の請求項9に記載の要旨は、前
記レジスタと前記レジスタは、前記フィールドプログラ
マブルアレイの外部よりアクセスが可能な構成となって
おり、前記レジスタからは前記カウンタより得られる前
記カウント値の読み込みおよびクリアが可能であり、前
記レジスタは、前記タイマ値の設定およびクリアが可能
であることを特徴とする請求項8に記載の出力保護装置
に存する。また本発明の請求項10に記載の要旨は、前
記レジスタの前記カウント値は前記ソフトウェアにて一
定の間隔で読み出され、直前に読み出したカウント値と
異なっているときに前記クロック信号が正常に入力され
前記カウンタが動作しているものとみなし、前記カウン
ト値が直前に読み出したカウント値と同じであれば前記
クロック信号が異常であると認識することを特徴とする
請求項8に記載の出力保護装置に存する。また本発明の
請求項11に記載の要旨は、外部から与えられるクロッ
ク信号に基づいてメモリ手段に保持されている所定の回
路データを読み込んで自己の内部回路をコンフィグレー
ションするフィールドプログラマブルアレイの動作を監
視し、フィールドプログラマブルアレイの異常動作時に
フィールドプログラマブルアレイからの出力を無効にす
る出力保護方法であって、前記フィールドプログラマブ
ルアレイ内にコンフィグレーションされた回路で構成さ
れる監視対象工程と、前記フィールドプログラマブルア
レイが正常にコンフィグレーションされて動作している
か否かを、前記監視対象工程が生成する信号に基づいて
監視すると共に、当該監視対象工程が生成する信号が所
望の信号と異なっていることを検出したときに前記フィ
ールドプログラマブルアレイからの出力を無効にする論
理値のバッファ制御信号を出力し、当該監視対象工程が
生成する信号が所望の信号と一致することを検出したと
きに前記フィールドプログラマブルアレイからの出力を
有効にする論理値のバッファ制御信号を出力する監視工
程と、前記バッファ制御信号の論理値に応じて前記フィ
ールドプログラマブルアレイからの出力を外部に伝達す
るか否かを選択するゲート工程を有することを特徴とす
る出力保護方法に存する。また本発明の請求項12に記
載の要旨は、外部から与えられるクロック信号に基づい
てメモリ手段に保持されている所定の回路データを読み
込んで自己の内部回路をコンフィグレーションするフィ
ールドプログラマブルアレイの動作を監視し、フィール
ドプログラマブルアレイの異常動作時にフィールドプロ
グラマブルアレイからの出力を無効にする出力保護方法
であって、前記フィールドプログラマブルアレイ内にコ
ンフィグレーションされた回路で構成され、前記クロッ
ク信号を所定の分周比に基づいて分周した分周クロック
信号を生成するクロック分周工程と、前記フィールドプ
ログラマブルアレイが正常にコンフィグレーションされ
て動作しているか否かを、前記分周クロック信号の信号
状態に基づいて監視すると共に、前記分周クロック信号
または前記クロック信号に基づいてクロック断を検出し
たときに前記フィールドプログラマブルアレイからの出
力を無効にする論理値のバッファ制御信号を出力し、前
記分周クロック信号または前記クロック信号が前記コン
フィグレーションに基づいて正常に生成されていること
を検出したときに前記フィールドプログラマブルアレイ
からの出力を有効にする論理値のバッファ制御信号を出
力するクロック断検出工程と、前記バッファ制御信号の
論理値に応じて前記フィールドプログラマブルアレイか
らの出力を外部に伝達するか否かを選択するゲート工程
を有することを特徴とする出力保護方法に存する。また
本発明の請求項13に記載の要旨は、外部から与えられ
るクロック信号に基づいてROMに保持されている所定
の回路データを読み込んで自己の内部回路をコンフィグ
レーションするフィールドプログラマブルアレイの動作
を監視し、フィールドプログラマブルアレイの異常動作
時にフィールドプログラマブルアレイからの出力を無効
にする出力保護方法であって、前記フィールドプログラ
マブルアレイ内にコンフィグレーションされた回路で構
成され、前記クロック信号を所定の分周比に基づいて分
周した分周クロック信号を生成するクロック分周工程
と、前記フィールドプログラマブルアレイが正常にコン
フィグレーションされて動作しているか否かを、前記分
周クロック信号の信号状態に基づいて監視すると共に、
前記分周クロック信号または前記クロック信号に基づい
てクロック断を検出したときに前記フィールドプログラ
マブルアレイからの出力を無効にする論理値のバッファ
制御信号を出力し、前記分周クロック信号または前記ク
ロック信号が前記コンフィグレーションに基づいて正常
に生成されていることを検出したときに前記フィールド
プログラマブルアレイからの出力を有効にする論理値の
バッファ制御信号を出力するクロック断検出工程と、前
記バッファ制御信号の論理値に応じて前記フィールドプ
ログラマブルアレイからの出力を外部に伝達するか否か
を選択するゲート工程を有することを特徴とする出力保
護方法に存する。また本発明の請求項14に記載の要旨
は、フィールドプログラマブルアレイの動作を監視し、
フィールドプログラマブルアレイの異常動作時にフィー
ルドプログラマブルアレイからの出力を無効にする出力
保護方法であって、前記フィールドプログラマブルアレ
イ内にコンフィグレーションされた回路で構成される監
視対象工程と、前記フィールドプログラマブルアレイが
正常にコンフィグレーションされて動作しているか否か
を、前記監視対象工程が生成する信号に基づいて監視す
ると共に、当該監視対象工程が生成する信号が所望の信
号と異なっていることを検出したときに前記フィールド
プログラマブルアレイからの出力を無効にする論理値の
バッファ制御信号を出力し、当該監視対象工程が生成す
る信号が所望の信号と一致することを検出したときに前
記フィールドプログラマブルアレイからの出力を有効に
する論理値のバッファ制御信号を出力する監視工程と、
前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート工程を有することを特徴とする出力
保護方法に存する。また本発明の請求項15に記載の要
旨は、フィールドプログラマブルアレイの動作を監視
し、フィールドプログラマブルアレイの異常動作時にフ
ィールドプログラマブルアレイからの出力を無効にする
出力保護方法であって、前記フィールドプログラマブル
アレイ内にコンフィグレーションされた回路で構成さ
れ、外部から与えられるクロック信号に基づいてクロッ
ク信号を所定の分周比に基づいて分周した分周クロック
信号を生成するクロック分周工程と、前記フィールドプ
ログラマブルアレイが正常にコンフィグレーションされ
て動作しているか否かを、前記分周クロック信号の信号
状態に基づいて監視すると共に、前記分周クロック信号
または前記クロック信号に基づいてクロック断を検出し
たときに前記フィールドプログラマブルアレイからの出
力を無効にする論理値のバッファ制御信号を出力し、前
記分周クロック信号または前記クロック信号が前記コン
フィグレーションに基づいて正常に生成されていること
を検出したときに前記フィールドプログラマブルアレイ
からの出力を有効にする論理値のバッファ制御信号を出
力するクロック断検出工程と、前記バッファ制御信号の
論理値に応じて前記フィールドプログラマブルアレイか
らの出力を外部に伝達するか否かを選択するゲート工程
を有することを特徴とする出力保護方法に存する。また
本発明の請求項16に記載の要旨は、フィールドプログ
ラマブルアレイの動作を監視し、フィールドプログラマ
ブルアレイの異常動作時にフィールドプログラマブルア
レイからの出力を無効にする出力保護方法であって、前
記フィールドプログラマブルアレイ内にコンフィグレー
ションされた回路で構成され、外部から与えられるクロ
ック信号に基づいてクロック信号を所定の分周比に基づ
いて分周した分周クロック信号を生成するクロック分周
回路と、前記フィールドプログラマブルアレイが正常に
コンフィグレーションされて動作しているか否かを、前
記分周クロック信号の信号状態に基づいて監視すると共
に、前記分周クロック信号または前記クロック信号に基
づいてクロック断を検出したときに前記フィールドプロ
グラマブルアレイからの出力を無効にする論理値のバッ
ファ制御信号を出力し、前記分周クロック信号または前
記クロック信号が前記コンフィグレーションに基づいて
正常に生成されていることを検出したときに前記フィー
ルドプログラマブルアレイからの出力を有効にする論理
値のバッファ制御信号を出力するクロック断検出回路
と、前記バッファ制御信号の論理値に応じて前記フィー
ルドプログラマブルアレイからの出力を外部に伝達する
か否かを選択するスリーステートバッファを有すること
を特徴とする出力保護方法に存する。
The gist of the present invention resides in that a predetermined circuit data stored in a memory means is read based on a clock signal supplied from the outside to configure its own internal circuit. An output protection device that monitors the operation of the field programmable array to be adjusted and invalidates the output from the field programmable array when the field programmable array abnormally operates, and is configured by a circuit configured in the field programmable array. The monitoring target means, and whether or not the field programmable array is normally configured and operating is monitored based on a signal generated by the monitoring target means,
When detecting that the signal generated by the monitoring target means is different from a desired signal, the monitoring target means outputs a buffer control signal of a logical value for invalidating the output from the field programmable array, and the monitoring target means generates the buffer control signal. Monitoring means for outputting a buffer control signal having a logical value for enabling an output from the field programmable array when detecting that the signal matches a desired signal; and An output protection device has a gate means for selecting whether or not to transmit an output from a programmable array to the outside. The gist of claim 2 of the present invention resides in that the operation of a field programmable array for reading predetermined circuit data held in a memory means and configuring its own internal circuit based on an externally applied clock signal is described. An output protection device for monitoring and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed. The output protection device is configured by a circuit configured in the field programmable array and divides the clock signal by a predetermined frequency. A clock frequency dividing means for generating a frequency-divided clock signal divided based on the ratio; and determining whether or not the field programmable array is normally configured and operating based on a signal state of the frequency-divided clock signal. Monitor and And outputting a buffer control signal having a logical value for invalidating an output from the field programmable array when a clock loss is detected based on the clock signal or the clock signal, wherein the divided clock signal or the clock signal is the configuration signal. Clock disconnection detection means for outputting a buffer control signal having a logical value for enabling an output from the field programmable array when it is detected that the buffer control signal is normally generated, based on the logical value of the buffer control signal. A gate means for selecting whether or not to transmit an output from the field programmable array to the outside. The gist of claim 3 of the present invention is to monitor the operation of a field programmable array that configures its own internal circuit by reading predetermined circuit data held in a ROM based on an externally applied clock signal. And an output protection device for invalidating an output from the field programmable array during abnormal operation of the field programmable array, the output protection device comprising a circuit configured in the field programmable array, and converting the clock signal into a predetermined frequency division ratio. A clock frequency divider circuit for generating a frequency-divided clock signal that is frequency-divided based on the clock signal, and monitoring whether the field programmable array is normally configured and operating based on the signal state of the frequency-divided clock signal. And the divided clock Or a buffer control signal of a logical value for invalidating the output from the field programmable array when detecting a clock loss based on the clock signal or the clock signal, and the divided clock signal or the clock signal is output to the configuration. A clock disconnection detection circuit that outputs a buffer control signal having a logical value that enables an output from the field programmable array when it is detected that the buffer control signal is normally generated, based on the logical value of the buffer control signal. An output protection device includes a three-state buffer for selecting whether to transmit an output from the field programmable array to the outside. According to another aspect of the present invention, there is provided an output protection device for monitoring an operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed. A monitoring target means configured by a circuit configured therein, and whether or not the field programmable array is normally configured and operating is monitored based on a signal generated by the monitoring target means,
When detecting that the signal generated by the monitoring target means is different from a desired signal, the monitoring target means outputs a buffer control signal of a logical value for invalidating the output from the field programmable array, and the monitoring target means generates the buffer control signal. Monitoring means for outputting a buffer control signal having a logical value for enabling an output from the field programmable array when detecting that the signal matches a desired signal; and An output protection device has a gate means for selecting whether or not to transmit an output from a programmable array to the outside. According to another aspect of the present invention, there is provided an output protection device for monitoring an operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed. A clock frequency dividing unit configured to generate a frequency-divided clock signal obtained by dividing a clock signal based on a predetermined frequency division ratio based on an externally supplied clock signal; Whether or not the array is configured and operating normally is monitored based on the signal state of the divided clock signal, and when a clock loss is detected based on the divided clock signal or the clock signal. The field programmable array A buffer control signal of a logical value that invalidates the output from the device and outputs the divided clock signal or the clock signal from the field programmable array when detecting that the clock signal is normally generated based on the configuration. And a gate for selecting whether to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. Means for protecting an output. Claim 6 of the present invention
The gist of the above is an output protection device that monitors the operation of the field programmable array and invalidates the output from the field programmable array when the field programmable array abnormally operates, wherein the circuit is configured in the field programmable array. A clock frequency divider circuit for generating a frequency-divided clock signal obtained by dividing a clock signal based on a predetermined frequency division ratio based on an externally applied clock signal, and the field programmable array is configured normally. Whether the divided programmable clock signal is operating based on the signal state of the divided clock signal and output from the field programmable array when a clock loss is detected based on the divided clock signal or the clock signal. Disable Output a buffer control signal having a logical value, and enable the output from the field programmable array when detecting that the divided clock signal or the clock signal is normally generated based on the configuration. A clock disconnection detection circuit that outputs a buffer control signal of a logical value, and a three-state buffer that selects whether to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. The feature resides in an output protection device. The gist of claim 7 of the present invention is:
The output protection device according to any one of claims 1 to 6, wherein the divided clock signal is variable in a predetermined frequency range by changing the circuit data. According to another aspect of the present invention, the clock disconnection detection circuit includes: a counter that starts counting in response to the input of the divided clock signal; a register that stores a count value of the counter; A register capable of setting and clearing a timer value by software from outside the array, a comparator for comparing the count value with the timer value, and a clock disconnection signal from the outside of the field programmable array set by a signal from the comparator The output protection device according to any one of claims 1 to 7, further comprising a set-reset flip-flop that is reset by (1). The gist of claim 9 of the present invention is that the register and the register are configured to be accessible from the outside of the field programmable array, and the register has a count value obtained from the counter. 9. The output protection device according to claim 8, wherein reading and clearing are possible, and the register is capable of setting and clearing the timer value. The gist of claim 10 of the present invention is that the count value of the register is read out at a constant interval by the software, and when the count value is different from the count value read immediately before, the clock signal is normally output. 9. The output according to claim 8, wherein it is assumed that the counter is input and the counter is operating, and if the count value is the same as the count value read immediately before, the clock signal is recognized as abnormal. Exists in protective equipment. According to another aspect of the present invention, an operation of a field programmable array for reading predetermined circuit data held in a memory means and configuring its own internal circuit based on an externally applied clock signal is described. What is claimed is: 1. An output protection method for monitoring and invalidating an output from a field programmable array during abnormal operation of a field programmable array, comprising: a monitoring target process including a circuit configured in the field programmable array; Whether the array is configured and operating normally is monitored based on the signal generated by the monitoring target process, and it is detected that the signal generated by the monitoring target process is different from a desired signal. When you feel A buffer control signal of a logical value for invalidating the output from the programmable array is output, and when it is detected that the signal generated by the monitoring target process matches a desired signal, the output from the field programmable array is enabled. A monitoring step of outputting a buffer control signal of a logical value to be performed, and a gating step of selecting whether to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. The output protection method. The gist of the twelfth aspect of the present invention is an operation of a field programmable array that reads predetermined circuit data held in a memory means based on a clock signal supplied from the outside and configures its own internal circuit. An output protection method for monitoring and invalidating an output from a field programmable array during abnormal operation of the field programmable array, comprising a circuit configured in the field programmable array, wherein the clock signal is divided by a predetermined frequency. A clock dividing step of generating a divided clock signal divided based on the ratio, and determining whether or not the field programmable array is normally configured and operating based on a signal state of the divided clock signal. Monitor and A buffer control signal having a logical value for invalidating an output from the field programmable array when a clock loss is detected based on the clock signal or the clock signal. A clock disconnection detecting step of outputting a buffer control signal having a logical value that enables an output from the field programmable array when it is detected that the buffer control signal is normally generated, based on the logical value of the buffer control signal. And a gate step of selecting whether to transmit an output from the field programmable array to the outside in accordance with the output. The gist of claim 13 of the present invention is to monitor the operation of a field programmable array which reads predetermined circuit data held in a ROM based on an externally supplied clock signal and configures its own internal circuit. And an output protection method for invalidating an output from the field programmable array during abnormal operation of the field programmable array, comprising a circuit configured in the field programmable array, wherein the clock signal has a predetermined dividing ratio. A clock dividing step of generating a divided clock signal divided on the basis of the above, and monitoring whether or not the field programmable array is normally configured and operating based on the signal state of the divided clock signal Along with
A buffer control signal of a logical value that invalidates an output from the field programmable array when detecting a clock break based on the divided clock signal or the clock signal, wherein the divided clock signal or the clock signal is A clock disconnection detecting step of outputting a buffer control signal having a logical value that enables an output from the field programmable array when it is detected that the buffer control signal is normally generated based on the configuration; and a logic of the buffer control signal. An output protection method characterized by having a gate step of selecting whether or not to transmit an output from the field programmable array to the outside according to a value. The gist of claim 14 of the present invention is to monitor the operation of the field programmable array,
An output protection method for invalidating an output from a field programmable array during abnormal operation of the field programmable array, wherein a monitoring target process including a circuit configured in the field programmable array, Whether or not it is configured and operating is monitored based on the signal generated by the monitoring target process, and when it is detected that the signal generated by the monitoring target process is different from a desired signal. A buffer control signal of a logical value for invalidating an output from the field programmable array is output, and when it is detected that a signal generated by the monitoring target process matches a desired signal, an output from the field programmable array is output. The logical value to enable A monitoring step of outputting § control signal,
An output protection method includes a gate step of selecting whether or not to transmit an output from the field programmable array to the outside according to a logical value of the buffer control signal. The gist of claim 15 of the present invention is an output protection method for monitoring an operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed. A clock dividing step of generating a divided clock signal obtained by dividing a clock signal based on a predetermined dividing ratio based on an externally supplied clock signal; and Whether or not the array is configured and operating normally is monitored based on the signal state of the divided clock signal, and when a clock loss is detected based on the divided clock signal or the clock signal. The field programmable B) outputting a buffer control signal of a logical value for invalidating the output from the a.b., and detecting that the divided clock signal or the clock signal is normally generated based on the configuration. And a clock disconnection detecting step of outputting a buffer control signal having a logical value for enabling an output from the CPU, and selecting whether or not to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. An output protection method characterized by having a gate step. The gist of claim 16 of the present invention is an output protection method for monitoring operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed. A clock divider circuit configured to generate a divided clock signal obtained by dividing a clock signal based on a predetermined dividing ratio based on an externally supplied clock signal; Whether or not the array is configured and operating normally is monitored based on the signal state of the divided clock signal, and when a clock loss is detected based on the divided clock signal or the clock signal. The field programmable A buffer control signal of a logical value for invalidating the output from the A, and when it is detected that the divided clock signal or the clock signal is normally generated based on the configuration, the field programmable array And a clock disconnection detection circuit that outputs a buffer control signal having a logical value that enables an output from the device, and selects whether or not to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. An output protection method characterized by having a three-state buffer.

【0007】[0007]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。図1は、本発明による第1
実施形態の構成を示すブロック図である。図1に示す本
発明の出力保護装置は、コンピュータ、計算機等のシス
テムの制御装置において、制御装置内の各々の機能を有
したボードにFPGA2を利用して、そのボードからデ
ータ等の信号を出力する場合、FPGA2の起動時や障
害が発生した時にその出力信号を制御するために、コン
ピュータ、計算機等のシステムの制御装置等の外部から
与えられるクロック信号9に基づいてメモリ手段(RO
M)1に保持されている所定の回路データを読み込んで
自己の内部回路をコンフィグレーションするFPGA2
の動作を監視し、FPGA2の異常動作時にFPGA2
からの出力を無効にする機能を有し、クロック分周回路
(監視対象手段、クロック分周手段)4、クロック断検
出回路(監視手段、クロック断検出手段)5、スリース
テートバッファ(3STバッファ、ゲート手段)3を有
し、本発明の出力保護方法を実行する。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 shows a first embodiment according to the present invention.
FIG. 2 is a block diagram illustrating a configuration of the embodiment. The output protection device of the present invention shown in FIG. 1 is a control device for a system such as a computer and a computer, which outputs a signal such as data from the board using the FPGA 2 to a board having each function in the control device. In order to control the output signal when the FPGA 2 is started or when a failure occurs, a memory means (RO) is provided based on a clock signal 9 externally supplied from a control device of a system such as a computer or a computer.
M) FPGA 2 that reads predetermined circuit data held in 1 and configures its own internal circuit
The operation of the FPGA 2 is monitored when the operation of the FPGA 2 is abnormal.
A clock divider circuit (monitoring means, clock dividing means) 4, a clock disconnection detecting circuit (monitoring means, clock disconnection detecting means) 5, a three-state buffer (3ST buffer, (Gate means) 3 for executing the output protection method of the present invention.

【0008】クロック分周回路(監視対象手段、クロッ
ク分周手段)4は、FPGA2内にコンフィグレーショ
ンされた回路で構成され、クロック信号9を所定の分周
比に基づいて分周した分周クロック信号6を生成する。
The clock frequency dividing circuit (monitoring means, clock frequency dividing means) 4 is constituted by a circuit configured in the FPGA 2, and is a frequency-divided clock obtained by dividing the clock signal 9 based on a predetermined frequency dividing ratio. Generate signal 6.

【0009】本実施形態では、メモリ手段1に保持され
ている所定の回路データを変更することにより、分周ク
ロック信号6を、所定の周波数範囲で可変している。
In this embodiment, the frequency-divided clock signal 6 is varied in a predetermined frequency range by changing predetermined circuit data held in the memory means 1.

【0010】クロック断検出回路(監視手段、クロック
断検出手段)5は、FPGA2が正常にコンフィグレー
ションされて動作しているか否かを、分周クロック信号
6の信号状態に基づいて監視すると共に、分周クロック
信号6またはクロック信号9に基づいてクロック断を検
出したときにFPGA2からの出力を無効にする論理値
のバッファ制御信号7を出力し、分周クロック信号6ま
たはクロック信号9がコンフィグレーションに基づいて
正常に生成されていることを検出したときにFPGA2
からの出力を有効にする論理値のバッファ制御信号7を
出力する。
A clock loss detection circuit (monitoring means, clock loss detection means) 5 monitors whether or not the FPGA 2 is normally configured and operating based on the signal state of the divided clock signal 6, and When a clock loss is detected based on the divided clock signal 6 or the clock signal 9, a buffer control signal 7 having a logical value for invalidating the output from the FPGA 2 is output, and the divided clock signal 6 or the clock signal 9 is configured. FPGA2 is detected when it is generated normally based on
And outputs a buffer control signal 7 of a logical value for validating the output from.

【0011】このようなハードウェア構成のクロック断
検出回路(監視手段、クロック断検出手段)5を用いる
ことにより、装置内のバスへのデータ出力を制御するこ
とができる。また操作ミスにより、ROM1を実装せず
に起動させた場合にも装置内のバス上のデータを破壊し
ないようにできる。
By using the clock disconnection detecting circuit (monitoring means, clock disconnection detecting means) 5 having such a hardware configuration, data output to a bus in the apparatus can be controlled. Further, even if the operation is started without mounting the ROM 1 due to an operation error, data on the bus in the apparatus can be prevented from being destroyed.

【0012】スリーステートバッファ(3STバッフ
ァ、ゲート手段)3は、バッファ制御信号7の論理値に
応じてFPGA2からの出力を外部に伝達するか否かを
選択する。
The three-state buffer (3ST buffer, gate means) 3 selects whether or not to transmit the output from the FPGA 2 to the outside according to the logical value of the buffer control signal 7.

【0013】クロック断検出回路(監視手段、クロック
断検出手段)5は、カウンタ104、レジスタ101、
レジスタ103、比較器102、セットリセットフリッ
プフロップ105を備えている。カウンタ104は、分
周クロック信号6の入力に応じてカウントを開始する。
The clock loss detection circuit (monitoring means, clock loss detection means) 5 includes a counter 104, a register 101,
A register 103, a comparator 102, and a set / reset flip-flop 105 are provided. The counter 104 starts counting in response to the input of the divided clock signal 6.

【0014】レジスタ101は、カウンタ104のカウ
ント値を格納する。レジスタ103は、FPGA2の外
部よりソフトウェアによりタイマ値を設定およびクリア
できる。レジスタ101とレジスタ103は、FPGA
2の外部よりアクセスが可能な構成となっており、レジ
スタ101からはカウンタ104より得られるカウント
値を読み込みおよびクリア可能である。レジスタ103
は、タイマ値の設定およびクリアが可能である。
The register 101 stores the count value of the counter 104. The register 103 can set and clear a timer value from outside the FPGA 2 by software. Register 101 and register 103 are FPGA
2 is configured to be accessible from the outside, and the count value obtained from the counter 104 can be read and cleared from the register 101. Register 103
Can set and clear the timer value.

【0015】比較器102は、レジスタ101とレジス
タ103の値を比較する。セットリセットフリップフロ
ップ105は、比較器102からの信号によりセットさ
れ、FPGA2外部からのクロック断信号によりリセッ
トされる。このようにタイマ値を設定することにより、
任意にデータ出力タイミングを可変とすることができ
る。
The comparator 102 compares the values of the registers 101 and 103. The set reset flip-flop 105 is set by a signal from the comparator 102 and is reset by a clock cutoff signal from outside the FPGA 2. By setting the timer value in this way,
The data output timing can be made arbitrarily variable.

【0016】このようなハードウェア構成とすることに
より、クロック断検出回路(監視手段、クロック断検出
手段)5は、ソフトウェアにて一定の間隔で読み出され
たレジスタ101のカウント値が、直前に読み出したカ
ウント値と異なっているときにクロック信号9が正常に
入力されレジスタ101が動作しているものとみなし、
カウント値が直前に読み出したカウント値と同じであれ
ばクロック信号9が異常であると認識する。
By adopting such a hardware configuration, the clock loss detection circuit (monitoring means, clock loss detection means) 5 is capable of reading the count value of the register 101 read out at regular intervals by software from the last time. When the count value is different from the read count value, it is considered that the clock signal 9 is normally input and the register 101 is operating.
If the count value is the same as the count value read immediately before, it is recognized that the clock signal 9 is abnormal.

【0017】前述のように、FPGA2を装置内のバス
インターフェースとして使用する場合に、FPGA2の
コンフィグレーション(回路データのロード)中に出力
データが不安定にならないように、FPGA2が起動し
たかどうかをリトリガブル・モノステーブル・マルチバ
イブレータ13によるクロック断検出回路(監視手段、
クロック断検出手段)5を利用して検出し、出力データ
を制御することにより、装置内のバス上のデータに影響
を及ぼすことを防止して装置のシステムダウンを防ぐも
のである。
As described above, when the FPGA 2 is used as a bus interface in the device, it is determined whether or not the FPGA 2 has been started so that output data does not become unstable during the configuration (loading of circuit data) of the FPGA 2. Clock disconnection detection circuit (monitoring means, retriggerable monostable multivibrator 13)
By detecting and controlling the output data using the clock disconnection detecting means 5, it is possible to prevent the data on the bus in the device from being affected and prevent the system from being down.

【0018】また、運用中においても分周クロック信号
6またはクロック信号9の断時にFPGA2から装置内
のバスにデータが出力されないように制御してバス上の
データを破壊しないようにするものである。
Further, even during operation, control is performed so that data is not output from the FPGA 2 to the bus in the device when the divided clock signal 6 or the clock signal 9 is cut off, so that data on the bus is not destroyed. .

【0019】図1において、FPGA2がコンフィグレ
ーション中にはクロック断検出回路(監視手段、クロッ
ク断検出手段)5からクロック断検出信号が論理値Hの
出力となり、スリーステートバッファ3はディセーブル
状態となるため、FPGA2から装置内のバスにデータ
出力は禁止される。これにより、装置内のバスへのデー
タ出力を制御することができる。また操作ミスにより、
ROM1を実装せずに起動させた場合にも装置内のバス
上のデータを破壊しないようにできる。
In FIG. 1, while the FPGA 2 is being configured, a clock loss detection signal from the clock loss detection circuit (monitoring means, clock loss detection means) 5 outputs a logical value H, and the three-state buffer 3 is disabled. Therefore, data output from the FPGA 2 to the bus in the device is prohibited. Thus, data output to the bus in the device can be controlled. Also, due to an operation mistake,
Even when the system is started without mounting the ROM 1, data on the bus in the apparatus can be prevented from being destroyed.

【0020】FPGA2のコンフィグレーションが完了
すると、FPGA2内にクロック分周回路4が形成さ
れ、クロック断検出回路(監視手段、クロック断検出手
段)5にクロック信号9が供給される。クロック断検出
回路(監視手段、クロック断検出手段)5にクロック信
号9が供給されると、クロック断検出信号が論理値Lと
なり、スリーステートバッファ3はイネーブル状態とな
るためFPGA2から装置内のバスへのデータ出力が許
可される。
When the configuration of the FPGA 2 is completed, a clock frequency dividing circuit 4 is formed in the FPGA 2 and a clock signal 9 is supplied to a clock disconnection detecting circuit (monitoring means, clock disconnection detecting means) 5. When the clock signal 9 is supplied to the clock disconnection detecting circuit (monitoring means, clock disconnection detecting means) 5, the clock disconnection detection signal becomes a logical value L, and the three-state buffer 3 is enabled, so that the bus from the FPGA 2 to the internal bus Data output to is allowed.

【0021】また、運用中に何らかの原因により分周ク
ロック信号6またはクロック信号9が断になった場合、
クロック断検出回路(監視手段、クロック断検出手段)
5はクロック断であると認識してクロック断検出信号が
論理値Hとなり、スリーステートバッファ3はディセー
ブル状態となるため、FPGA2から装置内のバスへの
データ出力を禁止する。これにより、装置内のバスへの
データ出力を制御することができる。また操作ミスによ
り、ROM1を実装せずに起動させた場合にも装置内の
バス上のデータを破壊しないようにできる。
If the divided clock signal 6 or the clock signal 9 is interrupted for some reason during operation,
Clock loss detection circuit (monitoring means, clock loss detection means)
5 recognizes that the clock has been cut off, the clock cutoff detection signal becomes a logical value H, and the three-state buffer 3 is disabled, so that data output from the FPGA 2 to the bus in the device is prohibited. Thus, data output to the bus in the device can be controlled. Further, even if the operation is started without mounting the ROM 1 due to an operation error, data on the bus in the apparatus can be prevented from being destroyed.

【0022】出力保護方法は、コンピュータ、計算機等
のシステムの制御装置等の外部から与えられるクロック
信号9に基づいてROM1に保持されている所定の回路
データを読み込んで自己の内部回路をコンフィグレーシ
ョンするFPGA2の動作を監視し、FPGA2の異常
動作時にFPGA2からの出力を無効にする出力保護方
法であって、クロック分周回路(監視対象手段、クロッ
ク分周手段)4が実行するクロック分周工程、クロック
断検出回路(監視手段、クロック断検出手段)5が実行
するクロック断検出工程、スリーステートバッファ(3
STバッファ、ゲート手段)3が実行するゲート工程を
有する。
The output protection method configures its own internal circuit by reading predetermined circuit data held in the ROM 1 based on a clock signal 9 externally supplied from a control device of a system such as a computer or a computer. An output protection method for monitoring the operation of the FPGA 2 and invalidating the output from the FPGA 2 when the FPGA 2 operates abnormally, comprising: a clock frequency dividing step executed by a clock frequency dividing circuit (monitoring target means, clock frequency dividing means) 4; The clock loss detection step executed by the clock loss detection circuit (monitoring means, clock loss detection means) 5, the three-state buffer (3
(ST buffer, gate means) 3.

【0023】クロック分周工程は、FPGA2内にコン
フィグレーションされた回路で構成され、クロック信号
9を所定の分周比に基づいて分周した分周クロック信号
6を生成する。クロック断検出工程は、FPGA2が正
常にコンフィグレーションされて動作しているか否か
を、分周クロック信号6の信号状態に基づいて監視する
と共に、分周クロック信号6またはクロック信号9に基
づいてクロック断を検出したときにFPGA2からの出
力を無効にする論理値のバッファ制御信号7を出力し、
分周クロック信号6またはクロック信号9がコンフィグ
レーションに基づいて正常に生成されていることを検出
したときにFPGA2からの出力を有効にする論理値の
バッファ制御信号7を出力する。ゲート工程は、バッフ
ァ制御信号7の論理値に応じてFPGA2からの出力を
外部に伝達するか否かを選択する。
The clock frequency dividing step is constituted by a circuit configured in the FPGA 2, and generates a frequency-divided clock signal 6 obtained by frequency-dividing the clock signal 9 based on a predetermined frequency dividing ratio. The clock disconnection detection step monitors whether or not the FPGA 2 is normally configured and operating based on the signal state of the divided clock signal 6, and performs a clock based on the divided clock signal 6 or the clock signal 9. When a disconnection is detected, a buffer control signal 7 of a logical value for invalidating the output from the FPGA 2 is output,
When detecting that the frequency-divided clock signal 6 or the clock signal 9 is normally generated based on the configuration, a buffer control signal 7 having a logical value for enabling the output from the FPGA 2 is output. The gate step selects whether or not to transmit the output from the FPGA 2 to the outside according to the logical value of the buffer control signal 7.

【0024】以下、本発明の第1及び第2実施形態を、
図面に基づいて詳細に説明する。
Hereinafter, the first and second embodiments of the present invention will be described.
This will be described in detail with reference to the drawings.

【0025】(第1実施形態)図1は、本発明による第
1実施形態の構成を示すブロック図である。図1を参照
すると、FPGA2の出力保護装置及びFPGA2の出
力保護方法は、FPGA2起動時にFPGA2の回路を
構成する(コンフィグレーションする)データが含まれ
るROM1と、ROM1の回路データを読み込み内部回
路を構築するFPGA2と、FPGA2からの出力デー
タを制御するスリーステートバッファ3と、FPGA2
内部に構成(コンフィグレーション)されFPGA2に
入力されるクロック信号9を分周するクロック分周回路
4と、クロック分周回路4で分周された分周クロック信
号6の状態を監視をすることによりFPGA2が正常に
起動しているか否かを判断するクロック断検出回路(監
視手段、クロック断検出手段)5を備えている。このよ
うなハードウェア構成のクロック断検出回路(監視手
段、クロック断検出手段)5を用いることにより、装置
内のバスへのデータ出力を制御することができる。また
操作ミスにより、ROM1を実装せずに起動させた場合
にも装置内のバス上のデータを破壊しないようにでき
る。
(First Embodiment) FIG. 1 is a block diagram showing a configuration of a first embodiment according to the present invention. Referring to FIG. 1, the output protection device of the FPGA 2 and the output protection method of the FPGA 2 include a ROM 1 including data for configuring (configuring) a circuit of the FPGA 2 when the FPGA 2 is activated, and a circuit data read from the ROM 1 to construct an internal circuit. An FPGA 2, a three-state buffer 3 for controlling output data from the FPGA 2,
By monitoring the state of a clock frequency dividing circuit 4 which is internally configured (configured) and divides a clock signal 9 inputted to the FPGA 2, and a frequency-divided clock signal 6 frequency-divided by the clock frequency dividing circuit 4. A clock disconnection detecting circuit (monitoring unit, clock disconnection detecting unit) 5 for determining whether or not the FPGA 2 is operating normally is provided. By using the clock disconnection detection circuit (monitoring means, clock disconnection detection means) 5 having such a hardware configuration, data output to a bus in the device can be controlled. Further, even if the operation is started without mounting the ROM 1 due to an operation error, data on the bus in the apparatus can be prevented from being destroyed.

【0026】図2は、図1のFPGA2の出力保護装置
に設けられたクロック断検出回路(監視手段、クロック
断検出手段)5の一実施形態の構成を示すブロック図で
ある。クロック断検出回路(監視手段、クロック断検出
手段)5は、抵抗10(図中のR)と、パルス伸張の時
定数を決めるコンデンサ11(図中のC)と、同じくパ
ルス伸張の時定数を決める抵抗12と、リトリガブル・
モノステーブル・マルチバイブレータ13(以下マルチ
バイブレータ)とを備えている。
FIG. 2 is a block diagram showing the configuration of an embodiment of the clock disconnection detecting circuit (monitoring means, clock disconnection detecting means) 5 provided in the output protection device of the FPGA 2 in FIG. The clock loss detection circuit (monitoring means, clock loss detection means) 5 includes a resistor 10 (R in the figure), a capacitor 11 (C in the figure) for determining the time constant of pulse expansion, and a time constant of pulse expansion. Resistor 12 and retriggerable
A monostable multivibrator 13 (hereinafter, multivibrator) is provided.

【0027】次に、動作について図を参照して説明す
る。図3は、図1のFPGA2の出力保護装置の動作を
示すタイミングチャートである。分周クロック信号6は
FPGA2内部に構成(コンフィグレーション)された
クロック分周回路4によって分周された信号であり、リ
セット信号8は本実施形態の出力保護装置の構成回路全
体をリセット(初期化)する信号であり、バッファ制御
信号7はクロック断検出回路(監視手段、クロック断検
出手段)5のクロック断検出信号である。
Next, the operation will be described with reference to the drawings. FIG. 3 is a timing chart showing the operation of the output protection device of the FPGA 2 of FIG. The frequency-divided clock signal 6 is a signal frequency-divided by the clock frequency dividing circuit 4 configured (configured) inside the FPGA 2, and the reset signal 8 resets (initializes) the entire configuration circuit of the output protection device of the present embodiment. The buffer control signal 7 is a clock loss detection signal of the clock loss detection circuit (monitoring means, clock loss detection means) 5.

【0028】図3は、図1のFPGA2の出力保護装置
の動作を示すタイミングチャートである。図3におい
て、時刻T0のタイミングでリセット信号8に応じて本
実施形態の出力保護装置のリセットが解除される。リセ
ットが解除されると、FPGA2はROM1からデータ
を読み込み、FPGA2内の回路を構成するコンフィグ
レーションを実行する。従って、この間のFPGA2の
状態は起動中になり、分周クロック信号6も出力され
ず、これに応じて、クロック断検出回路(監視手段、ク
ロック断検出手段)5は、分周クロック信号6またはク
ロック信号9に基づいてクロック断を検出しバッファ制
御信号7論理値Hを出力してスリーステートバッファ3
の出力を禁止し(図中T0における出力禁止)、その結
果、スリーステートバッファ3はディセーブル状態とな
る。このようなハードウェア構成のクロック断検出回路
(監視手段、クロック断検出手段)5を用いることによ
り、装置内のバスへのデータ出力を制御することができ
る。また操作ミスにより、ROM1を実装せずに起動さ
せた場合にも装置内のバス上のデータを破壊しないよう
にできる。
FIG. 3 is a timing chart showing the operation of the output protection device of the FPGA 2 of FIG. In FIG. 3, the reset of the output protection device of the present embodiment is released in response to the reset signal 8 at the timing of time T0. When the reset is released, the FPGA 2 reads data from the ROM 1 and executes a configuration for configuring a circuit in the FPGA 2. Accordingly, the state of the FPGA 2 during this time is in the activated state, the divided clock signal 6 is not output, and accordingly, the clock disconnection detecting circuit (monitoring means, clock disconnection detecting means) 5 causes the divided clock signal 6 or The three-state buffer 3 detects the clock disconnection based on the clock signal 9 and outputs a logical value H of the buffer control signal 7.
(Inhibition of output at T0 in the figure), and as a result, the three-state buffer 3 is disabled. By using the clock disconnection detection circuit (monitoring means, clock disconnection detection means) 5 having such a hardware configuration, data output to a bus in the device can be controlled. Further, even if the operation is started without mounting the ROM 1 due to an operation error, data on the bus in the apparatus can be prevented from being destroyed.

【0029】次に、時刻T1では、FPGA2の回路構
成が完了し(コンフィグレーションが完了し)、クロッ
ク分周回路4が正常に動作して分周クロック信号6が出
力される。これにより、クロック断検出回路(監視手
段、クロック断検出手段)5はクロック断の検出を解除
しバッファ制御信号7論理値Lを出力して、スリーステ
ートバッファ3の出力を許可し(図中T1における出力
許可)、その結果、スリーステートバッファ3はイネー
ブル状態となる。
Next, at time T1, the circuit configuration of the FPGA 2 is completed (configuration is completed), the clock frequency dividing circuit 4 operates normally, and the frequency-divided clock signal 6 is output. As a result, the clock loss detection circuit (monitoring means, clock loss detection means) 5 releases the detection of the clock loss, outputs the logical value L of the buffer control signal 7, and permits the output of the three-state buffer 3 (T1 in the figure). As a result, the three-state buffer 3 is enabled.

【0030】この時、クロック分周回路4が正常に動作
し、クロック断検出回路(監視手段、クロック断検出手
段)5がクロック断を検出していないので、FPGA2
の状態は正常動作となる(図中T1における正常動
作)。
At this time, since the clock frequency dividing circuit 4 operates normally and the clock loss detecting circuit (monitoring means, clock loss detecting means) 5 does not detect the clock loss, the FPGA 2
Is normal operation (normal operation at T1 in the figure).

【0031】クロック断検出回路(監視手段、クロック
断検出手段)5では、分周クロック信号6の立ち下がり
クロックに応じて、マルチバイブレータ13がコンデン
サ11と抵抗12に決定される時定数の時間分カウント
を始める。しかし、カウントアップする前に分周クロッ
ク信号6の立ち下がりに基づいてカウントを初期化して
(時刻T2、T3)、クロック断の検出を監視してい
る。ここで、コンデンサ11と抵抗12で決定される時
定数による時間は、分周クロック信号6の1クロックよ
り長い時間に設定する。
In the clock disconnection detecting circuit (monitoring means, clock disconnection detecting means) 5, the multivibrator 13 responds to the falling clock of the divided clock signal 6 by a time constant determined by the capacitor 11 and the resistor 12. Start counting. However, before counting up, the count is initialized based on the fall of the divided clock signal 6 (time T2, T3), and the detection of the clock break is monitored. Here, the time based on the time constant determined by the capacitor 11 and the resistor 12 is set to a time longer than one clock of the divided clock signal 6.

【0032】次に、正常動作中に何らかの原因により時
刻T4にクロック信号9が断、またはFPGA2の内部
回路破壊により分周クロック信号6が断となった場合、
クロック断検出回路(監視手段、クロック断検出手段)
5は、時刻T4からコンデンサ11と抵抗12で決定さ
れる時定数後の時刻T5にクロック断を検出し、バッフ
ァ制御信号7として論理値Hを出力し、ディセーブル状
態となったスリーステートバッファ3によりFPGA2
から装置内のバスへのデータ出力を禁止する(図中T5
における出力禁止)。このようなハードウェア構成のク
ロック断検出回路(監視手段、クロック断検出手段)5
を用いることにより、装置内のバスへのデータ出力を制
御することができる。また操作ミスにより、ROM1を
実装せずに起動させた場合にも装置内のバス上のデータ
を破壊しないようにできる。
Next, if the clock signal 9 is cut off at time T4 for some reason during normal operation, or the divided clock signal 6 is cut off due to the destruction of the internal circuit of the FPGA 2,
Clock loss detection circuit (monitoring means, clock loss detection means)
Reference numeral 5 denotes a clock disconnection detected at time T5 after a time constant determined by the capacitor 11 and the resistor 12 from time T4, outputs a logical value H as the buffer control signal 7, and disables the three-state buffer 3 FPGA2
From the device to the bus in the device is prohibited (T5 in the figure).
Output prohibition). Clock loss detection circuit (monitoring means, clock loss detection means) 5 having such a hardware configuration
, It is possible to control data output to a bus in the device. Further, even if the operation is started without mounting the ROM 1 due to an operation error, data on the bus in the apparatus can be prevented from being destroyed.

【0033】T4からT5の間の時間をできるだけ限り
短くするようにコンデンサ11と抵抗12の時定数を決
定することにより、装置内のバスへの影響を防ぐように
する。
By determining the time constant of the capacitor 11 and the resistor 12 so as to make the time between T4 and T5 as short as possible, the influence on the bus in the device is prevented.

【0034】以上説明したように、本実施形態のFPG
A2の出力保護装置及びFPGA2の出力保護方法は、
FPGA2の起動時とFPGA2の異常時(途中で動作
できない状態)において、装置内のバスに対する影響を
防止することができる。
As described above, the FPG of this embodiment
The output protection device of A2 and the output protection method of FPGA2 are as follows.
When the FPGA 2 is activated and when the FPGA 2 is abnormal (in a state where it cannot operate halfway), it is possible to prevent the influence on the bus in the device.

【0035】以上第1実施形態を要約すれば、FPGA
2の正常動作をFPGA2内の回路で構成(コンフィグ
レーション)されるクロック分周回路4が正常に動作し
ていることをクロック断検出回路(監視手段、クロック
断検出手段)5で監視して装置内のバスへのデータ出力
を禁止する制御ができるように構成(コンフィグレーシ
ョン)されているので、FPGA2の起動中、動作停止
時による装置内のバス上のデータ破壊および装置のシス
テムダウンを防止することができる。
The first embodiment can be summarized as follows.
A clock disconnection circuit (monitoring means, clock disconnection detecting means) 5 monitors that a clock frequency dividing circuit 4 configured (configured) by a circuit in the FPGA 2 to operate normally in a normal operation of the FPGA 2. Since the configuration is such that control to prohibit data output to the internal bus can be performed, it is possible to prevent data destruction on the internal bus of the device and a system down of the device due to the stoppage of the operation during the startup of the FPGA 2. be able to.

【0036】また、クロック分周回路4をFPGA2内
にもつために、クロック信号9の周波数が高くなった場
合に、ROM1内のクロック分周回路4のデータを周波
数に応じたものに変更することにより対応するように構
成(コンフィグレーション)されているので、クロック
信号9の周波数が高くなってもハード構成が同一であ
り、容易に実現できる。
In addition, since the clock frequency dividing circuit 4 is provided in the FPGA 2, when the frequency of the clock signal 9 increases, the data of the clock frequency dividing circuit 4 in the ROM 1 is changed to data corresponding to the frequency. Therefore, even if the frequency of the clock signal 9 is increased, the hardware configuration is the same and can be easily realized.

【0037】(第2実施形態)次に、本発明の第2実施
形態について図面を参照して詳細に説明する。
(Second Embodiment) Next, a second embodiment of the present invention will be described in detail with reference to the drawings.

【0038】図4は、本発明のフィールドプログラマブ
ルアレイの出力保護装置の第2実施形態の構成を示すブ
ロック図である。図4を参照すると、FPGA2内にN
AND回路14と、図1のクロック断検出回路(監視手
段、クロック断検出手段)5が構成(コンフィグレーシ
ョン)されている。
FIG. 4 is a block diagram showing the configuration of a second embodiment of the output protection device of the field programmable array according to the present invention. Referring to FIG. 4, N
The AND circuit 14 and the clock loss detection circuit (monitoring means, clock loss detection means) 5 of FIG. 1 are configured.

【0039】図5は、クロック断検出回路(監視手段、
クロック断検出手段)5の構成を示している。クロック
断検出回路(監視手段、クロック断検出手段)5は、分
周クロック信号6の入力に応じてカウントを開始するカ
ウンタ104と、カウンタ104のカウント値を格納す
るレジスタ101と、FPGA2外部よりソフトウェア
によりタイマ値を設定およびクリアできるレジスタ10
3と、レジスタ101とレジスタ103の値を比較する
比較器102と、比較器102からの信号によりセット
され、FPGA2外部からのクロック断信号によりリセ
ットされるセットリセットフリップフロップ105(以
下SRFF)を備えている。このようなハードウェア構
成により、装置内のバスへのデータ出力を制御すること
ができる。また操作ミスにより、ROM1を実装せずに
起動させた場合にも装置内のバス上のデータを破壊しな
いようにできる。またタイマ値を設定することにより、
任意にデータ出力タイミングを可変とすることができ
る。
FIG. 5 shows a clock disconnection detection circuit (monitoring means,
2 shows the configuration of a clock disconnection detecting means 5. The clock loss detection circuit (monitoring means, clock loss detection means) 5 includes a counter 104 that starts counting in response to the input of the divided clock signal 6, a register 101 that stores the count value of the counter 104, and software from the outside of the FPGA 2. Register 10 that can set and clear the timer value
3, a comparator 102 that compares the values of the registers 101 and 103, and a set / reset flip-flop 105 (hereinafter, SRFF) that is set by a signal from the comparator 102 and is reset by a clock cutoff signal from outside the FPGA 2. ing. With such a hardware configuration, data output to a bus in the device can be controlled. Further, even if the operation is started without mounting the ROM 1 due to an operation error, data on the bus in the apparatus can be prevented from being destroyed. Also, by setting the timer value,
The data output timing can be made arbitrarily variable.

【0040】ここで、レジスタ101とレジスタ103
はFPGA2外部よりアクセスが可能な構成となってお
り、レジスタ101からはカウンタ104より得られる
カウント値を読み込みおよびクリアすることができ、レ
ジスタ103はタイマ値の設定およびクリアができるよ
うになっている。
Here, the register 101 and the register 103
Is configured to be accessible from outside the FPGA 2, the count value obtained from the counter 104 can be read and cleared from the register 101, and the register 103 can set and clear the timer value. .

【0041】また、レジスタ101のカウント値はソフ
トウェアにて一定の間隔で読み出され、1つ前に読み出
した値と異なっていれば、クロック信号9が正常に入力
され、カウンタ101が動作しているものとみなし、値
が同じであればクロック信号9が異常であると認識す
る。
The count value of the register 101 is read out at regular intervals by software. If the count value is different from the value read immediately before, the clock signal 9 is normally input, and the counter 101 operates. The clock signal 9 is recognized as abnormal if the values are the same.

【0042】図5において、FPGA2起動後、レジス
タ101とレジスタ103の値はクリアされ、レジスタ
103にはタイマ値がセットされる。クロック分周回路
4からの分周クロック信号6によりカウンタ104で得
られたカウント値は、レジスタ101に格納され分周ク
ロック信号6が正常に入力されている限り値は更新され
る。
In FIG. 5, after starting the FPGA 2, the values of the registers 101 and 103 are cleared, and the timer value is set in the register 103. The count value obtained by the counter 104 based on the divided clock signal 6 from the clock dividing circuit 4 is stored in the register 101 and is updated as long as the divided clock signal 6 is normally input.

【0043】比較器102は、レジスタ103に設定さ
れたタイマ値とレジスタ101に格納されるカウント値
が一致すると論理値Hのパルス信号をSRFF105の
セット端子Sに出力し、同時にレジスタ101の内容は
クリアされ、再びゼロからのカウントとなる。
When the timer value set in the register 103 matches the count value stored in the register 101, the comparator 102 outputs a pulse signal of a logical value H to the set terminal S of the SRFF 105, and at the same time, the contents of the register 101 are It is cleared and counts again from zero.

【0044】比較器102より論理値Hパルス信号をセ
ット端子Sで受け取ったSRFF105では、クロック
断検出信号が論理値Hの出力となり、NAND回路14
により、リセット信号8が論理値Hであればバッファ制
御信号7は論理値Lとなり、イネーブル状態となったス
リーステートバッファ3から装置内のバスへのデータ出
力は許可される。これにより、装置内のバスへのデータ
出力を制御することができる。また操作ミスにより、R
OM1を実装せずに起動させた場合にも装置内のバス上
のデータを破壊しないようにできる。またタイマ値を設
定することにより、任意にデータ出力タイミングを可変
とすることができる。
In the SRFF 105 which receives the logical value H pulse signal from the comparator 102 at the set terminal S, the clock cutoff detection signal becomes the logical value H output, and the NAND circuit 14
Accordingly, if the reset signal 8 is the logical value H, the buffer control signal 7 becomes the logical value L, and the data output from the enabled three-state buffer 3 to the bus in the device is permitted. Thus, data output to the bus in the device can be controlled. Also, due to an operation mistake, R
Even when the OM1 is started without mounting the OM1, data on the bus in the device can be prevented from being destroyed. By setting the timer value, the data output timing can be arbitrarily made variable.

【0045】図6は、図4の出力保護装置の各信号の動
作を示すタイミングチャートである。リセット信号8の
解除後、FPGA2はROM1からデータを読み込み、
FPGA2内の回路を構成する(コンフィグレーショ
ン)。FPGA2が起動中のときには前述のようにスリ
ーステートバッファ3の出力は禁止され、その結果、ス
リーステートバッファ3はディセーブル状態となる。
FIG. 6 is a timing chart showing the operation of each signal of the output protection device of FIG. After the reset signal 8 is released, the FPGA 2 reads data from the ROM 1 and
Configure a circuit in the FPGA 2 (configuration). While the FPGA 2 is running, the output of the three-state buffer 3 is prohibited as described above, and as a result, the three-state buffer 3 is disabled.

【0046】次に、時刻TaにFPGA2の回路構成が
完了後(コンフィグレーションの完了後)、ソフトウェ
アにてレジスタ103にタイマ値を設定する。タイマ値
を設定することにより、任意にデータ出力タイミングを
可変とすることができる。クロック分周回路4から分周
クロック信号6が出力されると、クロック断検出回路
(監視手段、クロック断検出手段)5内のカウンタ10
1がカウントを始め、時刻Tbにレジスタ101とレジ
スタ103の値が一致するとクロック断の検出を解除
し、スリーステートバッファ3をイネーブル状態として
スリーステートバッファ3からのデータ出力は許可され
る。
Next, after the circuit configuration of the FPGA 2 is completed at the time Ta (after the completion of the configuration), a timer value is set in the register 103 by software. By setting the timer value, the data output timing can be made arbitrarily variable. When the frequency-divided clock signal 6 is output from the clock frequency dividing circuit 4, the counter 10 in the clock-loss detecting circuit (monitoring means, clock-loss detecting means) 5
When 1 starts counting, and when the values of the register 101 and the register 103 match at the time Tb, the detection of the clock interruption is released, the three-state buffer 3 is enabled, and the data output from the three-state buffer 3 is permitted.

【0047】時刻Tcに、分周クロック信号6またはク
ロック信号9が断となった場合、クロック断検出回路
(監視手段、クロック断検出手段)5内のレジスタ10
1のカウント値は更新されず、前述に記述したようにク
ロック断であるとみなされ、ソフトウェアによりクロッ
ク断信号がSRFF105に入力され、バッファ制御信
号7が論理値Hとなり、スリーステートバッファ3はデ
ィセーブル状態となり、スリーステートバッファ3から
装置内のバスへのデータ出力は禁止となる。これによ
り、装置内のバスへのデータ出力を制御することができ
る。また操作ミスにより、ROM1を実装せずに起動さ
せた場合にも装置内のバス上のデータを破壊しないよう
にできる。
When the divided clock signal 6 or the clock signal 9 is cut off at time Tc, the register 10 in the clock cutoff detecting circuit (monitoring means, clock cutoff detecting means) 5
The count value of 1 is not updated, and it is considered that the clock has been cut off as described above, the clock cutoff signal is input to the SRFF 105 by software, the buffer control signal 7 becomes a logical value H, and the three-state buffer 3 The state is disabled, and data output from the three-state buffer 3 to the bus in the device is prohibited. Thus, data output to the bus in the device can be controlled. Further, even if the operation is started without mounting the ROM 1 due to an operation error, data on the bus in the apparatus can be prevented from being destroyed.

【0048】以上第2実施形態を要約すれば、FPGA
2の正常動作をFPGA2内の回路で構成(コンフィグ
レーション)されるクロック分周回路4が正常に動作し
ていることをクロック断検出回路(監視手段、クロック
断検出手段)5で監視して装置内のバスへのデータ出力
を禁止する制御ができるように構成(コンフィグレーシ
ョン)されているので、FPGA2の起動中、動作停止
時による装置内のバス上のデータ破壊および装置のシス
テムダウンを防止することができる。
The second embodiment can be summarized as follows.
A clock disconnection circuit (monitoring means, clock disconnection detecting means) 5 monitors that a clock frequency dividing circuit 4 configured (configured) by a circuit in the FPGA 2 to operate normally in a normal operation of the FPGA 2. Since the configuration is such that control to prohibit data output to the internal bus can be performed, it is possible to prevent data destruction on the internal bus of the device and a system down of the device due to the stoppage of the operation during the startup of the FPGA 2. be able to.

【0049】また、クロック分周回路4をFPGA2内
にもつために、クロック信号9の周波数が高くなった場
合に、ROM1内のクロック分周回路4のデータを周波
数に応じたものに変更することにより対応するように構
成(コンフィグレーション)されているので、クロック
信号9の周波数が高くなってもハード構成が同一であ
り、容易に実現できる。
Also, since the clock frequency dividing circuit 4 is provided in the FPGA 2, when the frequency of the clock signal 9 increases, the data of the clock frequency dividing circuit 4 in the ROM 1 is changed to one corresponding to the frequency. Therefore, even if the frequency of the clock signal 9 is increased, the hardware configuration is the same and can be easily realized.

【0050】更に、FPGA2から装置内のバスへのデ
ータ出力を時間により制御できるという効果がある。例
えば、システムの構成上、起動時もしくはリセット時に
装置内のバスへのアクセスをある一定時間禁止させたい
場合、タイマ値を設定することにより任意にデータ出力
タイミングを可変させることができる。
Further, there is an effect that data output from the FPGA 2 to the bus in the device can be controlled by time. For example, when it is desired to prohibit access to a bus in the apparatus at a start-up or reset due to a system configuration, a data output timing can be arbitrarily varied by setting a timer value.

【0051】なお、本実施の形態においては、本発明は
フィールドプログラマブルアレイに限定されず、本発明
を適用する上で好適なプログラマブルな論理デバイスに
適用することができる。また、上記構成部材の数、位
置、形状等は上記実施の形態に限定されず、本発明を実
施する上で好適な数、位置、形状等にすることができ
る。また、各図において、同一構成要素には同一符号を
付している。
In the present embodiment, the present invention is not limited to a field programmable array, but can be applied to a programmable logic device suitable for applying the present invention. Further, the number, position, shape, and the like of the constituent members are not limited to the above-described embodiment, and can be set to numbers, positions, shapes, and the like suitable for carrying out the present invention. In each drawing, the same components are denoted by the same reference numerals.

【0052】[0052]

【発明の効果】本発明は、フィールドプログラマブルア
レイの正常動作をフィールドプログラマブルアレイ内の
回路で構成されるクロック分周回路が正常に動作してい
ることをクロック断検出回路で監視することにより装置
内のバスへのデータ出力を禁止する制御ができるように
構成されているので、フィールドプログラマブルアレイ
の起動中、動作停止時による装置内のバス上のデータ破
壊および装置のシステムダウンを防止することができ
る。
According to the present invention, the normal operation of the field programmable array is monitored by the clock cutoff detection circuit to monitor the normal operation of the clock frequency dividing circuit composed of the circuits in the field programmable array. Is configured to be able to perform control to prohibit data output to the bus, so that it is possible to prevent data destruction on the bus in the device and system shutdown of the device due to the stoppage of the operation during the activation of the field programmable array. .

【0053】クロック分周回路をフィールドプログラマ
ブルアレイ内にもつために、クロック信号の周波数が高
くなった場合に、ROM内のクロック分周回路のデータ
を周波数に応じたものに変更することにより対応するよ
うに構成されているので、クロック信号9の周波数が高
くなってもハード構成が同一であり、容易に実現でき
る。
In order to provide the clock frequency dividing circuit in the field programmable array, when the frequency of the clock signal becomes high, the data of the clock frequency dividing circuit in the ROM is changed to one corresponding to the frequency to cope with the frequency. With such a configuration, even if the frequency of the clock signal 9 increases, the hardware configuration is the same and can be easily realized.

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

【図1】本発明による第1実施形態の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment according to the present invention.

【図2】図1のフィールドプログラマブルアレイの出力
保護装置に設けられたクロック断検出回路の一実施形態
の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an embodiment of a clock disconnection detection circuit provided in the output protection device of the field programmable array of FIG. 1;

【図3】図1のフィールドプログラマブルアレイの出力
保護装置の動作を示すタイミングチャートである。
FIG. 3 is a timing chart showing an operation of the output protection device of the field programmable array of FIG. 1;

【図4】本発明のフィールドプログラマブルアレイの出
力保護装置の第2実施形態の構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing a configuration of a second embodiment of an output protection device for a field programmable array according to the present invention.

【図5】図4のフィールドプログラマブルアレイの出力
保護装置に設けられたクロック断検出回路の一実施形態
の構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of an embodiment of a clock cutoff detection circuit provided in the output protection device of the field programmable array of FIG. 4;

【図6】図4のフィールドプログラマブルアレイの出力
保護装置の動作を示すタイミングチャートである。
6 is a timing chart showing an operation of the output protection device of the field programmable array of FIG. 4;

【図7】従来例の構成を示すブロック図であって、フィ
ールドプログラマブルアレイをバスインターフェースと
して使用した場合の回路構成である。
FIG. 7 is a block diagram showing a configuration of a conventional example, and is a circuit configuration when a field programmable array is used as a bus interface.

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

1…ROM(メモリ手段) 2…フィールドプログラマブルアレイ(FPGA:Fi
eld Programmable Gate Arr
ay) 3…スリーステートバッファ(3STバッファ、ゲート
手段) 4…クロック分周回路(監視対象手段、クロック分周手
段) 5…クロック断検出回路(監視手段、クロック断検出手
段) 6…分周クロック信号 7…バッファ制御信号 8…リセット信号 9…クロック信号 10…抵抗(R) 11…コンデンサ(C) 12…抵抗(R) 13…リトリガブル・モノステーブル・マルチバイブレ
ータ 14…NAND回路 101…レジスタ 102…比較器 103…レジスタ 104…カウンタ 105…セットリセットフリップフロップ
1. ROM (memory means) 2. Field programmable array (FPGA: Fi)
eld Programmable Gate Arr
ay) 3 ... three-state buffer (3ST buffer, gate means) 4 ... clock divider circuit (monitoring means, clock divider means) 5 ... clock loss detection circuit (monitoring means, clock loss detection means) 6 ... frequency-divided clock Signal 7: Buffer control signal 8: Reset signal 9: Clock signal 10: Resistor (R) 11: Capacitor (C) 12: Resistor (R) 13: Retriggerable monostable multivibrator 14: NAND circuit 101: Register 102 ... Comparator 103: register 104: counter 105: set / reset flip-flop

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 外部から与えられるクロック信号に基づ
いてメモリ手段に保持されている所定の回路データを読
み込んで自己の内部回路をコンフィグレーションするフ
ィールドプログラマブルアレイの動作を監視し、フィー
ルドプログラマブルアレイの異常動作時にフィールドプ
ログラマブルアレイからの出力を無効にする出力保護装
置であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成される監視対象手段と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記監視対
象手段が生成する信号に基づいて監視すると共に、当該
監視対象手段が生成する信号が所望の信号と異なってい
ることを検出したときに前記フィールドプログラマブル
アレイからの出力を無効にする論理値のバッファ制御信
号を出力し、当該監視対象手段が生成する信号が所望の
信号と一致することを検出したときに前記フィールドプ
ログラマブルアレイからの出力を有効にする論理値のバ
ッファ制御信号を出力する監視手段と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート手段を有することを特徴とする出力
保護装置。
An operation of a field programmable array which configures its own internal circuit by reading predetermined circuit data held in a memory means based on a clock signal given from the outside and monitors an abnormality of the field programmable array An output protection device for disabling an output from a field programmable array during operation, comprising: a monitoring target unit including a circuit configured in the field programmable array; and Whether or not it is operating is monitored based on the signal generated by the monitoring target means, and when it is detected that the signal generated by the monitoring target means is different from a desired signal, the field programmable array A buffer control signal of a logical value for invalidating the output of the logic circuit, and a logical value for validating the output from the field programmable array when detecting that a signal generated by the monitoring target means matches a desired signal. Monitoring means for outputting a buffer control signal, and gate means for selecting whether to transmit an output from the field programmable array to the outside according to a logical value of the buffer control signal. apparatus.
【請求項2】 外部から与えられるクロック信号に基づ
いてメモリ手段に保持されている所定の回路データを読
み込んで自己の内部回路をコンフィグレーションするフ
ィールドプログラマブルアレイの動作を監視し、フィー
ルドプログラマブルアレイの異常動作時にフィールドプ
ログラマブルアレイからの出力を無効にする出力保護装
置であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成され、前記クロック信号を所
定の分周比に基づいて分周した分周クロック信号を生成
するクロック分周手段と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記分周ク
ロック信号の信号状態に基づいて監視すると共に、前記
分周クロック信号または前記クロック信号に基づいてク
ロック断を検出したときに前記フィールドプログラマブ
ルアレイからの出力を無効にする論理値のバッファ制御
信号を出力し、前記分周クロック信号または前記クロッ
ク信号が前記コンフィグレーションに基づいて正常に生
成されていることを検出したときに前記フィールドプロ
グラマブルアレイからの出力を有効にする論理値のバッ
ファ制御信号を出力するクロック断検出手段と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート手段を有することを特徴とする出力
保護装置。
2. An operation of a field programmable array which configures its own internal circuit by reading predetermined circuit data held in a memory means based on an externally applied clock signal and monitors an abnormality of the field programmable array. An output protection device for invalidating an output from a field programmable array during operation, comprising: a circuit configured in the field programmable array, wherein the clock signal is divided based on a predetermined division ratio. Clock dividing means for generating a divided clock signal; and monitoring whether or not the field programmable array is normally configured and operating based on the signal state of the divided clock signal and the divided clock signal. Signal or the clock A buffer control signal of a logical value for invalidating the output from the field programmable array when detecting a clock loss based on the clock signal, and the divided clock signal or the clock signal is normal based on the configuration. Clock disconnection detecting means for outputting a buffer control signal of a logical value that enables an output from the field programmable array when it is detected that the buffer has been generated, and the field programmable according to the logical value of the buffer control signal. An output protection device comprising: gate means for selecting whether to transmit an output from an array to the outside.
【請求項3】 外部から与えられるクロック信号に基づ
いてROMに保持されている所定の回路データを読み込
んで自己の内部回路をコンフィグレーションするフィー
ルドプログラマブルアレイの動作を監視し、フィールド
プログラマブルアレイの異常動作時にフィールドプログ
ラマブルアレイからの出力を無効にする出力保護装置で
あって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成され、前記クロック信号を所
定の分周比に基づいて分周した分周クロック信号を生成
するクロック分周回路と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記分周ク
ロック信号の信号状態に基づいて監視すると共に、前記
分周クロック信号または前記クロック信号に基づいてク
ロック断を検出したときに前記フィールドプログラマブ
ルアレイからの出力を無効にする論理値のバッファ制御
信号を出力し、前記分周クロック信号または前記クロッ
ク信号が前記コンフィグレーションに基づいて正常に生
成されていることを検出したときに前記フィールドプロ
グラマブルアレイからの出力を有効にする論理値のバッ
ファ制御信号を出力するクロック断検出回路と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するスリーステートバッファを有することを特
徴とする出力保護装置。
3. An operation of a field programmable array which reads predetermined circuit data stored in a ROM based on an externally applied clock signal and configures its own internal circuit, and monitors an abnormal operation of the field programmable array. An output protection device for invalidating an output from a field programmable array at times, comprising a circuit configured in the field programmable array, and dividing the clock signal based on a predetermined division ratio. A clock dividing circuit for generating a clock signal, and monitoring whether or not the field programmable array is properly configured and operating based on a signal state of the divided clock signal and the divided clock signal. Or the clock A buffer control signal of a logical value that invalidates the output from the field programmable array when detecting a clock loss based on the signal, and the divided clock signal or the clock signal is normally output based on the configuration. A clock disconnection detection circuit that outputs a buffer control signal having a logical value that enables an output from the field programmable array when it is detected that the field programmable array has been generated; and the field programmable array according to the logical value of the buffer control signal. An output protection device comprising a three-state buffer for selecting whether or not to output an output from a device to the outside.
【請求項4】 フィールドプログラマブルアレイの動作
を監視し、フィールドプログラマブルアレイの異常動作
時にフィールドプログラマブルアレイからの出力を無効
にする出力保護装置であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成される監視対象手段と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記監視対
象手段が生成する信号に基づいて監視すると共に、当該
監視対象手段が生成する信号が所望の信号と異なってい
ることを検出したときに前記フィールドプログラマブル
アレイからの出力を無効にする論理値のバッファ制御信
号を出力し、当該監視対象手段が生成する信号が所望の
信号と一致することを検出したときに前記フィールドプ
ログラマブルアレイからの出力を有効にする論理値のバ
ッファ制御信号を出力する監視手段と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート手段を有することを特徴とする出力
保護装置。
4. An output protection device for monitoring an operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed, comprising a circuit configured in the field programmable array. A monitoring target means configured, and whether or not the field programmable array is normally configured and operating is monitored based on a signal generated by the monitoring target means, and a signal generated by the monitoring target means. Outputs a logical value buffer control signal that invalidates the output from the field programmable array when it detects that the signal is different from the desired signal, and the signal generated by the monitoring target means matches the desired signal. Said that Monitoring means for outputting a buffer control signal having a logical value for enabling an output from the field programmable array; and selecting whether or not to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. An output protection device, comprising a gate means for performing the operation.
【請求項5】 フィールドプログラマブルアレイの動作
を監視し、フィールドプログラマブルアレイの異常動作
時にフィールドプログラマブルアレイからの出力を無効
にする出力保護装置であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成され、外部から与えられるク
ロック信号に基づいてクロック信号を所定の分周比に基
づいて分周した分周クロック信号を生成するクロック分
周手段と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記分周ク
ロック信号の信号状態に基づいて監視すると共に、前記
分周クロック信号または前記クロック信号に基づいてク
ロック断を検出したときに前記フィールドプログラマブ
ルアレイからの出力を無効にする論理値のバッファ制御
信号を出力し、前記分周クロック信号または前記クロッ
ク信号が前記コンフィグレーションに基づいて正常に生
成されていることを検出したときに前記フィールドプロ
グラマブルアレイからの出力を有効にする論理値のバッ
ファ制御信号を出力するクロック断検出手段と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート手段を有することを特徴とする出力
保護装置。
5. An output protection device for monitoring an operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed, comprising a circuit configured in the field programmable array. A clock frequency dividing means configured to generate a frequency-divided clock signal obtained by dividing a clock signal based on a predetermined frequency division ratio based on an externally applied clock signal; and that the field programmable array is normally configured. Whether the device is operating or not is monitored based on the signal state of the divided clock signal, and an output from the field programmable array is detected when a clock break is detected based on the divided clock signal or the clock signal. Disable A logic for outputting a buffer control signal of a logical value and enabling an output from the field programmable array when detecting that the divided clock signal or the clock signal is normally generated based on the configuration. Clock disconnection detecting means for outputting a buffer control signal of a value, and gate means for selecting whether or not to transmit an output from the field programmable array to the outside according to a logical value of the buffer control signal. Output protection device.
【請求項6】 フィールドプログラマブルアレイの動作
を監視し、フィールドプログラマブルアレイの異常動作
時にフィールドプログラマブルアレイからの出力を無効
にする出力保護装置であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成され、外部から与えられるク
ロック信号に基づいてクロック信号を所定の分周比に基
づいて分周した分周クロック信号を生成するクロック分
周回路と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記分周ク
ロック信号の信号状態に基づいて監視すると共に、前記
分周クロック信号または前記クロック信号に基づいてク
ロック断を検出したときに前記フィールドプログラマブ
ルアレイからの出力を無効にする論理値のバッファ制御
信号を出力し、前記分周クロック信号または前記クロッ
ク信号が前記コンフィグレーションに基づいて正常に生
成されていることを検出したときに前記フィールドプロ
グラマブルアレイからの出力を有効にする論理値のバッ
ファ制御信号を出力するクロック断検出回路と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するスリーステートバッファを有することを特
徴とする出力保護装置。
6. An output protection device for monitoring an operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed, comprising a circuit configured in the field programmable array. A clock frequency divider circuit configured to generate a frequency-divided clock signal obtained by dividing a clock signal based on a predetermined frequency division ratio based on an externally applied clock signal; and that the field programmable array is normally configured. Whether the device is operating or not is monitored based on the signal state of the divided clock signal, and an output from the field programmable array is detected when a clock break is detected based on the divided clock signal or the clock signal. Disable A logic for outputting a buffer control signal of a logical value and enabling an output from the field programmable array when detecting that the divided clock signal or the clock signal is normally generated based on the configuration. A clock disconnection detection circuit that outputs a value buffer control signal; and a three-state buffer that selects whether or not to transmit an output from the field programmable array to the outside according to a logical value of the buffer control signal. Output protection device.
【請求項7】 前記回路データを変更することにより前
記分周クロック信号は、所定の周波数範囲で可変である
ことを特徴とする請求項1乃至6のいずれか一項に記載
の出力保護装置。
7. The output protection device according to claim 1, wherein the frequency-divided clock signal is variable in a predetermined frequency range by changing the circuit data.
【請求項8】 前記クロック断検出回路は、 前記分周クロック信号の入力に応じてカウントを開始す
るカウンタと、 前記カウンタのカウント値を格納するレジスタと、 フィールドプログラマブルアレイの外部よりソフトウェ
アによりタイマ値を設定およびクリアできるレジスタ
と、 前記カウント値と前記タイマ値とを比較する比較器と、 前記比較器からの信号によりセットされ、フィールドプ
ログラマブルアレイ外部からのクロック断信号によりリ
セットされるセットリセットフリップフロップを備えて
いることを特徴とする請求項1乃至7のいずれか一項に
記載の出力保護装置。
8. A clock disconnection detection circuit, comprising: a counter for starting counting in response to the input of the divided clock signal; a register for storing a count value of the counter; and a timer value by software from outside the field programmable array. A register for setting and clearing the count value; a comparator for comparing the count value with the timer value; a set / reset flip-flop which is set by a signal from the comparator and is reset by a clock cutoff signal from outside the field programmable array The output protection device according to any one of claims 1 to 7, further comprising:
【請求項9】 前記レジスタと前記レジスタは、前記フ
ィールドプログラマブルアレイの外部よりアクセスが可
能な構成となっており、前記レジスタからは前記カウン
タより得られる前記カウント値の読み込みおよびクリア
が可能であり、 前記レジスタは、前記タイマ値の設定およびクリアが可
能であることを特徴とする請求項8に記載の出力保護装
置。
9. The register and the register are configured to be accessible from outside the field programmable array, and the register can read and clear the count value obtained from the counter, 9. The output protection device according to claim 8, wherein the register is capable of setting and clearing the timer value.
【請求項10】前記レジスタの前記カウント値は前記ソ
フトウェアにて一定の間隔で読み出され、直前に読み出
したカウント値と異なっているときに前記クロック信号
が正常に入力され前記カウンタが動作しているものとみ
なし、前記カウント値が直前に読み出したカウント値と
同じであれば前記クロック信号が異常であると認識する
ことを特徴とする請求項8に記載の出力保護装置。
10. The count value of the register is read at a constant interval by the software, and when the count value is different from the count value read immediately before, the clock signal is normally input and the counter operates. 9. The output protection device according to claim 8, wherein the clock signal is recognized as abnormal if the count value is the same as the count value read immediately before.
【請求項11】 外部から与えられるクロック信号に基
づいてメモリ手段に保持されている所定の回路データを
読み込んで自己の内部回路をコンフィグレーションする
フィールドプログラマブルアレイの動作を監視し、フィ
ールドプログラマブルアレイの異常動作時にフィールド
プログラマブルアレイからの出力を無効にする出力保護
方法であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成される監視対象工程と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記監視対
象工程が生成する信号に基づいて監視すると共に、当該
監視対象工程が生成する信号が所望の信号と異なってい
ることを検出したときに前記フィールドプログラマブル
アレイからの出力を無効にする論理値のバッファ制御信
号を出力し、当該監視対象工程が生成する信号が所望の
信号と一致することを検出したときに前記フィールドプ
ログラマブルアレイからの出力を有効にする論理値のバ
ッファ制御信号を出力する監視工程と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート工程を有することを特徴とする出力
保護方法。
11. An operation of a field programmable array which configures its own internal circuit by reading predetermined circuit data held in a memory means based on an externally applied clock signal and monitors an abnormality of the field programmable array. An output protection method for invalidating an output from a field programmable array during operation, comprising: a monitoring target process including a circuit configured in the field programmable array; and Whether or not it is operating is monitored based on the signal generated by the monitoring target process, and the field programmable array is detected when it is detected that the signal generated by the monitoring target process is different from a desired signal. A logic for outputting a buffer control signal having a logical value for disabling these outputs, and for enabling the output from the field programmable array when it is detected that a signal generated by the process to be monitored matches a desired signal. A monitoring step of outputting a value buffer control signal; and a gating step of selecting whether or not to transmit an output from the field programmable array to the outside according to a logical value of the buffer control signal. Protection method.
【請求項12】 外部から与えられるクロック信号に基
づいてメモリ手段に保持されている所定の回路データを
読み込んで自己の内部回路をコンフィグレーションする
フィールドプログラマブルアレイの動作を監視し、フィ
ールドプログラマブルアレイの異常動作時にフィールド
プログラマブルアレイからの出力を無効にする出力保護
方法であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成され、前記クロック信号を所
定の分周比に基づいて分周した分周クロック信号を生成
するクロック分周工程と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記分周ク
ロック信号の信号状態に基づいて監視すると共に、前記
分周クロック信号または前記クロック信号に基づいてク
ロック断を検出したときに前記フィールドプログラマブ
ルアレイからの出力を無効にする論理値のバッファ制御
信号を出力し、前記分周クロック信号または前記クロッ
ク信号が前記コンフィグレーションに基づいて正常に生
成されていることを検出したときに前記フィールドプロ
グラマブルアレイからの出力を有効にする論理値のバッ
ファ制御信号を出力するクロック断検出工程と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート工程を有することを特徴とする出力
保護方法。
12. An operation of a field programmable array which configures its own internal circuit by reading predetermined circuit data held in a memory means based on an externally applied clock signal and monitors an abnormality of the field programmable array. An output protection method for invalidating an output from a field programmable array during operation, comprising a circuit configured in the field programmable array, wherein the clock signal is divided based on a predetermined division ratio. A clock dividing step of generating a divided clock signal, and monitoring whether or not the field programmable array is normally configured and operating based on a signal state of the divided clock signal and the divided clock. Signal or the A buffer control signal of a logical value for invalidating an output from the field programmable array when detecting a clock loss based on the clock signal is output, and the divided clock signal or the clock signal is output based on the configuration. A clock disconnection detecting step of outputting a buffer control signal having a logical value that enables an output from the field programmable array when it is detected that the field is generated normally; and the field according to the logical value of the buffer control signal. An output protection method comprising a gate step of selecting whether to transmit an output from a programmable array to the outside.
【請求項13】 外部から与えられるクロック信号に基
づいてROMに保持されている所定の回路データを読み
込んで自己の内部回路をコンフィグレーションするフィ
ールドプログラマブルアレイの動作を監視し、フィール
ドプログラマブルアレイの異常動作時にフィールドプロ
グラマブルアレイからの出力を無効にする出力保護方法
であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成され、前記クロック信号を所
定の分周比に基づいて分周した分周クロック信号を生成
するクロック分周工程と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記分周ク
ロック信号の信号状態に基づいて監視すると共に、前記
分周クロック信号または前記クロック信号に基づいてク
ロック断を検出したときに前記フィールドプログラマブ
ルアレイからの出力を無効にする論理値のバッファ制御
信号を出力し、前記分周クロック信号または前記クロッ
ク信号が前記コンフィグレーションに基づいて正常に生
成されていることを検出したときに前記フィールドプロ
グラマブルアレイからの出力を有効にする論理値のバッ
ファ制御信号を出力するクロック断検出工程と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート工程を有することを特徴とする出力
保護方法。
13. An operation of a field programmable array which reads predetermined circuit data held in a ROM based on a clock signal given from the outside and configures its own internal circuit and monitors an abnormal operation of the field programmable array. An output protection method for disabling an output from a field programmable array at times, comprising a circuit configured in the field programmable array, and dividing the clock signal based on a predetermined division ratio. A clock dividing step of generating a clock signal, and monitoring whether or not the field programmable array is properly configured and operating based on a signal state of the divided clock signal and the divided clock signal. Or the clock A buffer control signal having a logical value for invalidating an output from the field programmable array when detecting a clock loss based on a signal is output, and the frequency-divided clock signal or the clock signal is normally output based on the configuration. A clock disconnection detection step of outputting a buffer control signal having a logical value that enables an output from the field programmable array when it is detected that the field programmable array is generated, and the field programmable array according to the logical value of the buffer control signal An output protection method comprising: a gate step of selecting whether to transmit an output from an external device to the outside.
【請求項14】 フィールドプログラマブルアレイの動
作を監視し、フィールドプログラマブルアレイの異常動
作時にフィールドプログラマブルアレイからの出力を無
効にする出力保護方法であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成される監視対象工程と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記監視対
象工程が生成する信号に基づいて監視すると共に、当該
監視対象工程が生成する信号が所望の信号と異なってい
ることを検出したときに前記フィールドプログラマブル
アレイからの出力を無効にする論理値のバッファ制御信
号を出力し、当該監視対象工程が生成する信号が所望の
信号と一致することを検出したときに前記フィールドプ
ログラマブルアレイからの出力を有効にする論理値のバ
ッファ制御信号を出力する監視工程と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート工程を有することを特徴とする出力
保護方法。
14. An output protection method for monitoring an operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed, comprising a circuit configured in the field programmable array. A monitoring target process to be configured, and whether or not the field programmable array is normally configured and operating is monitored based on a signal generated by the monitoring target process, and a signal generated by the monitoring target process. Outputs a buffer control signal of a logical value that invalidates the output from the field programmable array when detecting that the signal is different from the desired signal, and the signal generated by the process to be monitored matches the desired signal. When the A monitoring step of outputting a buffer control signal having a logical value that enables an output from the field programmable array; and determining whether to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. An output protection method comprising a selecting gate step.
【請求項15】 フィールドプログラマブルアレイの動
作を監視し、フィールドプログラマブルアレイの異常動
作時にフィールドプログラマブルアレイからの出力を無
効にする出力保護方法であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成され、外部から与えられるク
ロック信号に基づいてクロック信号を所定の分周比に基
づいて分周した分周クロック信号を生成するクロック分
周工程と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記分周ク
ロック信号の信号状態に基づいて監視すると共に、前記
分周クロック信号または前記クロック信号に基づいてク
ロック断を検出したときに前記フィールドプログラマブ
ルアレイからの出力を無効にする論理値のバッファ制御
信号を出力し、前記分周クロック信号または前記クロッ
ク信号が前記コンフィグレーションに基づいて正常に生
成されていることを検出したときに前記フィールドプロ
グラマブルアレイからの出力を有効にする論理値のバッ
ファ制御信号を出力するクロック断検出工程と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するゲート工程を有することを特徴とする出力
保護方法。
15. An output protection method for monitoring an operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed, comprising a circuit configured in the field programmable array. A clock frequency dividing step configured to generate a frequency-divided clock signal obtained by dividing a clock signal based on a predetermined frequency division ratio based on an externally applied clock signal; and that the field programmable array is properly configured. Whether the device is operating or not is monitored based on the signal state of the divided clock signal, and an output from the field programmable array is detected when a clock break is detected based on the divided clock signal or the clock signal. Disabled Output a buffer control signal having a logical value, and enable the output from the field programmable array when detecting that the divided clock signal or the clock signal is normally generated based on the configuration. A clock disconnection detecting step of outputting a buffer control signal of a logical value; and a gating step of selecting whether or not to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. And the output protection method.
【請求項16】 フィールドプログラマブルアレイの動
作を監視し、フィールドプログラマブルアレイの異常動
作時にフィールドプログラマブルアレイからの出力を無
効にする出力保護方法であって、 前記フィールドプログラマブルアレイ内にコンフィグレ
ーションされた回路で構成され、外部から与えられるク
ロック信号に基づいてクロック信号を所定の分周比に基
づいて分周した分周クロック信号を生成するクロック分
周回路と、 前記フィールドプログラマブルアレイが正常にコンフィ
グレーションされて動作しているか否かを、前記分周ク
ロック信号の信号状態に基づいて監視すると共に、前記
分周クロック信号または前記クロック信号に基づいてク
ロック断を検出したときに前記フィールドプログラマブ
ルアレイからの出力を無効にする論理値のバッファ制御
信号を出力し、前記分周クロック信号または前記クロッ
ク信号が前記コンフィグレーションに基づいて正常に生
成されていることを検出したときに前記フィールドプロ
グラマブルアレイからの出力を有効にする論理値のバッ
ファ制御信号を出力するクロック断検出回路と、 前記バッファ制御信号の論理値に応じて前記フィールド
プログラマブルアレイからの出力を外部に伝達するか否
かを選択するスリーステートバッファを有することを特
徴とする出力保護方法。
16. An output protection method for monitoring operation of a field programmable array and invalidating an output from the field programmable array when an abnormal operation of the field programmable array is performed, comprising a circuit configured in the field programmable array. A clock frequency divider circuit configured to generate a frequency-divided clock signal obtained by dividing a clock signal based on a predetermined frequency division ratio based on an externally applied clock signal; and that the field programmable array is normally configured. Whether the device is operating or not is monitored based on the signal state of the divided clock signal, and an output from the field programmable array is detected when a clock break is detected based on the divided clock signal or the clock signal. Disabled Output a buffer control signal having a logical value, and enable the output from the field programmable array when detecting that the divided clock signal or the clock signal is normally generated based on the configuration. A clock disconnection detection circuit that outputs a buffer control signal of a logical value; and a three-state buffer that selects whether to transmit an output from the field programmable array to the outside according to the logical value of the buffer control signal. Characteristic output protection method.
JP33504998A 1998-11-11 1998-11-11 Output protection device and output protection method Expired - Fee Related JP2972768B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33504998A JP2972768B1 (en) 1998-11-11 1998-11-11 Output protection device and output protection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33504998A JP2972768B1 (en) 1998-11-11 1998-11-11 Output protection device and output protection method

Publications (2)

Publication Number Publication Date
JP2972768B1 JP2972768B1 (en) 1999-11-08
JP2000151388A true JP2000151388A (en) 2000-05-30

Family

ID=18284181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33504998A Expired - Fee Related JP2972768B1 (en) 1998-11-11 1998-11-11 Output protection device and output protection method

Country Status (1)

Country Link
JP (1) JP2972768B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157482A (en) * 2004-11-30 2006-06-15 Fujitsu Ltd Programmable logic device, information processor, and method for controlling programmable logic device
US8033986B2 (en) 2005-12-28 2011-10-11 Olympus Medical Systems Corp. Endoscope control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157482A (en) * 2004-11-30 2006-06-15 Fujitsu Ltd Programmable logic device, information processor, and method for controlling programmable logic device
US7647537B2 (en) 2004-11-30 2010-01-12 Fujitsu Limited Programmable logic device, information processing device and programmable logic device control method
JP4643977B2 (en) * 2004-11-30 2011-03-02 富士通株式会社 Programmable logic device, information processing apparatus, and control method for programmable logic device
US8033986B2 (en) 2005-12-28 2011-10-11 Olympus Medical Systems Corp. Endoscope control device

Also Published As

Publication number Publication date
JP2972768B1 (en) 1999-11-08

Similar Documents

Publication Publication Date Title
US8909995B2 (en) Microcomputer with watchdog timer generating internal and external reset signals
TW201633124A (en) Watchdog timer
JPH10116212A (en) Monitor timer circuit that can selectively be enabled
JP2009505303A (en) Embedded memory protection
US6255882B1 (en) Method and system of switching clock signal
US5541943A (en) Watchdog timer lock-up prevention circuit
US7287199B2 (en) Device capable of detecting BIOS status for clock setting and method thereof
JP5281448B2 (en) Electronic control device, abnormality monitoring method
JP2001236240A (en) Microcomputer
JP2972768B1 (en) Output protection device and output protection method
US7500021B2 (en) Operation mode control circuit, microcomputer including the same, and control system using the microcomputer
WO2004003714A2 (en) Circuit for detection of internal microprocessor watchdog device execution and method for resetting microprocessor system
JP3724034B2 (en) Control circuit for production equipment
JPH0720963A (en) Operation control circuit for clock oscillator
JP2008072573A (en) Output controller
US6018250A (en) Programming method to enable system recovery after power failure
JP2669360B2 (en) Clock generator
JP2005071203A (en) Microprocessor
JP3710565B2 (en) Microcomputer operation monitoring device
JP2001331325A (en) Initial startup device, its method and recording medium
JPS6362776B2 (en)
JPH0535705A (en) Multiprocessor system
JP2000035903A (en) Runaway monitoring device for microcomputer
JPH09237205A (en) Program runaway detection device
KR100569498B1 (en) Power noise eliminating device of micro controller unit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070827

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees