JP2614934B2 - Micro program controller - Google Patents

Micro program controller

Info

Publication number
JP2614934B2
JP2614934B2 JP2171836A JP17183690A JP2614934B2 JP 2614934 B2 JP2614934 B2 JP 2614934B2 JP 2171836 A JP2171836 A JP 2171836A JP 17183690 A JP17183690 A JP 17183690A JP 2614934 B2 JP2614934 B2 JP 2614934B2
Authority
JP
Japan
Prior art keywords
micro
error
register
address
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.)
Expired - Fee Related
Application number
JP2171836A
Other languages
Japanese (ja)
Other versions
JPH0460844A (en
Inventor
浩司 村本
敏久 阿部
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 JP2171836A priority Critical patent/JP2614934B2/en
Publication of JPH0460844A publication Critical patent/JPH0460844A/en
Application granted granted Critical
Publication of JP2614934B2 publication Critical patent/JP2614934B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理におけるマイクロプログラムの誤り
訂正に利用する。本発明はマイクロプログラムによって
制御される情報処理装置におけるマイクロプログラム制
御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is used for error correction of a microprogram in information processing. The present invention relates to a microprogram control device in an information processing device controlled by a microprogram.

〔概要〕〔Overview〕

本発明はマイクロプログラムにより制御される情報処
理装置におけるマイクロプログラム制御装置において、 マイクロ命令と、そのマイクロ命令の次に実行される
アドレスとに対して生成された誤りコードを用いて誤り
検出およびその誤りの訂正を行うことにより、 マイクロ命令の実行順序の正当性を保証するととも
に、次に実行されるマイクロ命令を読出す前にアドレス
の誤りを訂正できるようにしたものである。
The present invention relates to a microprogram controller in an information processing device controlled by a microprogram, comprising: an error detection unit that detects an error by using an error code generated for a microinstruction and an address to be executed next to the microinstruction; In this way, the correctness of the execution order of the microinstructions is guaranteed, and the address error can be corrected before reading the next microinstruction to be executed.

〔従来の技術〕[Conventional technology]

一般に、この種の情報処理装置のマイクロプログラム
制御装置における誤り訂正には、情報処理Vol.23No.4
「誤り検出・訂正符号の応用」(藤原英二、金田重郎共
著 社団法人情報処理学会)に示されるように2ビット
誤り検出・1ビット誤り訂正のECC方式が採用されてい
る。
In general, error correction in a microprogram control device of this type of information processing apparatus includes information processing Vol.23 No.4
As shown in "Application of Error Detection and Correction Codes" (Eiji Fujiwara and Shigeo Kaneda, Information Processing Society of Japan), an ECC method of two-bit error detection and one-bit error correction is employed.

従来、ECC方式を採用したマイクロプログラム制御装
置は、例えば特公昭62−027417に示されるように、マイ
クロ命令語に誤り訂正コードを付加して記憶する制御メ
モリを設け、さらに、その制御メモリの読出し出力と、
その内容の読出しアドレスを保持するマイクロアドレス
レジスタの出力を対象とした誤り訂正手段を設け、マイ
クロアドレスレジスタと制御メモリの読出し出力との双
方に対して誤り検出訂正を行う技術がある。
Conventionally, a microprogram controller employing the ECC system is provided with a control memory for adding an error correction code to a microinstruction word and storing it, as shown in Japanese Patent Publication No. 62-027417, for example, and further reading the control memory. Output,
There is a technique in which error correction means is provided for the output of the micro address register holding the read address of the content, and error detection and correction are performed on both the micro address register and the read output of the control memory.

この技術によれば、マイクロアドレスレジスタの出力
と異なる制御メモリのアドレスを読出した場合にも誤り
が検出されるため、制御メモリから読出される内容を保
証することができ、マイクロプログラムによって制御さ
れる情報処理装置の信頼性は大幅に改善される。
According to this technique, an error is detected even when an address of the control memory different from the output of the micro address register is read, so that the contents read from the control memory can be guaranteed and controlled by the microprogram. The reliability of the information processing device is greatly improved.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述した従来のマイクロプログラム制御装置は、制御
メモリから読出された内容と、その読出しアドレスを保
持したマイクロアドレスレジスタの出力とによって誤り
の検出を行っているので、マイクロアドレスレジスタを
更新するための加算器や、次に読出しアドレスを選択す
る切替器などの故障によって制御メモリの読出しアドレ
スを誤った場合に、誤った読出しアドレスに従って制御
メモリからマイクロ命令を読出してしまい、その誤りが
検出されない欠点がある。
In the above-described conventional microprogram controller, the error is detected based on the content read from the control memory and the output of the microaddress register holding the read address, so that the addition for updating the microaddress register is performed. If the read address of the control memory is erroneous due to a failure of the switch or the switch for selecting the next read address, the micro instruction is read from the control memory according to the erroneous read address, and the error is not detected. .

さらに、読出しアドレスの誤りが1マシンサイクル内
の早い時点で生じ、制御メモリの読出しが誤りアドレス
に従って実施された場合には制御メモリからの出力が誤
りアドレスに一致してしまい結果として誤りを検出でき
ない欠点がある。
Further, when an error in the read address occurs at an early point in one machine cycle, and when the control memory is read in accordance with the error address, the output from the control memory matches the error address, so that no error can be detected as a result. There are drawbacks.

本発明はこのような問題を解決するもので、マイクロ
命令の実行順序の正当性を保証し、実行されるマイクロ
命令を読出す前にアドレスの誤りを訂正することができ
る装置を提供することを目的とする。
The present invention solves such a problem, and provides an apparatus that can guarantee the correctness of the execution order of microinstructions and correct an address error before reading a microinstruction to be executed. Aim.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、次に実行されるマイクロ命令のアドレスに
対して生成されたECC方式の誤り訂正コードが付加され
た条件付き分岐命令を含まないマイクロ命令を記憶する
制御メモリと、この制御メモリから読出したマイクロ命
令のアドレスを保持するマイクロアドレスレジスタと、
前記制御メモリから読出したマイクロ命令を一時保持す
るマイクロ命令レジスタと、このマイクロ命令レジスタ
に保持されたマイクロ命令を解読し演算器に送出するデ
コーダと、前記マイクロアドレスレジスタの出力を対象
として誤り訂正を行う誤り訂正回路とを備えたマイクロ
プログラム制御装置において、前記誤り訂正回路に代え
て、前記マイクロ命令レジスタおよび前記マイクロアド
レスレジスタの出力を入力とし、誤りを検出したときに
その誤りを訂正して前記デコーダに送出する誤り検出訂
正回路を備えたことを特徴とする。
The present invention provides a control memory for storing a microinstruction not including a conditional branch instruction to which an ECC error correction code generated for the address of a microinstruction to be executed next is added, and a readout from the control memory. A micro address register for holding the address of the micro instruction,
A micro-instruction register for temporarily holding a micro-instruction read from the control memory, a decoder for decoding the micro-instruction held in the micro-instruction register and sending it to a computing unit, and performing error correction on the output of the micro-address register. A micro-program control device comprising an error correction circuit for performing an output of the micro-instruction register and the micro-address register instead of the error correction circuit, and correcting an error when an error is detected. An error detection / correction circuit for sending to the decoder is provided.

前記誤り検出訂正回路は、誤りを検出したときにマイ
クロ命令の実行を抑止する手段を含み、前記マイクロア
ドレスレジスタおよび前記マイクロ命令レジスタは、前
記誤り検出訂正回路の出力にしたがって保持した内容の
誤りを訂正する手段を含むことが望ましい。
The error detection and correction circuit includes a unit that suppresses execution of a microinstruction when an error is detected, and the microaddress register and the microinstruction register detect an error in the content held according to an output of the error detection and correction circuit. It is desirable to include means for correcting.

〔作用〕[Action]

次に実行されるマイクロ命令のアドレスに対して生成
された誤り訂正コードをマイクロ命令に付加した内容と
読出しアドレスとを入力し、誤りがあるか否かを検出
し、誤りが検出されたときにマイクロ命令の実行を抑止
して誤りの訂正を行い、誤り訂正が完了したときに、マ
イクロプログラム制御の抑止を解除してマイクロ命令に
よる制御を実行する。
Enter the contents of the micro-instruction with the error correction code generated for the address of the micro-instruction to be executed next and the read address, and detect whether or not there is an error. The execution of the microinstruction is suppressed to correct the error. When the error correction is completed, the inhibition of the microprogram control is released and the control by the microinstruction is executed.

これにより、マイクロ命令の実行順序の正当性を保証
することができるとともに、次に実行されるマイクロ命
令を制御メモリから読出す前にマイクロ命令のアドレス
の誤りを訂正することができ、さらに制御メモリから読
出すアドレスを生成する回路の故障モードによるアドレ
ス生成不正障害をも検出し訂正して動作を継続させるこ
とができる。
This makes it possible to guarantee the validity of the execution order of the microinstructions, correct the error of the address of the microinstruction before reading the next microinstruction to be executed from the control memory, and furthermore, It is also possible to detect and correct an incorrect address generation failure due to a failure mode of a circuit that generates an address read from the memory and continue the operation.

〔実施例〕〔Example〕

次に、本発明実施例を図面に基づいて説明する。第1
図は本発明実施例の構成を示すブロック図である。
Next, embodiments of the present invention will be described with reference to the drawings. First
FIG. 2 is a block diagram showing the configuration of the embodiment of the present invention.

本発明実施例は、次に実行されるマイクロ命令のアド
レスに対して生成された誤り訂正コードが付加されたマ
イクロ命令を記憶する制御メモリ1と、この制御メモリ
1から読出したマイクロ命令のアドレスを保持するマイ
クロアドレスレジスタ2と、制御メモリ1から読出した
マイクロ命令を一時保持するマイクロ命令レジスタ3
と、このマイクロ命令レジスタ3に保持されたマイクロ
命令を解読し演算器10に送出するデコーダ9とを備え、
さらに、本発明の特徴として、マイクロ命令レジスタ3
およびマイクロアドレスレジスタ2の出力を入力とし、
誤りを検出したときにその誤りを訂正してデコーダ9の
送出する誤り検出訂正回路4を備え、この誤り検出訂正
回路4には、誤りを検出したときにマイクロ命令の実行
を抑止する手段を含み、マイクロアドレスレジスタ2お
よびマイクロ命令レジスタ3には、誤り検出訂正回路4
の出力にしたがって保持した内容の誤りを訂正する手段
を含む。
In the embodiment of the present invention, a control memory 1 for storing a microinstruction to which an error correction code generated for the address of a microinstruction to be executed next is added, and an address of the microinstruction read from the control memory 1 are stored. Micro address register 2 for holding, and micro instruction register 3 for temporarily holding a micro instruction read from control memory 1
And a decoder 9 for decoding the microinstruction held in the microinstruction register 3 and sending it to the arithmetic unit 10;
Further, as a feature of the present invention, the microinstruction register 3
And the output of micro address register 2 as input,
An error detection and correction circuit 4 that corrects the error when detected and sends it out of the decoder 9 includes means for suppressing the execution of the microinstruction when the error is detected. , Micro address register 2 and micro instruction register 3 have an error detection and correction circuit 4
Means for correcting an error in the content held in accordance with the output of.

誤り検出訂正回路4は信号線40および41を介して切替
器6および8に接続され、切替器6は加算器5およびマ
イクロアドレスレジスタ2に接続され、マイクロアドレ
スレジスタ2は切替器7を介して誤り検出訂正回路4に
接続される。
The error detection / correction circuit 4 is connected to switches 6 and 8 via signal lines 40 and 41. The switch 6 is connected to the adder 5 and the micro address register 2, and the micro address register 2 is connected via the switch 7. It is connected to the error detection and correction circuit 4.

また、誤り検出訂正回路4は信号線42を介してデコー
ダ9に接続され、マイクロ命令レジスタ3は信号線30を
介して切替器7に接続され、デコーダ9は制御信号31を
介して切替器7に接続される。
The error detection and correction circuit 4 is connected to the decoder 9 via a signal line 42, the microinstruction register 3 is connected to the switch 7 via a signal line 30, and the decoder 9 is connected to the switch 7 via a control signal 31. Connected to.

制御メモリ1はマイクロ命令とそのマイクロ命令の次
に実行されるアドレスに対して生成された誤り訂正コー
ドをそのマイクロ命令に付加して記憶する。マイクロア
ドレスレジスタ2は制御メモリ1の読出しアドレス+1
を保持する。切替器7はマイクロ命令レジスタ3に保持
されたマイクロ命令が分岐命令である場合には信号線30
を選択し、他の命令の場合にはマイクロアドレスレジス
タ2を選択する。
The control memory 1 stores a microinstruction and an error correction code generated for an address to be executed next to the microinstruction added to the microinstruction. The micro address register 2 is a read address of the control memory 1 + 1
Hold. When the microinstruction held in the microinstruction register 3 is a branch instruction, the switch 7 is connected to the signal line 30.
Is selected, and in the case of another instruction, the micro address register 2 is selected.

加算器5は制御メモリ1を読出したアドレスを更新し
て次に読出すアドレスを求めるためのもので切替器7の
出力に対して、例えば1を加算する。切替器6は通常は
加算器5を選択し、制御メモリ1の読出しアドレスおよ
び制御メモリ1の出力に誤りがあった場合にのみ信号線
40を選択する。切替器8は通常は制御メモリ1の出力を
選択し、上述の誤りがあった場合にのみ信号線41を選択
する。
The adder 5 updates the address read from the control memory 1 and obtains the next address to be read. The adder 5 adds, for example, 1 to the output of the switch 7. The switch 6 normally selects the adder 5, and only when there is an error in the read address of the control memory 1 and the output of the control memory 1,
Select 40. The switch 8 normally selects the output of the control memory 1 and selects the signal line 41 only when the above error occurs.

切替器8の出力はマイクロ命令レジスタ3へ送出され
る。さらに、このマイクロ命令レジスタ3の出力はデコ
ーダ9で解読され、これにより切替器7を制御する制御
信号31と演算器10を制御する制御信号とを発生する。
The output of the switch 8 is sent to the micro instruction register 3. Further, the output of the microinstruction register 3 is decoded by the decoder 9, thereby generating a control signal 31 for controlling the switch 7 and a control signal for controlling the operation unit 10.

誤り検出訂正回路4は上述の切替器7およびマイクロ
命令レジスタ3を入力として動作する。誤り検出訂正回
路4によって誤りが検出された場合、誤り訂正の結果は
信号線40、41によって切替器6と切替器8とに入力す
る。同時に、誤り検出訂正回路4は信号線42によって動
作抑止信号を出力しデコーダ9の動作を抑止する。
The error detection and correction circuit 4 operates using the above-described switch 7 and the micro instruction register 3 as inputs. When an error is detected by the error detection and correction circuit 4, the result of the error correction is input to the switch 6 and the switch 8 via the signal lines 40 and 41. At the same time, the error detection and correction circuit 4 outputs an operation inhibition signal via the signal line 42 to inhibit the operation of the decoder 9.

マイクロアドレスレジスタ2およびマイクロ命令レジ
スタ3への誤り訂正の結果の格納が完了すると、誤りに
よるマイクロプログラム制御の抑止が解除され、マイク
ロ命令による制御が行われる。
When the storage of the result of the error correction in the micro address register 2 and the micro instruction register 3 is completed, the inhibition of the micro program control due to the error is released, and the control by the micro instruction is performed.

次に、本発明実施例のマイクロプログラム制御装置に
おける実行順序による誤りが発生したときの誤り訂正動
作について説明する。第2図は本発明におけるマイクロ
プログラム制御装置の動作例を示すタイミングチャート
である。説明を簡単にするため、第1図に示したマイク
ロアドレスレジスタ2を8ビット構成とし、マイクロ命
令による分岐は行われずアドレスは1ずつ加算されるも
のとする。以下にその実行手順を示す。なお記号Hは16
進数であることを示し、( )は、( )中のアドレス
によって制御メモリ1から読出されたマイクロ命令語を
示す。
Next, an error correction operation when an error in the execution order occurs in the microprogram control device of the embodiment of the present invention will be described. FIG. 2 is a timing chart showing an operation example of the microprogram control device according to the present invention. For simplicity of explanation, it is assumed that the micro address register 2 shown in FIG. 1 has an 8-bit configuration, the branch is not performed by the micro instruction, and the address is incremented by one. The following shows the execution procedure. The symbol H is 16
() Indicates a microinstruction word read from the control memory 1 by the address in ().

1. マイクロアドレスレジスタ2にはあらかじめ“00H"
がセットされ、誤り検出訂正回路4における誤りは起こ
っていないものとする。
1. "00H" is stored in the micro address register 2 in advance.
Is set, and no error occurs in the error detection and correction circuit 4.

2. マイクロアドレスレジスタ2より出力されたアドレ
ス“00H"は切替器7を介して制御メモリ1の“00H番
地”に格納されているマイクロ命令“(00H)”が読出
され、切替器8を介してマイクロ命令レジスタ3に出力
される。同時に、切替器7より出力されたアドレスは1
を加算する加算器5により“01H"に更新され、切替器6
を介してマイクロアドレスレジスタ2に出力される。
2. With respect to the address “00H” output from the micro address register 2, the microinstruction “(00H)” stored in “address 00H” of the control memory 1 is read out via the switch 7, and is read out via the switch 8. Is output to the microinstruction register 3. At the same time, the address output from the switch 7 is 1
Is updated to “01H” by the adder 5 that adds
To the micro address register 2 via

3. 次のマシンサイクルで、マイクロ命令レジスタ3に
切替器8の出力“(00H)”が格納され、マイクロアド
レスレジスタ2に切替器6から出力されるアドレス“01
H"が格納される。さらに、このマイクロ命令レジスタ3
の出力”(00H)”がデコーダ9の解読により分岐命令
でないと判断され、切替器7はマイクロアドレスレジス
タ2のアドレス“01H"を出力し、制御メモリ1の“01H
番地”に格納されているマイクロ命令“(01H)”が読
出され、切替器8を介してマイクロ命令レジスタ3に出
力される。同時に切替器7の出力“01H"は加算器5によ
り“02H"に更新され切替器6を介してマイクロアドレス
レジスタ2に出力される。
3. In the next machine cycle, the output “(00H)” of the switch 8 is stored in the micro instruction register 3 and the address “01” output from the switch 6 is stored in the micro address register 2.
H "is stored in the micro instruction register 3.
Is determined not to be a branch instruction by the decoding of the decoder 9, the switch 7 outputs the address "01H" of the micro address register 2 and the "01H" of the control memory 1 is output.
The microinstruction "(01H)" stored at the address is read and output to the microinstruction register 3 via the switch 8. At the same time, the output "01H" of the switch 7 is set to "02H" by the adder 5. And output to the micro address register 2 via the switch 6.

誤り検出訂正回路4は上述の切替器7の出力“01H"お
よびマイクロ命令レジスタ3の出力“(00H)”を入力
として誤りがないことを確認し、マイクロ命令“(00
H)”を演算器10に出力し実行する。
The error detection and correction circuit 4 receives the output “01H” of the switch 7 and the output “(00H)” of the microinstruction register 3 as inputs, confirms that there is no error, and checks the microinstruction “(00
H) ”is output to the arithmetic unit 10 and executed.

4. 次のマシンサイクルも手順3.と同様にしてマイクロ
命令レジスタ3に“(01H)”、マイクロアドレスレジ
スタ2に“02H"が格納され、制御メモリ1のマイクロ命
令“(02H)”が切替器8を介してマイクロ命令レジス
タ3に出力される。このとき、加算器5および切替器6
の間で正解値“03H"に対して1ビット誤りが発生した結
果、マイクロアドレスレジスタ2に“07H"が出力されて
いるものとする。
4. In the next machine cycle, “(01H)” is stored in the micro instruction register 3 and “02H” is stored in the micro address register 2 in the same manner as in step 3, and the micro instruction “(02H)” in the control memory 1 is switched. Output to the microinstruction register 3 via the unit 8. At this time, the adder 5 and the switch 6
It is assumed that "07H" is output to the micro address register 2 as a result of the occurrence of a 1-bit error with respect to the correct answer value "03H".

誤り検出訂正回路4は切替器7の出力“02H"およびマ
イクロ命令レジスタ3の出力“(01H)”を入力として
誤りがないことを確認し、マイクロ命令“(00H)”を
演算器10に実行する。
The error detection / correction circuit 4 receives the output “02H” of the switch 7 and the output “(01H)” of the microinstruction register 3 as input, confirms that there is no error, and executes the microinstruction “(00H)” to the arithmetic unit 10. I do.

5. 次のマシンサイクルも手順3.と同様にしてマイクロ
命令レジスタ3に“(02H)”、マイクロアドレスレジ
スタ2に“07H"が格納され、制御メモリ1のマイクロ命
令“(07H)”が切替器8を介してマイクロ命令レジス
タ3に出力される。さらに、切替器6から“08H"が出力
される。
5. In the next machine cycle, “(02H)” is stored in micro instruction register 3 and “07H” is stored in micro address register 2 in the same manner as in step 3, and micro instruction “(07H)” in control memory 1 is switched. Output to the microinstruction register 3 via the unit 8. Further, “08H” is output from the switch 6.

ここで、誤り検出訂正回路4は切替器7の出力“07H"
およびマイクロ命令レジスタ3の出力“(02H)”を入
力として誤りを検出し、アドレス“07H"を“03H"に訂正
する。同時に誤り検出訂正回路4は信号線42によって動
作抑止信号を出力しデコーダ9の動作を抑止する。さら
に、誤り訂正の結果は信号線40、41によって切替器6に
“03H"切替器8に“(02H)”を出力する。なお、マイ
クロ命令“(02H)”はデコーダ9を抑止しているた
め、実行されない。
Here, the error detection and correction circuit 4 outputs the output “07H” of the switch 7.
Further, an error is detected using the output “(02H)” of the microinstruction register 3 as an input, and the address “07H” is corrected to “03H”. At the same time, the error detection and correction circuit 4 outputs an operation inhibition signal via the signal line 42 to inhibit the operation of the decoder 9. Further, the result of the error correction is output to the switch 6 via the signal lines 40 and 41 as "03H" and to the switch 8 as "(02H)". The microinstruction “(02H)” is not executed because the decoder 9 is suppressed.

6. 次のマシンサイクルでマイクロ命令レジスタ3に切
替器8の“(02H)”が格納され、マイクロアドレスレ
ジスタ2に切替器6から出力されるアドレス“03H"が格
納される。同時に切替器8は制御メモリ1から読出され
たマイクロ命令“(03H)”をマイクロ命令レジスタ3
に出力し、切替器6は加算器5により更新されたアドレ
ス“04H"を出力する。
6. In the next machine cycle, "(02H)" of the switch 8 is stored in the microinstruction register 3, and the address "03H" output from the switch 6 is stored in the micro address register 2. At the same time, the switch 8 inputs the micro instruction “(03H)” read from the control memory 1 to the micro instruction register 3
, And the switch 6 outputs the address “04H” updated by the adder 5.

誤り検出訂正回路4はマイクロアドレスレジスタ2の
出力“03H"およびマイクロ命令レジスタ3の出力“(02
H)”を入力として誤りがないことを確認すると、デコ
ーダ9の抑止を解除しマイクロ命令“(02H)”を演算
器10に出力し実行する。
The error detection and correction circuit 4 outputs the output “03H” of the micro address register 2 and the output “(02
H) ”, the decoder 9 releases the inhibition of the decoder 9 and outputs the microinstruction“ (02H) ”to the arithmetic unit 10 for execution.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、マイクロ命令と
そのマイクロ命令の次に実行されるアドレスとに対して
生成した誤りコードを用いて誤り検出および訂正を行う
ことにより、マイクロ命令の実行順序の正当性を保証す
ることができるとともに、次に実行されるマイクロ命令
を制御メモリから読出す前にアドレスの誤りを訂正きる
効果があり、さらに、制御メモリから読出すアドレスを
生成する回路におけるAC特性不良のような故障モードに
よるアドレス生成不正障害を検出し訂正して動作を継続
させることができる効果がある。
As described above, according to the present invention, by performing error detection and correction using a generated error code for a microinstruction and an address to be executed next to the microinstruction, the execution order of the microinstruction can be improved. The validity can be guaranteed, and the effect of correcting an address error before reading the next microinstruction to be executed from the control memory can be obtained. Furthermore, the AC characteristics in the circuit that generates the address to be read from the control memory can be obtained. There is an effect that the operation can be continued by detecting and correcting an incorrect address generation failure due to a failure mode such as a failure.

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

