JPH0744379A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPH0744379A
JPH0744379A JP5189792A JP18979293A JPH0744379A JP H0744379 A JPH0744379 A JP H0744379A JP 5189792 A JP5189792 A JP 5189792A JP 18979293 A JP18979293 A JP 18979293A JP H0744379 A JPH0744379 A JP H0744379A
Authority
JP
Japan
Prior art keywords
microinstruction
bit error
micro
storage means
storing
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
JP5189792A
Other languages
Japanese (ja)
Inventor
Tooru Honjiyu
徹 本寿
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 JP5189792A priority Critical patent/JPH0744379A/en
Publication of JPH0744379A publication Critical patent/JPH0744379A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To prevent the throughput of a firmware from being lowered by suppressing increase in the number of clock steps even when correctable one-bit errors are frequently generated in a microinstruction from a control memory. CONSTITUTION:This device is provided with a first microinstruction storage means 2, ECC check/correction circuit 32 for a field to instruct the control memory address of the next cycle, ECC check/correction circuit 31 for fields excepting for the field to instruct the next cycle control memory address, second microinstruction storage means 4 for holding the outputs of circuits 31 and 32, microinstruction selecting means 5 for selecting either of means 2 and 4, and microinstruction execution suppress signal generating means 6.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、制御記憶のエラー修正
を行うマイクロプログラム制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprogram controller for correcting errors in control memory.

【0002】[0002]

【従来の技術】記憶素子としてランダムアクセスメモリ
(RAM)で構成された制御記憶のアクセスにおいて発
生するα線等の放射線などが原因でRAMに記憶された
情報が反転するが、再書込をすれば正常に動作する、い
わゆるソフトエラーの対策として1ビット誤り訂正2ビ
ット誤り検出コード(以下ECC)による誤り訂正機能
が採用されている。このECCによる誤り検出訂正で
は、2ビット以上のエラーが発生するとエラーの訂正は
不可能であるが、1ビットエラー発生時においてはエラ
ーは自動訂正され正常に動作を続行することができる。
2. Description of the Related Art Information stored in a RAM is inverted due to radiation such as α rays generated in access to a control memory formed of a random access memory (RAM) as a memory element, but it is necessary to rewrite the information. For example, an error correction function using a 1-bit error correction 2-bit error detection code (hereinafter referred to as ECC) is adopted as a measure against so-called soft error that normally operates. In this error detection and correction by ECC, if an error of 2 bits or more occurs, the error cannot be corrected, but when the 1-bit error occurs, the error is automatically corrected and the operation can be continued normally.

【0003】さらに信頼性を向上する対策として特開昭
58−215798号には以下の方式が示されている。
すなわち信頼性を向上する対策として、2ビットエラー
という訂正不可能な障害の発生確率を低減するため、1
ビットエラーという訂正可能なエラーの発生時には訂正
データを制御記憶に再書込する方式が示されている。
As a measure for further improving the reliability, Japanese Patent Laid-Open No. 58-215798 discloses the following method.
That is, as a measure for improving reliability, in order to reduce the probability of occurrence of an uncorrectable failure called a 2-bit error, 1
A method of rewriting the corrected data in the control memory when a correctable error called a bit error occurs is shown.

【0004】[0004]

【発明が解決しようとする課題】このような方式では、
訂正可能な1ビットエラーが頻発すると、正常動作を続
行することはできるがファームウェアのクロックステッ
プ数が増大し、装置の処理能力を低下させてしまうとい
う欠点がある。
SUMMARY OF THE INVENTION In such a system,
If a correctable 1-bit error occurs frequently, normal operation can be continued, but the number of clock steps of the firmware increases, and the processing capacity of the device is reduced.

【0005】[0005]

