JPS63221444A - Control memory device - Google Patents

Control memory device

Info

Publication number
JPS63221444A
JPS63221444A JP62054059A JP5405987A JPS63221444A JP S63221444 A JPS63221444 A JP S63221444A JP 62054059 A JP62054059 A JP 62054059A JP 5405987 A JP5405987 A JP 5405987A JP S63221444 A JPS63221444 A JP S63221444A
Authority
JP
Japan
Prior art keywords
correction
control
error
control instruction
storage device
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
JP62054059A
Other languages
Japanese (ja)
Inventor
Akira Noda
野田 顕
Kazunobu Mimura
三村 和信
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.)
Hitachi Computer Electronics Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Computer Electronics Co Ltd
Hitachi 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 Hitachi Computer Electronics Co Ltd, Hitachi Ltd filed Critical Hitachi Computer Electronics Co Ltd
Priority to JP62054059A priority Critical patent/JPS63221444A/en
Publication of JPS63221444A publication Critical patent/JPS63221444A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To ensure the suitable control correction by reading an error correction code to a correction circuit when a parity error of a control instruction is detected, deciding the propriety for correction of said correction code as well as the control instruction containing the parity error and producing the correction data if the parity error is correctable. CONSTITUTION:A control instruction parity error detecting circuit 7 detects a parity error when a parity check bit 4 and a control instruction 3 stored in a control memory 1 are read out to a control instruction register 6. In this case, the circuit 7 outputs a correcting action start instruction to a correction circuit 8. The circuit 8 reads an error correction code out of an external mem ory 2. Then the circuit 8 decides the propriety for correction between the error correction code and the control instruction of the register 6. If the correction is possible, the correction data is produced and stored into a correction data storing register 9. Thus, a parity error is corrected when the control instruction is read out.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、制御記憶装置から、制御命令を読み出し、そ
の命令によって動作するシステムに関し特に読み出し時
のビット誤り訂正に好適な制御記憶装置における訂正方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a system that reads control instructions from a control storage device and operates according to the instructions. Regarding the method.

〔従来の技術〕[Conventional technology]

制御記憶装置より制御命令を読み出し、その制御命令に
誤りがあった場合の訂正方式としては。
This is a correction method when a control command is read from the control storage device and there is an error in the control command.

制御記憶装置内に垂直パリティ検査ビット(サムチェッ
クデータ)を持ちその垂直パリティ検査ビットにて訂正
データを作成する訂正方式と、外部記憶装置内に制御記
憶装置と同一内容の制御命令のバックアップを用意して
おき、誤りを検出した時、外部記憶装置より再度、制御
命令を読み出す訂正方式がある。
A correction method that has vertical parity check bits (sum check data) in the control storage device and creates correction data using the vertical parity check bits, and a backup of control instructions with the same content as the control storage device in the external storage device. There is a correction method in which the control command is read out again from an external storage device when an error is detected.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は、制御記憶装置内に制御命令の垂直パリ
ティ検査ビット(サムチェタフデータ)を持ち水平パリ
ティ検査ビットで検出した。パリティ誤りの発生した制
御命令の各ビットに対応する垂直パリティ検査ビットで
訂正データを作成する為、制御命令のビット幅が長くな
ると、訂正動作に時間がかかつてしまう。
The above-mentioned prior art has a vertical parity check bit (Samchetaf data) of a control instruction in a control storage device and detects it using a horizontal parity check bit. Since correction data is created using vertical parity check bits corresponding to each bit of a control instruction in which a parity error has occurred, if the bit width of the control instruction becomes long, the correction operation takes time.

また、外部記憶装置に用意された制御命令のバックアッ
プを使用して再度、外部記憶装置よ多制御命令を読み出
す方式は、外部記憶装置のハードウェア量又はデータ量
が増加してしまう。
Furthermore, the method of reading out multiple control instructions from the external storage device again using a backup of control instructions prepared in the external storage device increases the amount of hardware or data of the external storage device.

また、制御記憶装置内の制御命令に誤り訂正符号(EC
C)を付加して、誤りの検出および訂正を行う方式もあ
るが、制御命令読み出し時に誤υ訂正符号の制御が必要
な為、ハードウェアが複雑となるとともに1制御命令実
行時間が増加するという問題があった。
Additionally, an error correction code (EC) is added to the control instructions in the control storage device.
There is also a method that detects and corrects errors by adding C), but since it is necessary to control the error υ correction code when reading the control command, the hardware becomes complicated and the execution time for one control command increases. There was a problem.