第1図は本発明実施例の構成を示すブロック図。 第2図は本発明実施例におけるマイクロアドレスレジス
タを8ビット構成としたときの動作例を示すタイミング
チャート。 1……制御メモリ、2……マイクロアドレスレジスタ、
3……マイクロ命令レジスタ、4……誤り検出訂正回
路、5……加算器、6、7、8……切替器、9……デコ
ーダ、10……演算器、30、40、41、42……信号線、31…
…制御信号。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a timing chart showing an operation example when the micro address register in the embodiment of the present invention has an 8-bit configuration. 1 ... control memory, 2 ... micro address register,
3 ... micro instruction register, 4 ... error detection and correction circuit, 5 ... adder, 6, 7, 8 ... switch, 9 ... decoder, 10 ... calculator, 30, 40, 41, 42 ... ... signal lines, 31 ...
…Control signal.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】次に実行されるマイクロ命令のアドレスに
対して生成されたECC方式の誤り訂正コードが付加され
た条件付き分岐命令を含まないマイクロ命令を記憶する
制御メモリと、 この制御メモリから読出したマイクロ命令のアドレスを
保持するマイクロアドレスレジスタと、 前記制御メモリから読出したマイクロ命令を一時保持す
るマイクロ命令レジスタと、 このマイクロ命令レジスタに保持されたマイクロ命令を
解読し演算器に送出するデコーダと、 前記マイクロアドレスレジスタの出力を対象として誤り
訂正を行う誤り訂正回路と を備えたマイクロプログラム制御装置において、 前記誤り訂正回路に代えて、 前記マイクロ命令レジスタおよび前記マイクロアドレス
レジスタの出力を入力とし、誤りを検出したときにその
誤りを訂正した前記デコーダに送出する誤り検出訂正回
路を備えた ことを特徴とするマイクロプログラム制御装置。
1. A control memory for storing a microinstruction not including a conditional branch instruction to which an ECC error correction code generated for an address of a microinstruction to be executed next is added, and A micro-address register for holding the address of the read micro-instruction, a micro-instruction register for temporarily holding the micro-instruction read from the control memory, and a decoder for decoding the micro-instruction held in the micro-instruction register and sending it to the computing unit And an error correction circuit that performs error correction on an output of the micro address register.In the micro program control device, the output of the micro instruction register and the output of the micro address register are input instead of the error correction circuit. , Correct errors when they are detected A micro-program control device comprising an error detection and correction circuit for transmitting the error detection and correction signal to the decoder.
【請求項2】前記誤り検出訂正回路は、誤りを検出した
ときにマイクロ命令の実行を抑止する手段を含む請求項
1記載のマイクロプログラム制御装置。
2. The microprogram control device according to claim 1, wherein said error detection and correction circuit includes means for suppressing execution of a microinstruction when an error is detected.
【請求項3】前記マイクロアドレスレジスタおよび前記
マイクロ命令レジスタは、前記誤り検出訂正回路の出力
にしたがって保持した内容の誤りを訂正する手段を含む
請求項1記載のマイクロプログラム制御装置。
3. The microprogram control device according to claim 1, wherein said microaddress register and said microinstruction register include means for correcting an error in the held content in accordance with an output of said error detection and correction circuit.
JP2171836A 1990-06-29 1990-06-29 Micro program controller Expired - Fee Related JP2614934B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2171836A JP2614934B2 (en) 1990-06-29 1990-06-29 Micro program controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2171836A JP2614934B2 (en) 1990-06-29 1990-06-29 Micro program controller

