JPH0148563B2 - - Google Patents

Info

Publication number
JPH0148563B2
JPH0148563B2 JP58173539A JP17353983A JPH0148563B2 JP H0148563 B2 JPH0148563 B2 JP H0148563B2 JP 58173539 A JP58173539 A JP 58173539A JP 17353983 A JP17353983 A JP 17353983A JP H0148563 B2 JPH0148563 B2 JP H0148563B2
Authority
JP
Japan
Prior art keywords
arithmetic
state
processing unit
unit
arithmetic unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP58173539A
Other languages
Japanese (ja)
Other versions
JPS6065348A (en
Inventor
Toshio Goto
Takaaki Mizutani
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP58173539A priority Critical patent/JPS6065348A/en
Publication of JPS6065348A publication Critical patent/JPS6065348A/en
Publication of JPH0148563B2 publication Critical patent/JPH0148563B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults

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)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔概要〕 演算速度に影響を与えずに装置の診断を行な
い、その信頼性を高め得る演算装置診断方式に関
し、 演算速度の低下なしの各演算装置の診断により
システムの信頼性向上を目的とし、 中央処理装置に単一の共有バスを介して接続さ
れ、独自のマイクロプログラム又は制御プログラ
ムを備えた各演算装置毎に、前記中央処理装置が
各演算装置に対する制御を行なつている状態にお
いて、前記共有バスを介して命令を発する度毎に
その命令が前記演算装置に対する命令である第1
の状態か、又は当該演算装置以外の演算装置に対
する命令である第2の状態かを保持する状態保持
部と、前記保持内容が第1の状態から第2の状態
に変化したときにのみ前記演算装置の診断プログ
ラムを起動し、第2の状態から第1の状態に変化
したときに前記診断プログラムを終結させる制御
手段と、前記診断プログラムによる診断を施され
てその結果を出力する被診断対象部と、該被診断
対象部から動作異常情報が出力されたときエラー
フラグをセツトするフラグセツト手段と、前記演
算装置の起動時に前記セツトされているエラーフ
ラグに応答して前記中央処理装置に割込みを発す
る割込み手段とを設け、前記各演算装置のための
診断は、前記中央処理装置及び診断している演算
装置以外の各演算装置の動作とは非同期で遂行す
るようにして構成した。
[Detailed Description of the Invention] [Summary] This invention relates to an arithmetic device diagnostic method that can diagnose a device without affecting the arithmetic speed and improve its reliability. For the purpose of improving reliability, each arithmetic unit is connected to the central processing unit via a single shared bus and has its own microprogram or control program, and the central processing unit exercises control over each arithmetic unit. In this state, each time an instruction is issued via the shared bus, the instruction is a first instruction for the arithmetic unit.
or a second state that is an instruction to an arithmetic device other than the arithmetic device; a control unit that starts a diagnostic program of the device and terminates the diagnostic program when the second state changes to the first state; and a diagnostic target unit that is diagnosed by the diagnostic program and outputs the results. a flag setting means for setting an error flag when abnormal operation information is output from the part to be diagnosed; and generating an interrupt to the central processing unit in response to the set error flag when the arithmetic unit is started up. The diagnosis for each arithmetic unit is performed asynchronously with the operation of each arithmetic unit other than the central processing unit and the arithmetic unit being diagnosed.

〔産業上の利用分野〕[Industrial application field]

本発明の演算装置診断方式に係り、特に演算速
度に影響を与えずに装置の診断を行ない、その信
頼性を高める演算装置診断方式に関する。
The present invention relates to an arithmetic device diagnostic method, and particularly relates to an arithmetic device diagnostic method that diagnoses a device without affecting the calculation speed and improves its reliability.

中央処理装置の演算装置はその演算動作が正常
に遂行されているか否かのチエツクのために診断
が行なわれる。
The arithmetic unit of the central processing unit is diagnosed to check whether its arithmetic operations are being performed normally.

その診断には、必要に応じて決まる各種形式の
ものがあるが、その診断に用いられるデータ及び
プログラムとの関係において診断を適時に行ない
得ず、その形式によつてはシステムの性能の低下
になる等、なお改善されるべき余地が残されてお
り、これは演算装置数の増大につれて一層顕著に
なつて来ている。
There are various types of diagnosis depending on the need, but due to the relationship with the data and programs used for diagnosis, diagnosis cannot be performed in a timely manner, and depending on the format, system performance may deteriorate. There is still room for improvement, and this is becoming more noticeable as the number of arithmetic units increases.

