JPH0423152A - Diagnostic device for operation processor - Google Patents
Diagnostic device for operation processorInfo
- Publication number
- JPH0423152A JPH0423152A JP2128608A JP12860890A JPH0423152A JP H0423152 A JPH0423152 A JP H0423152A JP 2128608 A JP2128608 A JP 2128608A JP 12860890 A JP12860890 A JP 12860890A JP H0423152 A JPH0423152 A JP H0423152A
- Authority
- JP
- Japan
- Prior art keywords
- arithmetic
- data
- bus
- local
- processing
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は演算処理装置における診断装置に関し、特に、
システム全体を制御・管理する中央制御装置(CP U
)に接続され、このCPUの制御の下に所定の演算を行
い且つデータを記憶する演算処理装置においてデータ転
送用ローカルバスの転送状態及び演算処理装置の動作状
態を診断する診断装置に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a diagnostic device for an arithmetic processing device, and in particular,
The central control unit (CPU) controls and manages the entire system.
) is connected to a processor that performs predetermined calculations and stores data under the control of the CPU. .
システム全体を制御・管理するCPUに接続され、諸デ
ータの演算及び記憶を実行する演算処理装置において、
当該装置の構成要素回路の間を接続するローカル演算バ
スの正常・異常を診断する従来の回路構成及び診断方法
を第3図を参照して説明する。In an arithmetic processing unit that is connected to a CPU that controls and manages the entire system and executes calculations and storage of various data,
A conventional circuit configuration and diagnostic method for diagnosing the normality or abnormality of a local operation bus that connects component circuits of the device will be described with reference to FIG.
第3図において、1はシステム全体を制御するCPUで
あり、これに接続された2が演算処理装置である。演算
処理装置2は、CPU接続装置3と演算用制御装置4と
演算装置5と演算用記憶装置6とを含む。CPU接続装
置3はメインバス7でCPUIに接続され、CPU1と
の間でデータのやり取りを行う機能を有する。演算用制
御装置4はCPUIから演算処理プログラムをロードさ
れ、演算処理装置2の全体を制御する機能を有する。演
算装置5は四則演算や論理積和等を実行し、演算された
結果は演算用記憶装置6に記憶される。In FIG. 3, 1 is a CPU that controls the entire system, and 2 connected to this is an arithmetic processing unit. The arithmetic processing device 2 includes a CPU connection device 3, a calculation control device 4, a calculation device 5, and a calculation storage device 6. The CPU connection device 3 is connected to the CPUI via the main bus 7 and has a function of exchanging data with the CPU 1. The calculation control device 4 is loaded with a calculation processing program from the CPUI and has a function of controlling the entire calculation processing device 2 . The arithmetic device 5 executes four arithmetic operations, logical product sums, etc., and the calculated results are stored in the arithmetic storage device 6.
演算処理装置2の前述の構成回路は、演算のデータを転
送するローカル演算バス2a、2b、2c。The aforementioned component circuits of the arithmetic processing device 2 include local arithmetic buses 2a, 2b, and 2c for transferring arithmetic data.
2d、2eと、前記CPUIとの間でデータを転送する
データ転送バスla、lbとで接続されている。以上の
構成を有した演算処理装置2では、演算用制御装置4の
制御の下に演算及びその繰り返し、更に演算結果の記憶
を一定の周期で連続的に実行し、これによって所定演算
と演算結果の記憶が周期的に実行される。2d and 2e and data transfer buses la and lb for transferring data between the CPUI and the CPU. In the arithmetic processing device 2 having the above configuration, under the control of the arithmetic control device 4, the arithmetic operation and its repetition, as well as the storage of the arithmetic results, are performed continuously at a constant cycle, and thereby the predetermined arithmetic operation and the arithmetic result are performed. storage is performed periodically.
次に上記構成を有する演算処理装置2のローカル演算バ
ス2a〜2eのデータ伝送状態を診断する方法を説明す
る。従来の診断方法では、これらのローカル演算バスを
段階的にチエツクする。先ず、ローカル演算バス2aに
ついて、CPU1が演算用制御装置4を介して演算用記
憶装置6にデータを書き込み、その後書き込んだデータ
を読み出し、バス2aを経由してデータが正しく転送さ
れた否かを調べることによりバス2aを診断する。Next, a method for diagnosing the data transmission state of the local arithmetic buses 2a to 2e of the arithmetic processing device 2 having the above configuration will be explained. Conventional diagnostic methods check these local operational buses step by step. First, regarding the local arithmetic bus 2a, the CPU 1 writes data to the arithmetic storage device 6 via the arithmetic control device 4, and then reads the written data to check whether the data has been correctly transferred via the bus 2a. The bus 2a is diagnosed by checking.
ローカル演算バス2b、2d、2eは、CPUIが演算
用制御装置4とバス2bを介して演算装置5にデータを
送り、バス2eを用いてデータの変化が生じない演算を
実行し、演算された当該データをバス2dを介して演算
用記憶装置6に記憶する。記憶したデータをバス2aを
利用してCPU1が読み出し、送ったデータが正しく処
理されたか否かを調べることにより、バス2b、2d、
2eを一括して診断する。従ってローカル演算バス2b
、2d、2eの診断を行うためには、ローカル演算バス
2aが正常であることが条件である。The local calculation buses 2b, 2d, and 2e are used to transmit data to the calculation device 5 via the calculation control device 4 and the bus 2b, and use the bus 2e to execute calculations that do not cause changes in data. The data is stored in the calculation storage device 6 via the bus 2d. The CPU 1 reads out the stored data using the bus 2a, and checks whether the sent data has been processed correctly.
Diagnose 2e all at once. Therefore, local operation bus 2b
, 2d, and 2e, it is a condition that the local operation bus 2a is normal.
最後に、ローカル演算バス2Cについては、CPU1が
演算用制御装置4とバス2aを用いてデータを一旦演算
用記憶装置6に書き込み、その後バス2cで演算装置5
に当該データを送り、演算装置5でデータ変化の生じな
い演算を実行し、次にバス2dを介して演算用記憶装置
6に転送し、前述の場合とは異なるアドレスに当該デー
タを記憶する。その後、バス2aを利用してCPUIが
記憶したデータを読み出し、最初に書き込んだデータが
正しく処理されたか否かを調べることによりバス2cを
診断する。従って、ローカル演算バス2cを診断するた
めにはローカル演算バス2a。Finally, regarding the local arithmetic bus 2C, the CPU 1 temporarily writes data to the arithmetic storage device 6 using the arithmetic control device 4 and the bus 2a, and then writes the data to the arithmetic device 6 via the bus 2c.
The data is sent to the arithmetic unit 5, and the arithmetic unit 5 executes an arithmetic operation that does not change the data.Then, the data is transferred to the arithmetic storage unit 6 via the bus 2d, and the data is stored at an address different from that in the above case. Thereafter, the bus 2c is diagnosed by reading the data stored by the CPUI using the bus 2a and checking whether the first written data was processed correctly. Therefore, in order to diagnose the local arithmetic bus 2c, the local arithmetic bus 2a is used.
2dが正常であることが条件となる。The condition is that 2d is normal.
以上の手順を経ることによって演算処理装置2における
すべてのローカル演算バス2a〜2eのデータ伝送状態
を診断することが可能となる。By going through the above procedure, it becomes possible to diagnose the data transmission status of all the local operation buses 2a to 2e in the operation processing device 2.
前記の従来の演算処理装置2における複数のローカル演
算バスを診断する方法では、特定のローカル演算バスの
正常・異常を診断するに当たって、他のローカル演算バ
スを利用することが必要となり、診断を所定の順序で段
階的に行わなければならず、手間がかかると共に、診断
に要する時間が長くなるという不具合があった。加えて
、途中で異常なローカル演算バスが発見されると、それ
以後のローカル演算バスについては正常・異常の診断を
行うことができない。In the conventional method of diagnosing a plurality of local operation buses in the arithmetic processing device 2 described above, it is necessary to use other local operation buses when diagnosing the normality or abnormality of a specific local operation bus. This has to be done step by step in this order, which is time consuming and requires a long time for diagnosis. In addition, if an abnormal local operation bus is discovered midway through, it is impossible to diagnose whether the local operation buses thereafter are normal or abnormal.
また例えば前記のローカル演算バス2b、2d。Also, for example, the local operation buses 2b and 2d.
2eの診断で明らかなように、複数のローカル演算バス
を同時に診断するため、結果として正常と診断された場
合には、すべてのローカル演算バスが正常と判断できる
が、これに反して、結果として異常と診断された場合に
はどのローカル演算バスが異常であるのかを知ることが
できないという問題が生じる。As is clear from the diagnosis of 2e, multiple local operation buses are diagnosed at the same time, so if they are diagnosed as normal, it can be determined that all local operation buses are normal. If an abnormality is diagnosed, a problem arises in that it is not possible to know which local operation bus is abnormal.
更に従来の診断方法では、演算処理装置2におけるロー
カル演算バス2a〜2eのデータ伝送能力しか診断でき
ず、演算処理装置2自体の動作を調べることはできなか
った。一方、従来において、演算処理装置が一定周期で
動作しているか否かを診断する目的で、演算処理装置内
に動作をトレースするためのトレース装置を設けるよう
に構成したものが存在するが、このトレース装置によれ
ば、演算の結果から診断を行うように構成しているため
、ローカル演算バスの不良であるのか、又は構成回路要
素の同期クロックの不良であるのかを判断できないとい
う不具合を有していた。Furthermore, with the conventional diagnostic method, only the data transmission capabilities of the local arithmetic buses 2a to 2e in the arithmetic processing device 2 can be diagnosed, and the operation of the arithmetic processing device 2 itself cannot be investigated. On the other hand, in the past, there has been a device configured to include a tracing device for tracing operations within the arithmetic processing device for the purpose of diagnosing whether or not the arithmetic processing device is operating at a constant cycle. According to the trace device, since it is configured to perform diagnosis based on the result of calculation, it has a problem in that it cannot determine whether it is a failure in the local calculation bus or in the synchronization clock of the component circuit elements. was.
本発明の目的は、上記の問題に鑑み、ローカル演算バス
の診断を短時間に、容易に且つ正確に行うことができ、
各ローカル演算バスごとに同時に診断結果を得ることが
できると共に、演算処理装置における諸動作が一定の周
期で実行されているか否かを診断できる演算処理装置に
おける診断装置を提供することにある。In view of the above-mentioned problems, an object of the present invention is to be able to easily and accurately diagnose a local operation bus in a short time.
It is an object of the present invention to provide a diagnostic device for an arithmetic processing device that can simultaneously obtain diagnostic results for each local arithmetic bus and can diagnose whether or not various operations in the arithmetic processing device are being executed at a constant cycle.
本発明に係る第1の演算処理装置における診断装置は、
システム全体を制御する中央制御装置に接続され、中央
制御装置との間でデータのやり取りを行う接続装置と、
この接続装置を経由して中央制御装置から演算処理プロ
グラムをロードされ、このプログラムに従い演算処理を
制御する演算用制御装置と、演算処理を実行する演算装
置と、演算結果を記憶する演算用記憶装置と、前記の各
装置の間を接続し、データの演算・記憶を実行するため
のデータ転送用の複数のローカル演算バスとからなる演
算処理装置において、複数のローカル演算バスを入力側
に接続する演算バストレース装置を設け、この演算バス
トレース装置が所定のタイミングで各ローカル演算バス
上のデータを入力して記憶し、中央処理装置が演算バス
トレース装置に記憶されたデータを読出し当該データに
基づき診断を行うようにしたことを特徴とする。The diagnostic device in the first arithmetic processing device according to the present invention includes:
A connection device that is connected to a central control device that controls the entire system and exchanges data with the central control device;
An arithmetic control device that receives an arithmetic processing program from the central control device via this connection device and controls arithmetic processing according to this program, an arithmetic device that executes arithmetic processing, and an arithmetic storage device that stores arithmetic results. In an arithmetic processing device consisting of a plurality of local arithmetic buses for data transfer to connect each of the above devices and execute data arithmetic and storage, the plurality of local arithmetic buses are connected to the input side. An arithmetic bus trace device is provided, and the arithmetic bus trace device inputs and stores the data on each local arithmetic bus at a predetermined timing, and the central processing unit reads out the data stored in the arithmetic bus trace device and processes the data based on the data. It is characterized by being designed to perform diagnosis.
本発明に係る演算処理装置における診断装置は、前記の
構成において、前記演算バストレース装置の代わりにレ
ジスタ装置を用いることも可能である。In the diagnostic device for an arithmetic processing device according to the present invention, it is also possible to use a register device instead of the arithmetic bus trace device in the above configuration.
本発明に係る演算処理装置における診断装置は、前記の
各装置構成において、演算用制御装置が診断を行い、そ
の診断結果を前記中央処理装置に転送するように構成す
ることも可能である。The diagnostic device in the arithmetic processing device according to the present invention can be configured such that the arithmetic control device performs diagnosis in each of the above device configurations and transfers the diagnosis result to the central processing device.
本発明に係る演算処理装置における診断装置は、前記の
各装置構成において、演算バストレース装置と、中央処
理装置又は演算用制御装置とに基づく診断処理は、中央
処理装置及び演算処理装置が本来の作業処理を実行する
直前に実行されることを特徴とする。In the diagnostic device for an arithmetic processing device according to the present invention, in each of the device configurations described above, the diagnostic processing based on the arithmetic bus trace device and the central processing unit or the arithmetic control device is performed by the central processing unit and the arithmetic processing device. It is characterized by being executed immediately before executing the work process.
本発明による演算処理装置おける診断装置では、演算処
理装置の内部に演算バストレース装置を設け、この演算
バストレース装置は、演算用制御装置の制御に基づき、
演算処理装置内の複数のローカル演算バスに関し当該バ
ス上を伝送される演算データをバスごとに所定のタイミ
ングでフェッチし、記憶する。従って1回のフェッチ動
作ですべてのローカル演算バスの演算データを同時に取
り込むと共に、このデータの取り込みを診断プログラム
の開始時から演算処理装置の演算の周期に同期させて行
い、これによりすべてのローカル演算バスのデータを逐
次記憶する。こうして演算バストレース装置によって得
られたデータを用いて中央処理装置又は演算用制御装置
が各ローカル演算バスのデータ伝送と演算処理装置の動
作について診断を行う。演算バストレース装置の代わり
に同様な機能を発揮するように構成されたレジスタ装置
を用いることも可能である。In the diagnostic device for an arithmetic processing device according to the present invention, an arithmetic bus trace device is provided inside the arithmetic processing device, and the arithmetic bus trace device performs the following operations based on the control of the arithmetic control device.
Arithmetic data transmitted on a plurality of local arithmetic buses within an arithmetic processing device are fetched and stored at a predetermined timing for each bus. Therefore, in one fetch operation, the calculation data of all the local calculation buses is taken in simultaneously, and this data is taken in synchronized with the calculation cycle of the processing unit from the start of the diagnostic program. Store data on the bus sequentially. Using the data obtained by the arithmetic bus trace device in this way, the central processing unit or the arithmetic control unit diagnoses the data transmission of each local arithmetic bus and the operation of the arithmetic processing unit. Instead of the arithmetic bus trace device, it is also possible to use a register device configured to perform a similar function.
以下に、本発明の実施例を添付図面に基づいて説明する
。Embodiments of the present invention will be described below with reference to the accompanying drawings.
第1図は本発明に係る演算処理装置における診断装置の
構成例を示し、第2図は演算バストレース装置の詳細回
路を示す。第1図及び第2図において前述の第3図で説
明した同一の要素には同一の符号を付している。第1図
において、1はシステム全体を制御・管理するCPU、
2はCPUIによって制御され、且つ本発明に係る診断
装置が適用された演算処理装置である。3はCPU接続
装置、4は演算用制御装置、5は演算装置、6は演算用
記憶装置であり、これらは第3図で既に説明した回路要
素である。これらの回路は、メインバス7とデータ転送
バスla、lbとローカル演算バス2a〜2eによって
接続されている。FIG. 1 shows a configuration example of a diagnostic device in an arithmetic processing device according to the present invention, and FIG. 2 shows a detailed circuit of an arithmetic bus trace device. In FIGS. 1 and 2, the same elements as explained in FIG. 3 are given the same reference numerals. In FIG. 1, 1 is a CPU that controls and manages the entire system;
Reference numeral 2 denotes an arithmetic processing unit that is controlled by a CPUI and to which a diagnostic device according to the present invention is applied. 3 is a CPU connection device, 4 is a calculation control device, 5 is a calculation device, and 6 is a calculation storage device, which are the circuit elements already explained in FIG. These circuits are connected by a main bus 7, data transfer buses la and lb, and local operation buses 2a to 2e.
上記演算処理装置2では、更に演算バスト−レス装置8
が設けられる。演算バストレース装置8では、その入力
側にローカル演算バス28〜2eのそれぞれから分岐さ
れたバス部分が接続され、その出力側にはCPU接続装
置3とつながるデータ転送バスICが接続されている。In the arithmetic processing device 2, the arithmetic bus stress device 8
is provided. In the arithmetic bus trace device 8, bus portions branched from each of the local arithmetic buses 28 to 2e are connected to its input side, and a data transfer bus IC connected to the CPU connection device 3 is connected to its output side.
従って、入力側の接続関係に基づき、演算バストレース
装置8は各ローカル演算バス2a〜2e上を伝送される
演算データを適当なタイミングで読み込み、記憶するこ
とができる。第2図に示されるように、演算バストレー
ス装置8には分岐されたローカル演算バス2a〜2eが
それぞれ接続されている。演算バストレース装置8の内
部にはローカル演算バス2a〜2eのそれぞれに対応し
てトレース装置81〜85が設けられ、これらのトレー
ス装置81〜85に、対応するローカル演算バス28〜
2eのデータが所定のタイミングでフェッチされ記憶さ
れる。なお第2図に示されるように、各トレース装置8
1〜85がデータを取り込みフェッチするタイミングは
演算用制御装置4の制御によって決定される。また各ト
レース装置81〜85からデータを取り出すタイミング
はCPU接続装置3の制御によって決定される。Therefore, based on the connection relationship on the input side, the arithmetic bus trace device 8 can read and store the arithmetic data transmitted on each of the local arithmetic buses 2a to 2e at an appropriate timing. As shown in FIG. 2, branched local arithmetic buses 2a to 2e are connected to the arithmetic bus trace device 8, respectively. Inside the arithmetic bus trace device 8, trace devices 81 to 85 are provided corresponding to the local arithmetic buses 2a to 2e, respectively.
Data 2e is fetched and stored at a predetermined timing. As shown in FIG. 2, each tracing device 8
The timing at which the data processing units 1 to 85 take in and fetch data is determined by the control of the arithmetic control device 4. Further, the timing at which data is taken out from each trace device 81 to 85 is determined by the control of the CPU connection device 3.
上記の演算バストレース装置8における各トレース装置
81−〜85は、メモリ機能を有し、所定の時間間隔で
周期的に読み込み、フェッチした演算データを時間順序
に従って記憶する機能を有している。Each of the trace devices 81 to 85 in the arithmetic bus trace device 8 has a memory function, and has a function of periodically reading data at predetermined time intervals and storing the fetched arithmetic data in chronological order.
次に演算バストレース装置8に基づく本実施例の診断方
法について説明する。ローカル演算バス2a〜2eを診
断するためのプログラムはCPU1のメモリに蓄えられ
ている。CPUIが演算処理装置2のローカル演算バス
28〜2eの診断を行う場合には診断プログラムをCP
U接続装置3を介して演算用制御装置4にロードする。Next, the diagnosis method of this embodiment based on the arithmetic bus trace device 8 will be explained. A program for diagnosing the local operation buses 2a to 2e is stored in the memory of the CPU 1. When the CPUI diagnoses the local arithmetic buses 28 to 2e of the arithmetic processing unit 2, the diagnostic program is
It is loaded into the calculation control device 4 via the U connection device 3.
次に、CPUIのRUN命令により演算用制御装置4が
診断動作を開始する。この場合、演算用制御装置4が演
算処理装置2を制御し、演算装置5に四則演算や論理積
和等の算術を行わせ、演算用記憶装置16が演算結果又
は演算途中の一時退避のデータを記憶する。演算バスト
レース装置8は、データの演算又は記憶に用いられるデ
ータ転送用のローカル演算バス28〜2eをトレースす
る。Next, the arithmetic control device 4 starts a diagnostic operation in response to a RUN command from the CPUI. In this case, the arithmetic control device 4 controls the arithmetic processing device 2, causes the arithmetic device 5 to perform arithmetic operations such as the four arithmetic operations and the sum of logical products, and the arithmetic storage device 16 stores the arithmetic results or data temporarily saved during the calculation. remember. The arithmetic bus trace device 8 traces local arithmetic buses 28 to 2e for data transfer used for data arithmetic or storage.
四則演算や論理積和等の算術は演算装置5において実行
されるが、演算装置5へのデータの入力は、演算用制御
装置4からローカル演算バス2bを介して直接に入力さ
れるか、又はローカル演算バス2aと演算用記憶装置6
とローカル演算バス2cを介して入力されるか、又は演
算の繰り返しにより演算装置5で得た結果をローカル演
算バス1eを介して入力される。演算の結果は演算装置
5からローカル演算バス2eを介して演算用記憶装置6
に記憶される。演算用記憶装置6に記憶されたデータは
、その後CPUIがデータ転送バス1b及びCPU接続
装置3を経由して読み取る。Arithmetic operations such as four arithmetic operations and logical product sums are executed in the arithmetic unit 5, but data is input to the arithmetic unit 5 directly from the arithmetic control unit 4 via the local arithmetic bus 2b, or Local calculation bus 2a and calculation storage device 6
is input via the local arithmetic bus 2c, or the result obtained by the arithmetic unit 5 by repeating the arithmetic operation is input via the local arithmetic bus 1e. The result of the calculation is transferred from the calculation device 5 to the calculation storage device 6 via the local calculation bus 2e.
is memorized. The data stored in the calculation storage device 6 is then read by the CPU via the data transfer bus 1b and the CPU connection device 3.
上記の演算等が演算処理装置2で行われている時に、演
算バストレース装置8は所定のタイミングでローカル演
算バス2a〜2eのそれぞれのデータを対応するトレー
ス装置81〜85にトレースする。演算バストレース装
置8は、ローカル演算バス2a〜2eのそれぞれが演算
データを正確に伝送しているか否か、及び演算処理装置
5の演算・その繰り返し・記憶の動作が一定周期で実行
されているか否か、を診断することを目的とする。While the above calculations are being performed by the processing unit 2, the calculation bus trace device 8 traces the respective data on the local calculation buses 2a to 2e to the corresponding trace devices 81 to 85 at a predetermined timing. The arithmetic bus trace device 8 checks whether each of the local arithmetic buses 2a to 2e is transmitting arithmetic data accurately, and whether the operations of arithmetic processing unit 5, such as calculation, repetition, and storage, are executed at a constant cycle. The purpose is to diagnose whether or not.
上記の演算において、演算装置5のデータフエツチ及び
演算、記憶は一定の周期で行われる。演算の繰り返しで
は、初期データのフェッチ、その演算と結果のフェッチ
、最後に演算と記憶、というように複数の動作が同時に
行われる。従って演算バストレース装置8は、診断プロ
プラムの開始から演算の周期に同期させてローカル演算
バス2a〜2eのすべてのデータを逐次記憶する。この
ようにして、演算用制御装置4の制御の下に演算バスト
レース装置8に記憶されたデータは、CPU接続バス2
C及びCPU接続装置3を介してCPU1に読み取られ
、CPUIにおいてその後各ローカル演算バスのデータ
伝送、演算処理装置2の動作が正常であるか否かが診断
される。In the above calculation, the data fetching, calculation, and storage of the calculation device 5 are performed at regular intervals. When repeating an operation, multiple operations are performed simultaneously, such as fetching initial data, fetching the operation and result, and finally performing the operation and storing. Therefore, the arithmetic bus trace device 8 sequentially stores all data on the local arithmetic buses 2a to 2e in synchronization with the arithmetic cycle from the start of the diagnostic program. In this way, the data stored in the arithmetic bus trace device 8 under the control of the arithmetic control device 4 is transferred to the CPU connection bus 2.
The data is read by the CPU 1 via the C and CPU connection device 3, and then diagnosed by the CPUI as to whether data transmission on each local arithmetic bus and operation of the arithmetic processing device 2 are normal.
以上の如くして、演算バストレース8の機能によって演
算処理装置2のローカル演算バス2a〜2eのデータ伝
送動作及び演算処理装置2全体の演算動作の診断が行わ
れるが、診断を行うタイミングとしては、通常CPUI
が実行すべき本来の仕事、例えば画像演算処理等を実行
する直前に行われる。従って、診断のための動作は可能
な限り短時間で行われる必要がある。As described above, the function of the arithmetic bus trace 8 diagnoses the data transmission operation of the local arithmetic buses 2a to 2e of the arithmetic processing device 2 and the arithmetic operation of the entire arithmetic processing device 2. , usually CPUI
This is done immediately before the original job, such as image calculation processing, is executed. Therefore, the diagnostic operation must be performed in as short a time as possible.
また演算バストレース装置8の代わりに、単にローカル
演算バスのそれぞれのデータをフェッチするレジスタ装
置を用いることができる。この場合のデータをフェッチ
するタイミングは、診断プログラムに基づき演算処理装
置2でデータのフェッチ、演算、記憶の動作を実行し、
すべてのローカル演算バスが有効な状態となるときにレ
ジスタでフェッチする。これを複数回繰り返すことによ
り前記演算バストレース装置8と同等の機能を発揮させ
ることができる。Also, instead of the arithmetic bus trace device 8, a register device that simply fetches the respective data of the local arithmetic bus can be used. In this case, the data fetching timing is such that the arithmetic processing unit 2 executes data fetching, calculation, and storage operations based on the diagnostic program.
Fetch in register when all local arithmetic buses are enabled. By repeating this a plurality of times, the same function as the arithmetic bus trace device 8 can be achieved.
また前記実施例では、診断を行う主体はCPU1である
が、その代わりに演算用制御装置4に診断を行わせるよ
うに構成することもできる。この場合には、画像処理等
の演算が行われていないときに演算用制御装置4に自己
診断を行わせ、画像処理動作の直前にCPUIが診断結
果を確認するように構成されるのが望ましい。Further, in the embodiment described above, the main body that performs the diagnosis is the CPU 1, but the CPU 1 may be configured to have the arithmetic control device 4 perform the diagnosis instead. In this case, it is desirable to have the calculation control device 4 perform self-diagnosis when no calculations such as image processing are being performed, and to have the CPU confirm the diagnosis results immediately before the image processing operation. .
以上の説明で明らかなように本発明によれば、演算処理
装置に演算バストレース装置を設けるようにしたため、
1回の診断動作を実行するだけで演算処理装置の複数の
ローカル演算バスのいずれにおいて不具合が発生したか
を容易に、迅速に且つ正確に発見することができる。ま
た演算処理装置が診断のための演算処理を行っている時
に、演算バストレース装置が、所定のタイミングで、す
なわち演算の周期に同期させて周期的にすべてのローカ
ル演算バスの演算データを記憶するようにしたため、こ
れらのデータに基づき演算処理装置の動作内容の異常原
因を詳細に且つ正確に診断することができる。As is clear from the above description, according to the present invention, since the arithmetic processing unit is provided with the arithmetic bus tracing device,
By executing a single diagnostic operation, it is possible to easily, quickly, and accurately discover in which of the plurality of local operation buses of the arithmetic processing device a malfunction has occurred. Also, when the processing unit is performing calculation processing for diagnosis, the calculation bus trace device periodically stores the calculation data of all local calculation buses at a predetermined timing, that is, in synchronization with the calculation cycle. Therefore, the cause of abnormality in the operation of the arithmetic processing device can be diagnosed in detail and accurately based on these data.
第1図は本発明に係る診断装置の実施例を示すブロック
構成図、第2図は演算バストレース装置の詳細回路図、
第3図は従来の診断方法を説明するための回路図である
。
〔符号の説明〕
1・・・・・・中央処理装置(CP U)2・・・・・
・演算処理装置
2 a〜2e
3 ・ ・ ・ −
4・ φ φ ・
5 ・ ・ ・ ・
6 ・ ・ ・ ・
8 ・ ・ ・ ・
81〜85
・ローカル演算バス
・CPU接続装置
・演算用制御装置
・演算装置
・演算用記憶装置
・演算バストレース装置
・トレース装置FIG. 1 is a block configuration diagram showing an embodiment of a diagnostic device according to the present invention, FIG. 2 is a detailed circuit diagram of an arithmetic bus trace device,
FIG. 3 is a circuit diagram for explaining a conventional diagnostic method. [Explanation of symbols] 1... Central processing unit (CPU) 2...
・Arithmetic processing unit 2 a to 2e 3 ・ ・ ・ − 4 φ φ ・ 5 ・ ・ ・ ・ 6 ・ ・ ・ ・ 8 ・ ・ ・ ・ 81 to 85 ・Local calculation bus・CPU connection device・Arithmetic control device・Arithmetic device, memory device for arithmetic operation, arithmetic bus trace device, trace device
Claims (4)
、前記中央制御装置との間でデータのやり取りを行う接
続装置と、この接続装置を経由して前記中央制御装置か
ら演算処理プログラムをロードされ、このプログラムに
従い演算処理を制御する演算用制御装置と、前記演算処
理を実行する演算装置と、演算結果を記憶する演算用記
憶装置と、前記の各装置の間を接続し、データの演算・
記憶を実行するためのデータ転送用の複数のローカル演
算バスとからなる演算処理装置において、複数の前記ロ
ーカル演算バスを入力側に接続する演算バストレース装
置を設け、この演算バストレース装置が所定のタイミン
グで前記各ローカル演算バス上のデータを入力して記憶
し、前記中央処理装置が前記演算バストレース装置に記
憶されたデータを読出し当該データに基づき診断を行う
ようにしたことを特徴とする演算処理装置における診断
装置。(1) A connection device that is connected to a central control device that controls the entire system and exchanges data with the central control device, and a processing program that is loaded from the central control device via this connection device. , an arithmetic control device that controls arithmetic processing according to this program, an arithmetic device that executes the arithmetic processing, an arithmetic storage device that stores the arithmetic results, and each of the above devices are connected, and the data arithmetic and
In an arithmetic processing device comprising a plurality of local arithmetic buses for data transfer for executing storage, an arithmetic bus trace device is provided which connects the plurality of local arithmetic buses to an input side, and this arithmetic bus trace device is configured to perform a predetermined A calculation characterized in that data on each of the local calculation buses is input and stored at timing, and the central processing unit reads out the data stored in the calculation bus trace device and performs diagnosis based on the data. Diagnostic device in processing equipment.
おいて、前記演算バストレース装置の代わりにレジスタ
装置を用いたことを特徴とする演算処理装置における診
断装置。(2) A diagnostic device for an arithmetic processing device according to claim 1, characterized in that a register device is used in place of the arithmetic bus trace device.
装置において、前記演算用制御装置が診断を行い、その
診断結果を前記中央処理装置に転送するように構成した
ことを特徴とする演算処理装置における診断装置。(3) In the diagnostic device for an arithmetic processing unit according to claim 1 or 2, the arithmetic processing is characterized in that the arithmetic control unit performs diagnosis and transfers the diagnosis result to the central processing unit. Diagnostic device in equipment.
置における診断装置において、前記演算バストレース装
置と、前記中央処理装置又は前記演算用制御装置とに基
づく診断処理は、前記中央処理装置及び前記演算処理装
置が本来の作業処理を実行する直前に実行されることを
特徴とする演算処理装置における診断装置。(4) In the diagnostic device for an arithmetic processing device according to any one of claims 1 to 3, the diagnostic processing based on the arithmetic bus trace device and the central processing unit or the arithmetic control device is carried out by the A diagnostic device for an arithmetic processing device, characterized in that the diagnosis device is executed immediately before a processing device and the arithmetic processing device execute original work processing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2128608A JPH0423152A (en) | 1990-05-18 | 1990-05-18 | Diagnostic device for operation processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2128608A JPH0423152A (en) | 1990-05-18 | 1990-05-18 | Diagnostic device for operation processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0423152A true JPH0423152A (en) | 1992-01-27 |
Family
ID=14988992
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2128608A Pending JPH0423152A (en) | 1990-05-18 | 1990-05-18 | Diagnostic device for operation processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0423152A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001185755A (en) * | 1999-12-24 | 2001-07-06 | Rohm Co Ltd | Semiconductor light emitting device |
-
1990
- 1990-05-18 JP JP2128608A patent/JPH0423152A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001185755A (en) * | 1999-12-24 | 2001-07-06 | Rohm Co Ltd | Semiconductor light emitting device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60124744A (en) | Error testing and diagnosing apparatus | |
| JPH0690682B2 (en) | Fault processing method of multiprocessor system | |
| JPS5833576B2 (en) | Computer system failure diagnosis device | |
| JPH0192081A (en) | Operation-history information storage-transfer system of robot controller | |
| JPH0423152A (en) | Diagnostic device for operation processor | |
| JP2554282B2 (en) | Fault diagnosis device for sequence controller | |
| JP2752911B2 (en) | How to check port connection | |
| JPS6091415A (en) | Digital controller | |
| JP2765659B2 (en) | Self-test method for data processing equipment | |
| JP2584903B2 (en) | External device control method | |
| JP2645021B2 (en) | Bus abnormality inspection system | |
| JPH02173852A (en) | Bus diagnostic device | |
| JPS60147553A (en) | Control apparatus having self-diagnosing function | |
| JPS5943768B2 (en) | Channel device initial startup method | |
| JPH11231926A (en) | Diagnosis method for control device | |
| JP2001034500A (en) | Microcomputer failure diagnosing device and method | |
| JPS63276137A (en) | Remote maintenance diagnosis system | |
| JPH10333783A (en) | Control system/method for general lsi and | |
| JPS62203244A (en) | Hardware diagnosis system | |
| JPH07104841A (en) | Programmable controller error detection method | |
| JP2020046979A (en) | In-vehicle electronic control device | |
| JPH04107670A (en) | Microprocessor system | |
| JPS62211742A (en) | Software test system | |
| JPS60122433A (en) | Diagnosis method for processing equipment | |
| JPH04293133A (en) | Fault monitoring system in loosely coupled multi-processor system |