JPS60225941A - Microprogram control device - Google Patents

Microprogram control device

Info

Publication number
JPS60225941A
JPS60225941A JP59082497A JP8249784A JPS60225941A JP S60225941 A JPS60225941 A JP S60225941A JP 59082497 A JP59082497 A JP 59082497A JP 8249784 A JP8249784 A JP 8249784A JP S60225941 A JPS60225941 A JP S60225941A
Authority
JP
Japan
Prior art keywords
write
control
data
register
memory
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
JP59082497A
Other languages
Japanese (ja)
Inventor
Masakazu Sato
正和 佐藤
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
Nippon Electric Co 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 Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59082497A priority Critical patent/JPS60225941A/en
Publication of JPS60225941A publication Critical patent/JPS60225941A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To make an erroneous data ineffective by executing write to a control memory, and thereafter, setting a block effective bit in a word in an address array in which control information is written in accordance with its data block, to ''0'', when a fault is occurred in a write data. CONSTITUTION:A tilted device detects the generation of a parity error of an address register 2, an address array write data register 3, a control memory write data register 4, etc., holds the contents of the address register 2 by an output of an OR gate 11, and clears the address array write data register 3. At the same time, this device sets a write pulse control register 5, writes ''0'' in control information in an address array 6, and clears a V bit. Also, it inhibits write to the subsequent control memory 7 and the address array 6, therefore, the write pulse control register 5 is cleared by an output of a flip-flop 9 which is holding the output of the OR gate 11.

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 write control circuit to a control memory thereof.

(従来技術) 従来、この種のマイクロプログラム制御装置では制御メ
モリを主メモリのバッファメモリとして使用して込た。
(Prior Art) Conventionally, in this type of microprogram control device, the control memory is used as a buffer memory for the main memory.

斯かる装置におけ名障害処理方式では、制御メモリにあ
らかじめパリティビットを付加したデータを書込み、制
御メモリの内容を読出す際には、読出しデニタに対しそ
パリティチェックを行って障害を検出してδた。
The fault handling method used in such devices is to write data to which a parity bit has been added in advance to the control memory, and when reading the contents of the control memory, a parity check is performed on the readout data to detect faults. δ was.

bつたん障害が検出されると、その障害が制御メモリか
ら出力されるマイクロ命令によって起動されるハードウ
ェアに影響を及ぼさないようにするため、マイクロ命令
が無効であることを表わすフラグを立て、同時に制御メ
モリの内部の障害が発生したマイクロ命令を含むデータ
ブロックを使用禁止状態にして帆た。しかし上記の方式
では、制御メモリへの書込みデータが障害を起こして−
た場合には、誤まったデータが書込まれる可能性があっ
た。これを防ぐには上記の書込みデータの障害を検出し
、書込みデータが制御メモリへ書込まれな込ように制御
する必要はあるが、制御メモリの容量が大きく、書込み
が高速で行われる場合には1回路の遅延時間が大きいた
め、このような制御が不可能になっていた。
When a fault is detected, a flag is set to indicate that the microinstruction is invalid, so that the fault does not affect the hardware activated by the microinstruction output from the control memory. At the same time, the data block containing the faulty microinstruction in the control memory was disabled. However, with the above method, the data written to the control memory may fail.
If this happens, there is a possibility that incorrect data may be written. To prevent this, it is necessary to detect the above write data failure and control the write data so that it is not written to the control memory, but if the control memory has a large capacity and writing is performed at high speed, Since the delay time of one circuit is large, such control has become impossible.

誤ったデータが制御メモリへ書込まれると、次の2つの
問題点が生じる。
When erroneous data is written to the control memory, the following two problems occur.

第1に、制御メモリから読出されたデータに障害が検出
された場合には、制御メモリ自体の障害であるか、ある
いは書込みデータの障害であるかの区別がつかなかった
。従って、書込みデータの障害であるにもかかわらず、
制御メモリのブロックを使用禁止状態にしてしまってb
た。
First, when a fault is detected in data read from the control memory, it is impossible to distinguish whether the fault is in the control memory itself or in the written data. Therefore, even though it is a write data failure,
A block of control memory has been disabled.
Ta.

第2に既に説明したように、制御メモリから読出された
データに障害が検出された場合には、マイクロ命令を無
効化するフラグを立てていたが、このフラグを立ててか
らハードウェアが上記フラグを参照するまで一定の遅延
時間を要し、その間にハードウェアが回復不能な動作を
行う可能性があった。
Second, as already explained, if a fault is detected in the data read from the control memory, a flag is set to disable the microinstruction, but after this flag is set, the hardware There was a certain delay time required before the data was referenced, and during that time there was a possibility that the hardware would perform unrecoverable operations.