〔従来の技術〕[Conventional technology]

従来の各演算装置についての診断は、電源投入
時における初期診断、プログラムローデイング
IPL時における診断、プログラム実行中における
パトロール診断などがある。これらの診断は常に
データ量の少ない均一データについての演算結果
のデータをチエツクするものである。
Diagnosis of conventional arithmetic units includes initial diagnosis when power is turned on, and program loading.
Diagnosis during IPL, patrol diagnosis during program execution, etc. These diagnoses always check the data of the calculation results for uniform data with a small amount of data.

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

この従来の診断においては、診断データを均一
としているので、異なるデータに基づく診断を行
なうことはできないし、データ量の少ないことか
ら診断範囲に制限がある。又、プログラムの実行
に入ると、演算装置数の増大と共にその演算装置
に対する適時のパトロール診断が難しくなるほ
か、パトロール診断数を増加させようとすると、
システム性能の低下を招来するなど不具合な点が
従来方式に存在する。
In this conventional diagnosis, since the diagnostic data is uniform, it is not possible to perform a diagnosis based on different data, and the diagnostic range is limited due to the small amount of data. Furthermore, once the program is executed, as the number of processing units increases, timely patrol diagnosis for the processing units becomes difficult, and if you try to increase the number of patrol diagnosis,
Conventional methods have drawbacks such as deterioration of system performance.

本発明は上述したような従来診断方式の有する
欠点に鑑みて創案されたもので、演算速度の低下
なしに複数の演算装置の診断を為してシステムの
信頼性を高め得る演算装置診断方式を提供するこ
とをその目的とする。
The present invention was devised in view of the drawbacks of the conventional diagnostic methods as described above, and provides a processing device diagnostic method that can diagnose multiple processing devices without reducing the processing speed and improve system reliability. Its purpose is to provide.

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

第1図は本発明の原理ブロツク図を示す。第1
図に示す如く、本発明は、中央処理装置1に単一
の共有バス30を介して接続され、独自のマイク
ロプログラム又は制御プログラムを備えた演算装
置2i(i=1、2、…、N)毎に、次の各構成
要素を設けて各演算装置の診断を行なうようにし
たものである。その各構成要素は、前記中央処理
装置1が各演算装置2iに対する制御を行なつて
いる状態において、前記共有バス30を介して命
令を発する度毎にその命令が前記演算装置2iに
対する命令である第1の状態か、又は当該演算装
置2i以外の演算装置に対する命令である第2の
状態かを保持する状態保持部32iと、前記保持
内容が第1の状態から第2の状態に変化したとき
にのみ前記演算装置2iの診断プログラムを起動
し、第2の状態から第1の状態に変化したときに
前記診断プログラムを終結させる制御手段34i
と、前記診断プログラムによる診断を施されてそ
の結果を出力する被診断対象部36iと、該被診
断対象部36iから動作異常情報が出力されたと
きエラーフラグをセツトするフラグセツト手段3
8iと、前記演算装置2iの起動時に前記セツト
されているエラーフラグに応答して前記中央処理
装置1に割込みを発する割込み手段40iとであ
り、前記各演算装置2iのための診断は、前記中
央処理装置1及び診断している演算装置以外の各
演算装置の動作とは非同期で遂行される。
FIG. 1 shows a block diagram of the principle of the present invention. 1st
As shown in the figure, the present invention comprises arithmetic units 2i (i=1, 2, ..., N) connected to the central processing unit 1 via a single shared bus 30 and equipped with their own microprograms or control programs. In each case, the following components are provided to diagnose each arithmetic unit. Each component is configured such that each time a command is issued via the shared bus 30 in a state where the central processing unit 1 is controlling each calculation unit 2i, the command is a command to the calculation unit 2i. A state holding unit 32i that holds either a first state or a second state that is an instruction to a calculation device other than the calculation device 2i, and when the held content changes from the first state to the second state. a control means 34i that starts a diagnostic program of the arithmetic unit 2i only when the second state changes to the first state, and terminates the diagnostic program when the second state changes to the first state;
, a part to be diagnosed 36i that is diagnosed by the diagnostic program and outputs the result, and a flag setting means 3 that sets an error flag when abnormal operation information is output from the part to be diagnosed 36i.
8i, and an interrupt means 40i that issues an interrupt to the central processing unit 1 in response to the error flag set when the arithmetic unit 2i is started, and the diagnosis for each of the arithmetic units 2i is performed by the central processing unit 40i. The processing is performed asynchronously with the operations of the processing device 1 and each arithmetic device other than the arithmetic device being diagnosed.

〔作用〕[Effect]

各演算装置2iにおいて、単一の共有バス30
を介して中央処理装置1から与えられる命令ガ自
装置宛のものでないとき、その状態保持部32i
が第2の状態にセツトされる。この第2の状態へ
のセツトに応答して制御手段34iが診断プログ
ラムを起動する。そのとき、前記命令を与えられ
た演算装置は、診断の起動を生ぜしめられている
演算装置とは並行してその命令対応の処理を行な
う。
In each computing unit 2i, a single shared bus 30
When the command given from the central processing unit 1 via
is set to the second state. In response to this setting to the second state, the control means 34i starts a diagnostic program. At that time, the arithmetic unit to which the instruction has been given performs processing corresponding to the instruction in parallel with the arithmetic unit that is causing the activation of the diagnosis.

その起動時に、フラグセツト手段38iの参照
が行なわれ、エラーフラグがセツトされているな
らば、その割込み手段40iから中央処理装置1
に対し割込みがかけられ、前記エラーフラグのセ
ツトを生ぜしめた障害に対する適切な処置がとら
れる。
At the time of startup, the flag setting means 38i is referred to, and if the error flag is set, the interrupt means 40i sends a message to the central processing unit 1.
An interrupt is placed on the error flag to take appropriate action on the fault that caused the error flag to be set.

エラーフラグがセツトされていなければ、被診
断対象部36iは起動された診断プログラムによ
つて診断が行なわれる。
If the error flag is not set, the diagnostic target section 36i is diagnosed by the activated diagnostic program.

その診断において、動作異常情報が被診断対象
部36iから出力されるときエラーフラグセツト
手段38iにエラーフラグをセツトさせて開始さ
れた診断を終了させる。又、診断の終了は状態保
持部32iが自装置宛の命令により第1の状態に
セツトされたときにも生ぜしめられる。
In the diagnosis, when operational abnormality information is output from the part to be diagnosed 36i, the error flag setting means 38i sets an error flag and finishes the diagnosis that has been started. The end of the diagnosis also occurs when the state holding section 32i is set to the first state by a command addressed to the device itself.

上述の診断により、各演算装置の演算速度が低
下されることはない。つまり、演算装置の信頼性
の向上のために、システム性能は犠牲は生じな
い。
The above-described diagnosis does not reduce the calculation speed of each calculation device. In other words, system performance is not sacrificed in order to improve the reliability of the arithmetic unit.

〔実施例〕〔Example〕

第2図は本発明実施例の概略構成を示し、第3
図は第2図実施例の演算装置2i(i=1、2、
…、N)についての詳細図である。第2図におい
て、1は中央処理装置を示し、21,22…,2N
は各種演算装置例えば浮動少数点演算装置、10進
演算装置、関数演算装置等である。
FIG. 2 shows a schematic configuration of an embodiment of the present invention, and FIG.
The figure shows an arithmetic unit 2i (i=1, 2,
..., N) is a detailed diagram. In FIG. 2, 1 indicates a central processing unit, 2 1 , 2 2 ..., 2 N ,
are various arithmetic devices such as floating point arithmetic devices, decimal arithmetic devices, function arithmetic devices, etc.