Publications (2)

Publication Number Publication Date
JPH0460844A JPH0460844A (en) 1992-02-26
JP2614934B2 true JP2614934B2 (en) 1997-05-28

Family

ID=15930659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2171836A Expired - Fee Related JP2614934B2 (en) 1990-06-29 1990-06-29 Micro program controller

Country Status (1)

Country Link
JP (1) JP2614934B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1184054B (en) * 1985-03-25 1987-10-22 Cselt Centro Studi Lab Telecom SELF-TESTING MICROPROGRAM CONTROL UNIT WITH IN-LINE DETECTION OF ERRORS IN MOS TECHNOLOGY

Also Published As

Publication number Publication date
JPH0460844A (en) 1992-02-26

Similar Documents

Publication Publication Date Title
EP0173515B1 (en) Error recovery system in a data processor having a control storage
US4409654A (en) Data processor adapted for interruption to an instruction stream
JP2614934B2 (en) Micro program controller
US4955023A (en) Error correction control system for control memory
JPH011038A (en) Control memory error correction control method
US5375231A (en) Control memory error correcting apparatus
JPH0464096B2 (en)
JP2565590B2 (en) Data processing device
JPH05158808A (en) Microprogram controller
JPH02211530A (en) Program correcting system
JPS6114536B2 (en)
JPH06149602A (en) Arithmetic processing unit
JPS63214856A (en) Data protection control system for data processing unit
JPS59129995A (en) Storage device
JPS63188239A (en) Microprogram controller
JPS593784B2 (en) Microprogram control data processing device
JPS6011932A (en) Microprogram controller
JPH0135369B2 (en)
JPH02141833A (en) Information processor
JPH05189231A (en) Error processing system in instruction fetch
JPH0460845A (en) Microprogram controller
JPH04145541A (en) Microprogram controller
JPS63214841A (en) Control memory error correcting control system
JPH0476733A (en) Data processor
JPH038029A (en) Microprogram controller

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees