JPS60101649A - Diagnosis device of electronic computer - Google Patents

Diagnosis device of electronic computer

Info

Publication number
JPS60101649A
JPS60101649A JP58207572A JP20757283A JPS60101649A JP S60101649 A JPS60101649 A JP S60101649A JP 58207572 A JP58207572 A JP 58207572A JP 20757283 A JP20757283 A JP 20757283A JP S60101649 A JPS60101649 A JP S60101649A
Authority
JP
Japan
Prior art keywords
error
circuit
memory
address
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.)
Pending
Application number
JP58207572A
Other languages
Japanese (ja)
Inventor
Junichi Hiuga
日向 純一
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP58207572A priority Critical patent/JPS60101649A/en
Publication of JPS60101649A publication Critical patent/JPS60101649A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • 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

Abstract

PURPOSE:To obtain a simple and inexpensive diagnosis device by producing an indication for a diagnosis action to produce an error by decoding the memory address information of a memory and facilitating the timing control for generation of the error in a diagnosis mode of the memory. CONSTITUTION:A diagnosis mode signal is sent to a diagnosis device 10 from a central processor 1a via a signal line 13. Thus a decoding circuit 11 is set under a decodable state. The diagnosis program instructions are executed successively, and an instruction is executed for, e.g., an address 2010 where an instruction to read out an address 1000 as an execution operand address is stored. As a result, the contents of the address 1000 are read out of a memory 7 and this data is sent to an error producing circuit 8. While the circuit 11 sends a signal to the circuit 8 via an indication line 50 to invert the read-out data by one bit since the memory address information is identical with the address 1000. Thus an inverse signal is sent to an error detecting circuit 9. The circuit 9 performs a parity check of said data and produces an error signal owing to a 1-bit error to inform the generation of the error to the processor 1a.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は電子計算機の診断装置に関するものである。[Detailed description of the invention] [Technical field of invention] The present invention relates to a diagnostic device for an electronic computer.

〔従来技術〕[Prior art]

電子計算機の中央処理装置や記憶装置には、故障などに
よる誤動作を防止するために、誤り検出回路や誤りを自
動的に訂正する回路が設けられている。これらの誤り検
出回路や誤り訂正回路ζこけ、誤り発生時にのみ動作す
る回路もあり、誤りのない正常状態における情報や信号
により装置が異常なく動作することを確認するだけでは
不充分なものもある。そこで、診断装置を用いて誤りを
発生させることにより、誤り発生回路や誤り訂正回路の
検査、検証も行なえるようにしたものもある。
BACKGROUND OF THE INVENTION Central processing units and storage devices of electronic computers are equipped with error detection circuits and circuits that automatically correct errors in order to prevent malfunctions due to failures or the like. Some of these error detection circuits and error correction circuits operate only when an error occurs, and it is not sufficient to simply confirm that the equipment operates without abnormality using information and signals in a normal state without errors. . Therefore, some devices have been designed to allow testing and verification of error generation circuits and error correction circuits by generating errors using a diagnostic device.

第1図はこの種の装置の一例を示す構成ブロック図であ
る。この図において、1は中央処理装置、2は診断装置
、6はプログラムやデータを記憶する記憶装置である。
FIG. 1 is a block diagram showing an example of this type of device. In this figure, 1 is a central processing unit, 2 is a diagnostic device, and 6 is a storage device for storing programs and data.

診断装置2は、中央処理装置1から送出される入出力装
置を制御する入出力制御情報により、診断装置2を選択
する選択回路5と、中央処理装置1から転送されるデー
タを貯えるデータレジスタ4と、データレジスタ4から
の内容を組合わせて各種の誤り発生信号を生成する組合
せ回路5とで構成されている。また記憶装置6は、メモ
リアレイ7と、このメモリアレイ7の読み出しデータを
1ピット反転させる誤り生成回路8と、パリティチェッ
ク方゛式による誤り検出回路9とを含んでいる。
The diagnostic device 2 includes a selection circuit 5 that selects the diagnostic device 2 based on input/output control information sent from the central processing device 1 to control the input/output devices, and a data register 4 that stores data transferred from the central processing device 1. and a combinational circuit 5 that combines the contents from the data register 4 to generate various error occurrence signals. The storage device 6 also includes a memory array 7, an error generation circuit 8 that inverts data read from the memory array 7 by one pit, and an error detection circuit 9 using a parity check method.