第3図についてその詳細を説明するが、演算装
置の別を示すことなしに、その説明を行なう。
3,4,5は夫々、演算装置を制御する制御記憶
装置、制御レジスタ、プログラムカウンタであ
り、その起動はマイクロプログラム又は診断制御
レジスタ6によつて生ぜしめられる。レジスタ6
はあき時間の診断に関するコマンド情報、状態表
示、エラー情報を格納している。
The details will be explained with reference to FIG. 3, but the explanation will be made without specifying the different arithmetic units.
Reference numerals 3, 4, and 5 are a control storage device, a control register, and a program counter, respectively, which control the arithmetic unit, and their activation is caused by a microprogram or a diagnostic control register 6. register 6
Stores command information, status display, and error information related to idle time diagnosis.

演算装置の演算部は演算レジスタ7、倍数器
8、演算器9にて構成される。その演算レジスタ
7の入力はマルチプロセツサ10を介して中央演
算装置1(第2図参照)へ接続されている演算バ
ス11又は演算器9の出力へ接続される。演算バ
ス11には、パリテイチエツク回路12が接続さ
れている。13,14は内部演算バスである。
The arithmetic section of the arithmetic device is composed of an arithmetic register 7, a multiplier 8, and an arithmetic unit 9. The input of the arithmetic register 7 is connected via the multiprocessor 10 to the arithmetic bus 11 connected to the central processing unit 1 (see FIG. 2) or to the output of the arithmetic unit 9. A parity check circuit 12 is connected to the arithmetic bus 11. 13 and 14 are internal operation buses.

15は演算器9に接続されたコンデイシヨンコ
ード発生器であり、その出力は制御レジスタ4の
チエツクビツト(CKビツト)出力と共にアンド
ゲート16へ接続される。アンドゲート16の出
力は診断制御レジスタ6のエラーフラグ(第4図
のビツト2)及びエラー番号(第4図のビツト3
〜7)のセツト入力に接続されている。
A condition code generator 15 is connected to the arithmetic unit 9, and its output is connected to the AND gate 16 together with the check bit (CK bit) output of the control register 4. The output of the AND gate 16 is the error flag (bit 2 in FIG. 4) of the diagnostic control register 6 and the error number (bit 3 in FIG. 4).
~7) are connected to the set inputs.

17は出力バスで、18は出力バス17のデー
タにパリテイビツトを付加するためのパリテイジ
エネレータである。19は中央処理装置側演算バ
スである。
17 is an output bus, and 18 is a parity generator for adding parity bits to the data on the output bus 17. 19 is a central processing unit side calculation bus.

第3図に示される診断制御レジスタ6の診断フ
ラグのためのセツト位置が第1図の状態保持部3
2(第3図と同様、演算装置の別を示すことなし
にその参照番号を示す。)に対応し、 制御記憶装置3、制御レジスタ4、プログラム
カウンタ5及び制御記憶装置3内の診断プログラ
ムが第1図の制御手段34に対応し、 演算レジスタ7、倍数器8、演算器9、内部バ
ス13,14が第1図の被診断対象部36に対応
し、 診断制御レジスタ6のエラーフラグのためのセ
ツト位置、制御レジスタ4のチエツクビツトのた
めのセツト位置、コンデイシヨンコード発生器1
5が第1図のフラグセツト手段38に対応し、 制御記憶装置3、制御レジスタ4、プログラム
カウンタ5及び制御記憶装置3内の診断プログラ
ム内割込み部分、並びに演算バス19インタフエ
イス部分が第1図の割込み手段40に対応し、 演算バス11,19が第1図の共有バス30に
対応する。
The setting position for the diagnostic flag of the diagnostic control register 6 shown in FIG. 3 is set in the state holding section 3 of FIG.
2 (similar to FIG. 3, the reference numbers are shown without indicating the type of arithmetic unit), the control storage device 3, the control register 4, the program counter 5, and the diagnostic program in the control storage device 3 are Corresponding to the control means 34 in FIG. 1, the arithmetic register 7, multiplier 8, arithmetic unit 9, and internal buses 13 and 14 correspond to the part to be diagnosed 36 in FIG. Set position for check bit of control register 4, condition code generator 1
5 corresponds to the flag setting means 38 in FIG. Corresponding to the interrupt means 40, the operational buses 11 and 19 correspond to the shared bus 30 in FIG.

次に、本発明による演算装置の診断態様を説明
する。
Next, a diagnosis aspect of the arithmetic device according to the present invention will be explained.