本発明の目的は、上記如き問題点を除去するものであり
、信頼性の高い、安価な計算機システムを実現する。制
御記憶装置のための訂正方式を提供することにある。
An object of the present invention is to eliminate the above-mentioned problems and to realize a highly reliable and inexpensive computer system. The object of the present invention is to provide a correction method for a control storage device.

〔問題点を解決するための手段〕[Means for solving problems]

制御命令とパリティビットを格納する制御記憶装置と制
御命令とパリティ検査ビットを読み出し格納する制御命
令レジスタ及び制御命令パリティ誤り検出回路とパリテ
ィ誤りを検出した場合、外部記憶装置に格納されている
誤り訂正符号と制御命令レジスタに格納されている制御
命令とによって訂正可否を判断し訂正可能であれば訂正
データを作成し、訂正データ格納レジスタに格納する訂
正回路によって構成される。上記構成を設けることによ
り、前記目的は達成される。
A control storage device that stores control instructions and parity bits, a control instruction register that reads and stores control instructions and parity check bits, a control instruction parity error detection circuit, and, when a parity error is detected, an error correction device stored in the external storage device. It is constituted by a correction circuit that determines whether or not correction is possible based on the code and a control command stored in a control command register, and if correction is possible, creates correction data and stores it in a correction data storage register. By providing the above configuration, the above object is achieved.

〔作用〕[Effect]

制御記憶装置に格納されている制御命令とパリティ検査
ビット4を制御命令レジスタに読み出した時、制御命令
パリティ誤υ検出回路にて、パリティ誤りを検出してい
る場合、パリティ誤り検出回路は訂正回路に対して訂正
動作開始指示を出す。
When the control instruction and parity check bit 4 stored in the control storage device are read into the control instruction register, if a parity error is detected by the control instruction parity error detection circuit, the parity error detection circuit is activated by the correction circuit. Instructs to start corrective action.

1正回路は、外部記憶装置よシ誤り訂正符号を読み出す
、訂正回路は制御命令レジスタの制御命令と誤ジ訂正符
号の間で訂正可否を判断し、訂正可能であれば訂正デー
タを作成し、訂正データ格納レジスタに格納する。
1. The positive circuit reads out the error correction code from the external storage device. The correction circuit determines whether correction is possible between the control command in the control command register and the error correction code, and if correction is possible, creates correction data. Store in the correction data storage register.

以上によシ、制御命令読み出し時の誤りを救済できる。According to the above, errors at the time of reading the control command can be relieved.

〔実施例〕〔Example〕

以下1本発明の第1項の実施例を第2図により説明する
An embodiment of the first aspect of the present invention will be described below with reference to FIG.

第2図は本発明の構成例を示す図である。制御記憶装置
1は番地レジスタ10によってアドレスされた制御命令
3と制御命令パリティ検査ビット4を読み出し格納する
制御命令レジスタ6に接続されている。
FIG. 2 is a diagram showing a configuration example of the present invention. The control memory 1 is connected to a control instruction register 6 which reads and stores the control instruction 3 addressed by the address register 10 and the control instruction parity check bit 4.

外部記憶装置2は番地レジスタ11によってアドレスさ
れた制御命令に対する誤υ訂正符号5を読み出す訂正回
路8&C接続されている。
The external storage device 2 is connected to a correction circuit 8&C which reads out the error correction code 5 for the control command addressed by the address register 11.

訂正回路8は外部記憶装置2から誤り訂正符号5と制御
命令レジスタ6に接続されている。
The correction circuit 8 is connected from the external storage device 2 to the error correction code 5 and the control command register 6.

制御命令は、制御記憶装置番地レジスタ10によって順
番に読み出し指示を受け、制御命令レジスタ6に格納さ
れ、システムを制御している。
The control commands are read out in order by the control storage device address register 10 and stored in the control command register 6 to control the system.