次にこの装置の動作について説明する。診断装置2が動
作していない場合、誤り生成回路8は、メモリアレイ7
の読み出しデータを1ビット反転せずにその才ま誤り検
出回路9に送出し、パリティチェックを行なう。すなわ
ち、非診断動作時には、記憶装置6は、メモリアレイ7
の誤り検出を行なっている。
Next, the operation of this device will be explained. When the diagnostic device 2 is not operating, the error generation circuit 8
The read data is sent to the error detection circuit 9 without inverting one bit, and a parity check is performed. That is, during non-diagnostic operation, the storage device 6 is connected to the memory array 7.
Error detection is performed.

診断装置2を動作させるには、記憶装置乙に記憶されて
いる診断プログラムを中央処理装置1が読み出して解読
し、診断装置2に入出力装置のデバイスアドレスなどの
入出力制御情報を送出し、選択回路6により診断装置2
が選択されることによる。次に中央処理装置1から診断
装置2に記憶装置6の読み出しデータを1ビット反転さ
せることを指示するデータを転送し、データレジスタ4
にこれをセットする。このデータレジスタ4の内容を組
合せ回路5で解読し、1ビット反転指示線50を介して
誤り生成回路8に1ビット反転の指示を伝える。中央処
理装置1では、記憶装#6より次々と命令フェッチが行
なわれており、診断装置2から記憶装置6に読み出しデ
ータの1ビット反転指示が伝えられた時点から、メモリ
アレイ7から読み出されるデータが誤り生成回路8で1
ビット反転され、誤り検出回路9でパリティチェックさ
れて記憶装置6として読み出しデータのパリティチェッ
クエラーが発生する。従来はこの様にして誤りを発生さ
せていた。すなわち、入出力装置のひとつとして診断装
置2を割り当て、入出力命令と転送データにより誤りを
発生させる信号を生成していた。
In order to operate the diagnostic device 2, the central processing unit 1 reads and decodes the diagnostic program stored in the storage device B, and sends input/output control information such as the device address of the input/output device to the diagnostic device 2. Diagnostic device 2 by selection circuit 6
is selected. Next, the central processing unit 1 transfers data instructing the diagnostic device 2 to invert the read data of the storage device 6 by 1 bit, and transfers the data to the data register 2.
Set this to . The contents of this data register 4 are decoded by a combinational circuit 5, and a 1-bit inversion instruction is transmitted to the error generation circuit 8 via a 1-bit inversion instruction line 50. In the central processing unit 1, instructions are fetched one after another from the memory device #6, and from the time when the instruction to invert one bit of the read data is transmitted from the diagnostic device 2 to the memory device 6, the data read from the memory array 7 is 1 in the error generation circuit 8.
The bits are inverted and parity checked by the error detection circuit 9, and a parity check error occurs in the read data as the storage device 6. Conventionally, errors were generated in this way. That is, the diagnostic device 2 is assigned as one of the input/output devices, and a signal that causes an error is generated based on input/output commands and transfer data.

この様に構成された従来装置においては、入出力装置の
ひとつとして診断装置を割り当てるものであるから、診
断プログラム以外の一般プログラムでは診断装置の機器
アドレスの使用を禁止する必要がある。また、記憶装置
の診断の場合には、中央処理装置が記憶装置より入出力
命令を取出し、診断装置に起動をかけ、誤り指示データ
を送出し、更に記憶装置のアクセスが必要であり、診断
装置と記憶装置間の動作タイミングが異なることから、
誤りを発生させるタイミングや、誤りの発生を止めるタ
イミングを生成することが困難である等の欠点があった
In the conventional device configured in this manner, the diagnostic device is assigned as one of the input/output devices, so it is necessary to prohibit the use of the device address of the diagnostic device in general programs other than the diagnostic program. In addition, in the case of diagnosing a storage device, the central processing unit retrieves input/output commands from the storage device, starts up the diagnostic device, sends error indication data, and accesses the storage device. Since the operation timing between the storage device and the storage device is different,
This method has drawbacks such as the difficulty of generating the timing to cause an error or the timing to stop the occurrence of an error.

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

本発明は、従来装置におけるこれらの欠点を除去するた
めになされたもので、入出力装置のひとつとして診断装
置を割り当てる必要がなく、また記憶装置の診断におい
て、誤りを発生させるタイミング制御が容易な、従って
構成が簡単で安価な診断装置を実現しようとするもので
、診断装置をデコード回路を含んで構成し、誤りを発生
させる診断動作の指示を記憶装置のメモリアドレス情報
をデコード回路でデコードして生成するようにし、メモ
リアドレス情報と一致する記憶領域をアクセスすること
によシ誤りを発生するようにしたものである。
The present invention has been made to eliminate these drawbacks of conventional devices, and it eliminates the need to allocate a diagnostic device as one of the input/output devices, and also makes it easy to control the timing that causes errors when diagnosing storage devices. Therefore, the aim is to realize a diagnostic device with a simple and inexpensive configuration.The diagnostic device is configured to include a decoding circuit, and the instruction for the diagnostic operation that causes the error is decoded by the memory address information of the storage device using the decoding circuit. This is so that an error occurs when a storage area that matches the memory address information is accessed.

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

第2図は本発明に係る装置の一例を示す構成ブロック図
である。図において、1aは中央処理装置、6は記憶装
置で、メモリアレイ7、読み出しデータを1ビット反転
させる誤り生成回路8及びパリティチェック方式による
誤り検出回路9で構成されている。10は診断装置で、
デコード回路11を含んで構成されている。このデコー
ド回路11は、中央処理装@1aから診断モード線13
を介して送出される診断モード信号を入力するとともに
、メモリアドレス情報線12を介して送出されるメモリ
アドレス情報をデコードし、デコード結果を誤り指示信
号として指示線50に出力するものである。
FIG. 2 is a block diagram showing an example of a device according to the present invention. In the figure, 1a is a central processing unit, 6 is a storage device, and is composed of a memory array 7, an error generation circuit 8 that inverts read data by 1 bit, and an error detection circuit 9 using a parity check method. 10 is a diagnostic device;
It is configured to include a decoding circuit 11. This decoding circuit 11 is connected to a diagnostic mode line 13 from the central processing unit @1a.
It inputs the diagnostic mode signal sent out via the memory address information line 12, decodes the memory address information sent out via the memory address information line 12, and outputs the decoding result to the instruction line 50 as an error instruction signal.

この様に構成された装置の動作を次に説明する。The operation of the device configured in this way will be explained next.

記憶装#乙には、診断プログラムが記憶されており、中
央処理装置¥t 1 aがこの診断プログラムの命令を
取り出して実行する。そし゛C1診断専用の命令やスイ
ッチ操作により診断動作で・らることを示す信号として
、中央処理装置1aから診断装置10に、信号線13を
介して診断モード信号を送出する。診断装置10におい
て、デコード回路11は、この診断モード信号を受ける
とデコード可能状態となる。ここで、仮にメモリアドレ
ス情報線12を介しで、例えば1000番地を示すメモ
リアドレス情報が出力されている場合に、デコート回路
11は、指示線50を介して誤り生成回路8に1ビツト
反転の指示を与えるようになっているものとする。また
、診断プログラムの命令は、2000番地より上位の番
地に格納されているものとし、2010@地には実行オ
ペランドアドレスとして1000番地を読み出す命令が
格納さ、11ているものとする。
A diagnostic program is stored in the storage device #B, and the central processing unit \t1a retrieves and executes the instructions of this diagnostic program. Then, a diagnostic mode signal is sent from the central processing unit 1a to the diagnostic device 10 via the signal line 13 as a signal indicating that a diagnostic operation is to be performed by a command or switch operation exclusively for C1 diagnosis. In the diagnostic device 10, the decoding circuit 11 enters a decodable state upon receiving this diagnostic mode signal. Here, if memory address information indicating, for example, address 1000 is output via the memory address information line 12, the decoding circuit 11 instructs the error generation circuit 8 to invert one bit via the instruction line 50. It is assumed that the It is also assumed that the instructions of the diagnostic program are stored at addresses higher than address 2000, and that an instruction to read address 1000 as an execution operand address is stored at address 2010@, which is 11.