【課題を解決するための手段】本発明の装置は、複数の
マイクロ命令からなるマイクロプログラムを記憶する制
御記憶と、この制御記憶からのマイクロ命令を格納する
第1のマイクロ命令格納手段と、この第1のマイクロ命
令格納手段に格納されたマイクロ命令の次のマシンサイ
クルの制御記憶アドレスを指示するフィールドの内容の
1ビットエラーを検出し訂正するとともに2ビットエラ
ーを検出する第1のECCチェック訂正回路と、前記第
1のマイクロ命令格納手段に格納されたマイクロ命令の
次のマシンサイクルの制御記憶アドレスを指示するフィ
ールド以外のフィールドの内容の1ビットエラーを検出
して訂正し2ビットエラーを検出する第2のECCチェ
ック訂正回路と、前記第1のECCチェック訂正回路お
よび前記第2のECCチェック訂正回路で訂正されたマ
イクロ命令を格納する第2のマイクロ命令格納手段と、
前記第2のECCチェック訂正回路で最初の1ビットエ
ラーを検出したときマイクロ命令の実行を抑止するため
の非実行信号を発生する手段と、前記第2のECCチェ
ック訂正回路で最初の1ビットエラーを検出したときか
ら少なくとも割込要求信号,ファームウェア処理開始要
求信号,または割込処理終了信号のうちの1つが与えら
れるときまで前記第2のマイクロ命令格納手段に格納さ
れたマイクロ命令を実行するために選択し前記第1のE
CCチェック訂正回路で1ビットエラーを検出したあと
1マシンサイクルの間前記第2のマイクロ命令格納手段
に格納されたマイクロ命令を実行するために選択するマ
イクロ命令選択手段とを含む。
An apparatus according to the present invention comprises a control memory for storing a microprogram composed of a plurality of microinstructions, a first microinstruction storing means for storing microinstructions from the control memory, and A first ECC check correction for detecting and correcting a 1-bit error in the content of the field indicating the control storage address of the next machine cycle of the micro-instruction stored in the first micro-instruction storing means and detecting a 2-bit error. A circuit and a 1-bit error in the contents of fields other than the field indicating the control storage address of the machine cycle following the micro-instruction stored in the first micro-instruction storing means are detected and corrected to detect a 2-bit error. A second ECC check correction circuit, the first ECC check correction circuit and the second E A second micro-instruction storing means for storing a microinstruction corrected by C check and correction circuit,
Means for generating a non-execution signal for inhibiting execution of a microinstruction when the first ECC check correction circuit detects the first 1-bit error, and the first ECC check correction circuit first 1-bit error For executing the microinstruction stored in the second microinstruction storing means from the time of detecting at least one of the interrupt request signal, the firmware processing start request signal, and the interrupt processing end signal. To the first E
Microinstruction selecting means for selecting to execute the microinstruction stored in the second microinstruction storing means for one machine cycle after detecting one bit error in the CC check correction circuit.

【0006】[0006]

【実施例】次に本発明の一実施例について図面を参照し
て詳細に説明する。図1を参照すると、本発明の一実施
例は複数のマイクロ命令からなるマイクロプログラムを
記憶する制御記憶1と、この制御記憶1から読出された
たマイクロ命令を格納する例えばレジスタやバッファの
ような第1のマイクロ命令格納手段2と、この第1のマ
イクロ命令格納手段2に格納されたマイクロ命令の次の
サイクルで読出されるマイクロ命令の制御記憶格納位置
を指示する次アドレスフィールドの内容の1ビットエラ
ー検出訂正および2ビットエラー検出のためのECCチ
ェックおよび誤り訂正を行うECCチェック訂正回路3
2と、第1のマイクロ命令格納手段2に格納された次ア
ドレスフィールド以外のフィールドの内容の1ビットエ
ラー検出訂正および2ビットエラー検出のためのECC
チェックおよび誤り訂正を行うECCチェック訂正回路
31と、これらECCチェック訂正回路31および32
で1ビットエラーを訂正されたマイクロ命令を第1のマ
イクロ命令格納手段2に再書込みせずに格納する第2の
マイクロ命令格納手段4とを備えている。
An embodiment of the present invention will now be described in detail with reference to the drawings. Referring to FIG. 1, an embodiment of the present invention includes a control memory 1 for storing a microprogram composed of a plurality of microinstructions, and a register or a buffer for storing the microinstructions read from the control memory 1. 1 of the contents of the first microinstruction storage means 2 and the next address field indicating the control storage storage position of the microinstruction read in the next cycle of the microinstruction stored in the first microinstruction storage means 2 ECC check correction circuit 3 for performing ECC check and error correction for bit error detection and correction and 2-bit error detection
2 and ECC for detecting and correcting 1-bit error and 2-bit error in the contents of fields other than the next address field stored in the first microinstruction storing means 2.
An ECC check correction circuit 31 for performing checking and error correction, and these ECC check correction circuits 31 and 32
The second microinstruction storing means 4 stores the microinstruction in which the 1-bit error is corrected in the first microinstruction storing means 2 without rewriting.