中央処理装置1での作動は第5図に示されるよ
うに、命令の読み出し(Fetch)命令の解読
(decode)、オペランド計算及びデータの読出し
(Read)、そして実行の順に繰り返して行なわれ
る。
As shown in FIG. 5, the operations of the central processing unit 1 are repeated in the following order: reading an instruction (Fetch), decoding the instruction (Decode), calculating operands, reading data (Read), and executing the instruction.

このような動作中の第5図decodeのタイミン
グで中央処理装置が命令解読を行ない、その命令
が演算装置に対するものであれば、関連演算装置
に通知する。その演算装置は第5図decodeのタ
イミングで自己の装置に関する命令であれば、診
断制御レジスタ6の診断フラグ(ビツト1)を
“0”とし、中央処理装置により起動待ち状態と
なる。そして、中央処理装置より起動がかかる
と、その演算装置は指定された演算命令(そのプ
ログラムは制御記憶装置3から読み出される。)
を実行する。
During such an operation, the central processing unit decodes the instruction at the timing of decode in FIG. 5, and if the instruction is for an arithmetic unit, it notifies the related arithmetic unit. If the instruction is related to its own device at the timing of decode in FIG. 5, the arithmetic device sets the diagnostic flag (bit 1) of the diagnostic control register 6 to "0" and enters a state of waiting for activation by the central processing unit. Then, when activated by the central processing unit, that arithmetic unit executes the specified arithmetic instruction (the program is read from the control storage device 3).
Execute.

第5図decodeのタイミングで自己の演算装置
に関する命令でなければ、診断制御レジスタ6の
診断フラグ(ビツト1)を“1”とする。演算装
置は診断フラグが“0”から“1”になることに
応答してプログラムカウンタ5に診断プログラム
先頭アドレスをセツトし、制御記憶装置3から第
6図に示すようなあき時間診断プログラムを読み
出してその実行を開始する。
At the timing of decode in FIG. 5, if the instruction is not related to the own arithmetic unit, the diagnostic flag (bit 1) of the diagnostic control register 6 is set to "1". In response to the diagnosis flag changing from "0" to "1", the arithmetic unit sets the diagnosis program start address in the program counter 5, and reads out the idle time diagnosis program as shown in FIG. 6 from the control storage device 3. and start its execution.

この実行に先立つて、演算レジスタの(a)に初期
値又は前演算結果が格納されておりその内容を基
に診断が進められる。
Prior to this execution, an initial value or a previous calculation result is stored in the calculation register (a), and the diagnosis is proceeded based on the contents.

演算器9の演算結果のチエツクは制御レジスタ
4のCKビツトが“1”の時演算結果を基にして
発生されるコンデイシヨンコードが期待値と一致
しているか否かを判定し、期待値どおりであれば
順次診断プログラムを実行し、一連の診断が終了
すると、演算レジスタ1の(a)の内容に1を加算し
て上述と同様の診断を繰り返す。
When the CK bit of the control register 4 is "1", the result of the operation of the arithmetic unit 9 is checked by determining whether or not the condition code generated based on the result of the operation matches the expected value. If so, the diagnostic program is executed sequentially, and when the series of diagnostics is completed, 1 is added to the contents of (a) of the calculation register 1, and the same diagnosis as described above is repeated.

このような通常の診断は第5図decodeのタイ
ミングで命令が自己の演算装置に関する命令であ
る場合に診断制御レジスタ6の診断フラグ(第4
図のビツト1)が“1”から“0”となつたとき
終了する。
In such a normal diagnosis, if the instruction is an instruction related to its own arithmetic unit at the timing of decode in FIG.
The process ends when bit 1) in the figure changes from "1" to "0".

上述のコンデイシヨンコードと期待値とが一致
しない場合には、診断制御レジスタ6のエラーフ
ラグ(第4図のビツト2)とエラー番号(第4図
のビツト3〜7)をセツトし、診断命令を中断す
る。
If the condition code described above does not match the expected value, set the error flag (bit 2 in Fig. 4) and error number (bits 3 to 7 in Fig. 4) in the diagnostic control register 6, and perform the diagnosis. Interrupt the command.