なお、上に説明し九制御メモリを主メモリのバッファメ
モリとして使用する方式に関しては、特願昭57−15
96rマイクロプログラム制御方式」に開示されている
Regarding the method of using the above-mentioned control memory as a buffer memory of the main memory, Japanese Patent Application No. 57-15
96r Microprogram Control System".

(発明の目的) 本発明の目的は、制御メモリへの書込みデータに障害が
あった場合にはこれを検出し、書込みデータが制御メモ
リへ書込まれた後に書込みデータを含むデータブロック
に対応して制御情報が書込まれているアドレスアレイの
内部のワード中のブロック有効ビットを6にセットする
ように再度書込みを行うことによって上記問題点を解決
し、上記データブロックの内部の誤りデータを無効化す
るように構成したマイクロプログラム制御装置を提供す
ることにある。
(Object of the Invention) An object of the present invention is to detect a fault in the write data to the control memory, and to respond to the data block containing the write data after the write data has been written to the control memory. The above problem is solved by writing again to set the block valid bit in the word inside the address array in which the control information is written to 6, and invalidating the error data inside the data block. An object of the present invention is to provide a microprogram control device configured to perform the following steps.

(発明の構成) 本発明によるマイクロプログラム制御装置は主メモリと
、制御メモリと、アドレスアレイと、。
(Structure of the Invention) A microprogram control device according to the present invention includes a main memory, a control memory, and an address array.

アドレスレジスタと、比較器と、書込み制御回路と、障
害検出手段と、補助制御手段とを具備して構・成したも
のである。 ゛ 主メモリは、複数のマイクロ命令を格納するためのもの
である。
It is constructed and equipped with an address register, a comparator, a write control circuit, a fault detection means, and an auxiliary control means. ``Main memory is for storing multiple microinstructions.

制御メモリは、主メモリから読出された複数のマイクロ
命令の一部を保持するためのものである。
The control memory is for holding some of the microinstructions read from main memory.

アドレスアレイは、制御メモリに含まれたデータブロッ
クに関する管理情報を保持するためのものである。
The address array is for holding management information regarding data blocks contained in the control memory.

アドレスレジスタは、制御メモリならびにアドレスアレ
イの読出しアドレス、ならびに書込みアドレスを保持す
るためのものである。
The address register is for holding read and write addresses of the control memory and address array.

比較器は、制御メモリ上に目的とするマイクロ命令が存
在中るか否かを検出する目的でアドレスを比較するもの
である。
The comparator compares addresses in order to detect whether or not a target microinstruction exists on the control memory.

書込み制御回路は、制御メモリ上に目的とするマイクロ
命令が存在しなかった場合にはデータブロックに属する
マイクロ命令を主メモリより読出して制御メモリへ書込
むと共に、データブロックに関する制御情報をアドレス
アレイに書込むためのものである。
If the target microinstruction does not exist on the control memory, the write control circuit reads the microinstruction belonging to the data block from the main memory and writes it to the control memory, and also writes control information regarding the data block to the address array. It is for writing.

障害検出手段は、書込み制御回路によ如与えられた書込
みデータに障害が発生した時にはこれを検出するための
ものである。
The failure detection means is for detecting when a failure occurs in the write data provided by the write control circuit.

補助制御手段は、障害検出手段により書込みデータに誤
りが検出された際には書込みデータに含まれた、データ
ブロックのための制御情報を保持する九めのアドレスア
レイの内部で、データブロックが有効であることを示す
ビットをクリアすることにより障害の発生したデータが
書込まれたデータブロックを無効化するためのものであ
る。
The auxiliary control means detects that the data block is valid within a ninth address array that holds control information for the data block included in the write data when an error is detected in the write data by the failure detection means. This is to invalidate the data block in which faulty data has been written by clearing the bit indicating that the fault has occurred.

(実 流側) 次に、本発明につ員て図面を参照して詳細に説明する。(Actual flow side) Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明によるマイクロプログラム制御装置の一
実施例を示すブロック図である。第1図において、lは
書込み制御回路、2はアドレスレジスタ、3はアドレス
アレイ書込みレジスタ、4は制御メモリ書込みデータレ
ジスタ、5は書込みJパルス制御レジスタ、6はアドレ
スアレイ、7は制御メモリ、8は主メモリ、9はフリツ
プフロツプ、10は比較器、11.12はそれぞれOR
ゲートである。
FIG. 1 is a block diagram showing an embodiment of a microprogram control device according to the present invention. In FIG. 1, l is a write control circuit, 2 is an address register, 3 is an address array write register, 4 is a control memory write data register, 5 is a write J pulse control register, 6 is an address array, 7 is a control memory, 8 is the main memory, 9 is a flip-flop, 10 is a comparator, and 11.12 are each OR.
It is a gate.

本発明の実施例を示す第11忙おいて、主メモリ8には
マイクロ命令が格納されている。制御メモリ7は主メモ
リ8のバッファメモリとして働ら、き、マイクロ命令の
一部をあらかじめ分割されたブロック単位で保持する。
In an eleventh example showing an embodiment of the present invention, the main memory 8 stores microinstructions. The control memory 7 functions as a buffer memory for the main memory 8, and holds a portion of the microinstructions in pre-divided blocks.

アドレスアレイ6は、制御メモリ7のなかのひとつのブ
ロックに対して単位ワードの管理情報を保持する。
Address array 6 holds unit word management information for one block in control memory 7.

アドレスレジスタ2は、制御メモリ7、およびアドレス
アレイ6へ読出しアドレス、および書込みアドレスを与
える。制御メモリ書込みデータレジスタ4は、制御メモ
リ7への書込みデータを供給する。アドレスアレイ書込
みデータレジスタ3は、アドレスアレイ6への書込みデ
ータを供給する。書込みパルス制御レジスタ5は1、制
御メモリ7およびアドレスアレイ6への1込みパルスの
制御を行う。
Address register 2 provides read and write addresses to control memory 7 and address array 6. Control memory write data register 4 supplies write data to control memory 7. Address array write data register 3 supplies write data to address array 6. Write pulse control register 5 controls 1 write pulses to control memory 7 and address array 6 .

比較器10では、制御メモリ7のなかに目的とするマイ
クロ命令がデータとして存在するか、否かをアドレスア
レイ60表かの管理情報に含まれたブロックアドレスと
アドレスレジスタ2の上位ビットとを比較するととによ
って検出する。ORゲート11は、アドレスレジスタ2
、アドレスアレイ書込みデータレジスタ3、および制御
メモリ書込みデータレジスタ4のパリティエラーを検出
する。フリップ70ツブ9は、ORゲー)11の出力を
保持する。書込み制御回路1には、主メモリ8と制御メ
モリ書込みデータレジスタ4との間にデータバスを備え
、制御メモリ7への書込みデータを供給するとともに、
アドレスレジスタ2、アドレスアレイ書込みデータレジ
スタ3、および書込みパルス制御レジスタ5へ適当なデ
ータを与えるための制御手段を備えている。ORゲート
12は、書込み制御回路lからの書込み制御信号とOR
ゲー)11の出力とのORをと)、これを書込みパルス
制御レジスタ5に与えるものである。
The comparator 10 compares the block address included in the management information in the address array 60 table with the upper bits of the address register 2 to determine whether the target microinstruction exists as data in the control memory 7. Then it is detected by and. OR gate 11 is connected to address register 2
, address array write data register 3, and control memory write data register 4. The flip 70 knob 9 holds the output of the OR game) 11. The write control circuit 1 includes a data bus between the main memory 8 and the control memory write data register 4, and supplies write data to the control memory 7.
Control means are provided for providing appropriate data to address register 2, address array write data register 3, and write pulse control register 5. The OR gate 12 is an OR gate with the write control signal from the write control circuit l.
11) and gives this to the write pulse control register 5.

次に、本実施例の回路の動作を詳細に説明する。次に実
行すべきマイクロ命令のアドレスをアドレスレジスタ2
ヘセツトすると、制御メーモリ7よシアドレスレジスタ
2の下位ビットによ)与えられたアドレスに対応するマ
イクロ命令が読出される。同時に、上記マイクロ命令を
含むデータブロックに対応した制御情報がアドレスアレ
イ6より読出される。アドレスアレイ6のなかの制御情
報は、第2図に示される形式になってbB、上記制御情
報のなかのブロックアドレスとアドレスレジスタ2の上
位ビットとを比較することにより、目的とするマイクロ
命令が読出されたか否かを検出する。
Next, the operation of the circuit of this embodiment will be explained in detail. Address register 2 stores the address of the next microinstruction to be executed.
When set, the microinstruction corresponding to the address given (by the lower bits of the control memory 7 and the seat address register 2) is read out. At the same time, control information corresponding to the data block containing the microinstruction is read from the address array 6. The control information in the address array 6 is in the format shown in FIG. Detect whether or not it has been read.

