JPH02310753A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPH02310753A
JPH02310753A JP1133614A JP13361489A JPH02310753A JP H02310753 A JPH02310753 A JP H02310753A JP 1133614 A JP1133614 A JP 1133614A JP 13361489 A JP13361489 A JP 13361489A JP H02310753 A JPH02310753 A JP H02310753A
Authority
JP
Japan
Prior art keywords
stored
microinstruction
bit error
address
control
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
JP1133614A
Other languages
Japanese (ja)
Inventor
Yoshihiro Enomoto
榎本 良博
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 Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP1133614A priority Critical patent/JPH02310753A/en
Publication of JPH02310753A publication Critical patent/JPH02310753A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the inhibit rate of microprogram control and to accelerate processing speed by writing correction data in the occurrence of a one-bit error when no microinstruction is read out from a control storage. CONSTITUTION:The microinstruction in the control storage 100 is read out, and is stored in a data register 120, and simultaneously, the output of an address register 150 is stored in an address register 160. One-bit error correction is performed on the output of the data register 120 at an EDAC circuit 130, and it is stored in a data register 140, and simultaneously, it is stored in the data register 120 via a selector 110, and the detection of the one-bit error is informed to an idle routine execution detecting part 170. If the execution of an idle routine is detected at that time, the correction data stored in the data register 140 is written on the control storage 100 with an address outputted from the address registor 160. In such a way, the microprogram control can be prevented from being inhibited.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラム制御装置に関し、特にマイ
クロ命令の1ビツトエラ一時に訂正が行われたマイクロ
命令を、制御記憶へ書き込みする方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram control device, and more particularly to a method for writing microinstructions corrected at the time of one bit error in a microinstruction into a control memory.

〔従来の技術〕[Conventional technology]

従来、この種のマイクロプログラム制御装置は、読み出
したデータに1ビットエラーが起きた場合、エラー訂正
回路によりデータを修正して制御記憶に書き込むのに少
なくとも2サイクルかかり、その間マイクロプログラム
制御を抑止していた。
Conventionally, in this type of microprogram control device, when a 1-bit error occurs in read data, it takes at least two cycles for the error correction circuit to correct the data and write it into the control memory, during which time microprogram control is inhibited. was.

第2図は従来のマイクロプラグラム制御装置の制御を説
明するための図であり、この従来例では、マイクロプロ
グラムの格納されている制御記憶900によりマイクロ
命令を読み出し、セレクタ910を介してデータレジス
タ920に格納する。このデータレジスタ910の出力
を1ビットエラー訂正2ビットエラー検出機能(EDA
C機能と称する。EDAC機能については公知文献特公
昭53−20367 rエラー検出及び訂正システムJ
IBM及び「符号理論」嵩、都倉、稲垣共著コロナ社に
詳しく述べられている。)回路930によりエラーチェ
ックを行い、1ビットエラーが起こった場合、被制御部
に抑止信号を送る。
FIG. 2 is a diagram for explaining control of a conventional microprogram control device. In this conventional example, a microinstruction is read out from a control memory 900 in which a microprogram is stored, and is sent to a data register 920 via a selector 910. Store in. The output of this data register 910 is processed using a 1-bit error correction and 2-bit error detection function (EDA).
This is called the C function. Regarding the EDAC function, please refer to the known document 1983-20367 rError Detection and Correction System J.
It is described in detail in IBM and "Coding Theory" co-authored by Takashi Tokura and Inagaki, published by Corona Publishing. ) An error check is performed by the circuit 930, and if a 1-bit error occurs, an inhibition signal is sent to the controlled section.

EDAC回路930により訂正されたマイクロ命令は、
データレジスタ920に格納され、制御記憶900に書
き込みされる。制御記憶900の書き込みが完了した後
、抑止信号を解除してマイクロ命令による制御が行われ
る。
The microinstruction corrected by the EDAC circuit 930 is
It is stored in data register 920 and written to control memory 900. After the writing of the control memory 900 is completed, the inhibition signal is released and control by microinstructions is performed.

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

上述した従来のマイクロプログラム制御装置は、1ビッ
トエラーを訂正したマイクロ命令を制御記憶に書き込み
する際、その間マイクロプログラム制御は抑止されてい
るので、次のマイクロ命令を制御記憶から読み出して実
行することが出来ないという欠点がある。
In the conventional microprogram control device described above, when writing a microinstruction with a 1-bit error corrected into the control memory, the microprogram control is inhibited during that time, so the next microinstruction cannot be read out from the control memory and executed. The disadvantage is that it is not possible.

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

