JPS58200352A - Diagnostic system of arithmetic option hardware - Google Patents

Diagnostic system of arithmetic option hardware

Info

Publication number
JPS58200352A
JPS58200352A JP57082677A JP8267782A JPS58200352A JP S58200352 A JPS58200352 A JP S58200352A JP 57082677 A JP57082677 A JP 57082677A JP 8267782 A JP8267782 A JP 8267782A JP S58200352 A JPS58200352 A JP S58200352A
Authority
JP
Japan
Prior art keywords
error
hardware
option
flag
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP57082677A
Other languages
Japanese (ja)
Inventor
Takayuki Yamaguchi
孝幸 山口
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric Co 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP57082677A priority Critical patent/JPS58200352A/en
Publication of JPS58200352A publication Critical patent/JPS58200352A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/27Built-in tests

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Advance Control (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To eliminate the need for a special interface signal and an additional circuit, by utilizing the combination of condition codes which never happens in normal arithmetic as option diagnostic error information. CONSTITUTION:A selecting circuit 125 is positioned between an interface driver 124, and a condition code flag 122 and an error flag 123. Then, it receives information from each flag and selects output information to be transmitted to the condition driver on an interface according to whether an error occurs or not. If option hardware 12 detects an error occurring to the result of a self-diagnosis in a free time, the flag 123 is set to a code for the error. Consequently, a CPU11 when using the hardware 12 checks whether the condition code is the error code or not to confirm the faulted state of the hardware 12.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は演算オプション−・−ドウエアの信頼性を高め
るために自己診断を行なう演算オプションハードウェア
における診断方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a diagnostic method for computing option hardware that performs self-diagnosis in order to improve the reliability of computing option hardware.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

情報処理装置において、高速処理、もしくは中央処理装
置(CPU)の負担軽減更には効率アップのために、あ
る処理機能を実現する独立した演算モジュールをオシジ
ョンハードウェアとして設置することがある。この演算
オプションノ・−ドウエアとしては例えば、浮動小数点
演算オプションや10進演算オプシヨン等が存在する。
In an information processing device, an independent arithmetic module that implements a certain processing function is sometimes installed as decision hardware in order to achieve high-speed processing, reduce the burden on a central processing unit (CPU), and even increase efficiency. Examples of this calculation option hardware include floating point calculation options and decimal calculation options.

特にマイクロプログラム制御方式の演算オプションでは
、オプションハードウェアの信頼性を高めるため、演算
オプションハードウェアを使用しない空き時間を利用し
て自己診断(マイクロ診断)を行うものがある。通常、
これらのオプションは、オプションハードウェアを使用
するための制御信号と共に演算結果が正(G)か負(L
)か、オーバフローがあったか(V)、キャリーがあっ
たか(C)等のスティタスをコンデイションコードの形
態にてCPUに対し、伝達している。
In particular, with microprogram control type calculation options, in order to improve the reliability of the optional hardware, there are some that perform self-diagnosis (microdiagnosis) using free time when the calculation option hardware is not in use. usually,
These options provide positive (G) or negative (L) results along with control signals for using optional hardware.
), whether there was an overflow (V), whether there was a carry (C), etc., are transmitted to the CPU in the form of a condition code.

第1図に韮記従来方式を実現する演算オプションハード
ウェアの接、続構成例を示す。図において、1はCPU
、2は自己診断機能を持つ演算オプションハードウェア
を示す。上記CPU 1と演算オプションハードウェア
2とはコンティジョンコードライン3.エラー信号ライ
ン4.その他の制御信号ライン5を介、して接続される
FIG. 1 shows an example of the connection and configuration of calculation option hardware that implements the conventional method. In the figure, 1 is the CPU
, 2 indicates calculation option hardware with a self-diagnosis function. The CPU 1 and calculation option hardware 2 are the contagion code line 3. Error signal line 4. It is connected via another control signal line 5.

図示した例によれば、CPUIが演算オプションハード
ウェア2を使用し々いとき、演算オプションハードウェ
ア2は自己診断を行っている。
According to the illustrated example, when the CPUI uses up the calculation option hardware 2, the calculation option hardware 2 is performing self-diagnosis.