ここで、上記比較の結果が一致12なかった場合、ある
いはVビットが0であった場合には、読出されたマイク
ロ命令を無効として取扱1%目的とするデータブロック
を新たに主メモリ8から読出して、制御メモリ7へ書込
むように書込み 、制御回路1へ指示を送出する。指示
を受けた書込み制御回路lは、目的とするデータブロッ
クのマイクロ命令を主メモリ8から読出し、制御メモリ
書込みデータレジスタ4ヘセツトする。
Here, if the result of the above comparison does not match 12 or if the V bit is 0, the read microinstruction is treated as invalid and a new 1% target data block is read from the main memory 8. Then, it writes to the control memory 7 and sends an instruction to the control circuit 1. Upon receiving the instruction, the write control circuit 1 reads the microinstruction of the target data block from the main memory 8 and sets it in the control memory write data register 4.

一時に上記書込み制御回路1は上記ブロックに関する新
たた制御情報をアドレスアレイ書込みデータレジスタ3
ヘセツトし、書込みアドレスをアドレスレジスタ2ヘセ
ツトし、書込み制御信号を書込みパルス制御レジスタ5
ヘセツトする。
At one time, the write control circuit 1 sends new control information regarding the block to the address array write data register 3.
Set the write address to address register 2, and write the write control signal to write pulse control register 5.
to set.

以上の処理は、ひとつのデータブロックのマイクロ命令
の書込みが終了するまで繰返される。
The above processing is repeated until writing of microinstructions for one data block is completed.

しかし、もしこの間にアドレスレジスタ2、アドレスア
レイ書込みデータレジスタ3、製部メモリ書込みデータ
レジスタ4のいずれかに記憶されて込るデータに@シが
生じると、不正なデータが制御メモリ7、また、アドレ
スアレイ6に書込まれ、従来技術におけるような問題を
生じる。
However, if an @ sign occurs in the data stored in any of the address register 2, address array write data register 3, and manufacturing unit memory write data register 4 during this time, the invalid data will be stored in the control memory 7, and address array 6, creating problems as in the prior art.

本発明では、このような問題を解決するのに不正なデー
タが書込まれたデータブロックに対応シ、アドレスアレ
イ6のなかの制御情報のなかのVビットを0にクリアす
る。具体的には、ORゲート11によってアドレスレジ
スタ2.7ドレスアVイ書込みデータレジスタ3、制御
メモリ書込みデータレジスタ4の込ずれかでパリティエ
ラーが生じたことを検出し、ORゲート11の出力によ
シアドレスレジスタ2の内容を保持し、アドレスアレイ
書込みデータレシス−の内容i、oにクリアする。同時
に、書込みパルス制御レジスタ5をセットすることによ
り上記アドレスアレイ6のなかの制御情報に0を書込み
、VビットをOにクリアする。さらに、以後の制御メモ
リ7およびアドレスアレイ6への書込みを禁止するため
、ORゲー)11の出力を保持しているツリツブフロッ
プ9の出力によって、書込みパルス制御レジスタ5の内
容を0にクリアする。以上の動作のタイミングチャート
を第3図に示す。
In order to solve this problem, the present invention clears the V bit in the control information in the address array 6 to 0 in response to a data block in which invalid data has been written. Specifically, the OR gate 11 detects that a parity error has occurred in any of the address registers 2, 7, the address register 2, 7, the write data register 3, and the control memory write data register 4. The contents of the address register 2 are held and cleared to the contents i and o of the address array write data register. At the same time, by setting the write pulse control register 5, 0 is written to the control information in the address array 6, and the V bit is cleared to O. Further, in order to prohibit future writing to the control memory 7 and address array 6, the contents of the write pulse control register 5 are cleared to 0 by the output of the tritubular flop 9 holding the output of the OR gate 11. A timing chart of the above operation is shown in FIG.

(発明の効果) 本発明には以上説明したように、制御メモリおよびアド
レスアレイに不正なデータが書込まれた際には該当する
データブロックの内容を無効にすることによって、不正
なマイクロ命令が実行されるのを防止することができる
という効果がある。
(Effects of the Invention) As explained above, the present invention has the advantage that when invalid data is written to the control memory and address array, the contents of the corresponding data block are invalidated, thereby preventing the invalid microinstruction from occurring. This has the effect of preventing execution.

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

第1図は、本発明によるマイクロプログラム制御装置の
一実施例を部分的に示すブロック図である。 第2図は、アドレスアレイに格納されるデータのホーマ
ットを示す図である。 第3図は、第1図で示したマイクロプロゲラ −ム制御
装置の動作を表わすタイミングチャート 。 である。 1・・・書込み制御回路 2・・・アドレスレジスタ 3・・・アドレスアレイ書込みデータレジスタ4・・・
制御メモリ書込みデータレジスタ5・・・書込みパルス
制御レジスタ
FIG. 1 is a block diagram partially illustrating an embodiment of a microprogram control device according to the present invention. FIG. 2 is a diagram showing the format of data stored in the address array. FIG. 3 is a timing chart showing the operation of the microprogram controller shown in FIG. It is. 1...Write control circuit 2...Address register 3...Address array write data register 4...
Control memory write data register 5...Write pulse control register

