JPS60238933A - Error processing system of control storage device - Google Patents

Error processing system of control storage device

Info

Publication number
JPS60238933A
JPS60238933A JP59094280A JP9428084A JPS60238933A JP S60238933 A JPS60238933 A JP S60238933A JP 59094280 A JP59094280 A JP 59094280A JP 9428084 A JP9428084 A JP 9428084A JP S60238933 A JPS60238933 A JP S60238933A
Authority
JP
Japan
Prior art keywords
error
ecc
storage device
data
microinstruction
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.)
Granted
Application number
JP59094280A
Other languages
Japanese (ja)
Other versions
JPH0250500B2 (en
Inventor
Yasuhiro Kuroda
康弘 黒田
Hideo Tamura
秀夫 田村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59094280A priority Critical patent/JPS60238933A/en
Publication of JPS60238933A publication Critical patent/JPS60238933A/en
Publication of JPH0250500B2 publication Critical patent/JPH0250500B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the processing speed of a control storage device, by correcting an ECC code error after a microinstruction is executed when the ECC code error having no direct relation with the execution of the microinstruction occurs. CONSTITUTION:At the time of readout, an address is latched by a register CSA and a control storage device CS is accessed by means of the latched address, and thus, data, parity bit, and ECC code are read out. When the results of inspections made by a parity checking circuit PC and ECC checking circuit ECC-C are normal, data from the control storage device CS are sent to an execution register CSE through a gate G3 and a microinstruction is executed. When no error is detected at the parity checking circuit PC, but 1-bit error is detected at the ECC checking circuit ECC-C, the data from the control storage device CS are latched by the execution register CSE and the microinstruction is exectuted, since no error occurs in the data and parity bit.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、電子計算機の制御記憶装置のエラー処理方式
に関する。
TECHNICAL FIELD OF THE INVENTION The present invention relates to an error handling method for a control storage device of an electronic computer.

従来技術と問題点 マイクロプログラム制御の計算機は制御記憶装置(コン
トロール ストーレッジ、略してC3)を備え、該C8
にはマイクロ命令(データ)の他に該データのエラーチ
ェック及び修正のためのECCコードを格納する。エラ
ーチェックに広く用いられるのはパリティビットである
が、ECCコードを付加するならパリティビットは設け
ないのが普通である。しかしECCチェック(ECCコ
ードによるエラーチェック及び訂正)はパリティチェッ
クに比べて時間がか\す、高速にするとECCチェック
が間に合わず、エラーデータが実行されてしまう(後述
のようにC8からC8Eへデータが移されると該データ
は実行されるが、このC8Eへのデータ取込みを制御す
るクロックを停止させるのが間に合わない)恐れがあり
、これを避けるにはサイクルタイムを長くする必要があ
って動作が遅くなる。
Prior Art and Problems A microprogram-controlled computer is equipped with a control storage (C3 for short), and the C8
In addition to microinstructions (data), the ECC code for error checking and correction of the data is stored. A parity bit is widely used for error checking, but if an ECC code is added, a parity bit is usually not provided. However, ECC check (error check and correction using ECC code) takes time compared to parity check. When the data is transferred, the data will be executed, but there is a risk that the clock that controls the data acquisition to the C8E will not be stopped in time). Become slow.

制御記憶装置C8の読出しサイクルでデータをチェック
、コレクトするECC回路の動作が時間的に間に合わな
い場合、エラーが検出されたら直ちにエラー訂正サイク
ルに切換え、エラー訂正後そのマイクロ命令を実行する
ようにする方式があり、このエラー訂正サイクルでO8
の再書込みを行なうものと、マシン命令の実行終了時に
エラー報告をしC8の再書込みを行なうものとがある。
If the operation of the ECC circuit that checks and collects data during the read cycle of the control storage device C8 is not in time, when an error is detected, the cycle is immediately switched to the error correction cycle, and the microinstruction is executed after the error is corrected. There is a method, and in this error correction cycle O8
There is one that rewrites C8, and another that reports an error and rewrites C8 at the end of execution of a machine instruction.