この診断によりエラーを検出した場合、演算オプション
ハードウェア2は内部のエラーフラグ(図示せず)をセ
ットする。そして、このエラー7ラグの内容ラインター
フエースドライバ(図示せず)を経由し、CPUIとの
インターフェースであるエラー信号ライン4をセットし
ている。CPU 1は演算オプションハードウェア3を
使用する場合、その命令を実行する前後において、上記
エラー信号ライン4の内容をチェックすることにより、
演算オプションハードウェア2に異常がないか否かを確
めていたものである。
If an error is detected through this diagnosis, the calculation option hardware 2 sets an internal error flag (not shown). Then, the error signal line 4, which is an interface with the CPUI, is set via the content line interface driver (not shown) of this error 7 lag. When the CPU 1 uses the calculation option hardware 3, it checks the contents of the error signal line 4 before and after executing the instruction.
It was checked to see if there was any abnormality in the calculation option hardware 2.

この様に従来方式によれば、自己診断を行カうととによ
りエラー情報を伝え、エラー処理を行なうためのインタ
ーフェース信号(エラー信号ライン)が余分に必要とな
ってくる。これに伴い、それをコントロールするための
制御ライン及び付加回路等余分なハードウェアを必要と
していたものでちる。
As described above, according to the conventional system, an extra interface signal (error signal line) is required for transmitting error information and performing error processing when performing self-diagnosis. As a result, extra hardware such as control lines and additional circuits are required to control it.

〔発明の目的〕[Purpose of the invention]

本発明は上記事情に基づいてなされたものであり、通常
の演算では起こシ得ないコンディションコードの組合せ
をオプション診断エラー情報として利用することにょシ
、演算オプションハードウェアは自己診断を行なっても
そのだめのエラー情報の伝達ならびにエラー処理のため
のインターフェース信号を不要とした演算オプションハ
ードウェアにおける診断方式を提供することを目的とす
る。
The present invention has been made based on the above-mentioned circumstances, and uses a combination of condition codes that cannot occur in normal calculations as option diagnostic error information. It is an object of the present invention to provide a diagnostic method for calculation option hardware that eliminates the need for transmission of error information and interface signals for error processing.

〔発明の概要〕[Summary of the invention]

本発明は、自己診断機能を持つ演算オプション−・−ド
ウエアが接続される情報処理装置において、通常の演算
では絶対に起こり得々いコンディションコードの組合せ
をオプション診断エラー情報として利用することによ如
、そのための特別なインターフェース信号ならびにその
付加回路を不要としたものである。
The present invention provides an information processing apparatus to which calculation option software having a self-diagnosis function is connected, by using a combination of condition codes that would never occur in normal calculations as option diagnosis error information. This eliminates the need for special interface signals and additional circuits for this purpose.

、このことにより診断エラー等余分なインターフェース
信号を必要としなくて済むため、その分だけ廉価にシス
テムが構成でき、且つ信頼性も向上する。
This eliminates the need for extra interface signals such as diagnostic errors, so the system can be configured at a lower cost and reliability is improved.

〔発明の実施例〕[Embodiments of the invention]

以下、第2図以降を使用して本発明につき詳細に説明を
行なう。
Hereinafter, the present invention will be explained in detail using FIG. 2 and subsequent figures.

第2図は本発明実施例の接続構成例を示すブロック図で
ある。
FIG. 2 is a block diagram showing an example of a connection configuration according to an embodiment of the present invention.

図において、ZlはCPU 、工lは自己診断機能を持
つ演算オプションハードウェアである。
In the figure, Zl is a CPU, and Zl is arithmetic optional hardware with a self-diagnosis function.

5一 本発明実施例では演算オプションハードウェアL」とし
て浮動小数点演算ハードウェア(FPH)がCPU 1
1に接続されているものとする。上記両者はスティタス
情報が伝達されるコンディションコードライン13.そ
して演算実行に必要な制御ライン14を介して接続され
る。
5. In the embodiment of the present invention, floating point calculation hardware (FPH) is installed on CPU 1 as calculation option hardware L.
1. Both of the above are condition code lines 13. through which status information is transmitted. Then, they are connected via a control line 14 necessary for execution of calculations.

