+

JPS6052451B2 - Microinstruction execution control method - Google Patents

Microinstruction execution control method

Info

Publication number
JPS6052451B2
JPS6052451B2 JP53116563A JP11656378A JPS6052451B2 JP S6052451 B2 JPS6052451 B2 JP S6052451B2 JP 53116563 A JP53116563 A JP 53116563A JP 11656378 A JP11656378 A JP 11656378A JP S6052451 B2 JPS6052451 B2 JP S6052451B2
Authority
JP
Japan
Prior art keywords
microinstruction
error
error detection
read
detection circuit
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
Application number
JP53116563A
Other languages
Japanese (ja)
Other versions
JPS5543658A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP53116563A priority Critical patent/JPS6052451B2/en
Publication of JPS5543658A publication Critical patent/JPS5543658A/en
Publication of JPS6052451B2 publication Critical patent/JPS6052451B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 本発明は、マイクロプログラム制御装置において、制御
メモリ(CS)から読出されたマイクロ命令にエラーが
存在しても支障のないようにしたものに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprogram control device in which there is no problem even if there is an error in a microinstruction read from a control memory (CS).

従来、メモリ装置の誤り検出訂正回路(ECC回路)は
、主記憶装置(MS)には比較的一般に装備されていた
が、CSに関してはECC回路を介すると性能が著しく
低下するため、装備されることは稀であつた。
Conventionally, error detection and correction circuits (ECC circuits) in memory devices have been relatively commonly installed in main storage devices (MSs), but CSs are not equipped with ECC circuits because the performance deteriorates significantly when the ECC circuits are used. That was rare.

このためCSにおける1ビットエラーは、エラー回復処
理に大巾なオーバヘッドを生じるか、あるいはシステム
ダウンの原因となつていた。そこで本発明は、CSから
読出したマイクロ命令にエラーが有るかどうかのみを高
速に実行しエラーが有る時のみECC回路によりエラー
訂正した内容を使用してマイクロ命令を実行するように
したものである。
Therefore, a 1-bit error in the CS causes a large overhead in error recovery processing or causes a system down. Therefore, the present invention is designed to quickly execute only whether there is an error in the microinstruction read from the CS, and only when there is an error, to execute the microinstruction using the error-corrected contents by the ECC circuit. .

これにより、大部分のエラーの無いマイクロ命令を従来
通りの処理速度て実行可能とし、かつエラーの有る場合
はエラー訂正可能とすることができる。本発明では、例
えばマイクロ命令にパリテイビットとハミングコードの
両方を付加し、読出したマイクロ命令にエラーが有るか
どうかの判定は、パリテイチェックにより高速に実行し
、エラーが有る場合のエラー訂正はハミングコードを使
用する。
As a result, most error-free microinstructions can be executed at the same processing speed as before, and if an error occurs, it can be corrected. In the present invention, for example, both a parity bit and a Hamming code are added to a microinstruction, a parity check is performed to quickly determine whether or not a read microinstruction has an error, and error correction is performed if an error is found. uses Hamming chords.

以下本発明の一実施例について説明する。An embodiment of the present invention will be described below.

第1図に本発明の一実施例のブロック図を、第2図にC
Sに格納されている各々のマイクロ命令”の形式をそれ
ぞれ示す。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
The format of each microinstruction stored in S is shown.

第1図を使用し本発明の概略的な動作を説明すると、ま
ず制御メモリアドレスレジスタ(CSAR)2に次に実
行したいマイクロ命令の格納アドレスをセットすると、
CSIよりCSAR2で示されるアドレスのマイクロ命
令が読出される。
To explain the general operation of the present invention using FIG. 1, first, when the storage address of the microinstruction to be executed next is set in the control memory address register (CSAR) 2,
The microinstruction at the address indicated by CSAR2 is read from the CSI.