Claims (1)

【特許請求の範囲】 複数ヤマイクロ命令を格納するための主メモリと、前記
主メモリから読出された前記複数のマイクロ命令の一部
を保持するための制御メモリと、前記制御メモリに含ま
れたデータブロックに関する管理情報を保持するための
アドレスアレイと、前記制御メそりならびに前記アドレ
スアレイの読出しアドレス、ならびに書込みアドレスを
保持するためのアドレスレジスタと、前記制御メモリ上
に目的とするマイクロ命令が存在するか否かを検出する
目的でアドレスを比較するための比較器と、前記制御メ
モリ上に目的とするマイクロ命令が存在しなかった場合
には前記データブロックに属するマイクロ命令を前記主
メモリよ)読出して前記制御メモリへ書。 込むと共に、前記データブロックに関する制御情報を前
記アドレスアレイに書込むための書込み制御回路と、前
記書込み制−回路により与えられた書込みデータに障害
が発生した時にはこれを検出するための障害検出手段と
、前記障害検出手段により前記書込みデータに誤シカ゛
(検出された際には前記書込みデータに含まれた、前記
データツクツクのための制御情報を保持するための前記
アドレスアレイの内部で、前記データブロックが有効で
あることを示すビットをクリアすることによシ前記障害
の発生したデータが書込まれたデータブロックを無効化
するための補助制御手段とを具備して構湿したことを特
徴とするマイクロプログラム制御装置。
[Scope of Claims] A main memory for storing a plurality of microinstructions, a control memory for holding a part of the plurality of microinstructions read from the main memory, and data contained in the control memory. An address array for holding management information regarding the block, an address register for holding the control memory as well as read addresses and write addresses of the address array, and a target microinstruction on the control memory. a comparator for comparing addresses for the purpose of detecting whether the target microinstruction is present in the control memory; and if the target microinstruction does not exist in the control memory, reading out the microinstruction belonging to the data block from the main memory). and write it to the control memory. a write control circuit for writing control information regarding the data block into the address array; and failure detection means for detecting a failure in the write data provided by the write control circuit. , when an error is detected in the write data by the fault detection means, the data block is and auxiliary control means for invalidating the data block in which the faulty data has been written by clearing a bit indicating that the faulty data is valid. Microprogram controller.
JP59082497A 1984-04-24 1984-04-24 Microprogram control device Pending JPS60225941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59082497A JPS60225941A (en) 1984-04-24 1984-04-24 Microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59082497A JPS60225941A (en) 1984-04-24 1984-04-24 Microprogram control device

Publications (1)

Publication Number Publication Date
JPS60225941A true JPS60225941A (en) 1985-11-11

Family

ID=13776126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59082497A Pending JPS60225941A (en) 1984-04-24 1984-04-24 Microprogram control device

Country Status (1)

Country Link
JP (1) JPS60225941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08179943A (en) * 1994-12-27 1996-07-12 Nec Ibaraki Ltd Microprogram take-out control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08179943A (en) * 1994-12-27 1996-07-12 Nec Ibaraki Ltd Microprogram take-out control system

Similar Documents

Publication Publication Date Title
JPS60225941A (en) Microprogram control device
JPH0316655B2 (en)
KR860002027B1 (en) Key memory error processing system
JPH0652065A (en) Memory control circuit
JP3013517B2 (en) Write buffer error address detection circuit
JPH0341538A (en) Main storage device
JPH0230060B2 (en)
JPH02110741A (en) Microprogram controller
JPS6339061A (en) Processing system for memory error
JPS60225942A (en) Microprogram control device
JPH0223442A (en) Memory control device
JPH04255032A (en) Error correcting system for control storage
JPS59125453A (en) Retrying system
JPS59217298A (en) Memory error relieve system
JPS6325380B2 (en)
JPS641817B2 (en)
JPS61228544A (en) Write protection system
JPS6236578B2 (en)
JPS58169253A (en) Error detection system
JPH01258054A (en) Access control system for storage device
JPH0481953A (en) Memory device
JPH0480860A (en) Program loading system
JPH06161804A (en) Information processor
JPH04367955A (en) Memory protecting system
JPH04332997A (en) Troubleshooting system