JPH02115938A - Microprogram error detection circuit - Google Patents
Microprogram error detection circuitInfo
- Publication number
- JPH02115938A JPH02115938A JP63269829A JP26982988A JPH02115938A JP H02115938 A JPH02115938 A JP H02115938A JP 63269829 A JP63269829 A JP 63269829A JP 26982988 A JP26982988 A JP 26982988A JP H02115938 A JPH02115938 A JP H02115938A
- Authority
- JP
- Japan
- Prior art keywords
- error
- microprogram
- correctable
- error detection
- detection circuit
- 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
- 238000001514 detection method Methods 0.000 title claims abstract description 36
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
Landscapes
- Detection And Correction Of Errors (AREA)
Abstract
Description
【発明の詳細な説明】
挾」υL野
本発明はマイクロプログラムエラー検出回路に関し、特
にマイクロプログラム制御のマイクロプログラム制御装
置におけるエラー検出、訂正方式従来、この種のマイク
ロプログラム制御装置においては、制御記憶から読出さ
れてマイクロプログラム読出しレジスタに保持されたマ
イクロプログラムに訂正可能エラーが検出されると、こ
のマイクロプログラムの訂正可能エラーを常に4正して
いる。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprogram error detection circuit, and in particular to an error detection and correction method in a microprogram control device for microprogram control. When a correctable error is detected in the microprogram read and held in the microprogram read register, the correctable error in the microprogram is always corrected.
このような従来のマイクロプログラム制御装置では、−
度エラー訂正された後に再度訂正可能エラーが検出され
ると、該訂正可能エラーの訂正を行ってしまうので、制
御記憶のRAM (ランダムアクセスメモリ)ではなく
、マイクロプログラム読出しレジスタに故障が生じた場
合には、連続してその訂正可能エラーに対する訂正動作
が行われ、命令タイムアウトになってしまうという欠点
がある。In such a conventional microprogram controller, −
If a correctable error is detected again after the error has been corrected, the correctable error will be corrected. The disadvantage of this method is that correction operations for the correctable errors are performed continuously, resulting in an instruction timeout.
九肌立亘勲
本発明は上記のような従来のものの欠点を除去すべくな
されたもので、マイクロプログラム読出しレジスタに故
障が生じた場合に命令タイムアウトとなることなく、マ
イクロプログラム読出しレジスタの故障を検出すること
ができるマイクロプログラムエラー検出回路の提供を目
的とする。The present invention was made in order to eliminate the drawbacks of the conventional ones as described above, and it is possible to eliminate the failure of the microprogram read register without causing an instruction timeout when the failure occurs in the microprogram read register. The present invention aims to provide a microprogram error detection circuit that can detect microprogram errors.
九匪座旦メ
本発明によるマイクロプログラムエラー検出回路は、制
御記憶から続出されたマイクロプログラムを保持するレ
ジスタと、前記レジスタに保持された前記マイクロプロ
グラムの訂正可能エラーを検出するエラー検出手段と、
前記マイクロプログラムの前記J「正可能エラーを訂正
して前記レジスタに格納するエラー訂正手段とを含むマ
イクロプログラムエラー検出回路であって、前記エラー
訂正手段により前記訂正可能エラーが訂正され、前記レ
ジスタに保持されたマイクロプログラムに前記エラー検
出手段により前記訂正可能エラーが検出されたとき、該
マイクロプログラムの訂正可能エラーを訂正不可能エラ
ーとして通知する手段を設けたことを特徴とする。A microprogram error detection circuit according to the present invention includes: a register for holding microprograms successively retrieved from a control memory; error detection means for detecting a correctable error in the microprogram held in the register;
a microprogram error detection circuit comprising: error correction means for correcting the correctable error and storing it in the register; The present invention is characterized in that, when the correctable error is detected by the error detection means in the held microprogram, means is provided for notifying the correctable error of the microprogram as an uncorrectable error.
火里ヱ
次に、本発明の一実施例について図面を参照して説明す
る。Next, an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例の構成を示すブロック図であ
る4図において、制御記憶装置1にはマイクロプログラ
ムと1とットエラー訂正可能2とットエラー検出可能な
E CC(error correct c。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 4, a control storage device 1 includes a microprogram and an error correctable ECC (error correcting code).
de)ビットとが格納されており、この制御記憶装置1
から信号線101を介して読出されたマイクロプログラ
ムおよびECCビットはセレクタ2を介してマイクロプ
ログラム読出しレジスタ(以下読出しレジスタとする)
3に格納される。de) bits are stored in this control storage device 1.
The microprogram and ECC bits read from the signal line 101 are sent to the microprogram read register (hereinafter referred to as the read register) via the selector 2.
3.
セl/クタ2は制御記憶装置1から読出されて信号線1
01を介して入力されたマイクロプログラムおよびEC
Cビットと、エラー訂正回路5で1ビットエラーが訂正
されて信号線105を介して入力されたマイクロプログ
ラムおよびECCビットとのうち一方をエラー検出回路
4からの信号に応じて選択し、信号ffl 102を介
して読出しレジスタ3に送出する。Cell/actor 2 is read from control memory 1 and signal line 1
Microprogram and EC input via 01
One of the C bit and the microprogram and ECC bit input via the signal line 105 after a 1-bit error has been corrected by the error correction circuit 5 is selected according to the signal from the error detection circuit 4, and the signal ffl is selected. 102 to the read register 3.
すなわち、エラー検出回路4で1とットエラーが検出さ
れたときにはエラー訂正回路5からのマイクロプログラ
ムおよびECCビットが選択され、エラー検出回路4で
エラーが検出されなかったときには制御記・1モ装置1
がらのマイクロプログラムおよびECCビットが選択さ
れる。That is, when the error detection circuit 4 detects a 1-bit error, the microprogram and ECC bit from the error correction circuit 5 are selected, and when the error detection circuit 4 does not detect an error, the control memory/1 bit error is selected.
The original microprogram and ECC bits are selected.
読出しレジスタ3に格納されたマイクロプログラムおよ
びECCビットは信号線103を介してエラー検出回路
4およびエラー訂正回路5に送出される。The microprogram and ECC bits stored in read register 3 are sent to error detection circuit 4 and error correction circuit 5 via signal line 103.
エラー検出回路4は読出しレジスタ3から送られてきた
マイクロプログラムおよびECCビットの1ビツトエラ
ーおよび2とットエラーの検出を行い、その検出結果を
信号線104を介してセレクタ2および訂正可能エラー
検出フリップフロップ(以下訂正可能エラー検出FFと
する)6に送出し、また信号線107を介して読出しレ
ジスタエラー登録FF(以下レジスタエラー登録FFと
する)7に送出する。The error detection circuit 4 detects 1-bit errors and 2-bit errors in the microprogram and ECC bits sent from the read register 3, and sends the detection results to the selector 2 and the correctable error detection flip-flop ( It is sent to the read register error registration FF (hereinafter referred to as register error registration FF) 7 via the signal line 107.
エラー訂正回路5は読出しレジスタ3から送られてきた
マイクロプログラムおよびECCビットの1とットエラ
ーの訂正を行い、訂正されたマイクロプログラムおよび
ECCビットは信号線105を介してセレクタ2に送出
される。The error correction circuit 5 corrects a 1-set error in the microprogram and ECC bit sent from the read register 3, and the corrected microprogram and ECC bit are sent to the selector 2 via the signal line 105.
訂正可能エラー検出PF6はエラー検出回路4で1とッ
トエラーが検出されたときにセットされ、その内容を信
号線106を介してエラー検出回路4に出力する。Correctable error detection PF 6 is set when the error detection circuit 4 detects a 1-set error, and outputs its contents to the error detection circuit 4 via the signal line 106 .
レジスタエラー登録FF7は訂正可能エラー検出FF6
がセットされているときに、エラー検出回路4で1とッ
トエラーが検出されるとセットされ、1とットエラーを
訂正したにもかかわらず、再度1ビツトエラーが発生し
たということで、訂正不可のハードウェアエラーとして
登録される。Register error registration FF7 is correctable error detection FF6
It is set when a 1-bit error is detected in the error detection circuit 4 when the 1-bit error is set, and even though the 1-bit error has been corrected, a 1-bit error has occurred again. Registered as an error.
第2図は本発明の一実施例の動作を示すタイムチャート
である。これら第1図および第2図を用いて本発明の一
実施例の動作について説明する。FIG. 2 is a time chart showing the operation of one embodiment of the present invention. The operation of an embodiment of the present invention will be explained using FIG. 1 and FIG. 2.
タイミングT1で制御記憶装置1から読出されたマイク
ロプログラムおよびECCビットは、タイミングT2で
セレクタ2を介して読出しレジスタ3に格納される。The microprogram and ECC bits read from control storage device 1 at timing T1 are stored in read register 3 via selector 2 at timing T2.
読出しレジスタ3に格納されたマイクロプログラムおよ
びECCビットは直ちにエラー検出回路4によりECC
チエツクが行われる。The microprogram and ECC bits stored in the read register 3 are immediately converted to ECC by the error detection circuit 4.
A check is performed.
このECCチエツクにより1とットエラーが検出される
と、タイミングT3でエラー検出回路4からの信号線1
04上の信号がアクティブとなって、訂正可能エラー検
出FF6がセットされるとともに、エラー訂正回路5で
訂正されたマイクロプログラムおよびECCビットがセ
レクタ2を介して読出しレジスタ3に格納される。When a 1-set error is detected by this ECC check, the signal line 1 from the error detection circuit 4 is output at timing T3.
The signal on 04 becomes active, the correctable error detection FF6 is set, and the microprogram and ECC bits corrected by the error correction circuit 5 are stored in the read register 3 via the selector 2.
この読出しレジスタ3に格納されたマイクロプログラム
およびECCビットは再度エラー検出回路4によりEC
Cチエツクが行われる。The microprogram and ECC bits stored in this read register 3 are again checked by the error detection circuit 4.
A C check is performed.
このとき、ECCチエツクによって1とットエラーが検
出された場合には、訂正可能エラー検出FF6がセット
されているので、タイミングT4でエラー検出回路4か
らの信号!1107上の信号がアクティブとなって、レ
ジスタエラー登81 F F 7がセットされ、この1
とットエラーが訂正不可のハードウェアエラーとして登
録される。At this time, if a 1-set error is detected by the ECC check, since the correctable error detection FF6 is set, the signal from the error detection circuit 4 is output at timing T4! The signal on 1107 becomes active, register error register 81 F F 7 is set, and this 1
The error is registered as an uncorrectable hardware error.
レジスタエラー登録FF7がセットされることにより、
図示せぬ上位装置あるいは診断装置にこのハードウェア
エラーが通知され、上位装置あ・るいは診断装置により
障害処理が行われる。By setting register error registration FF7,
This hardware error is notified to a high-level device or a diagnostic device (not shown), and the high-level device or diagnostic device performs failure processing.
よって、読出しレジスタ3が故障しているような場合に
、エラー訂正回路5で訂正されたマイクロプログラムお
よびECCビットに再度1とットエラーが検出されると
、この訂正可能エラーが訂正不可のハードウェアエラー
として上位装置あるいは診断装置に通知されるので、命
令タイムアウトとなることなく、読出しレジスタ3の故
障を検出することができる。Therefore, if the read register 3 is out of order and a 1-set error is detected again in the microprogram and ECC bits that have been corrected by the error correction circuit 5, this correctable error turns into an uncorrectable hardware error. Since the failure of the read register 3 can be detected without causing an instruction timeout, the host device or diagnostic device is notified as follows.
このように、エラー訂正口F!?15で訂正可能エラー
が訂正されたマイクロプログラムおよびECCビットに
、エラー検出回路4で再度訂正可能エラーが検出された
ときに、この訂正可能エラーを訂正不可のエラーとして
レジスタエラー登録FF7に登録して上位装置あるいは
診断装置に通知するようにすることによって、制御記憶
装置1の故障ではなく、読出しレジスタ3に故障が生じ
た場合でも、命令タイムアウトとなることなく、読出し
レジスタ3の故障を検出することができる。In this way, the error correction port F! ? When the error detection circuit 4 detects a correctable error again in the microprogram and ECC bit in which the correctable error was corrected in step 15, the correctable error is registered in the register error registration FF7 as an uncorrectable error. By notifying a host device or a diagnostic device, even if a failure occurs in the read register 3 instead of a failure in the control storage device 1, the failure in the read register 3 can be detected without causing an instruction timeout. Can be done.
1匪ム豆」
以上説明したように本発明によれ、ば、制御記憶から読
出されてマイクロプログラム読出しレジスタに保持され
たマイクロプログラムにおいて訂正可能エラーが検出さ
れ、この訂正可能エラーが訂正されたマイクロプログラ
ムに再度訂正可能エラーが検出されたとき、該マイクロ
プログラムの訂正可能エラーを訂正不可能エラーとして
通知するようにすることによって、マイクロプログラム
読出しレジスタに故障が生じた場合に命令タイムアウト
となることなく、マイクロプログラム続出しレジスタの
故障を検出することができるという効果がある。As explained above, according to the present invention, a correctable error is detected in a microprogram read from a control memory and held in a microprogram read register, and a correctable error is detected in a microprogram read from a control memory and held in a microprogram read register. When a correctable error is detected in the program again, the correctable error in the microprogram is notified as an uncorrectable error, thereby preventing an instruction timeout even if a failure occurs in the microprogram read register. This has the advantage that failures in microprogram successive registers can be detected.
第1図は本発明の一実施例の構成を示すブロック図、第
2図は本発明の一実施例の動作を示すタイムチャートで
ある。
主要部分の符号の説明
1・・・・・・制御記憶装置
3・・・・・・マイクロプログラム読出しレジスタ4・
・・・・・エラー検出回路
5・・・・・・エラー訂正回路
6・・・・・・訂正可能エラー検出フリップフロップ7
・・・・・・読出しレジスタエラー
登録フリップフロップFIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a time chart showing the operation of the embodiment of the invention. Explanation of symbols of main parts 1...Control storage device 3...Microprogram read register 4.
...Error detection circuit 5 ...Error correction circuit 6 ...Correctable error detection flip-flop 7
・・・・・・Read register error registration flip-flop
Claims (1)
持するレジスタと、前記レジスタに保持された前記マイ
クロプログラムの訂正可能エラーを検出するエラー検出
手段と、前記マイクロプログラムの前記訂正可能エラー
を訂正して前記レジスタに格納するエラー訂正手段とを
含むマイクロプログラムエラー検出回路であって、前記
エラー訂正手段により前記訂正可能エラーが訂正され、
前記レジスタに保持されたマイクロプログラムに前記エ
ラー検出手段により前記訂正可能エラーが検出されたと
き、該マイクロプログラムの訂正可能エラーを訂正不可
能エラーとして通知する手段を設けたことを特徴とする
マイクロプログラムエラー検出回路。(1) a register for holding a microprogram read from a control memory; an error detection means for detecting a correctable error in the microprogram held in the register; a microprogram error detection circuit comprising an error correction means for storing in the register, the correctable error being corrected by the error correction means;
A microprogram, characterized in that, when the correctable error is detected by the error detection means in the microprogram held in the register, means is provided for notifying a correctable error in the microprogram as an uncorrectable error. Error detection circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63269829A JPH02115938A (en) | 1988-10-26 | 1988-10-26 | Microprogram error detection circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63269829A JPH02115938A (en) | 1988-10-26 | 1988-10-26 | Microprogram error detection circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02115938A true JPH02115938A (en) | 1990-04-27 |
Family
ID=17477757
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63269829A Pending JPH02115938A (en) | 1988-10-26 | 1988-10-26 | Microprogram error detection circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02115938A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5897750A (en) * | 1981-12-04 | 1983-06-10 | Nec Corp | Information processor having error correcting function of microinstruction |
-
1988
- 1988-10-26 JP JP63269829A patent/JPH02115938A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5897750A (en) * | 1981-12-04 | 1983-06-10 | Nec Corp | Information processor having error correcting function of microinstruction |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH03248251A (en) | Information processor | |
| JPH02115938A (en) | Microprogram error detection circuit | |
| JPH04115340A (en) | Duplex storage circuit | |
| JPS61290556A (en) | Memory error recovering system | |
| JP2818659B2 (en) | Error correction method | |
| JPS6327940A (en) | Storage controller | |
| US5375231A (en) | Control memory error correcting apparatus | |
| JPH0667912A (en) | Error detection circuit | |
| JPS6223337B2 (en) | ||
| JPH05224968A (en) | Data check system | |
| JPH054266U (en) | Memory device | |
| JPS6191746A (en) | Storage device | |
| JPS6356751A (en) | Memory patrol control system | |
| JPH03152643A (en) | Double bit error control circuit | |
| JPH02310753A (en) | Microprogram controller | |
| JPH01116746A (en) | Information processor | |
| JPH04219700A (en) | Semiconductor memory | |
| JPH0744379A (en) | Microprogram controller | |
| JPH01320558A (en) | Microprogram controller | |
| JPS62293439A (en) | Error correcting mechanism | |
| JPH04332046A (en) | Information processor | |
| JPS6288177A (en) | Memory device | |
| JPH04145540A (en) | Interface error checking system | |
| JPH02144632A (en) | Error correction system | |
| JPH0229839A (en) | Microprogram control device |