読出されたマイクロ命令は、第2図に示す如くマイクロ
命令語部分と、マイクロ命令語に対するパリテイビット
と、マイクロ命令語に対するハミングコードより成る。
ハミングコードとは2ビツトエラ一検出可能、1ビツト
エラ一訂正可能なチエツクコードである。CSlより読
出されたマイクロ命令は、まずパリテイエラー検出回路
(PCC)3に入力されパリテイが検査される。
The read microinstruction consists of a microinstruction word part, a parity bit for the microinstruction word, and a Hamming code for the microinstruction word, as shown in FIG.
A Hamming code is a check code that can detect a 2-bit error and correct a 1-bit error. The microinstruction read out from CS1 is first input to a parity error detection circuit (PCC) 3 and its parity is checked.

PCC3においてパリテイエラーが検出されないと、直
ちに読出されたマイクロ命令をそのまま制御メモリデー
タレジスタ(CSDR)5にセツトすると共に、マイク
ロ命令実行制御部(EC)6にマイクロ命令実行指示信
号(EXECUTE)を送出する。EC6はEXECU
TE信号を受けると、直ちにCSDR5にセツトされた
マイクロ命令を実行する。実行終了後EC6は次に実行
すべきマイクロ命令のアドレスをCSAR2にセツトす
る。次にPCC3において読出されたマイクロ命令にパ
リテイエラーを検出した場合は、ECC4においてマイ
クロ命令に付加されているハミングコードにより、エラ
ー訂正を行つた後に、ECC4の出力をCSDR5にセ
ツトすると共にEXECUTE信号をEC6に送出する
If a parity error is not detected in the PCC 3, the read microinstruction is immediately set in the control memory data register (CSDR) 5, and a microinstruction execution instruction signal (EXECUTE) is sent to the microinstruction execution control section (EC) 6. Send. EC6 is EXECU
Upon receiving the TE signal, it immediately executes the microinstruction set in CSDR5. After completion of execution, EC6 sets the address of the next microinstruction to be executed in CSAR2. Next, when a parity error is detected in the microinstruction read by the PCC3, the error is corrected by the Hamming code added to the microinstruction in the ECC4, and then the output of the ECC4 is set to CSDR5 and the EXECUTE signal is is sent to EC6.

以下の動作はパリテイエラーが無かつた場合と同様であ
る。次にPCC3の周辺のより詳細に論理動作を説明す
る。
The following operation is the same as when there is no parity error. Next, the logic operation around the PCC 3 will be explained in more detail.

第3図にPCC3の周辺の論理図を、第4図にマイクロ
命令実行制御に必要なTO〜T7までの8相の基本タイ
ミングパルスのタイムチヤートを、第5図にPCC3に
おいてパリテイエラーが検出されなかつた時の第3図の
動作タイムチヤートを、第6図にPCC3においてパリ
テイエラーが検出された時の第3図の動作タイムチヤー
トをそれぞれ示す。(1)パリテイエラーが無い場合(
第5図)TOのタイミングでCSAR2に実行すべきマ
イクロ命令アドレスがセツトされると、一定時間後のT
1のタイミングでCSlから読出されたCSDATAが
第3図のPCC3内のパリティチェツカ(PC)401
に入力され、一定時間後にパリテイエラーが無いという
出力(PC4OlのOの値)が“1゛となる。
Figure 3 shows a logic diagram around the PCC3, Figure 4 shows a time chart of the eight-phase basic timing pulses from TO to T7 required for microinstruction execution control, and Figure 5 shows a parity error detected in the PCC3. The operation time chart of FIG. 3 when the parity error is not detected is shown in FIG. 3, and the operation time chart of FIG. 3 when the parity error is detected in the PCC 3 is shown in FIG. 6. (1) When there is no parity error (
Figure 5) When the microinstruction address to be executed is set in CSAR2 at the timing of TO, the T
CSDATA read from CS1 at timing 1 is sent to parity checker (PC) 401 in PCC3 in FIG.
After a certain period of time, the output indicating that there is no parity error (the value of O of PC4O1) becomes "1".