いま、診断プログラムの命令が次々と実行され、診断モ
ード信号によりデコード回路11がデコード可能状態と
なっていて、2010番地の命令が実行されると、1o
oo番地の内容がメモリアレイ7から読み出され、この
データが誤り生成回路8に送られる。一方診断装置10
のデコード回路11では、メモリアドレス情報が100
0番地であることから、誤り生成回路8に指示線50を
介して読み出しデータを1ビツト反転させる信号を送出
する。この信号により、誤り生成回路8では、データを
1ビツト反転し、これを誤り検出回路9に送出する。誤
り検出回路9では、このデータをパリティチェック検査
し、1ビット誤っているためにパリティチェックエラー
信号を発生させ、これを中央処理処置1aに知らせる。
Now, the instructions of the diagnostic program are being executed one after another, the decoding circuit 11 is in a decoding enabled state by the diagnostic mode signal, and when the instruction at address 2010 is executed, 1o
The contents of address oo are read from memory array 7 and this data is sent to error generation circuit 8. On the other hand, the diagnostic device 10
In the decoding circuit 11, the memory address information is 100.
Since the address is 0, a signal is sent to the error generation circuit 8 via the instruction line 50 to invert the read data by 1 bit. In response to this signal, the error generation circuit 8 inverts the data by one bit and sends it to the error detection circuit 9. The error detection circuit 9 performs a parity check on this data, generates a parity check error signal because one bit is erroneous, and notifies the central processing unit 1a of this.

上記の実施例ではデコード回路11のデコード条件にメ
モリアドレス情報のみを用いているが、メモリアドレス
情報と記憶装置への書込みデータや読み出しデータを組
み合わせて用いてもよい。
In the above embodiment, only memory address information is used as the decoding condition of the decoding circuit 11, but a combination of memory address information and data written to or read from the storage device may be used.

また、デコード回路11はデコード機能を有するもので
あれば、読み出し専用メモIJ (ROM)等で構成し
てもよい。また、上記では、記憶装置における読み出し
データの1ビツトの誤りについて説明したが、中央処理
装置であってもよい。
Furthermore, the decoding circuit 11 may be constructed of a read-only memory IJ (ROM) or the like as long as it has a decoding function. Further, in the above description, a 1-bit error in read data in a storage device has been described, but the error may be in a central processing unit.

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

以上説明したように、本発明は、誤りを発生させる診断
動作の指示を記憶装置のメモリアドレス情報をデコード
して生成する構成としたもので、診断装置を入出力装置
のひとつとして割り当てる必要がなく、また、記憶装置
の診断の場合、誤りを発生させるタイミング制御が容易
となり、構成が簡単で安価な診断装置が実現できる。
As explained above, the present invention is configured to generate an instruction for a diagnostic operation that causes an error by decoding memory address information of a storage device, and there is no need to allocate a diagnostic device as one of the input/output devices. Furthermore, in the case of diagnosing a storage device, timing control for generating errors becomes easy, and a diagnostic device with a simple configuration and low cost can be realized.

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