本発明のマイクロプログラム制御装置の構成は、マイク
ロ命令が格納されている制御記憶と、この制御記憶から
読み出したマイクロ命令に1ビットエラーがある時、そ
のマイクロ命令を訂正後実行するマイクロプログラム制
御装置において、前記訂正されたマイクロ命令を格納す
る第1の手段と、前記1ビットエラーが発生したマイク
ロ命令のアドレスを格納する第2の手段と、そのマイク
ロ命令がアイドルルーチンを実行していることを検出す
る第3の手段とを備え、前記第3の手段の結果により前
記第1の手段内の訂正されたマイクロプログラムを前記
制御記憶の前記第2の手段で示されるアドレスに書き込
むことを特徴とする。
The configuration of the microprogram control device of the present invention includes a control memory in which microinstructions are stored, and a microprogram control device that corrects and executes the microinstruction when there is a 1-bit error in the microinstruction read from the control memory. a first means for storing the corrected microinstruction; a second means for storing the address of the microinstruction in which the one-bit error has occurred; and third means for detecting, and writes the corrected microprogram in the first means according to the result of the third means to an address of the control storage indicated by the second means. do.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のマイクロプログラム制御装
置の制御を説明するための図である。
FIG. 1 is a diagram for explaining control of a microprogram control device according to an embodiment of the present invention.

100はマイクロ命令が格納されている制御記憶、12
0は制御記憶100から読み出したマイクロ命令とED
AC回路130からの1ビットエラー訂正データをセレ
クタ110で選択して格納するデータレジスタ、130
は1ビットエラー訂正と2ビットエラー検出を行うED
AC回路、140はEDAC回路130で1ビットエラ
ー訂正を行ったデータを格納するデータレジスタ、15
0は制御記憶100の読み出しアドレスを格納するアド
レスレジスタ、160はアドレスレジスタ150から送
られてくるアドレスを格納するアドレスレジスタ、17
0はマイクロ命令がアイドルルーチンを実行しているか
を検出し、制御記憶部100の書き込み制御を行なうア
イドルルーチン実行検出部であり、データレジスタ12
0の出力は制御信号線aにより被制御部へ送られ、また
EDAC回路130へ送られ、また、データレジスタ1
40の出力は制御記憶100へ送られる。
100 is a control memory in which microinstructions are stored; 12
0 is the microinstruction and ED read from the control memory 100
a data register 130 that selects and stores 1-bit error correction data from the AC circuit 130 using the selector 110;
is an ED that performs 1-bit error correction and 2-bit error detection.
AC circuit; 140 is a data register 15 that stores data that has undergone 1-bit error correction in the EDAC circuit 130;
0 is an address register that stores the read address of the control memory 100, 160 is an address register that stores the address sent from the address register 150, 17
0 is an idle routine execution detection unit that detects whether a microinstruction is executing an idle routine and controls writing to the control storage unit 100;
The output of 0 is sent to the controlled unit by the control signal line a, and is also sent to the EDAC circuit 130, and is also sent to the data register 1.
The output of 40 is sent to control store 100.

次に、以上の構成を持つ本実施例の動作について説明す
る。
Next, the operation of this embodiment having the above configuration will be explained.

ここで、制御記憶100の1ビットエラーは今までに起
っていないものとする。
Here, it is assumed that a 1-bit error in the control memory 100 has never occurred.

アドレスレジスタ150から出力されたアドレスで指定
された制御記憶100のマイクロ命令が読み出され、セ
レクタ110を介してデータレジスタ120に格納され
る。同時に、アドレスレジスタ150の出力をアドレス
レジスタ160に格納する。
The microinstruction in the control memory 100 specified by the address output from the address register 150 is read out and stored in the data register 120 via the selector 110. At the same time, the output of address register 150 is stored in address register 160.

次に、データレジスタ120の出力が制御信号線aを通
って被制御部へ送られ、マイクロプログラムによる制御
が行なわれる。同時に、データレジスタ120の出力は
EDAC回路130へ送られ、エラー検出が実行され、
1ビットエラーが検出された場合に1ビットエラー訂正
を行い、その訂正データをデータレジスタ140に格納
する。
Next, the output of the data register 120 is sent to the controlled section through the control signal line a, and is controlled by the microprogram. At the same time, the output of the data register 120 is sent to the EDAC circuit 130 to perform error detection.
When a 1-bit error is detected, 1-bit error correction is performed and the corrected data is stored in the data register 140.

同時に、訂正データはセレクタ110を介してデータレ
ジスタ120に格納される。同時に、1ビットエラーが
検出されたことをアイドルルーチン実行検出部170に
報告する。そのとき、アイドルルーチン実行検出部17
0がアイドルルーチンの実行を検出していれば、アドレ
スレジスタ160から出力されるアドレスで、データレ
ジスタ140に格納されている訂正データを制御記憶1
00に書き込む。
At the same time, the corrected data is stored in the data register 120 via the selector 110. At the same time, the detection of a 1-bit error is reported to the idle routine execution detection unit 170. At that time, the idle routine execution detection unit 17
0 detects the execution of an idle routine, the correction data stored in the data register 140 is stored in the control memory 1 at the address output from the address register 160.
Write to 00.

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

