JPS61269755A - Trouble processing system for microprogram control device - Google Patents

Trouble processing system for microprogram control device

Info

Publication number
JPS61269755A
JPS61269755A JP60110552A JP11055285A JPS61269755A JP S61269755 A JPS61269755 A JP S61269755A JP 60110552 A JP60110552 A JP 60110552A JP 11055285 A JP11055285 A JP 11055285A JP S61269755 A JPS61269755 A JP S61269755A
Authority
JP
Japan
Prior art keywords
trouble
address
bit
control memory
fault
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
JP60110552A
Other languages
Japanese (ja)
Inventor
Nobuo Katsuta
勝田 信夫
Yukio Ito
伊藤 行雄
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP60110552A priority Critical patent/JPS61269755A/en
Publication of JPS61269755A publication Critical patent/JPS61269755A/en
Pending legal-status Critical Current

Links

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To correct an error in case of one bit trouble regardless of an intermittent trouble or a fixed trouble and to separate and cut a block of a control memory corresponding only in case of several bit troubles by providing an error detecting/correcting circuit. CONSTITUTION:The error detecting/correcting circuit 10 checks whether or not the contents of the output data bitted at control memories 7a and 7b are normal, and corrects the bit error regardless of the intermittent trouble or the fixed trouble when one bit error exists. When the trouble is several bit ones, based upon the output of the trouble address and an address comparator 6a detected by the circuit 10, the trouble generating sub-compartment is divided and the access to a sub-compartment 7-2 is prevented. Namely, the logical address of the microinstruction is modified through a degrade register 1, an address modifying circuit 2a and an address register 3a, to be modified and the access to the sub-compartment 7-2 is prevented. Thus, the block of the corresponding control memory can be separated and cut.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置におけるマイクロプログラム
制御装置に関し、特に制御メモリの障害処理方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram control device in a data processing device, and more particularly to a fault handling method for a control memory.

〔従来の技術〕[Conventional technology]

複数のマイクロ命令を格納する主メモリと、マイクロ命
令の一部を保持する制御メモリと、制御メモリをアクセ
スした際制御メモリ上に目的とするマイクロ命令が存在
するならば読み出し、かつそのマイクロ命令を実行し、
目的とするマイクロ命令が存在しなければ主メモリより
必要なマイクロ命令を含むブロックをロードするマイク
ロプログラム制御回路とを備えたマイクロプログラム制
御装置における制御メモリの障害処理方式では、制御メ
モリを複数のブロックに分割し、制御メモリの読み出し
データに対して誤りを検出し、その障害が発生した制御
メモリをブロック単位で使用禁止状態にする様になって
いた。
A main memory that stores multiple microinstructions, a control memory that holds some of the microinstructions, and when the control memory is accessed, if a target microinstruction exists on the control memory, it reads it and executes that microinstruction. execute,
In a control memory fault handling method in a microprogram control device equipped with a microprogram control circuit that loads a block containing a necessary microinstruction from main memory if a target microinstruction does not exist, the control memory is divided into multiple blocks. Errors are detected in the read data of the control memory, and the control memory in which the error has occurred is disabled for use in units of blocks.

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

制御メモリを複数のブロックに分割し、制御メモリの読
み出しデータに対して誤りを検出した場合、従来の方式
ではその誤りが間欠障害か固定障害か、1ビット障害か
、数ビット障害かの区別をする事なく、誤りが検出され
たブロックを切り離しているので、使用可能な制御メモ
リの量が激減し、常駐できるマイクロプログラム量が減
り、必要とするマイクロプログラムが制御メモリに存在
する確率が少なくなる。このため主メモリより制御メモ
リヘロードする回数が増えるため、必然的に性能低下の
要因となる。このように従来の制御メモリの障害処理方
式では、どんな障害でも検出すると簡単にそのブロック
を切り離すところに問題がある。
When the control memory is divided into multiple blocks and an error is detected in the read data of the control memory, conventional methods cannot distinguish whether the error is an intermittent fault, a fixed fault, a 1-bit fault, or a multi-bit fault. Since the block in which an error was detected is separated without having to do so, the amount of control memory that can be used is drastically reduced, the amount of microprograms that can be resident is reduced, and the probability that the required microprogram exists in control memory is reduced. . For this reason, the number of times the control memory is loaded from the main memory increases, which inevitably causes a decrease in performance. As described above, the problem with conventional control memory fault handling methods is that when any fault is detected, the block is easily separated.

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