第1図は従来装置の一例を示す構成ブロック図、第2図
は本発明に係る装置の一例を示す構成ブロック図である
。 1・・・中央処理装置、6・・・記憶装置、7・・・メ
モリアレイ、8・・・誤り生成回路、9・・・誤り検出
回路、10・・・診断装置、11・・・デコード回路。 なお、各図中同一符号れ同一または相当部分を示すもの
とする。 代理人 弁理士 木 村 三 朗
FIG. 1 is a block diagram showing an example of a conventional device, and FIG. 2 is a block diagram showing an example of a device according to the present invention. DESCRIPTION OF SYMBOLS 1...Central processing unit, 6...Storage device, 7...Memory array, 8...Error generation circuit, 9...Error detection circuit, 10...Diagnostic device, 11...Decoding circuit. Note that the same reference numerals in each figure indicate the same or equivalent parts. Agent Patent Attorney Sanro Kimura

Claims (1)

【特許請求の範囲】[Claims] III中央処理装置、メモリアレイとこのメモリアレイ
からの読み出しデータを1ビット反転させる誤り生成回
路とこの誤り生成回路からのデータを入力する誤り検出
回路とを含む記憶装置及び前記中央処理装置からの診断
動作であることを示す信号と前記メモリアレイに出力さ
れるメモリアドレス情報とを入力し、当該メモリアドレ
ス情報をデコードして誤りを発生さぜる摺示信号を前記
誤り生成回路に出力させるデコード回路を含む診断装置
を備えた電子計算機の診断装置。
III. A central processing unit, a storage device including a memory array, an error generation circuit that inverts data read from the memory array by one bit, and an error detection circuit that inputs data from the error generation circuit, and diagnosis from the central processing unit. a decoding circuit that inputs a signal indicating an operation and memory address information to be output to the memory array, decodes the memory address information, and outputs a sliding signal that causes an error to the error generation circuit; A diagnostic device for an electronic computer that includes a diagnostic device.
JP58207572A 1983-11-07 1983-11-07 Diagnosis device of electronic computer Pending JPS60101649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58207572A JPS60101649A (en) 1983-11-07 1983-11-07 Diagnosis device of electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58207572A JPS60101649A (en) 1983-11-07 1983-11-07 Diagnosis device of electronic computer

Publications (1)

Publication Number Publication Date
JPS60101649A true JPS60101649A (en) 1985-06-05

Family

ID=16541969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58207572A Pending JPS60101649A (en) 1983-11-07 1983-11-07 Diagnosis device of electronic computer

Country Status (1)

Country Link
JP (1) JPS60101649A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63110944U (en) * 1987-01-08 1988-07-16
JPS6476335A (en) * 1987-09-18 1989-03-22 Fujitsu Ltd Data processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63110944U (en) * 1987-01-08 1988-07-16
JPS6476335A (en) * 1987-09-18 1989-03-22 Fujitsu Ltd Data processing system

Similar Documents

Publication Publication Date Title
JPS6112298B2 (en)
JPS6226734B2 (en)
JPS63184146A (en) Information processor
JPS60101649A (en) Diagnosis device of electronic computer
JP3025504B2 (en) Information processing device
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JPH06110721A (en) Memory controller
JPS5931800B2 (en) Control memory diagnostic method
JPS62226353A (en) Storage device with ras circuit
JPH01156834A (en) Diagnosing system for check circuit
JP2605781B2 (en) Automatic diagnostic device for parity circuit
JP2578186B2 (en) Diagnosis method of failure detection circuit
JPH0612270A (en) Test circuit
JP2502185B2 (en) Processor
JPS635437A (en) Diagnosis control system for microprocessor
JPH0727469B2 (en) Redundant error generator for microprocessor
JPH08221282A (en) Parity generation and check circuit
JPS6142304B2 (en)
JPH05289946A (en) Memory control system
JPS58186851A (en) Error checking device
JPH0368035A (en) Information processor
JPH10228389A (en) Fault detecting diagnostic device
JPS6227417B2 (en)
JPH01106248A (en) Storage device
JPS63184139A (en) Automatic diagnosing system for parity circuit