このような状態にある演算装置に対し演算命令
の起動がかけられると、診断制御レジスタ6のエ
ラーフラグが“1”になつているからその演算命
令は実行されず、中央処理装置1に対し割り込み
がかけられる。中央処理装置1ではその割り込み
内容を解析し、リトライ処理、フアームウエアに
よる実行、その演算装置の切り離し処理等を行な
う。
When an arithmetic instruction is activated for an arithmetic unit in such a state, the error flag in the diagnostic control register 6 is set to "1", so the arithmetic instruction is not executed and an interrupt is sent to the central processing unit 1. is applied. The central processing unit 1 analyzes the contents of the interrupt, performs retry processing, execution by firmware, disconnection processing of the arithmetic unit, etc.

なお、上述の演算装置には、上記例示のものだ
けでなく、中央処理装置に接続されるチヤンネル
装置内のプロセツサも含まれる。
Note that the above-mentioned arithmetic device includes not only the above-mentioned example but also a processor in a channel device connected to a central processing unit.

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

以上述べたように本発明によれば、演算装置の
演算速度を低下させることなく診断を行ない得る
から、システム性能の低下なしに演算装置の信頼
性の向上を享受する等の効果が得られる。
As described above, according to the present invention, diagnosis can be performed without reducing the calculation speed of the arithmetic device, so that effects such as improved reliability of the arithmetic device can be obtained without deteriorating system performance.

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