以上説明したように本発明は、1ビツトエラ一時の訂正
データを制御記憶に書き込みする際、その制御記憶から
マイクロ命令が読み出されないときに書き込みをするこ
とにより、1ビツトエラ一時に起こるマイクロプログラ
ム制御の抑止率を低くし、処理速度を上げることができ
るという効果がある。
As explained above, the present invention is capable of correcting microprogram control that occurs temporarily when a 1-bit error occurs by writing temporary correction data for a 1-bit error into a control memory when no microinstructions are read from the control memory. This has the effect of lowering the inhibition rate and increasing processing speed.

図面の簡単な説明 第1図は本発明の一実施例のブロック図、第2図は従来
のマイクロプログラム制御装置の一例のブロック図であ
る。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an example of a conventional microprogram control device.

100・・・制御記憶、110・・・セレクタ、120
・・・データレジスタ、130・・・EDAC回路、1
40・・・データレジスタ、150・・・アドレスレジ
スタ、160・・・アドレスレジスタ、170・・・ア
イドルルーチン実行検出部。
100... Control memory, 110... Selector, 120
...Data register, 130...EDAC circuit, 1
40...Data register, 150...Address register, 160...Address register, 170...Idle routine execution detection unit.

聞  1  口Listen 1 mouth

Claims (1)

【特許請求の範囲】[Claims] マイクロ命令が格納されている制御記憶と、この制御記
憶から読み出したマイクロ命令に1ビットエラーがある
時、そのマイクロ命令を訂正後実行するマイクロプログ
ラム制御装置において、前記訂正されたマイクロ命令を
格納する第1の手段と、前記1ビットエラーが発生した
マイクロ命令のアドレスを格納する第2の手段と、その
マイクロ命令がアイドルルーチンを実行していることを
検出する第3の手段とを備え、前記第3の手段の結果に
より前記第1の手段内の訂正されたマイクロプログラム
を前記制御記憶の前記第2の手段で示されるアドレスに
書き込むことを特徴とするマイクロプログラム制御装置
When a control memory in which a microinstruction is stored and a microinstruction read from this control memory have a 1-bit error, the corrected microinstruction is stored in a microprogram control device that executes the microinstruction after correction. a first means, a second means for storing an address of the microinstruction in which the 1-bit error has occurred, and a third means for detecting that the microinstruction is executing an idle routine; A microprogram control device characterized in that the corrected microprogram in the first means is written in the control storage at an address indicated by the second means in accordance with the result of the third means.
JP1133614A 1989-05-26 1989-05-26 Microprogram controller Pending JPH02310753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1133614A JPH02310753A (en) 1989-05-26 1989-05-26 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1133614A JPH02310753A (en) 1989-05-26 1989-05-26 Microprogram controller

Publications (1)

Publication Number Publication Date
JPH02310753A true JPH02310753A (en) 1990-12-26

Family

ID=15108932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1133614A Pending JPH02310753A (en) 1989-05-26 1989-05-26 Microprogram controller

Country Status (1)

Country Link
JP (1) JPH02310753A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04293130A (en) * 1991-03-20 1992-10-16 Nec Ibaraki Ltd Information processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04293130A (en) * 1991-03-20 1992-10-16 Nec Ibaraki Ltd Information processor

Similar Documents

Publication Publication Date Title
JPH02310753A (en) Microprogram controller
JPS59148954A (en) Patrolling system of control storage
JP4131928B2 (en) Data storage control method and apparatus
JPH04115340A (en) Duplex storage circuit
JPH01320558A (en) Microprogram controller
JPH0581138A (en) Microprogram controller
JPH02110741A (en) Microprogram controller
JP2671305B2 (en) Data processing device
JP3271685B2 (en) Patrol type storage device
JPH04199432A (en) Microprogram controller
JPH0229839A (en) Microprogram control device
JPH03168839A (en) Control memory one-bit error correcting system
JPH0512004A (en) Instruction execution system
JPH064412A (en) Local memory inspecting/correcting circuit
JPH0481953A (en) Memory device
JPH03271952A (en) Microprogram control storage
JPH0744379A (en) Microprogram controller
JPH05210597A (en) Patrol circuit for storage device
JPH04145541A (en) Microprogram controller
JPH01133147A (en) Data processor
JPH0520215A (en) Information processor
JPH03168838A (en) Parity checking system
JPH02115938A (en) Microprogram error detection circuit
JPH045219B2 (en)
JPH0535608A (en) Control storage inspecting and correcting circuit