しかじか\る方式では、マイクロ命令の実行には直接関
係のないECCコードのエラーの場合にもエラー訂正サ
イクルに入るため、マイクロ命令の実行が1+イクル遅
くなる。
However, in this method, an error correction cycle is entered even in the case of an error in the ECC code that is not directly related to the execution of the microinstruction, so the execution of the microinstruction is delayed by 1+ cycles.

発明の目的 本発明はか−る点を改善し、マイクロ命令それ自体には
エラーがない場合は該マイクロ命令を実行させ、マシン
命令実行終了後にC8の再書込み(ECC:コード等の
エラー修正)を行なうようにしてマイクロプログラムの
実行を可及的に高速化しようとするものである。
Purpose of the Invention The present invention improves the above points, and executes the microinstruction if there is no error in the microinstruction itself, and rewrites C8 after the execution of the machine instruction (ECC: error correction in code, etc.). This is an attempt to speed up the execution of microprograms as much as possible.

発明の構成 本発明は、マイクロ命令を格納する制御記憶装置のエラ
ー処理方式において、該制御記憶装置にマイクロ命令と
そのECCコードと共にパリティビットを格納しておき
、またECCチェック回路と共にパリティチェック回路
を設けておき、該制御記憶装置のマイクロ命令を読出し
たとき、パリティチェック回路がエラーを検出しなけれ
ば読出した該マイクロ命令を実行し、このときECCチ
ェック回路がエラーを検出していればそのエラー処理を
し、また該制御記憶装置のマイクロ命令を読出したとき
パリティチェック回路がエラーを検出すれば、該マイク
ロ命令の実行を中止してエラー処理に入ることを特徴と
するが、次に実施例を参照しながらこれを説明する。
Structure of the Invention The present invention provides an error handling method for a control storage device that stores microinstructions, in which a parity bit is stored in the control storage device together with the microinstruction and its ECC code, and a parity check circuit is provided in addition to the ECC check circuit. When a microinstruction is read from the control storage device, if the parity check circuit does not detect an error, the read microinstruction is executed, and if the ECC check circuit detects an error at this time, the error is canceled. If the parity check circuit detects an error when the microinstruction is processed and read out from the control storage device, the execution of the microinstruction is stopped and error processing is started. This will be explained with reference to.

発明の実施例 図面は本発明の実施例を示す。図示するように本発明で
は制御記憶装置CSには、データつまりマイクロ命令と
そのECCコードに加えてパリティビットPを格納する
ようにし、そのパリティビット発生回路PG及びパリテ
ィチェック回路pcを設ける。C8Wは制御記憶装置へ
の書込みデータのレジスタ、ECC−GはECCコード
発生回路、ECC−CはECCチェック回路である。ま
たC3Aは制御記憶装置C8をアクセスするアドレスの
レジスタ、ADCは該アドレスのカウンタ、C3CはC
5の制御回路である。またC’SDは制御記憶装置C8
の読出しデータのレジスタ、SYDはエラー位置を示す
シンドロームビットのレジスタ、5ERCは1ビツトエ
ラー訂正回路、C3EはC5実行レジスタである。
EMBODIMENTS OF THE INVENTION The drawings illustrate embodiments of the invention. As shown in the figure, in the present invention, the control storage device CS stores a parity bit P in addition to data, that is, microinstructions and their ECC codes, and is provided with a parity bit generation circuit PG and a parity check circuit pc. C8W is a register for write data to the control storage device, ECC-G is an ECC code generation circuit, and ECC-C is an ECC check circuit. Further, C3A is a register of the address to access the control storage device C8, ADC is a counter of the address, and C3C is a register of the address to access the control storage device C8.
5 control circuit. Also, C'SD is the control storage device C8.
SYD is a syndrome bit register indicating an error position, 5ERC is a 1-bit error correction circuit, and C3E is a C5 execution register.