【0007】本発明の一実施例の特徴の1つであるマイ
クロ命令実行抑止信号生成手段6は、1つのファームウ
ェア処理単位の中で、または途中で割込みが発生する場
合割り込まれるまでの中でECCチェック訂正回路32
から次アドレスフィールドの内容の1ビットエラーを示
す信号が与えられたとき、または、ECCチェック訂正
回路31から次アドレスフィールド以外のフィールドの
内容の最初の1ビットエラーを示す信号が与えられたと
きマイクロ命令の実行抑止のための非実行(NOEX)
信号を生成する。また、本発明の一実施例の他の特徴の
1つであるマイクロ命令選択手段5は、通常状態におい
て第1のマイクロ命令格納手段(MIR1)2からのマ
イクロ命令を選択し、ECCチェック訂正回路32から
次アドレスフィールドの内容の1ビットエラーを示す信
号が与えられたとき1マシンサイクルの間またはECC
チェック訂正回路31から次アドレスフィールド以外の
フィールドの内容の1ビットエラーを示す信号が与えら
れてから割込要求信号,ファームウェア処理開始要求信
号,割込処理終了信号または回路32から次アドレスフ
ィールドの内容の1ビットエラーを示す信号が与えられ
るまでの間第2のマイクロ命令格納手段(MIR2)4
からのマイクロ命令を選択する。
The microinstruction execution inhibiting signal generating means 6, which is one of the features of the embodiment of the present invention, is the ECC in one firmware processing unit or until interrupted when an interrupt occurs in the middle. Check correction circuit 32
When a signal indicating a 1-bit error in the contents of the next address field is given from the or from the ECC check correction circuit 31 a signal indicating a first 1-bit error in the contents of the fields other than the next address field is given. Non-execution to suppress instruction execution (NOEX)
Generate a signal. The microinstruction selecting means 5, which is another feature of the embodiment of the present invention, selects the microinstruction from the first microinstruction storing means (MIR1) 2 in the normal state, and the ECC check correction circuit. 32 when a signal indicating a 1-bit error in the content of the next address field is given for one machine cycle or ECC
An interrupt request signal, a firmware processing start request signal, an interrupt processing end signal, or the contents of the next address field from the circuit 32 after the check correction circuit 31 gives a signal indicating a 1-bit error of the contents of fields other than the next address field. Second microinstruction storing means (MIR2) 4 until a signal indicating a 1-bit error of
Select a microinstruction from.

【0008】本実施例は、このようなマイクロ命令実行
抑止信号生成手段6で生成される非実行(NOEX)信
号により、1マシンサイクルの間マイクロ命令の実行が
抑止され、次のマシンサイクルで改めて誤り訂正され第
2のマイクロ命令格納手段4に格納されたマイクロ命令
がマイクロ命令選択手段5により選択されて実行され
る。ECCチェック訂正回路32で次アドレスフィール
ドの内容の1ビットエラーが検出されるときには、第1
のマイクロ命令格納手段2の次のマシンサイクルの制御
記憶アドレスを指示する次アドレスフィールドの内容は
正しいことが訂正されているため保証されている。本発
明の一実施例の他の特徴の1つは、制御記憶アドレス生
成手段7がこの訂正された次アドレスフィールドの内容
を選択して制御記憶1に対するアドレスを生成すること
である。この制御記憶アドレス生成手段7によるアドレ
ス生成により、第2のマイクロ命令格納手段4に比べて
の制御記憶1の先取り読出しを行なうことができる。こ
のため2回目以降の同様な1ビットエラーの発生におい
てクロックステップ数の増加をおさえることができる。
本発明の一実施例の他の特徴の1つであるECCチェッ
クエラー報告手段8は、回路31または32でのECC
チェックによるエラー発生を上位装置(図示せず)に通
知する。このECCチェックエラー報告手段8が通知し
たエラーが訂正可能なエラーであっても上位装置に対し
警告を発することにより装置の信頼性の向上に寄与する
ことができる。
In this embodiment, the non-execution (NOEX) signal generated by the microinstruction execution suppression signal generating means 6 suppresses the execution of the microinstruction for one machine cycle, and the next machine cycle restarts. The microinstruction which is error-corrected and stored in the second microinstruction storing means 4 is selected by the microinstruction selecting means 5 and executed. When the ECC check correction circuit 32 detects a 1-bit error in the content of the next address field, the first
The content of the next address field indicating the control storage address of the next machine cycle of the microinstruction storing means 2 is guaranteed because it is corrected. Another feature of the embodiment of the present invention is that the control memory address generating means 7 selects the contents of the corrected next address field to generate an address for the control memory 1. By the address generation by the control memory address generating means 7, the prefetching of the control memory 1 as compared with the second micro instruction storing means 4 can be performed. Therefore, it is possible to suppress the increase in the number of clock steps when the same 1-bit error occurs after the second time.
The ECC check error reporting means 8, which is another feature of the embodiment of the present invention, is the ECC in the circuit 31 or 32.
An error occurrence due to the check is notified to a host device (not shown). Even if the error notified by the ECC check error reporting means 8 is a correctable error, by issuing a warning to the upper device, it is possible to contribute to the improvement of the reliability of the device.

【0009】次に本発明の一実施例のうち、マイクロ命
令選択手段5,マイクロ命令実行抑止信号生成手段6お
よび制御記憶アドレス生成手段7の詳細な構成について
図1および図4を参照して詳細に説明する。
Next, the detailed structure of the microinstruction selecting means 5, the microinstruction execution inhibiting signal generating means 6 and the control memory address generating means 7 in the embodiment of the present invention will be described in detail with reference to FIGS. Explained.