F’PHlは、FPH本体121の他に演算オプション
インター7エースとして、演算結果のC0V−G−Lを
示すコンディションコードフラグ及ヒインターフエース
ラインZ22、自己診断によシェラ−があったことを示
すエラーフラグ及びインターフェースライン123.イ
ンターフェースドライバ124そして選択回路125と
で構成される。選択回路125は、インターフェースl
”tイパ124とコンディションコードフラダ122、
エラーフラグ123間に位置し、各フラグより情報を得
、エラーの有無によシ、インターフェース上のコンディ
ションコードラインz3へ伝達するだめの出力情報を選
択する。該選択回路125周辺の構成は第3図に6一 詳細に示されている。
In addition to the FPH main body 121, F'PHl includes a calculation option interface 7 ace, a condition code flag indicating the calculation result C0V-GL, and an interface line Z22, which indicates that there is a sheller in the self-diagnosis. Error flag and interface line 123. It is composed of an interface driver 124 and a selection circuit 125. The selection circuit 125
"t Ipa 124 and condition code Furada 122,
It is located between the error flags 123, obtains information from each flag, and selects output information to be transmitted to the condition code line z3 on the interface, depending on the presence or absence of an error. The configuration around the selection circuit 125 is shown in detail in FIG.

本発明は下記表1に示す様に、演算において絶対に起き
得ないコンディションコードの組合せを利用することに
より、インターフェース上に特別なライン(エラー)を
持つことな(CPU11に対し異常を知らせるものであ
ることは発明の概要の項で述べた通りである。
As shown in Table 1 below, the present invention utilizes combinations of condition codes that cannot occur during calculations, thereby eliminating the need for a special line (error) on the interface (which notifies the CPU 11 of an abnormality). This is as stated in the summary of the invention.

〈表  1〉 これを更に詳述すると以下に示す如くなる。<Table 1> This will be explained in more detail as follows.

即ち、まずFPH12が自身で持つ診断機能により空き
時間を利用して自己診断を開始する。ここでエラーを検
出し、エラーフラグ123の内容をセットするとエラー
信号により、選択回路125による選択出力がコンディ
ションコードフラグ122からエラーフラグ123に切
す換わる。
That is, first, the FPH 12 starts self-diagnosis using its own diagnostic function using free time. When an error is detected and the contents of the error flag 123 are set, the selection output by the selection circuit 125 is switched from the condition code flag 122 to the error flag 123 in response to the error signal.

第3図に示した回路実施例は、オプション異常状態を示
すコンディションコードC−V−G・Lを”ooii”
に設定する際の選択回路の具体的回路実施例を示す。図
中、第2図と同一番号の付されであるブロックは第2図
のそれと同−名称及び機能を持つものであるため、重複
を避ける意味でここでは説明を省略する。図中31はイ
ンバータである。
The circuit embodiment shown in FIG.
A specific circuit example of a selection circuit when setting is shown below. In the figure, blocks with the same numbers as those in FIG. 2 have the same names and functions as those in FIG. 2, so their explanations will be omitted here to avoid duplication. In the figure, 31 is an inverter.

FPH12はエラーを検出するとエラー存在時のコンデ
ィションコードをエラー用のコード” 0011”にセ
ットしておき、CPU 11がFPHしゞ L」を使用する場合、コンディションコードが’001
1″に設定されているか否かをチェックし、これによp
 FPH2zの異常状態を確める。また、G、L=′1
1”を診断エラーと認識すれば、′C,Vが00,01
.10.11’の4種類を他の情報として、例えば診断
テスト番号等に利用することもできる。
When the FPH 12 detects an error, it sets the condition code when an error exists to the error code "0011", and when the CPU 11 uses the FPH "L", the condition code is set to '001'.
Check whether it is set to 1", and this will cause p
Check the abnormal condition of FPH2z. Also, G, L='1
If 1" is recognized as a diagnostic error, 'C, V will be 00,01
.. The four types of information 10 and 11' can also be used as other information, such as a diagnostic test number.

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

以上説明の如く本発明によれば、診断エラー等余分なイ
ンターフェース信号を必要としなくて済むため、その分
だけ廉価にシステムが構成でき、且つ信頼性も向上する
As described above, according to the present invention, there is no need for extra interface signals such as diagnostic errors, so the system can be constructed at a lower cost and the reliability is improved accordingly.

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

第1図は従来方式を実現する演算オプション−・−ドウ
エアの接続構成例を示す図、第2図は本発明の実施例を
示すブロック図、第3図は第2図におけるコンディショ
ンコード選択回路の内部構成を示す回路図である。 11・・・CPU、2!・・・演算オプションノ1−ド
ウエア(FPH) 、I J・・・コンディションコー
ドライン、121・・・FPHPH12j 2・・・コ
ンディションコードフラグ、123・・・エラーフラグ
、Z24・・・インターフェースドライ14.125・
・・選択口9− 路〇 10−
FIG. 1 is a diagram showing an example of the connection configuration of arithmetic option software for realizing the conventional method, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a diagram showing an example of the condition code selection circuit in FIG. 2. FIG. 3 is a circuit diagram showing the internal configuration. 11...CPU, 2! ... Arithmetic option no. 1-ware (FPH), IJ... Condition code line, 121... FPHPH12j 2... Condition code flag, 123... Error flag, Z24... Interface driver 14. 125・
・・Selection port 9-Route 〇10-

Claims (1)

【特許請求の範囲】[Claims] CPHに演算オプションハードウェアを接続し、該演算
オプションハードウェアを使用しない空き時間を利用し
て自己診断を行なう情報処理装置において、上記演算オ
プションハードウェアは演算結果のスティタス情報を伝
達するためのオプションインターフェースヲ有し、上記
CPUは演算オシジョンハードウェアによる診断エラー
を検出し九際、上記演算オプションインターフェースを
介して伝達される通常の演算では起こり得ないスティタ
ス情報を得ることにより、オプション診断エラー情報と
し、これに基づいてエラー処理を行なうことを特徴とす
る演算オプションハードウェアにおける診断方式。
In an information processing device that connects calculation option hardware to a CPH and performs self-diagnosis using free time when the calculation option hardware is not in use, the calculation option hardware is an option for transmitting status information of calculation results. The CPU detects a diagnostic error caused by the arithmetic decision hardware and obtains status information that cannot occur in normal arithmetic operations transmitted via the arithmetic option interface, thereby generating optional diagnostic error information. A diagnostic method for computing option hardware characterized by performing error processing based on this.
JP57082677A 1982-05-17 1982-05-17 Diagnostic system of arithmetic option hardware Pending JPS58200352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57082677A JPS58200352A (en) 1982-05-17 1982-05-17 Diagnostic system of arithmetic option hardware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57082677A JPS58200352A (en) 1982-05-17 1982-05-17 Diagnostic system of arithmetic option hardware

Publications (1)

Publication Number Publication Date
JPS58200352A true JPS58200352A (en) 1983-11-21

Family

ID=13781039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57082677A Pending JPS58200352A (en) 1982-05-17 1982-05-17 Diagnostic system of arithmetic option hardware

Country Status (1)

Country Link
JP (1) JPS58200352A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01112433A (en) * 1987-10-27 1989-05-01 Fujitsu Ltd Data checking system
JPH03252842A (en) * 1990-03-02 1991-11-12 Fujitsu Ltd Diagnostic method for input/output operation
JPH04504626A (en) * 1988-12-29 1992-08-13 サムスン エレクトロニクス カンパニー リミテッド information processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01112433A (en) * 1987-10-27 1989-05-01 Fujitsu Ltd Data checking system
JPH04504626A (en) * 1988-12-29 1992-08-13 サムスン エレクトロニクス カンパニー リミテッド information processing system
JPH03252842A (en) * 1990-03-02 1991-11-12 Fujitsu Ltd Diagnostic method for input/output operation

Similar Documents

Publication Publication Date Title
JP2996440B2 (en) Diagnosis method of data processing system
JPS58200352A (en) Diagnostic system of arithmetic option hardware
JPS60247760A (en) Data communication system
JPS61260342A (en) Bus extender
JPS6213155Y2 (en)
JPH067379B2 (en) Direct memory access control circuit
JPS63115240A (en) Fault detecting system
JPH02211551A (en) Information processor
JP2980550B2 (en) Communication device
JPS5833737A (en) Reset controlling system
JP3357958B2 (en) Data processing device
JPS6042496B2 (en) Parity error processing method
JPS5920052A (en) Interruption control circuit of microcomputer system
JP3177794B2 (en) Bus access error handling method
JPS60101649A (en) Diagnosis device of electronic computer
JPS6152752A (en) Fault display circuit
JPH1020968A (en) Selective hardware resetting circuit
JPS633346B2 (en)
JPS6370360A (en) Input/output control system
JPH0429096B2 (en)
JPS6224301A (en) Process input and output device
JPS5843053A (en) Microprocessor
JPS6043745A (en) Computer system
JPS63304356A (en) Check system for normalcy of dma data
JPS60241146A (en) Fault detecting method