制御記憶装置C8への書込みデータはレジスタC8Wに
ランチされ、次いでC3へ書込まれるが、このとき発生
回路PG及びECC−Gはパリティビット及びECCコ
ードを発生し、これらが該データと共にC8に書込まれ
る。パリティビットはバイト単位で付加し、本例ではC
8のデータは4バイトなのでパリティは4ビツトである
。ECCコードは1ビツトエラーを訂正でき、かつ、2
ビツトエラーを検出できるコードとする。読出しに際し
てはアドレスがレジスタC3Aにラッチされ、このラッ
チされたアドレスがC8をアクセスしてデータ、そのパ
リティビット及びECCコードを読み出す。これらはパ
リティチェック回路PC2FCCチェック回路ECC−
C1読出しデータレジスタC8Dへ送られ、pc及びE
CC−Cでパリティチェック及びECCチェックが行な
われてその結果が正常ならCSデータはゲートG3を通
して実行レジスタC3Eへ送られ、該データ即ちマイク
ロ命令が実行される。ゲートG3を入力a側に切換える
のは制御回路C8Cであり、CS読み出しサイクルの時
11Qtを出力し、該ゲートG3を上記のようにする。
The data to be written to control memory C8 is launched into register C8W and then written to C3, where generation circuits PG and ECC-G generate parity bits and an ECC code, which are written to C8 along with the data. be included. Parity bits are added in byte units, and in this example C
Since the data of 8 is 4 bytes, the parity is 4 bits. ECC code can correct 1 bit error and
The code should be able to detect bit errors. For reading, the address is latched into register C3A, and the latched address accesses C8 to read the data, its parity bit, and ECC code. These are parity check circuit PC2FCC check circuit ECC-
Sent to C1 read data register C8D, pc and E
A parity check and an ECC check are performed in the CC-C, and if the results are normal, the CS data is sent to the execution register C3E through the gate G3, and the data, ie, the microinstruction, is executed. It is the control circuit C8C that switches the gate G3 to the input a side, outputs 11Qt during the CS read cycle, and sets the gate G3 as described above.

またPCのエラー出力(この場合°01)は、インバー
タG4及びオアゲートG1を通してアンドゲートG2を
開き、クロックCLKを実行レジスタC3Eへ入力させ
る。
Further, the error output of the PC (°01 in this case) opens the AND gate G2 through the inverter G4 and the OR gate G1, and inputs the clock CLK to the execution register C3E.

このクロックでC3EはCSデータを取込む。以上は正
常な場合であるが、データ、パリティビット、ECCコ
ードにエラーがあると次の動作が行なわれる。
C3E takes in CS data with this clock. The above is a normal case, but if there is an error in the data, parity bit, or ECC code, the following operation is performed.

パリティチェック回路PCでエラーが検出されると、P
Cのエラー出力は、ゲートG4、ゲートG1を通してゲ
ートG2を閉じてクロックCLKが実行レジスタC3E
へ入力するのを禁止する。
When an error is detected in the parity check circuit PC, P
The error output of C passes through gate G4 and gate G1, closes gate G2, and clock CLK is output to execution register C3E.
Prohibit input to .

このとき、ADCは、PCのエラー出力により、C3A
のカウントアツプを中止する。この結果CSデータが該
実行レジスタC3Eヘラソチされ該データ即ちマイクロ
命令が実行されることはない。
At this time, the ADC detects C3A due to the error output from the PC.
Stop counting up. As a result, the CS data is stored in the execution register C3E, and the data, ie, the microinstruction, is not executed.