【0010】図4を参照すると、図1に示されるマイク
ロ命令選択手段5は、SEL1と名付けられたD−フリ
ップフロップ(以下D−FF)51,回路32からの次
アドレスフィールドの内容の1ビットエラー検出信号に
よりセットされるSEL2と名付けられたD−フリップ
フロップ(以下D−FF)52,およびこれらD−FF
51および52の出力の論理和をとるオアゲート53,
このオアゲート53の出力である選択SEL信号により
第1のマイクロ命令格納手段2からのマイクロ命令また
は第2のマイクロ命令格納手段3からのマイクロ命令の
いずれか1つを選択するセレクタ54,D−FF51の
出力を保持するためのオアゲート54,およびこのオア
ゲート54の出力によりD−FF51をセットし続け、
このセットの中止を外部から与えられる割込要求信号,
ファームウェア処理開始要求信号,割込要求信号および
D−FF52からのセット中信号のいずれかで行うアン
ドゲート55を備えている。
Referring to FIG. 4, the micro-instruction selecting means 5 shown in FIG. 1 has a D-flip-flop (hereinafter D-FF) 51 named SEL1 and 1 bit of the content of the next address field from the circuit 32. A D-flip-flop (hereinafter D-FF) 52 named SEL2 which is set by an error detection signal, and these D-FFs
An OR gate 53 that ORs the outputs of 51 and 52,
A selector 54, D-FF 51 for selecting either one of the microinstruction from the first microinstruction storing means 2 or the microinstruction from the second microinstruction storing means 3 according to the selection SEL signal output from the OR gate 53. The OR gate 54 for holding the output of the OR gate, and the D-FF 51 is continuously set by the output of the OR gate 54,
An interrupt request signal given from the outside to cancel this set,
An AND gate 55 is provided for performing either the firmware processing start request signal, the interrupt request signal, or the setting signal from the D-FF 52.

【0011】このD−FF51からの否定出力Qは、マ
イクロ命令実行抑止信号生成手段6に与えられ回路31
で発生される2回目以後の1ビットエラー信号の発生に
応答して非実行(NOEX)信号の発生を中止する役割
を果す。
The negative output Q from the D-FF 51 is given to the micro-instruction execution inhibiting signal generating means 6 and the circuit 31.
In response to the generation of the 1-bit error signal for the second time and thereafter, the generation of the non-execution (NOEX) signal is stopped.

【0012】マイクロ命令実行抑止信号生成手段6は、
このマイクロ命令選択手段5のD−FF51からの否定
出力Qと回路31からの次アドレスフィールド以外のフ
ィールドの内容の1ビットエラー信号との論理積をとる
アンドゲート61,およびこのアンドゲート61の出
力,ECCチェック訂正回路32からの次アドレスフィ
ールドの内容の1ビットエラー信号および他の非実行
(NOEX)要因を示す信号の論理和をとるオアゲート
62を備えている。
The microinstruction execution inhibiting signal generating means 6 is
An AND gate 61 which takes the logical product of the negative output Q from the D-FF 51 of the microinstruction selecting means 5 and the 1-bit error signal of the contents of fields other than the next address field from the circuit 31, and the output of the AND gate 61. , An ECC gate 32 for ORing a 1-bit error signal of the contents of the next address field from the ECC check-correction circuit 32 and a signal indicating another non-execution (NOEX) factor.

【0013】D−FF52は回路32からの次アドレス
フィールドの内容の1ビットエラー発生から1マシンサ
イクルの間出力Q信号を出力する。このD−FF52の
出力Q信号は、制御記憶アドレス生成手段7に選択指示
信号として与えられる。
The D-FF 52 outputs an output Q signal for one machine cycle from the occurrence of a 1-bit error in the content of the next address field from the circuit 32. The output Q signal of the D-FF 52 is given to the control storage address generation means 7 as a selection instruction signal.

【0014】制御記憶アドレス生成手段7はこのD−F
F52の出力Q信号により第1のマイクロ命令格納手段
2の次アドレスフィールドの内容と第2のマイクロ命令
格納手段4の次アドレスフィールドの内容とのどちらか
一方を選択するセレクタ71,およびこのセレクタ71
の出力と割込アドレスとのどちらか一方を割込要求信号
により選択するセレクタ72を備えている。
The control storage address generating means 7 is the DF
A selector 71 for selecting either the content of the next address field of the first micro instruction storage means 2 or the content of the next address field of the second micro instruction storage means 4 by the output Q signal of F52, and this selector 71.
The selector 72 is provided for selecting one of the output of the address and the interrupt address by the interrupt request signal.

【0015】次に本発明の一実施例の動作について図2
および図3を参照して詳細に説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIG.
And it demonstrates in detail with reference to FIG.

【0016】回路31で次アドレスフィールドを除くフ
ィールドの内容の1ビットエラーが発生し、制御記憶ア
ドレス生成手段7が第1のマイクロ命令格納手段2から
の次アドレスフィールドの内容を選択することにより、
第2のマイクロ命令格納手段4に比べての制御記憶1の
先取り読出を行なうことができる。この先取り読出しが
可能になる動作例について図2を参照して詳細に説明す
る。
When a 1-bit error occurs in the contents of fields other than the next address field in the circuit 31, and the control memory address generating means 7 selects the contents of the next address field from the first microinstruction storing means 2.
Preemptive reading of the control memory 1 as compared with the second micro instruction storage means 4 can be performed. An example of the operation that enables the pre-reading will be described in detail with reference to FIG.

【0017】図1および図2を参照すると、制御記憶ア
ドレス生成手段7からのアドレスaで指示された制御記
憶1の位置から読出されたマイクロ命令A2はタイミン
グT2で第1のマイクロ命令格納手段2に格納される。
このマイクロ命令A2の次アドレスフィールドを除くフ
ィールドの内容の最初の1ビットエラーが回路31で検
出されると、訂正されるとともにマイクロ命令実行抑止
信号生成手段6は非実行(NOEX)信号を1マシンサ
イクルの間発生する。この非実行信号の発生中マイクロ
命令の実行は抑止される。図1,図2および図4を参照
すると、この回路31での最初の1ビットエラーの検出
に応答してSEL1と称するD−FF51がセットされ
る。このセット中マイクロ命令選択手段5は、第2のマ
イクロ命令格納手段4からのマイクロ命令を選択する。
このSEL1とよばれるD−FF51がセット中,タイ
ミングT4およびT5で第1のマイクロ命令格納手段2
に格納されたマイクロ命令A4およびA5の次アドレス
フィールド以外のフィールドの内容の2回目および3回
目の1ビットエラーが回路31から発生したとしてもマ
イクロ命令実行抑止信号生成手段6のアンドゲート61
は信号を発生しないため、非実行(NOEX)信号を発
生しない。マイクロ命令選択手段5はたとえタイミング
T4およびT5で2回目以降1ビットエラーが回路31
から発生したとしてもSEL1と称すD−FF51の出
力がオアゲート54およびアンドゲート55を介して入
力されるためD−FF51はセットされ続ける。このD
−FF51のセット中マイクロ命令選択手段5のセレク
タ54は、1ビットエラーを訂正した第2のマイクロ命
令格納手段4からのマイクロ命令を選択できるため、先
取りが可能であり、クロックステップ数の増加を抑制で
きる。
With reference to FIGS. 1 and 2, the microinstruction A2 read from the position of the control memory 1 designated by the address a from the control memory address generating means 7 is read by the first microinstruction storing means 2 at the timing T2. Stored in.
When the first 1-bit error of the contents of the fields other than the next address field of the microinstruction A2 is detected by the circuit 31, it is corrected and the microinstruction execution inhibition signal generating means 6 sends a non-execution (NOEX) signal to one machine. Occurs during the cycle. While the non-execution signal is being generated, execution of the micro instruction is suppressed. Referring to FIGS. 1, 2 and 4, in response to the detection of the first 1-bit error in this circuit 31, a D-FF 51 called SEL1 is set. The micro-instruction selecting means 5 during the setting selects the micro-instruction from the second micro-instruction storing means 4.
While the D-FF 51 called SEL1 is being set, the first micro instruction storing means 2 is set at timings T4 and T5.
Even if the second and third 1-bit errors of the contents of the fields other than the next address field of the microinstructions A4 and A5 stored in the circuit 31 occur in the AND circuit 61, the AND gate 61 of the microinstruction execution inhibiting signal generating means 6
Does not generate a signal, so does not generate a non-execution (NOEX) signal. The micro-instruction selecting means 5 generates a 1-bit error in the circuit 31 after the second time even at timings T4 and T5.
, The output of the D-FF 51 called SEL1 is input through the OR gate 54 and the AND gate 55, so that the D-FF 51 continues to be set. This D
-The selector 54 of the microinstruction selection means 5 during the setting of the FF 51 can select the microinstruction from the second microinstruction storage means 4 in which the 1-bit error has been corrected, so that prefetching is possible and the number of clock steps can be increased. Can be suppressed.

【0018】なお、このD−FF51は、割込要求信号
のアンドゲート55への供給に応答してリセットされ
る。このリセット後は、マイクロ命令選択手段5のセレ
クタ54は第1のマイクロ命令格納手段5からのマイク
ロ命令を選択する。
The D-FF 51 is reset in response to the supply of the interrupt request signal to the AND gate 55. After this reset, the selector 54 of the microinstruction selecting means 5 selects the microinstruction from the first microinstruction storing means 5.