これによりT2のタイミングで制御フリツプフロツプ(
FF)404がセツトされ、タイミングT3でANDゲ
ート(,AND)407の出力が゜゜1゛となる。AN
D4O7の出力によりANDゲート408によりCSD
ATAがそのまま0Rゲート(CR)412を介してC
SDR5にセツトされると共に、0Rゲート(0R)4
11によりEXECUTE信号がEC6に送出される。
EC6ではこれにより制御フリツプフロツプ(FF)4
05がセツトされマイクロ命令を実行し、次のマシンサ
イクルTOのタイミングでANDゲート410により、
CSAR2に次に実行すべきマイクロ命令アドレスのセ
ツト信号SETCSARが送出される。{11)パリテ
イエラーが有る場合(第6図)パリテイエラーが無い場
合と同様の手順でCSDATAがPC4Olに入力され
ると、今度は一定時間後にPC4OlのQの値が゜“1
゛となる。これによりT2のタイミングで制御フリツプ
フロツプ402がセツトされ、更にT6で制御フリツプ
フロツプ(FF)403がセツトされる。FF4O3が
セツトされると、ECC4の出力が確定した後のT3、
すなわち次のマシンサイクルのT3でANDゲート40
6のANDがとれ、ANDゲート409、0R412を
介してECC4の出力がCSDR5にセツトされると共
に、0R411よりEC6にEXECUT′E信号が出
る。以後の動作はパリテイエラーが無かつた場合と同様
である。以上、本発明の一実施例について説明したが本
発明によれば、大部分の無いマイクロ命令は従来通りの
処理速度で実行可能となり、しかもエラーの有るマイク
ロ命令はエラーを訂正したうえで実行可能となり、非常
に効率のよいマイクロプログラム制御装置を得ることが
できる。
As a result, the control flip-flop (
FF) 404 is set, and at timing T3, the output of the AND gate (,AND) 407 becomes ゜゜1゛. AN
CSD by AND gate 408 by the output of D4O7
ATA is directly connected to C via 0R gate (CR) 412.
It is set to SDR5 and 0R gate (0R)4
11 sends an EXECUTE signal to EC6.
In EC6, this controls flip-flop (FF) 4.
05 is set to execute the microinstruction, and at the timing of the next machine cycle TO, the AND gate 410
A set signal SETCSAR of the microinstruction address to be executed next is sent to CSAR2. {11) When there is a parity error (Figure 6) When CSDATA is input to PC4Ol using the same procedure as when there is no parity error, the value of Q of PC4Ol becomes ゜“1” after a certain period of time.
It becomes ゛. As a result, the control flip-flop 402 is set at timing T2, and the control flip-flop (FF) 403 is further set at timing T6. When FF4O3 is set, T3 after the ECC4 output is determined,
That is, at T3 of the next machine cycle, AND gate 40
6 is taken, and the output of ECC4 is set to CSDR5 via AND gate 409 and 0R412, and an EXECUT'E signal is output from 0R411 to EC6. The subsequent operation is the same as in the case where there is no parity error. As described above, one embodiment of the present invention has been described.According to the present invention, micro-instructions without most of them can be executed at the same processing speed as before, and micro-instructions with errors can be executed after correcting the errors. Therefore, a very efficient microprogram control device can be obtained.

図面の簡単な説明第1図は本発明の一実施例のプロツク
図、第2図は第1図のCSに格納されているマイクロ命
令の形式を示す図、第3図は第1図のPCCの周辺の論
理図、第4〜6図は第3図の動作を説明するためのタイ
ムチヤートである。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is a diagram showing the format of microinstructions stored in the CS of FIG. 1, and FIG. 3 is a diagram of the PCC of FIG. 1. The peripheral logic diagrams and FIGS. 4 to 6 are time charts for explaining the operation of FIG. 3.

第1図において、1・・・・・・制御メモリ(CS)、
2・・・・制御メモリアドレスレジスタ(CSAR)、
3・・・・パリテイエラー検出回路(PCC)、4・・
・・・・誤り訂正回路(ECC)、5・・・・・制御メ
モリデータレジスタ(CSDR)、6・・・・・マイク
ロ命令実行制御部(EC)。
In FIG. 1, 1... control memory (CS),
2...Control memory address register (CSAR),
3... Parity error detection circuit (PCC), 4...
... Error correction circuit (ECC), 5 ... Control memory data register (CSDR), 6 ... Micro instruction execution control unit (EC).

Claims (1)