本発明の目的は、間欠障害か固定障害かにかかわらず、
1ビット障害の場合には誤りを訂正し、数ビット障害の
場合にのみ対応する制御メモリのブロックを切り離すこ
とのできるマイクロプログラム制御装置の障害処理方式
を提供することにある。
The purpose of the present invention is to
The object of the present invention is to provide a fault handling method for a microprogram control device that can correct errors in the case of a one-bit fault and isolate a corresponding block of control memory only in the case of a several-bit fault.

本発明は、複数のマイクロ命令を格納する主メモリと、
前記マイクロ命令の一部を保持する制御メモリと、前記
制御メモリをアクセスした際前記制御メモリ上に目的と
するマイクロ命令が存在するならば読み出し、かつその
マイクロ命令を実行し、目的とするマイクロ命令が存在
しなければ前記主メモリより必要なマイクロ命令を含む
ブロックをロードするマイクロプログラム制御回路とを
備えたマイクロプログラム制御装置の障害処理方式にお
いて、前記制御メモリの読み出しデータにおける障害を
検出し、前記障害が1ビット障害の場合にはそのデータ
を訂正する回路と、前記障害が数ビット障害の場合には
前記制御メモリの障害箇所を含む部分を切り離す回路と
を備えることを特徴としている。
The present invention includes a main memory storing a plurality of microinstructions;
a control memory that holds a part of the microinstructions, and when the control memory is accessed, if a target microinstruction exists on the control memory, it is read out, the microinstruction is executed, and the target microinstruction is read out; a microprogram control circuit that loads a block containing a necessary microinstruction from the main memory if the microprogram control circuit does not exist; The present invention is characterized by comprising a circuit that corrects the data when the fault is a one-bit fault, and a circuit that separates the portion of the control memory that includes the faulty part when the fault is a multi-bit fault.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例であるマイクロプログラム制
御装置の障害処理方式を示す。本実施例では、制御メモ
リは2コンパートメント構成7a。
FIG. 1 shows a fault handling method for a microprogram control device according to an embodiment of the present invention. In this embodiment, the control memory has a two-compartment configuration 7a.

7bであり、各々のコンパートメントは2つのサブコン
パートメント7−1.7−2および7−3゜7−4にそ
れぞれ分割されているものとする。ディグレードレジス
タ1は、制御メモリ?a、7bのサブコンパートメント
と同数のビ、:、トを有し、各ビットが1つのサブコン
パートメントに対応し、“0”なら使用禁止、“1”な
ら使用可能を表す。
7b, and each compartment is divided into two subcompartments 7-1, 7-2 and 7-3°7-4, respectively. Is degrade register 1 control memory? It has the same number of bits as the subcompartments a and 7b, and each bit corresponds to one subcompartment, and "0" indicates that use is prohibited, and "1" indicates that use is possible.