【0019】次にECCチェック訂正回路32により次
アドレスフィールドの内容の1ビットエラーが発生した
場合の動作を図3を参照して詳細に説明する。
The operation when the ECC check correction circuit 32 causes a 1-bit error in the content of the next address field will be described in detail with reference to FIG.

【0020】図1,図3および図4を参照すると、制御
記憶アドレス生成手段7からのアドレスa2で示された
制御記憶7の位置からマイクロ命令A2が第1のマイク
ロ命令格納手段2に格納される。この第1のマイクロ命
令格納手段2に格納されたマイクロ命令A2の次アドレ
スフィールドの内容には1ビットエラーがあり、ECC
チェック訂正回路32でその1ビットエラーが検出され
るとともに訂正される。この回路32からの1ビットエ
ラー検出信号は、SEL2と称されるD−FF52を1
マシンサイクル間だけセットする。このD−FF52の
セットにより、マイクロ命令選択手段5のセレクタ54
は、第2のマイクロ命令格納手段4に格納された訂正さ
れたマイクロ命令A2を選択しマイクロ命令レジスタ
(図示せず)に供給する。タイミングT2でマイクロ命
令レジスタに供給されていた内容は実行できない内容で
あるため、この回路32からのエラー信号がマイクロ命
令実行抑止信号生成手段6のオアゲート62を介して非
実行(NOEX)信号として出力される。この出力によ
り不適切なマイクロ命令の実行は抑止される。
Referring to FIGS. 1, 3 and 4, the microinstruction A2 is stored in the first microinstruction storage means 2 from the position of the control storage 7 indicated by the address a2 from the control storage address generation means 7. It There is a 1-bit error in the content of the next address field of the microinstruction A2 stored in the first microinstruction storing means 2, and the ECC
The 1-bit error is detected and corrected by the check correction circuit 32. The 1-bit error detection signal from this circuit 32 outputs 1 to the D-FF 52 called SEL2.
Set only during machine cycles. By setting the D-FF 52, the selector 54 of the microinstruction selecting means 5
Selects the corrected microinstruction A2 stored in the second microinstruction storing means 4 and supplies it to the microinstruction register (not shown). Since the contents supplied to the microinstruction register at the timing T2 are contents that cannot be executed, the error signal from this circuit 32 is output as a non-execution (NOEX) signal through the OR gate 62 of the microinstruction execution suppression signal generation means 6. To be done. This output prevents inappropriate execution of microinstructions.

【0021】なお、訂正され第2のマイクロ命令格納手
段4に格納されたマイクロ命令A2の訂正された次アド
レスフィールドの内容は制御記憶アドレス生成手段7に
与えられ、次のマシンサイクルの制御記憶1のアドレス
a3として使用される。
The contents of the corrected next address field of the microinstruction A2 corrected and stored in the second microinstruction storing means 4 are given to the control memory address generating means 7 and the control memory 1 of the next machine cycle. Is used as the address a3.

【0022】タイミングT5で、第1のマイクロ命令格
納手段2に格納されたマイクロ命令A4に1回目のマイ
クロ命令A2に対する2回目の1ビットエラーが回路3
2で検出されたとする。この1ビットエラーは回路32
で訂正された第2のマイクロ命令格納手段4に格納され
る。回路32からの1ビットエラー検出信号は、マイク
ロ命令実行抑止生成手段6のオアゲート62を介して非
実行(NOEX)信号として出力される。この非実行信
号によりタイミングT5でマイクロ命令レジスタ(図示
せず)に格納された不適当なマイクロ命令は実行されな
い。
At timing T5, the second 1-bit error corresponding to the first micro-instruction A2 in the micro-instruction A4 stored in the first micro-instruction storing means 2 is detected by the circuit 3
It is assumed that it is detected in 2. This 1-bit error is caused by the circuit 32
It is stored in the second microinstruction storage means 4 corrected by. The 1-bit error detection signal from the circuit 32 is output as a non-execution (NOEX) signal via the OR gate 62 of the micro instruction execution inhibition generation means 6. Due to this non-execution signal, the inappropriate microinstruction stored in the microinstruction register (not shown) at timing T5 is not executed.

【0023】[0023]

【発明の効果】本発明では、制御記憶から読出されたマ
イクロ命令に訂正可能な1ビットエラーが多発したとし
ても、その1ビットエラーが次サイクルの制御記憶アド
レス指示フィールドでなければ、クロックステップ数の
増加をほとんど抑えることができ、ファームウェアの処
理能力の低下を防ぐことができるという効果がある。
According to the present invention, even if a correctable 1-bit error frequently occurs in microinstructions read from the control memory, if the 1-bit error is not in the control memory address designating field of the next cycle, the number of clock steps is increased. There is an effect that it is possible to suppress the increase of the firmware, and to prevent the deterioration of the processing capability of the firmware.

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