第1図は本発明の原理ブロツク図、第2図は本
発明実施例の概略構成図、第3図は第2図実施例
の演算装置の詳細図、第4図は診断制御レジスタ
にセツトされる内容を示す図、第5図は中央処理
装置の処理フローチヤート、第6図は診断プログ
ラムによる演算フローチヤートである。第1図、
第2図及び第3図において、 1は中央処理装置、2i(i=1、2、…、N)
は演算装置、30は共有バス(演算バス11,1
9)、32iは状態保持部(診断制御レジスタ6
の診断フラグのためのセツト位置)、34iは制
御手段(制御記憶装置3、制御レジスタ4、プロ
グラムカウンタ5及び制御記憶装置3内の診断プ
ログラム)、36iは被診断対象部(演算レジス
タ7、倍数器8、演算器9、内部演算バス13,
14)、38iはフラグセツト手段(診断制御レ
ジスタ6のエラーフラグのためのセツト位置、制
御レジスタ4のチエツクビツトのためのセツト位
置、コンデイシヨンコード発生器15)、40i
は割込み手段(制御記憶装置3、制御レジスタ
4、プログラムカウンタ5及び制御記憶装置3内
の診断プログラム内割込み処理部分、並びに演算
バス19)である。
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a schematic configuration diagram of an embodiment of the present invention, Fig. 3 is a detailed diagram of the arithmetic unit of the embodiment of Fig. 2, and Fig. 4 is a diagram of the configuration set in the diagnostic control register. FIG. 5 is a processing flowchart of the central processing unit, and FIG. 6 is a calculation flowchart of the diagnostic program. Figure 1,
In Figures 2 and 3, 1 is the central processing unit, 2i (i = 1, 2, ..., N)
is an arithmetic unit, 30 is a shared bus (arithmetic buses 11, 1
9), 32i is a state holding unit (diagnostic control register 6
(setting position for the diagnostic flag of unit 8, computing unit 9, internal computing bus 13,
14), 38i is a flag setting means (set position for error flag of diagnostic control register 6, set position for check bit of control register 4, condition code generator 15), 40i
is an interrupt means (control storage device 3, control register 4, program counter 5, interrupt processing part in the diagnostic program in the control storage device 3, and arithmetic bus 19).

Claims (1)

【特許請求の範囲】 1 中央処理装置1に単一の共有バス30を介し
て接続され、独自のマイクロプログラム又は制御
プログラムを備えた演算装置2i(i=1、2、
…、N)毎に、 前記中央処理装置1が各演算装置2iに対する
制御を行なつている状態において、前記共有バス
30を介して命令を発する度毎にその命令が前記
演算装置2iに対する命令である第1の状態か、
又は当該演算装置2i以外の演算装置に対する命
令である第2の状態かを保持する状態保持部32
iと、 前記保持内容が第1の状態から第2の状態に変
化したときにのみ前記演算装置2iの診断プログ
ラムを起動し、第2の状態から第1の状態に変化
したときに前記診断プログラムを終結させる制御
手段34iと、 前記診断プログラムによる診断を施されてその
結果を出力する被診断対象部36iと、 該被診断対象部36iから動作異常情報が出力
されたときエラーフラグをセツトするフラグセツ
ト手段38iと、 前記演算装置2iの起動時に前記セツトされて
いるエラーフラグに応答して前記中央処理装置1
に割込みを発する割込み手段40iとを備えて、 前記各演算装置2iのための診断を、前記中央
処理装置1及び診断している演算装置以外の各演
算装置の動作とは非同期で遂行することを特徴と
する演算装置診断方式。
[Claims] 1. Arithmetic unit 2i (i=1, 2,
..., N), in a state where the central processing unit 1 is controlling each arithmetic unit 2i, each time a command is issued via the shared bus 30, the command is an instruction to the arithmetic unit 2i. Some first state,
or a second state that is an instruction to a computing device other than the computing device 2i.
i, activating the diagnostic program of the arithmetic unit 2i only when the retained content changes from the first state to the second state, and starting the diagnostic program of the arithmetic unit 2i when the held content changes from the second state to the first state; A control means 34i for terminating the diagnosis, a part to be diagnosed 36i that is diagnosed by the diagnostic program and outputs the result, and a flag set for setting an error flag when abnormal operation information is output from the part to be diagnosed 36i. means 38i; and means for controlling the central processing unit 1 in response to the error flag set when the arithmetic unit 2i is activated.
and an interrupt means 40i that issues an interrupt to the processing unit 2i, and performs diagnosis for each processing unit 2i asynchronously with the operation of each processing unit other than the central processing unit 1 and the processing unit being diagnosed. Characteristic arithmetic unit diagnostic method.
JP58173539A 1983-09-20 1983-09-20 Diagnosis system for arithmetic unit Granted JPS6065348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58173539A JPS6065348A (en) 1983-09-20 1983-09-20 Diagnosis system for arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58173539A JPS6065348A (en) 1983-09-20 1983-09-20 Diagnosis system for arithmetic unit

Publications (2)

Publication Number Publication Date
JPS6065348A JPS6065348A (en) 1985-04-15
JPH0148563B2 true JPH0148563B2 (en) 1989-10-19

Family

ID=15962403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58173539A Granted JPS6065348A (en) 1983-09-20 1983-09-20 Diagnosis system for arithmetic unit

Country Status (1)

Country Link
JP (1) JPS6065348A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7206969B2 (en) * 2003-09-10 2007-04-17 Hewlett-Packard Development Company, L.P. Opportunistic pattern-based CPU functional testing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5315345B2 (en) * 1972-07-19 1978-05-24
JPS50159634A (en) * 1974-06-13 1975-12-24
JPS51134541A (en) * 1975-05-19 1976-11-22 Hitachi Ltd Self-diagnostic system of data processing equipment

Also Published As

Publication number Publication date
JPS6065348A (en) 1985-04-15

Similar Documents

Publication Publication Date Title
JPH0430053B2 (en)
US5488728A (en) Microprocessor having a run/stop pin for accessing an idle mode
JPH0728670A (en) Information processor
JPH0148563B2 (en)
CN1021604C (en) Apparatus and method for recovering from page faults in vector data processing operations
JP2793386B2 (en) Computer error information storage device for computer
JP2793396B2 (en) Computer status holding device
JP2679575B2 (en) I/O channel fault handling system
JP3621477B2 (en) How to retry a microprogram
JP2786215B2 (en) Restart processing control method
JP3171615B2 (en) Data transfer retry control method
JPH05165737A (en) Memory test system
JPS6158051A (en) False trouble generating system
JPS63214856A (en) Data protection control system for data processing unit
JPH02244232A (en) information processing equipment
JPS58166454A (en) data processing equipment
JPS6146535A (en) Pseudo error setting control system
JPS5936859A (en) Information processing device
JPS5931800B2 (en) Control memory diagnostic method
JPS62192824A (en) Access system for processor
JPS5936853A (en) Operation processor
JPH05289946A (en) Memory control system
JPH0341528A (en) Diagnostic device in computer
JPS59229658A (en) Information processor
JPS6326416B2 (en)