このディグレードレジスタは、後述するようにアドレス
コンパレータおよび誤り検出/訂正回路の出力に基づい
て設定される。アドレス修飾回路2a、2bは、信萼線
12を経て送られて(るマイクロ命令の論理アドレスを
ディグレードレジスタ1の内容によって修飾し、実アド
レスに変換を施すことによって使用禁止状態にあるサブ
コンパートメントへのアクセスを阻止する。被修飾アド
レスレジスタ3a、3bは、上記の修飾されたアドレス
を保持する。アドレスレジスタ4は、信号線13を経て
制御メモリ7a、7bに対し、信号線14を経てアドレ
スアレイ5a、5bに対してマイクロ命令のアドレスを
供給する。アドレスアレイ5a、5bは、制御メモリ7
 a、−1b内のマイクロ命令をブロック単位で管理す
るための情報を保持する。アドレスコンパレータ5a、
’5bは、アドレスレジスタ4で指定されたブロックが
制御メモリ7a、7bのどちらのコンパートメントに存
在するか、あるいはどちらにも存在しないかを検出する
。アンド回路3a、3bは、アドレスコンパレータ6a
、6bの出力をディグレードレジスタ1の出力で阻止す
る。セレクタ回路9は、制御メモリ7a、7bでヒツト
したコンパートメントをアンド回路3’+、8bの出力
に基づいて選択する。誤り検出/訂正回路10は、ヒツ
トした制御メモリの出力データの内容が正常かどうかの
チェックをし、1ビット誤りがあれば、この1ビット障
害が間欠障害であるか固定障害であるかにかかわらずビ
ット誤りを訂正する。マイクロ命令レジスタ11は、制
御メモリ7a、7bより読み出されたマイクロ命令デー
タであって誤り訂正された正常なデータを保持する。
This degrade register is set based on the outputs of the address comparator and error detection/correction circuit, as will be described later. The address modification circuits 2a and 2b modify the logical address of the microinstruction sent via the signal line 12 by the contents of the degrade register 1, and convert it into a real address, thereby modifying the subcompartment that is disabled. The modified address registers 3a and 3b hold the above-mentioned modified address.The address register 4 sends the address to the control memories 7a and 7b via the signal line 13 to the control memories 7a and 7b via the signal line 14. The address arrays 5a, 5b supply microinstruction addresses to the control memory 7.
Holds information for managing microinstructions in a and -1b in units of blocks. address comparator 5a,
'5b detects in which compartment of the control memories 7a and 7b the block designated by the address register 4 exists, or in neither. AND circuits 3a and 3b are address comparators 6a
, 6b are blocked by the output of degrade register 1. The selector circuit 9 selects the compartment hit by the control memories 7a, 7b based on the outputs of the AND circuits 3'+, 8b. The error detection/correction circuit 10 checks whether the output data of the hit control memory is normal or not. If there is a 1-bit error, the error detection/correction circuit 10 detects whether the 1-bit fault is an intermittent fault or a fixed fault. Correct bit errors. The microinstruction register 11 holds error-corrected normal microinstruction data read from the control memories 7a and 7b.

以下、この実施例の動作を説明する。制御メモリのすべ
てのサブコンパートメント?−1,7−2,7−3,7
−4が使用可能状態にあるときは、被修飾アドレスレジ
スタ3a、3bに格納されるアドレスは、アドレス修飾
回路2a、’lbにおける修飾を受けず、アドレスレジ
スタ4に格納される内容と一致する。ここで、仮りにサ
ブコンパートメント7−2の一部に間欠あるいは固定の
1ビット障害が発生したとする。この時、アドレスレジ
スタ4の内容が制御メモリ7a内の上記1ビット障害の
発生した部分にロードされていたブロック内のマイクロ
命令を指定すると、その内容がコンパートメント7aよ
り読み出される。一方、アドレスコンパレータ6aでは
アドレスレジスタ4とアドレスアレイ5aの出力により
、アドレスレジスタ4により指定されたブロックが制御
メモリ7aに存在することを検出し、アンド回路8aを
経てセレクタ回路9を制御し、コンパートメント7aを
選択させる。コンパートメント7aより読み出されたマ
イクロ命令は、セレクタ回路9を経て誤り検出/訂正回
路10に送られる。この誤り検出/訂正回路で1ビット
誤りであることが検出され、誤りが訂正されて、正常な
マイクロ命令データがマイクロ命令レジスタ11に格納
される。
The operation of this embodiment will be explained below. All subcompartments of control memory? -1,7-2,7-3,7
-4 is in the usable state, the addresses stored in the modified address registers 3a, 3b are not modified by the address modification circuits 2a, 'lb, and match the contents stored in the address register 4. Here, it is assumed that an intermittent or fixed 1-bit failure occurs in a part of the subcompartment 7-2. At this time, when the contents of the address register 4 specify a microinstruction in the block loaded into the portion of the control memory 7a where the 1-bit failure has occurred, the contents are read out from the compartment 7a. On the other hand, the address comparator 6a detects from the outputs of the address register 4 and address array 5a that the block specified by the address register 4 exists in the control memory 7a, controls the selector circuit 9 via the AND circuit 8a, and controls the Let them select 7a. The microinstruction read from compartment 7a is sent to error detection/correction circuit 10 via selector circuit 9. This error detection/correction circuit detects a 1-bit error, corrects the error, and stores normal microinstruction data in the microinstruction register 11.

また、上記障害が、1ビットm害でなく数ビット障害で
ある場合には、以下のように動作する。
Furthermore, when the above-mentioned failure is not a 1-bit failure but a several-bit failure, the following operation is performed.

制御メモリ7a内から読み出された内容が、誤り検出/
訂正回路10に送られると、誤り検出/訂正回路は障害
が数ビット障害であることを検出する。誤り検出/訂正
回路10において検出された障害アドレスおよびアドレ
スコンパレータ6aの出力に基づいて障害発生サブコン
パートメントを割り出し、ディグレードレジスタ1のそ
のサブコンパートメントに対応するビットを“0”とす
る。
The contents read from the control memory 7a are detected by error detection/
Once sent to correction circuit 10, the error detection/correction circuit detects that the fault is a multi-bit fault. The faulty subcompartment is determined based on the faulty address detected in the error detection/correction circuit 10 and the output of the address comparator 6a, and the bit corresponding to that subcompartment in the degrade register 1 is set to "0".

このビット10゛はアドレス修飾回路2aに入力され、
信号線12を経て送られてくるマイクロ命令の論理アド
レスを修飾し、修飾したアドレスを被修飾アドレスレジ
スタ3aに保持し、サブコンパートメント7−2へのア
クセスを阻止することにより、サブコンパートメント7
−2の使用を禁止する。
This bit 10' is input to the address modification circuit 2a,
The subcompartment 7-2 is modified by modifying the logical address of the microinstruction sent via the signal line 12, retaining the modified address in the modified address register 3a, and blocking access to the subcompartment 7-2.
-2 is prohibited.

以上、本発明の一実施例を説明したが本発明はこの実施
例にのみ限定されるものではなく、本発明の範囲内で種
々の変形、変更が可能なことは勿論である。
Although one embodiment of the present invention has been described above, the present invention is not limited only to this embodiment, and it goes without saying that various modifications and changes can be made within the scope of the present invention.

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

以上説明したように本発明は、誤り検出/訂正回路を具
備することにより、間欠あるいは固定障害の1ビット障
害のときは、誤り検出/訂正回路で正常に書き換えて使
用するために、障害ブロックを切り離す必要がなく、主
メモリからの制御メモリへのロード回数を軽減出来、性
能向上へつながる効果がある。
As explained above, the present invention is equipped with an error detection/correction circuit, so that in the event of a one-bit failure that is an intermittent or fixed failure, the faulty block can be rewritten and used normally by the error detection/correction circuit. There is no need to separate it, and the number of loads from main memory to control memory can be reduced, which has the effect of improving performance.

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

第1図は本発明の一実施例を示すブロック図である。 1・・・・・・ディグレードレジスタ 2a、2b・・アドレス修飾回路 3a、3b・・被修飾アドレスレジスタ4・・・・・・
アドレスレジスタ 5a、5b・・アドレスアレイ 5a、5b・・コンパレータ 7a、7b・・制御メモリ 3a、3b・・アンド回路 9・・・・・・セレクタ回路
FIG. 1 is a block diagram showing one embodiment of the present invention. 1...Degraded registers 2a, 2b...Address modification circuits 3a, 3b...Modified address register 4...
Address registers 5a, 5b... Address arrays 5a, 5b... Comparators 7a, 7b... Control memories 3a, 3b... AND circuit 9... Selector circuit

Claims (1)

【特許請求の範囲】[Claims] (1)複数のマイクロ命令を格納する主メモリと、前記
マイクロ命令の一部を保持する制御メモリと、前記制御
メモリをアクセスした際前記制御メモリ上に目的とする
マイクロ命令が存在するならば読み出し、かつそのマイ
クロ命令を実行し、目的とするマイクロ命令が存在しな
ければ前記主メモリより必要なマイクロ命令を含むブロ
ックをロードするマイクロプログラム制御回路とを備え
たマイクロプログラム制御装置の障害処理方式において
、前記制御メモリの読み出しデータにおける障害を検出
し、前記障害が1ビット障害の場合にはそのデータを訂
正する回路と、前記障害が数ビット障害の場合には前記
制御メモリの障害箇所を含む部分を切り離す回路とを備
えることを特徴とするマイクロプログラム制御装置の障
害処理方式。
(1) A main memory that stores a plurality of microinstructions, a control memory that holds some of the microinstructions, and when the control memory is accessed, if the target microinstruction exists on the control memory, it is read out. and a microprogram control circuit that executes the microinstruction and loads a block containing the necessary microinstruction from the main memory if the target microinstruction does not exist. , a circuit that detects a fault in the read data of the control memory and corrects the data when the fault is a one-bit fault; and a part that includes the fault location of the control memory when the fault is a multi-bit fault. A failure handling method for a microprogram control device, characterized by comprising a circuit for disconnecting.
JP60110552A 1985-05-24 1985-05-24 Trouble processing system for microprogram control device Pending JPS61269755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60110552A JPS61269755A (en) 1985-05-24 1985-05-24 Trouble processing system for microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60110552A JPS61269755A (en) 1985-05-24 1985-05-24 Trouble processing system for microprogram control device

Publications (1)

Publication Number Publication Date
JPS61269755A true JPS61269755A (en) 1986-11-29

Family

ID=14538717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60110552A Pending JPS61269755A (en) 1985-05-24 1985-05-24 Trouble processing system for microprogram control device

Country Status (1)

Country Link
JP (1) JPS61269755A (en)

Similar Documents

Publication Publication Date Title
US5267242A (en) Method and apparatus for substituting spare memory chip for malfunctioning memory chip with scrubbing
US4852100A (en) Error detection and correction scheme for main storage unit
JPS6237423B2 (en)
US4183463A (en) RAM error correction using two dimensional parity checking
JPS58220299A (en) Memory system
WO1990002374A1 (en) Failure detection for partial write operations for memories
JPH0594377A (en) Parity detecting circuit
US20030066012A1 (en) Cache memory and system with partial error detection and correction of MESI protocol
JPS59214952A (en) Processing system of fault
JPS61269755A (en) Trouble processing system for microprogram control device
JP2818659B2 (en) Error correction method
JPH04162161A (en) Storage controller
JPH02297235A (en) Memory data protecting circuit
JPS6356751A (en) Memory patrol control system
JPS61253565A (en) Storage device
JPH0520215A (en) Information processor
JPS635784B2 (en)
JPH01106247A (en) Memory card
JPS61131147A (en) Storage device
JPS62130444A (en) Memory access controller
JPH038029A (en) Microprogram controller
JPH0229839A (en) Microprogram control device
JPH02235159A (en) Storage device
JPH02144633A (en) Error correcting device for control storage
JPS61282949A (en) Memory error processing system