その制御命令3とパリティ検査ビット4とを制御命令レ
ジスタ6に格納した時、その制御命令3が正しく制御命
令レジスタ6に格納されたことを確認する為に、パリテ
ィ誤り検出回路7にてパリティ誤りチェックする。この
時、パリティ誤り検出回路7にてパリティ誤υを検出す
ると、制御記憶装置1の動作を停止させる。パリティ誤
り検出回路7は訂正回路8に対して訂正動作開始指示を
出す。
When the control instruction 3 and parity check bit 4 are stored in the control instruction register 6, a parity error detection circuit 7 detects a parity error in order to confirm that the control instruction 3 is correctly stored in the control instruction register 6. To check. At this time, if the parity error detection circuit 7 detects a parity error υ, the operation of the control storage device 1 is stopped. The parity error detection circuit 7 issues an instruction to the correction circuit 8 to start a correction operation.

訂正回路8は、外部記憶装置2の外部記憶番地レジスタ
11を制御記憶装置番地レジスタ10とに対応させたア
ドレスに変換させ、パリティ誤υの発生した制御命令に
対する誤υ訂正符号5を外部記憶装置2よυ読み出す、
その誤り訂正符号5と制御命令レジスタ6のデータを用
いて、訂正の可否を判定し訂正可能であれば制御命令を
訂正し訂正データ格納レジスタ9に格納する。
The correction circuit 8 converts the external storage address register 11 of the external storage device 2 into an address that corresponds to the control storage device address register 10, and outputs the error υ correction code 5 for the control instruction in which the parity error υ has occurred to the external storage device. 2 yo υ read out,
Using the error correction code 5 and the data in the control instruction register 6, it is determined whether correction is possible, and if correction is possible, the control instruction is corrected and stored in the correction data storage register 9.

次に訂正回路8は、訂正データ格納レジスタ9の内容を
制御命令レジスタ6に転送し制御記憶装置1の再起動を
行う。制御命令レジスタ6は訂正回路8によって格納さ
れた制御命令によってシステム動作を再開する。
Next, the correction circuit 8 transfers the contents of the correction data storage register 9 to the control command register 6 and restarts the control storage device 1. The control command register 6 resumes system operation according to the control command stored by the correction circuit 8.

本実施例によれば、制御命令を読み出した場合制御命令
のパリティ誤りが発生した時のみ、誤り訂正符号の制御
を行うのみでよく、また誤り訂正符号も制剃装置内に必
要としない為、制御記憶装置の誤り訂正符号制御による
命令実行時間の増力口を抑えるとともに制御記憶装置の
誤り検査ビットをふくめた制御命令のビット幅を最小に
出来るという効果がある。
According to this embodiment, when a control command is read out, it is only necessary to control the error correction code when a parity error in the control command occurs, and since the error correction code is not required in the shave control device, This has the effect of suppressing the increase in instruction execution time due to error correction code control of the control storage device and minimizing the bit width of the control instruction including the error check bit of the control storage device.

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

本発明によれば1次の効果がある。 According to the present invention, there is a first-order effect.