【図1】本発明の一実施例を示す図FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】本発明の一実施例のうち回路31で1ビットエ
ラーを検出したときの動作を説明するための図
FIG. 2 is a diagram for explaining an operation when a 1-bit error is detected by a circuit 31 in one embodiment of the present invention.

【図3】本発明の一実施例のうち回路32で1ビットエ
ラーを検出したときの動作を説明するための図
FIG. 3 is a diagram for explaining the operation when a 1-bit error is detected by the circuit 32 in the embodiment of the present invention.

【図4】図1に示される一実施例におけるマイクロ命令
選択手段5,マイクロ命令実行抑止信号生成手段6,お
よび制御記憶アドレス生成手段7の詳細な構成を示す図
FIG. 4 is a diagram showing a detailed configuration of microinstruction selection means 5, microinstruction execution suppression signal generation means 6, and control storage address generation means 7 in the embodiment shown in FIG.

【符号の説明】[Explanation of symbols]

1 制御記憶 2 第1のマイクロ命令格納手段 31 マイクロ命令の次アドレスフィールドを除くフ
ィールドの内容のECCチェック訂正回路 32 マイクロ命令の次アドレスフィールドの内容の
ECCチェック訂正回路 4 第2のマイクロ命令格納手段 5 マイクロ命令選択手段 6 マイクロ命令実行抑止信号生成手段 7 制御記憶アドレス生成手段 8 ECCチェックエラー報告手段
1 Control Memory 2 First Microinstruction Storage Means 31 ECC Check Correction Circuit for Field Contents Excluding Next Address Field of Microinstruction 32 ECC Check Correction Circuit for Contents of Next Address Field of Microinstruction 4 Second Microinstruction Storage Means 5 microinstruction selection means 6 microinstruction execution suppression signal generation means 7 control memory address generation means 8 ECC check error reporting means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のマイクロ命令からなるマイクロプ
ログラムを記憶する制御記憶手段と、 この制御記憶手段からのマイクロ命令を格納する第1の
マイクロ命令格納手段と、 この第1のマイクロ命令格納手段に格納されたマイクロ
命令の次のマシンサイクルの制御記憶アドレスを指示す
るフィールド以外のフィールドの内容の1ビットエラー
を検出し訂正するとともに2ビットエラーを検出するE
CCチェック訂正手段と、 このECCチェック訂正手段からのマイクロ命令を格納
する第2のマイクロ命令格納手段と、 前記ECCチェック訂正手段での最初の1ビットエラー
検出時から割込要求信号,ファームウェア処理開始要求
信号または割込処理終了信号のうちの少なくとも1つの
供給時まで前記第2のマイクロ命令格納手段で格納され
たマイクロ命令を実行するために選択するマイクロ命令
選択手段と、 前記ECCチェック訂正手段で最初の1ビットエラーを
検出したときマイクロ命令の実行を抑止するための非実
行信号を発生する手段とを含むことを特徴とするマイク
ロプログラム制御装置。
1. A control storage means for storing a microprogram composed of a plurality of microinstructions, a first microinstruction storage means for storing a microinstruction from the control storage means, and a first microinstruction storage means. Detects and corrects a 1-bit error in the contents of fields other than the field indicating the control storage address of the next machine cycle of the stored microinstruction, and detects a 2-bit error E
CC check / correction means, second microinstruction storage means for storing microinstructions from the ECC check / correction means, interrupt request signal, firmware processing start from the first 1-bit error detection by the ECC check / correction means A microinstruction selection means for selecting to execute the microinstruction stored in the second microinstruction storage means until at least one of a request signal and an interrupt processing end signal is supplied; and the ECC check correction means. And a means for generating a non-execution signal for suppressing execution of a microinstruction when the first 1-bit error is detected.
【請求項2】 複数のマイクロ命令からなるマイクロプ
ログラムを記憶する制御記憶手段と、 この制御記憶手段からのマイクロ命令を格納する第1の
マイクロ命令格納手段と、 この第1のマイクロ命令格納手段に格納されたマイクロ
命令の次のマシンサイクルの制御記憶アドレスを指示す
るフィールドの内容の1ビットエラーを検出し訂正する
とともに2ビットエラーを検出するECCチェック訂正
手段と、 このECCチェック訂正手段からのマイクロ命令を格納
する第2のマイクロ命令格納手段と、 前記ECCチェック訂正手段での1ビットエラー検出に
応答して前記第2のマイクロ命令格納手段に格納された
マイクロ命令を実行するために選択するマイクロ命令選
択手段と、 前記ECCチェック訂正手段での1ビットエラーを検出
したときマイクロ命令の実行を抑止するための非実行信
号を発生する手段とを含むことを特徴とするマイクロプ
ログラム制御装置。
2. A control storage means for storing a micro program composed of a plurality of micro instructions, a first micro instruction storage means for storing a micro instruction from the control storage means, and a first micro instruction storage means. An ECC check correction means for detecting and correcting a 1-bit error in the content of the field indicating the control storage address of the next machine cycle of the stored microinstruction, and for detecting a 2-bit error, and a micro check from this ECC check correction means. Second microinstruction storing means for storing an instruction, and a microselection means for executing the microinstruction stored in the second microinstruction storing means in response to detection of a 1-bit error by the ECC check correcting means. 1-bit error detected by the instruction selection means and the ECC check correction means Microprogram control apparatus characterized by comprising a means for generating a non-execution signal for inhibiting the execution of the microinstruction can.
【請求項3】 複数のマイクロ命令からなるマイクロプ
ログラムを記憶する制御記憶手段と、 この制御記憶手段からのマイクロ命令を格納するマイク
ロ命令格納手段と、 このマイクロ命令格納手段に格納されたマイクロ命令の
次のマシンサイクルの制御記憶アドレスを指示するフィ
ールド以外のフィールドの内容の1ビットエラーを検出
し訂正するとともに2ビットエラーを検出する第1のE
CCチェック訂正手段と、 前記マイクロ命令格納手段に格納されたマイクロ命令の
次のマシンサイクルの制御記憶アドレスを指示するフィ
ールドの内容の1ビットエラーを検出し訂正するととも
に2ビットエラーを検出する第2のECCチェック訂正
手段と、 前記第1のECCチェック訂正手段からのチェックエラ
ー信号と前記第2のECCチェック訂正手段からのチェ
ックエラー信号との少なくとも1つを受け上位装置にエ
ラーを通知するチェックエラー報告手段とを含むことを
特徴とするマイクロプログラム制御装置。
3. A control storage means for storing a micro program composed of a plurality of micro instructions, a micro instruction storage means for storing a micro instruction from the control storage means, and a micro instruction stored in the micro instruction storage means. The first E for detecting and correcting a 1-bit error in the contents of fields other than the field indicating the control storage address of the next machine cycle and detecting a 2-bit error
Second, a CC check correction means and a second bit error detection means for detecting and correcting a 1-bit error in the content of the field indicating the control storage address of the next machine cycle of the micro-instruction stored in the micro-instruction storage means. Error check signal from the first ECC check correction unit and at least one of the check error signal from the second ECC check correction unit. A microprogram controller comprising: reporting means.
JP5189792A 1993-07-30 1993-07-30 Microprogram controller Pending JPH0744379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5189792A JPH0744379A (en) 1993-07-30 1993-07-30 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5189792A JPH0744379A (en) 1993-07-30 1993-07-30 Microprogram controller