このときECCチェック回路でも1ビツトエラーが検出
されれば、これはCSデータの1ビツトエラーであり、
次の訂正サイクルでCSデータの修正を行なう。これは
レジスタC3D内のCSデータとレジスタC3D内のシ
ンドロームビットを用いて1ビツトエラー訂正回路5E
RCで行なわれ、エラー訂正されたCSデータはゲート
G3を通って実行レジスタC3Eに取り込まれ、実行さ
れる。
At this time, if the ECC check circuit also detects a 1-bit error, this is a 1-bit error in the CS data.
The CS data is corrected in the next correction cycle. This is a 1-bit error correction circuit 5E using the CS data in register C3D and the syndrome bit in register C3D.
The error-corrected CS data carried out by the RC is taken into the execution register C3E through the gate G3 and executed.

このときC8Cは、G3を入力す側に切換えるとともに
ゲートG1を通しゲートG2を開く。これに反してEC
C回路ではエラーが検出されれなかったら、これはパリ
ティビットのエラーであり、次の訂正サイクルでデータ
からパリティビットを作り出して該パリティビットを訂
正する。この訂正は、実行サイクルでパリティチェック
を行なわないなら、する必要はないが、マイクロ命令の
実行を止めているので訂正サイクルは存在する。いずれ
の場合も、C8の再書込みは行なっていないのでマシン
命令の実行終了時にエラー報告し、C8の再書込みを行
なう。また若しパリティチェック回路でエラーを検出し
、ECCチェック回路で2ビツトエラーを検出したなら
ばエラー訂正は不可能であり、この場合は、パリティチ
ェック回路でエラーを検出せず、ECCチェック回路で
2ビツトエラーを検出した場合と同様の処理をする。
At this time, C8C switches G3 to the input side and opens gate G2 through gate G1. On the contrary, EC
If no error is detected in the C circuit, this is a parity bit error, and the parity bit is corrected by creating a parity bit from the data in the next correction cycle. This correction does not need to be performed if parity check is not performed in the execution cycle, but the correction cycle exists because execution of the microinstruction is stopped. In either case, since C8 is not rewritten, an error is reported when the execution of the machine instruction ends, and C8 is rewritten. Furthermore, if the parity check circuit detects an error and the ECC check circuit detects a 2-bit error, error correction is impossible; in this case, the parity check circuit does not detect an error, and the ECC check circuit detects a 2-bit error. The same processing as when a bit error is detected is performed.

パリティチェック回路ではエラーを検出せず、ECCチ
ェック回路で1ビツトエラーを検出した場合は、これは
ECCコードの1ビツトエラーであり、データ及びパリ
ティビットにエラーはない。
If the parity check circuit does not detect an error, but the ECC check circuit detects a 1-bit error, this is a 1-bit error in the ECC code, and there is no error in the data or parity bit.

従って該データ(マイクロ命令)を実行しても悪影響は
ないのでクロックを止めず、CSデータを実行レジスタ
C3Eヘラツチさせて該データを実行させる。但し、マ
シン命令実行終了時にエラー報告をし、CSの再書込み
(ECCコードの修正)を行なう。ECCチェック回路
で2ビツトエラーを検出した場合はデータの訂正は不可
能であるから、C8の再書込み後にマイクロ命令のりト
ライ又はマシン命令のす゛トライをする。
Therefore, since there is no adverse effect even if the data (microinstruction) is executed, the clock is not stopped, and the CS data is latched to the execution register C3E to execute the data. However, when the machine instruction execution ends, an error report is made and the CS is rewritten (ECC code corrected). If the ECC check circuit detects a 2-bit error, it is impossible to correct the data, so after rewriting the C8, a micro-instruction retry or a machine instruction retry is performed.

発明の詳細 な説明したように本発明では制御記憶装置にデータ即ち
マイクロ命令とECCコードに加えてパリティビットも
付加しておき、パリティエラーなら訂正サイクルに入る
が、パリティエラーでなければ該データを実行するよう
にしたので、命令実行を可及的に速めることができ高速
データ処理を可能にすることができる。
As described in detail, in the present invention, a parity bit is added to the control storage device in addition to data, that is, microinstructions and ECC codes, and if there is a parity error, a correction cycle is entered, but if there is no parity error, the data is Since the instructions are executed, the instruction execution can be made as fast as possible, and high-speed data processing can be achieved.

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