(11制御命令の読み出し時、パリティ誤りが発生した
場合、制御命令を訂正できるので、信頼性の高い計算機
システムを実現できる。
(11) If a parity error occurs when reading a control instruction, the control instruction can be corrected, so a highly reliable computer system can be realized.

(2)制御命令読み出し時、誤り訂正符号チェック処理
時間をなくすことにより、1制御命令実行時間を短くす
ることができる。
(2) By eliminating the error correction code check processing time when reading a control instruction, the execution time for one control instruction can be shortened.

(3)制御記憶装置以外の外部記憶装置に誤り訂正符号
を格納しておくことによって、制御記憶装置内の制御命
令のビット幅を低減することができる。
(3) By storing error correction codes in an external storage device other than the control storage device, the bit width of control instructions in the control storage device can be reduced.

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

第1図は1本発明の一実施例の制御記憶装置における訂
正方式の構成図、第2図は5本発明の一実施例の制御記
憶装置における訂正方式の構成図である。 1・・・制御記憶装置、2・・・外部記憶装置、3・・
・制御命令群、4・・・パリティ検査ビット、5・・・
誤り訂正符号、6・・・制御命令レジスタ、7・・・パ
リティ誤υ検出回路、8・・・訂正回路、9・・・訂正
データ格納レジスタ、10・・・制御記憶装置番地レジ
スタ、11・・・外部記憶装置番地レジスタ。
FIG. 1 is a block diagram of a correction method in a control storage device according to an embodiment of the present invention, and FIG. 2 is a block diagram of a correction method in a control storage device according to an embodiment of the present invention. 1... Control storage device, 2... External storage device, 3...
- Control instruction group, 4... Parity check bit, 5...
Error correction code, 6... Control instruction register, 7... Parity error detection circuit, 8... Correction circuit, 9... Correction data storage register, 10... Control storage device address register, 11. ...External storage device address register.

Claims (1)

【特許請求の範囲】 1、制御プログラムを格納している制御装置から制御命
令を読み出し、その命令によって動作するシステムにお
いて、制御記憶装置内の制御命令とパリティ検査ビット
を読み出し格納する手段、 制御命令とパリティ検査ビットの読み出し時パリティ誤
りを検出する手段、 外部記憶装置内の誤り訂正符号(ECC)を読み出す手
段、パリティ誤り検出時の制御命令と誤り訂正符号とか
ら、訂正の可否を判断し、訂正可能であれば訂正位置、
訂正データを作成する訂正回路を具備する装置において
、制御記憶装置内の制御命令とパリティ検査ビットの読
み出し時、制御命令のパリティ誤りを検出した場合、外
部記憶装置に格納されているパリティ誤りの発生した制
御命令に対応する誤り訂正符号を訂正回路に読み出し、
パリティ誤りを検出した制御命令とによって、訂正回路
で訂正の可否を判断し訂正可能であれば訂正データを作
成するようになっていることを特徴とする制御記憶装置
[Scope of Claims] 1. A means for reading and storing a control instruction and a parity check bit in a control storage device in a system that reads a control instruction from a control device storing a control program and operates according to the instruction; and a means for detecting a parity error when reading a parity check bit, a means for reading an error correction code (ECC) in an external storage device, and a means for determining whether correction is possible based on a control command and an error correction code when detecting a parity error, If correction is possible, the correction position,
In a device equipped with a correction circuit that creates correction data, if a parity error in the control instruction is detected when reading the control instruction and parity check bit in the control storage device, a parity error stored in the external storage device will occur. The error correction code corresponding to the control command is read out to the correction circuit,
A control storage device characterized in that a correction circuit determines whether or not correction is possible based on a control command that detects a parity error, and if correction is possible, creates correction data.
JP62054059A 1987-03-11 1987-03-11 Control memory device Pending JPS63221444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62054059A JPS63221444A (en) 1987-03-11 1987-03-11 Control memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62054059A JPS63221444A (en) 1987-03-11 1987-03-11 Control memory device

Publications (1)

Publication Number Publication Date
JPS63221444A true JPS63221444A (en) 1988-09-14

Family

ID=12960042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62054059A Pending JPS63221444A (en) 1987-03-11 1987-03-11 Control memory device

Country Status (1)

Country Link
JP (1) JPS63221444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04117529A (en) * 1990-09-07 1992-04-17 Koufu Nippon Denki Kk Microprogram controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04117529A (en) * 1990-09-07 1992-04-17 Koufu Nippon Denki Kk Microprogram controller

Similar Documents

Publication Publication Date Title
JPS6151241A (en) Error recovery system of control storage device
JPS62251949A (en) Error correcting method for memory device
JP2606862B2 (en) Single error detection and correction method
JPS63221444A (en) Control memory device
JPH0314054A (en) Electronic disk device
JPH04162300A (en) Semiconductor memory
KR100328818B1 (en) How to save data in flash memory
JPH04115340A (en) Duplex storage circuit
JPH0816488A (en) Electronic disk device
JPH0675864A (en) Memory error recovery system
JPH0756816A (en) Controller for memory
JPH01309421A (en) Error correction system
JPH045219B2 (en)
JPH0481953A (en) Memory device
JPH06250936A (en) Computer system
JPH0434632A (en) Memory system
JP2013156821A (en) Data processor, control unit and memory control method
JPH0588992A (en) Memory control system
JPH054266U (en) Memory device
JPS6356751A (en) Memory patrol control system
JPS61196341A (en) System for correcting memory error
JPH0135369B2 (en)
JPH0229839A (en) Microprogram control device
JPS5914198A (en) Error address monitor system
JPH01291337A (en) Input/output processor