【特許請求の範囲】[Claims] 1 複数のマイクロ命令を格納する制御メモリと、当該
制御メモリより読出したマイクロ命令を実行する制御論
理と、読出したマイクロ命令の誤りを検出する誤り検出
回路と、読出したマイクロ命令の誤りとその訂正を行な
う誤り検出訂正回路であつて前記誤り検出回路とは独立
でかつ前記誤り検出回路より速度の遅いものとを有し、
前記制御メモリより読出したマイクロ命令を前記誤り検
出回路と前記誤り検出訂正回路の両方に同時に与え、前
記誤り検出回路で誤りが検出されない場合には前記制御
メモリから読出したマイクロ命令を前記制御論理に与え
、前記誤り検出回路で誤りが検出された場合には前記誤
り検出訂正回路からの訂正済のマイクロ命令を前記制御
論理に与えるようにしたことを特徴とするマイクロ命令
実行制御方式。
1. A control memory that stores a plurality of microinstructions, a control logic that executes microinstructions read from the control memory, an error detection circuit that detects errors in the read microinstructions, and errors in the read microinstructions and their correction. an error detection and correction circuit that is independent of the error detection circuit and whose speed is slower than the error detection circuit;
A microinstruction read from the control memory is simultaneously applied to both the error detection circuit and the error detection and correction circuit, and if no error is detected by the error detection circuit, the microinstruction read from the control memory is applied to the control logic. A micro-instruction execution control method, characterized in that when an error is detected by the error detection circuit, a corrected micro-instruction from the error detection and correction circuit is provided to the control logic.
JP53116563A 1978-09-25 1978-09-25 Microinstruction execution control method Expired JPS6052451B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53116563A JPS6052451B2 (en) 1978-09-25 1978-09-25 Microinstruction execution control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53116563A JPS6052451B2 (en) 1978-09-25 1978-09-25 Microinstruction execution control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP60046515A Division JPS6158041A (en) 1985-03-11 1985-03-11 Microinstruction execution control method

Publications (2)

Publication Number Publication Date
JPS5543658A JPS5543658A (en) 1980-03-27
JPS6052451B2 true JPS6052451B2 (en) 1985-11-19

Family

ID=14690196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53116563A Expired JPS6052451B2 (en) 1978-09-25 1978-09-25 Microinstruction execution control method

Country Status (1)

Country Link
JP (1) JPS6052451B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6158041A (en) * 1985-03-11 1986-03-25 Hitachi Ltd Microinstruction execution control method
FR2793902B1 (en) * 1999-05-17 2001-08-10 Cit Alcatel DEVICE FOR DETECTING AN ERROR IN A MEMORY ASSOCIATED WITH A PROCESSOR

Also Published As

Publication number Publication date
JPS5543658A (en) 1980-03-27

Similar Documents

Publication Publication Date Title
US4701915A (en) Error recovery system in a data processor having a control storage
US4566103A (en) Method for recovering from error in a microprogram-controlled unit
JPS6052451B2 (en) Microinstruction execution control method
JPS6158041A (en) Microinstruction execution control method
EP0655686B1 (en) Retry control method and device for control processor
JPH04255032A (en) Error correcting system for control storage
SU1072050A1 (en) Device for checking error detection/corrrection blocks,operated with hamming code
JPS6261974B2 (en)
JPH02207355A (en) Memory readout system
JPS63142449A (en) Patrol check method for control memory
JPH0135369B2 (en)
SU615478A1 (en) Microcommand sampling arrangement
CN119402310A (en) Data transmission method, device, controller and data transmission system
JPS58166454A (en) data processing equipment
JPS62130444A (en) Memory access controller
JPH01320558A (en) Microprogram controller
JPS60238933A (en) Control storage error handling method
JPH0354636A (en) Error correction system
JPH04138532A (en) Runaway detecting circuit
JPH08166891A (en) Fault tolerant computer system
JPH02189637A (en) Microprogram control device
JPS6012656B2 (en) Retry control method
JPH0797324B2 (en) Microprogram error correction circuit
JPH03168839A (en) Control memory one-bit error correcting system
JPS623471A (en) Magnetic disk control device
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载