Publications (1)

Publication Number Publication Date
JPH0744379A true JPH0744379A (en) 1995-02-14

Family

ID=16247289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5189792A Pending JPH0744379A (en) 1993-07-30 1993-07-30 Microprogram controller

Country Status (1)

Country Link
JP (1) JPH0744379A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5362936A (en) * 1976-11-17 1978-06-05 Toshiba Corp Memory control device
JPS6158041A (en) * 1985-03-11 1986-03-25 Hitachi Ltd Microinstruction execution control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5362936A (en) * 1976-11-17 1978-06-05 Toshiba Corp Memory control device
JPS6158041A (en) * 1985-03-11 1986-03-25 Hitachi Ltd Microinstruction execution control system

Similar Documents

Publication Publication Date Title
JPH0744379A (en) Microprogram controller
JPS61290556A (en) Memory error recovering system
JP3130796B2 (en) Control storage device
JP2000132461A (en) Information controller
JP2671305B2 (en) Data processing device
JPH04115340A (en) Duplex storage circuit
JPH05274227A (en) Electronic disk device
JPH06149685A (en) Memory error recovering circuit
JPH0581138A (en) Microprogram controller
JPH05210597A (en) Patrol circuit for storage device
JPH06149602A (en) Arithmetic processing unit
JPH0756816A (en) Controller for memory
JPH05204770A (en) Method for recovering memory error
JPH04237351A (en) Memory rewriting system
JPH0667989A (en) Patrol circuit for memory
JPH02310753A (en) Microprogram controller
JPH04162161A (en) Storage controller
JPH04145541A (en) Microprogram controller
JPH03168839A (en) Control memory one-bit error correcting system
JPH0944411A (en) Storage device adopting patrol system
JPH05108496A (en) Patrol control system
JPH02115938A (en) Microprogram error detection circuit
JPH0588993A (en) Memory control system
JPH04255032A (en) Error correcting system for control storage
JPH04332046A (en) Information processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970701