図面は本発明の実施例を示すブロック図である。 図でC8は制御記憶装置、Pはパリティビット、PCは
パリティチェック回路、FCC−CはECCチェック回
路である。
The drawing is a block diagram showing an embodiment of the invention. In the figure, C8 is a control storage device, P is a parity bit, PC is a parity check circuit, and FCC-C is an ECC check circuit.

Claims (1)

【特許請求の範囲】 マイクロ命令を格納する制御記憶装置のエラー処理方式
において、 該制御記憶装置にマイクロ命令とそのECCコードと共
にパリティビットを格納しておき、またECCチェック
回路と共にパリティチェック回路を設けておき、 該制御記憶装置のマイクロ命令を読出したとき、パリテ
ィチェック回路がエラーを検出しなければ読出した該マ
イクロ命令を実行し、このときECCチェック回路がエ
ラーを検出していればそのエラー処理をし、 また該制御記憶装置のマイクロ命令を読出したときパリ
ティチェック回路がエラーを検出すれば、該マイクロ命
令の実行を中止してエラー処理に入ることを特徴とする
制御記憶装置のエラー処理方式。
[Claims] In an error handling method for a control storage device that stores microinstructions, a parity bit is stored in the control storage device together with the microinstruction and its ECC code, and a parity check circuit is provided in addition to the ECC check circuit. When the microinstruction in the control storage device is read, if the parity check circuit does not detect an error, the read microinstruction is executed, and if the ECC check circuit detects an error at this time, the error processing is executed. and further, if a parity check circuit detects an error when reading a microinstruction from the control storage device, the execution of the microinstruction is stopped and error processing is started. .
JP59094280A 1984-05-11 1984-05-11 Error processing system of control storage device Granted JPS60238933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59094280A JPS60238933A (en) 1984-05-11 1984-05-11 Error processing system of control storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59094280A JPS60238933A (en) 1984-05-11 1984-05-11 Error processing system of control storage device

Publications (2)

Publication Number Publication Date
JPS60238933A true JPS60238933A (en) 1985-11-27
JPH0250500B2 JPH0250500B2 (en) 1990-11-02

Family

ID=14105842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59094280A Granted JPS60238933A (en) 1984-05-11 1984-05-11 Error processing system of control storage device

Country Status (1)

Country Link
JP (1) JPS60238933A (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

Also Published As

Publication number Publication date
JPH0250500B2 (en) 1990-11-02

Similar Documents

Publication Publication Date Title
JPS60179851A (en) Data processor
JPH0253809B2 (en)
JPS60238933A (en) Error processing system of control storage device
JPS57169857A (en) Control storage device
JPS62250563A (en) Magnetic disk storage device
JPS58213349A (en) Information processor
JPS60214043A (en) Pipeline control circuit
JPS61173360A (en) Protective system for data of non-volatile memory
JPS63278162A (en) Error correction device in information processor
JPH01309421A (en) Error correction system
JPS59129995A (en) Storage device
JPH02207355A (en) Memory readout system
JPH01166144A (en) Debugging system for firmware program
JPS61166654A (en) Memory patrol diagnosis system
JPH04255032A (en) Error correcting system for control storage
JPS6041151A (en) Correcting system of memory error
JPS58103040A (en) Microprogram controller
JPS6159696A (en) System for repairing control memory
JPS60142746A (en) Data fetch system
JPH03225433A (en) Single-chip microcomputer
JPH064412A (en) Local memory inspecting/correcting circuit
JPH01133147A (en) Data processor
JPH03168839A (en) Control memory one-bit error correcting system
JPS59217298A (en) Memory error relieve system
JPS63101947A (en) Error processing system