JPS63214841A - Control memory error correcting control system - Google Patents
Control memory error correcting control systemInfo
- Publication number
- JPS63214841A JPS63214841A JP62047709A JP4770987A JPS63214841A JP S63214841 A JPS63214841 A JP S63214841A JP 62047709 A JP62047709 A JP 62047709A JP 4770987 A JP4770987 A JP 4770987A JP S63214841 A JPS63214841 A JP S63214841A
- Authority
- JP
- Japan
- Prior art keywords
- register
- microinstruction
- error
- circuit
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005764 inhibitory process Effects 0.000 claims description 18
- 238000001514 detection method Methods 0.000 claims description 11
- 230000003111 delayed effect Effects 0.000 abstract description 2
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 8
- 238000000034 method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理装置におけるマイクロプログラム制御
装置に関し、特に訂正可能なエラーの検出訂正動作を行
なうと共にエラー検出時に演算回路の動作を抑止する機
能を備える制御メモリの誤り訂正制御方式に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a microprogram control device in an information processing device, and in particular, a function for detecting and correcting a correctable error and inhibiting operation of an arithmetic circuit when an error is detected. The present invention relates to an error correction control method for a control memory comprising:
従来、この種の制御メモリ誤り訂正制御方式では、マイ
クロ命令の全フィールドに対して訂正可能エラーを検出
し、エラーが検出されたクロックサイクルでマイクロ命
令レジスタの更新を抑止すると同時に演算回路の動作を
抑止する構成となっている。Conventionally, this type of control memory error correction control method detects correctable errors in all fields of a microinstruction, suppresses updating of the microinstruction register in the clock cycle in which the error is detected, and at the same time stops the operation of the arithmetic circuit. It is configured to suppress this.
上述した従来の制御メモリ誤シ訂圧制御方式の場合、マ
イクロ命令の全フィールドに対して訂正可能エラーを検
出し、エラーが検出されたクロックサイクルで演算回路
の動作を抑止するための動作抑止信号を送出している。In the case of the conventional control memory error correction pressure control method described above, a correctable error is detected in all fields of a microinstruction, and an operation inhibit signal is provided to inhibit the operation of the arithmetic circuit in the clock cycle in which the error is detected. is being sent.
ところが、この場合。However, in this case.
演算回路に対する動作抑止信号はその時間遅れが大とな
シ(一般的に、演算回路はマイクログログ 。The operation inhibit signal for the arithmetic circuit has a large time delay (generally, the arithmetic circuit is a microlog).
ラム制御装置から物理的に離れているため)、その結果
マイクロプログラム制御装置のクロックサイクルが制限
されるという問題点がある。(because of the physical distance from the RAM controller), this results in limited clock cycles for the microprogram controller.
本発明による制御メモリ誤り訂正制御方式は。 The control memory error correction control method according to the present invention is as follows.
制御メモリから読み出され、マイクロ命令レジスタにセ
ットされたマイクロ命令に対応するアドレスをセットす
るアドレスセーブレジスタと、マイクロ命令レジスタの
内容によって制御される演算回路から送出される分岐ア
ドレス情報をセットする分岐アドレスセーブレジスタと
を備えており。An address save register that sets the address corresponding to the microinstruction read from the control memory and set in the microinstruction register, and a branch that sets the branch address information sent from the arithmetic circuit controlled by the contents of the microinstruction register. Equipped with address save register.
演算回路に起因する第1の抑止信号の発生と同時にマイ
クロ命令の一部分である次アドレス情報とエラー訂正コ
ードを含むフィールドで訂正可能なエラーが検出される
と、該エラーを検出したクロックサイクルで前記マイク
ロ命令レジスタの更新を抑止する第2の抑止信号を発生
すると同時にエラー訂正シーケンスを実行し、lクロッ
クサイクル遅れて前記演算回路の動作を抑止する第3の
抑止信号を発生し、エラー訂正完了後、第2の抑止信号
を解除した後、アドレスセーブレジスタと分岐アドレス
セーブレジスタの内容に基づいてマイクロ命令レジスタ
を更新し、また第2の抑止信号の解除と同じタイミング
で第3の抑止信号を解除することによりエラー訂正後の
マイクロ命令を実行し、動作を再開することを特徴とす
る。When a correctable error is detected in a field containing next address information and an error correction code that are part of a microinstruction at the same time as the first inhibit signal caused by the arithmetic circuit is generated, the above-mentioned error is detected in the clock cycle in which the error is detected. Execute an error correction sequence at the same time as generating a second inhibit signal that inhibits updating of the microinstruction register, generate a third inhibit signal that inhibits the operation of the arithmetic circuit with a delay of one clock cycle, and after the error correction is completed. , after canceling the second inhibit signal, update the microinstruction register based on the contents of the address save register and branch address save register, and also cancel the third inhibit signal at the same timing as the release of the second inhibit signal. By doing so, the microinstruction after error correction is executed and the operation is restarted.
次に2本発明の実施例について図面を参照して説明する
。Next, two embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例の構成を示すブロック図であ
る。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
第1図に示されるマイクロプログラム制御装置は、制御
メモリl、マイクロ命令レジスタ2.エラー検出訂正回
路3.抑止信号発生回路4及び5゜分岐アドレスセーブ
レジスタ7、アドレスセーブレジスタ8.+1カウンタ
9.インクリメントアドレスレジスタ10.+Jターン
アドレスレジスタ11、リターンアドレススタック12
.アドレス選択回路13.リターンアドレス選択回路1
4゜選択回路15.及び制御回路16を備えている。The microprogram control device shown in FIG. 1 includes a control memory 1, a microinstruction register 2. Error detection and correction circuit 3. Inhibit signal generation circuit 4, 5° branch address save register 7, address save register 8. +1 counter9. Increment address register 10. +J turn address register 11, return address stack 12
.. Address selection circuit 13. Return address selection circuit 1
4° selection circuit 15. and a control circuit 16.
制御メモリlに格納されるマイクロ命令に対してハミン
グコードによるエラー訂正コードが附与され、このエラ
ー訂正コードが附与された状態で制御メモリ1にマイク
ロ命令が格納されている。An error correction code based on a Hamming code is added to the microinstruction stored in the control memory 1, and the microinstruction is stored in the control memory 1 with this error correction code added.
そして、制御メモリlから読み出されたマイクロ命令は
マイクロ命令レジスタ2にセットされる。The microinstruction read from the control memory l is then set in the microinstruction register 2.
このマイクロ命令には次アドレス情報が含まれており、
マイクロ命令レジスタ2の内容によってリターンアドレ
スレジスタ11及びリターンアドレススタック12の更
新と、リターンアドレス選択回路14の制御が行なわれ
、さらにマイクロ命令レジスタ2の内容によって次に実
行するマイクロ命令のアドレスを決定する制御回路16
によって制御されるアドレス選択回路13からのアドレ
ス情報と後述の分岐アドレス情報とによって制御メモリ
lのアドレスンースが決定され、制御メモリ1から次々
とマイクロ命令が読み出される。This microinstruction contains next address information,
The contents of the microinstruction register 2 update the return address register 11 and the return address stack 12 and control the return address selection circuit 14, and the contents of the microinstruction register 2 determine the address of the next microinstruction to be executed. Control circuit 16
The address of the control memory 1 is determined by the address information from the address selection circuit 13 controlled by the address selection circuit 13 and branch address information to be described later, and microinstructions are read out from the control memory 1 one after another.
エラー検出訂正回路3によってマイクロ命令レジスタ2
にセットされたデータに訂正可能なエラーが検出される
と、抑止信号発生回路5からの抑止信号によって演算回
路6の動作が抑止され、一方、エラー検出訂正回路3に
より、マイクロ命令レジスタ2のエラーを訂正した後抑
止信号が解除される。この場合、演算回路6に送出され
る動作抑止信号は、演算回路6の動作を制御するフィー
ルドに限定し9時間遅れを最小限に保つようにしている
。即ち、エラー検出訂正回路3で演算回路6の動作を制
御するフィールドで訂正可能なエラーが検出されると、
抑止信号発生回路4′から第2の抑止信号が、また抑止
信号発生回路5から第3の抑止信号が同時に送出され、
エラーを検出したクロックサイクルで演算回路6.マイ
クロ命令レジスタ21分岐アドレスセーブレジスタ7、
アドレスセーブレジスタ8.インクリメントアドレスレ
ジスタ10 、 IJターンアドレスレジスタ11゜及
ヒリターンアドレススタック12の更新を抑止し、エラ
ー検出訂正回路3でエラーの訂正を行なった後、前述の
ようにマイクロ命令レジスタ2のエラーの訂正を行い、
第2の抑止信号及び第3の抑止信号を同時に解除する。Microinstruction register 2 by error detection and correction circuit 3
When a correctable error is detected in the data set in the microinstruction register 2, the operation of the arithmetic circuit 6 is inhibited by an inhibition signal from the inhibition signal generation circuit 5, while the error detection and correction circuit 3 detects an error in the microinstruction register 2. After correcting the error, the inhibit signal is released. In this case, the operation inhibit signal sent to the arithmetic circuit 6 is limited to the field that controls the operation of the arithmetic circuit 6 to keep the nine-hour delay to a minimum. That is, when the error detection and correction circuit 3 detects a correctable error in the field that controls the operation of the arithmetic circuit 6,
A second deterrent signal is simultaneously sent from the deterrent signal generating circuit 4', and a third deterrent signal is simultaneously sent from the deterrent signal generating circuit 5.
Arithmetic circuit 6 in the clock cycle in which the error was detected. microinstruction register 21 branch address save register 7,
Address save register 8. After the increment address register 10, IJ turn address register 11°, and return address stack 12 are inhibited from being updated, and the error is corrected by the error detection and correction circuit 3, the error in the microinstruction register 2 is corrected as described above. conduct,
The second inhibition signal and the third inhibition signal are simultaneously released.
一方、マイクロ命令の次アドレス情報とエラー訂正コー
ドとを含むフィールドで、エラー検出訂正回路3により
訂正可能エラーが検出されると。On the other hand, if the error detection and correction circuit 3 detects a correctable error in the field containing the next address information and error correction code of the microinstruction.
抑止信号発生回路4から第2の抑止信号が送出され、エ
ラーを検出したクロックサイクルでマイクロ命令レジス
タ2.アドレスセーブレジスタ8゜インクリメントアド
レスレジスタ10.リターンアドレスレジスタ11.及
びリターンアドレススタック12の更新が抑止され、l
クロックサイクル遅れて抑止信号発生回路5から第3の
抑止信号が送出され9分岐アドレスセーブレジスタ7及
び演算回路6の更新が抑止される。The second inhibition signal is sent from the inhibition signal generation circuit 4, and the microinstruction register 2. Address save register 8° Increment address register 10. Return address register 11. and updating of the return address stack 12 is suppressed, and l
After a clock cycle delay, the third inhibition signal is sent from the inhibition signal generation circuit 5, and the updating of the 9-branch address save register 7 and the arithmetic circuit 6 is inhibited.
ところで、上述のように1クロツクサイクル遅れた信号
で演算回路6の更新を抑止するので、演算回路6が分岐
命令更新時に、処理の結果によシ指示される分岐アドレ
ス情報が失なわれる場合がある。従って、演算回路6で
の処理が正常に行わ一方、演寞回路6で分岐命令が実行
された直後のマイクロ命令において、エラーが検出され
ると。By the way, as mentioned above, since the update of the arithmetic circuit 6 is inhibited by a signal delayed by one clock cycle, when the arithmetic circuit 6 updates a branch instruction, if the branch address information indicated by the processing result is lost. There is. Therefore, if the processing in the arithmetic circuit 6 is performed normally, but an error is detected in the microinstruction immediately after the branch instruction is executed in the computational circuit 6.
選択回路15は分岐アドレスセーブレジスタ7を選択す
る。そして、アドレスセーブレジスタ8と分岐アドレス
セーブレジスタ7との内容に基づいて、マイクロ命令レ
ジスタ2を更新、して、演算回路6に対する第3の抑止
信号を解除し、動作を再開させる。The selection circuit 15 selects the branch address save register 7. Then, based on the contents of the address save register 8 and the branch address save register 7, the microinstruction register 2 is updated, the third inhibition signal to the arithmetic circuit 6 is released, and the operation is restarted.
以上の動作を、第2図のタイムチャートを使用して説明
する。The above operation will be explained using the time chart of FIG. 2.
マイクロ命令レジスタ2の次アドレス情報とエラー訂正
コードを含むフィールドで訂正可能エラーが検出される
と、抑止信号発生回路4から第2の抑止信号が送出され
、エラー訂正シーケンスの動作が開始する。次アドレス
情報とエラー訂正コードは演算回路6の動作の制御には
関与しないので、演算回路6の7リツプフロツゾが更新
された後、lクロックサイクル遅れて抑止信号発生回路
5から第3の抑止信号が送出される。When a correctable error is detected in the field containing the next address information and error correction code of the microinstruction register 2, a second inhibition signal is sent from the inhibition signal generation circuit 4, and the operation of the error correction sequence is started. Since the next address information and the error correction code are not involved in controlling the operation of the arithmetic circuit 6, after the 7-lip flop of the arithmetic circuit 6 is updated, the third inhibition signal is output from the inhibition signal generation circuit 5 with a delay of one clock cycle. Sent out.
マイクロ命令レジスタ2のエラーが訂正された後、第2
の抑止信号が解除されて、マイクロ命令レジスタ2を更
新し、lクロックサイクル遅れて第3の抑止信号が解除
されて動作を再開させる。After the error in microinstruction register 2 is corrected, the second
The third inhibition signal is released and the microinstruction register 2 is updated, and after a delay of one clock cycle, the third inhibition signal is released and the operation is resumed.
次に、第3図のタイムチャートを使用して、演算回路6
に起因する第1の抑止信号とマイクロ命令レジスタ2の
次アドレス情報とエラー訂正コードを含むフィールドで
訂正可能エラーが同時に発生した場合の動作について説
明する。この場合。Next, using the time chart in FIG.
The operation when a correctable error occurs simultaneously in the field containing the first inhibit signal caused by the microinstruction register 2, the next address information of the microinstruction register 2, and the error correction code will be described. in this case.
第1の抑止信号によってエラーがあるマイクロ命令が実
行されないため、第3の抑止信号を1クロツクサイクル
はやく解除し、エラー訂正後のマイクロ命令を実行し、
動作を再開させる。Since the micro-instruction with the error is not executed by the first inhibit signal, the third inhibit signal is quickly released by one clock cycle, and the micro-instruction after the error is corrected is executed.
Resume operation.
以上説明したように本発明では、マイクロ命令の演算回
路の制御をするフィールドで訂正可能工ラーが検出され
たときには、演算回路に対する動作抑止信号をエラーが
検出されたクロックサイクルで送出し、マイクロ命令の
次アドレス情報とエラー訂正コードを含むフィールドで
訂正可能エラーが検出されたときには、エラーが検出さ
れたクロックサイクルよ勺1クロックサイクル遅れたタ
イミングで演算回路に対する動作抑止信号を送出するよ
うにしたから、動作抑止信号の時間遅れを最小限に抑え
ることができ、従ってマイクロプログラム制御装置のク
ロックサイクルか制限されるのを防止することができる
。As explained above, in the present invention, when a correctable error is detected in a field that controls the arithmetic circuit of a microinstruction, an operation inhibit signal to the arithmetic circuit is sent in the clock cycle in which the error is detected, and When a correctable error is detected in the field containing the next address information and error correction code, an operation inhibit signal is sent to the arithmetic circuit at a timing one clock cycle later than the clock cycle in which the error was detected. , the time delay of the inhibit signal can be minimized, thus preventing the clock cycle of the microprogram controller from being limited.
第1図は本発明の一実施例の構成を示すブロック図、第
2図及び第3図は第1図の動作を説明するためのタイム
チャートである。
1・・・制御メモリ、 2−・・マイクロ命令レジスタ
。
3・・・エラー検出訂正回路、4・・・抑止信号発生回
路。
5・・・抑止信号発生回路、6・・・演算回路、7・・
・分岐アドレスセーブレジスタ、8・・・アドレスセー
ブレジスタ、9・・・+1カウンタ、10・・・インク
リメントアドレスレジスタ、11・・・リターンアドレ
スレジスタ、12・・・リターンアドレススタック、1
3・・・アI’L/ス選択回路、14・・・リターンア
ドレス選択回路、15・・・選択回路、16・・・制御
回路。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIGS. 2 and 3 are time charts for explaining the operation of FIG. 1. 1... Control memory, 2-... Micro instruction register. 3...Error detection and correction circuit, 4...Suppression signal generation circuit. 5... Inhibition signal generation circuit, 6... Arithmetic circuit, 7...
・Branch address save register, 8...Address save register, 9...+1 counter, 10...Increment address register, 11...Return address register, 12...Return address stack, 1
3... AS I'L/AS selection circuit, 14... Return address selection circuit, 15... Selection circuit, 16... Control circuit.
Claims (1)
リから読み出されたデータがセットされるマイクロ命令
レジスタと、該マイクロ命令レジスタの内容によって動
作する演算回路と、前記マイクロ命令レジスタの内容に
よって次に実行するマイクロ命令のアドレスを決定する
制御回路と、前記制御メモリに格納されるマイクロ命令
にエラー訂正コードを附与して格納すると共に前記マイ
クロ命令レジスタにセットされた内容に基づいてエラー
検出及び訂正を行い訂正したマイクロ命令を前記マイク
ロ命令レジスタにセットするエラー検出訂正回路と、該
エラー検出訂正回路で訂正可能なエラーが検出されると
、前記演算回路の動作を抑止する信号を発生する抑止信
号発生手段とを備えるマイクロプログラム制御のデータ
処理装置において、 前記マイクロ命令レジスタにセットされたマイクロ命令
に対応するアドレスをセットするアドレスセーブレジス
タと、前記演算回路から送出される分岐情報をセットす
る分岐アドレスセーブレジスタとを有し、 演算回路に起因する第1の抑止信号の発生と同時にマイ
クロ命令の一部分である次アドレス情報とエラー訂正コ
ードを含むフィールドで訂正可能なエラーが検出される
と、該エラーを検出したクロックサイクルで前記マイク
ロ命令レジスタの更新を抑止する第2の抑止信号を発生
すると同時にエラー訂正シーケンスを実行し、1クロッ
クサイクル遅れて前記演算回路の動作を抑止する第3の
抑止信号を発生し、エラー訂正完了後、第2の抑止信号
を解除した後、前記アドレスセーブレジスタと分岐アド
レスセーブレジスタの内容に基づいてマイクロ命令レジ
スタを更新し、また第2の抑止信号の解除と同じタイミ
ングで第3の抑止信号を解除することによりエラー訂正
後のマイクロ命令を実行し、動作を再開することを特徴
とする制御メモリ誤り訂正制御方式。[Claims] 1. A control memory that stores microinstructions, a microinstruction register in which data read from the control memory is set, an arithmetic circuit that operates according to the contents of the microinstruction register, and a control circuit that determines the address of the next microinstruction to be executed based on the contents of an instruction register; and a control circuit that adds and stores an error correction code to the microinstruction stored in the control memory, and the contents set in the microinstruction register. an error detection and correction circuit that performs error detection and correction based on the error detection and correction circuit and sets the corrected microinstruction in the microinstruction register; and when a correctable error is detected by the error detection and correction circuit, the operation of the arithmetic circuit is inhibited. an address save register that sets an address corresponding to a microinstruction set in the microinstruction register; and an address save register that sets an address corresponding to a microinstruction set in the microinstruction register; It has a branch address save register that sets branch information, and at the same time as the first inhibit signal generated by the arithmetic circuit is generated, a correctable error is detected in a field containing next address information and an error correction code that are part of the microinstruction. When detected, a second inhibit signal is generated to inhibit updating of the microinstruction register in the clock cycle in which the error is detected, and at the same time an error correction sequence is executed, and the operation of the arithmetic circuit is inhibited after a delay of one clock cycle. After the error correction is completed and the second inhibit signal is released, the microinstruction register is updated based on the contents of the address save register and the branch address save register, and the second inhibit signal is generated. A control memory error correction control system characterized in that a third inhibition signal is released at the same timing as the inhibition signal is released, thereby executing a microinstruction after error correction and restarting the operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62047709A JPS63214841A (en) | 1987-03-04 | 1987-03-04 | Control memory error correcting control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62047709A JPS63214841A (en) | 1987-03-04 | 1987-03-04 | Control memory error correcting control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63214841A true JPS63214841A (en) | 1988-09-07 |
Family
ID=12782830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62047709A Pending JPS63214841A (en) | 1987-03-04 | 1987-03-04 | Control memory error correcting control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63214841A (en) |
-
1987
- 1987-03-04 JP JP62047709A patent/JPS63214841A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0654476B2 (en) | Control memory error correction control method | |
JPH011038A (en) | Control memory error correction control method | |
JPS63214841A (en) | Control memory error correcting control system | |
JPS62107338A (en) | Error correction and control system for control memory | |
JP2614934B2 (en) | Micro program controller | |
JP2594695B2 (en) | Control memory error correction mechanism | |
JP2844624B2 (en) | Data processing device | |
JP2621303B2 (en) | Compilation error prevention method | |
JPH0789326B2 (en) | Host computer | |
JPH0531777B2 (en) | ||
JPH02141833A (en) | Information processor | |
JP2944335B2 (en) | Information processing device | |
JPH06149602A (en) | Arithmetic processing unit | |
JPS6161430B2 (en) | ||
JPH0555895B2 (en) | ||
JPH0424731B2 (en) | ||
JPS6049940B2 (en) | Electronic computer | |
JPS62194553A (en) | Logic circuit with trouble information holding function | |
JPS6282439A (en) | False trouble generating system | |
JPH02311947A (en) | Error correction system for coprocessor | |
JPS6011932A (en) | Microprogram controller | |
JPS62269235A (en) | Information processor | |
JPH08227360A (en) | Information processor | |
JPH02211530A (en) | Program correcting system | |
JPH0248766A (en) | Processor interface controlling system |