JPH02189637A - Microprogram control device - Google Patents

Microprogram control device

Info

Publication number
JPH02189637A
JPH02189637A JP1055889A JP1055889A JPH02189637A JP H02189637 A JPH02189637 A JP H02189637A JP 1055889 A JP1055889 A JP 1055889A JP 1055889 A JP1055889 A JP 1055889A JP H02189637 A JPH02189637 A JP H02189637A
Authority
JP
Japan
Prior art keywords
data
control
error
storage
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.)
Pending
Application number
JP1055889A
Other languages
Japanese (ja)
Inventor
Katsu Ueda
植田 克
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 JP1055889A priority Critical patent/JPH02189637A/en
Publication of JPH02189637A publication Critical patent/JPH02189637A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To continue operation without requiring restart processing by reading out a microinstruction in a main storage by hardware control at the time of generating an uncorrectable error in data read out from a control storage, rewriting the data in the control storage, and executing the instruction. CONSTITUTION:The control device is provided with the control storage 10 for storing a microprogram, an error detecting circuit 11 for detecting the error of data read out from the control storage 10 and a sequence counter 12 for actuating at the time of detecting the error by the circuit 11 and for successively sending a main storage reading instruction signal to a main storage access device, a main storage data storing instruction signal to the control storage and a control storage reading main storage data setting instruction signal. When there is no error in the data read out from the control storage 10, the data are executed as a microinstruction, and when an error is detected in the read data, a microinstruction is read out from a main storage area corresponding to the control storage 10 and rewritten in the control storage 10 and the execution of the microinstruction are executed. Consequently, the restart of the microprogram control device can be omitted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプログラム制御装置に関し、特に制
御記憶からの読出しデータの誤り検出時のデータ訂正を
行うマイクロプログラム制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram control device, and more particularly to a microprogram control device that performs data correction when an error is detected in data read from a control memory.

〔従来の技術〕[Conventional technology]

従来のマイクロプログラム制御装置においては、制御記
憶にエラー訂正コードを格納し、1ビツト等の訂正エラ
ーの場合は、エラー訂正を行っているが、2とットエラ
ー等のエラー訂正コードでは訂正不可能なエラーが発生
した場合は、マイクロプログラムの続行が出来なくなる
ため、サービスプロセッサへのエラー報告と同時に動作
を停止していた。
In conventional microprogram control devices, error correction codes are stored in the control memory, and errors such as 1-bit errors are corrected, but errors that cannot be corrected with error correction codes such as 2-bit errors are corrected. When an error occurs, the microprogram cannot continue, so it stops operating as soon as the error is reported to the service processor.

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

上述の従来のマイクロプログラム制御装置では、制御記
憶読出しデータに、エラー訂正コードで訂正不可能な誤
りが発生した場合は、マイクロプログラム制御装置の動
作の停止という場合になるため、マイクロプログラム制
御装置の再立ち上げが必要になるという欠点がある。
In the conventional microprogram control device described above, if an error that cannot be corrected by the error correction code occurs in the control memory read data, the operation of the microprogram control device will stop. The disadvantage is that it requires restarting.

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

本発明のマイクロプログラム制御装置は、マイクロプロ
グラムを格納する制御記憶と、前記制御記憶からの続出
データの誤り検出を行う誤り検出回路と、前記誤り検出
回路が誤りを検出すると起動し、主記憶アクセス装置へ
の主記憶読出し指示信号及び制御記憶への主記憶データ
格納指示信号及び制御記憶読み出レジスタへの主記憶デ
ータセット指示信号を順次送出するシーケンカウンタと
を有している。
The microprogram control device of the present invention includes a control memory for storing a microprogram, an error detection circuit for detecting errors in successive data from the control memory, and an error detection circuit activated when the error detection circuit detects an error to access main memory. It has a sequence counter that sequentially sends out a main memory read instruction signal to the device, a main memory data storage instruction signal to the control memory, and a main memory data set instruction signal to the control memory read register.

〔実施例〕〔Example〕

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

第1図は、本発明の一実施例のブロック図である。第1
図において、本発明の一実施例はマイクロプログラムを
格納する制御記憶10と、制御記憶10からの読出しデ
ータの誤り検出を行う誤り検出回路11と、誤り検出回
路11が誤りを検出すると、起動し主記憶アクセス装置
(図示せず)への主記憶読出し指示信号及び制御記憶へ
の主記憶データ格納指示信号及び制御記憶読み出し主記
憶データセット指示信号を順次送出するシーケンスカウ
ンタ12とを含む。
FIG. 1 is a block diagram of one embodiment of the present invention. 1st
In the figure, one embodiment of the present invention includes a control memory 10 that stores a microprogram, an error detection circuit 11 that detects errors in data read from the control memory 10, and an error detection circuit 11 that starts when the error detection circuit 11 detects an error. It includes a sequence counter 12 that sequentially sends out a main memory read instruction signal to a main memory access device (not shown), a main memory data storage instruction signal to the control memory, and a control memory read main memory data set instruction signal.

制御記憶10は、アドレスレジスタからのアドレス信号
によりアクセスされ、読出しデータを誤り検出回路11
とデータ選択回路14に出力し、ライトネーブル信号W
Eが入力されると主記憶読出しデータが格納される。誤
り検出回路11は、読出しデータに誤りがある場合は、
誤り検出信号をマイクロ命令実行部(図しせず)とシー
ケンスカウンタ12に出力する。マイクロ命令実行部は
、誤り検出信号が入力されると次の命令の実行を抑制す
る。シーケンスカウンタ12は、誤り検出信号が入力さ
れるとビットSo、S1 S2、s、+ S、を順次セ
ットする。シーケンスカウンタ12のビットSoの出力
は、主記憶アクセス(図示せず)への主記憶読出し要求
信号として接続する。また制御記憶アドレスは、主記憶
読出しアドレスの一部として主記憶アクセス装置へ接続
する。主記憶アクセス装置は、シーケンスカウンタ12
のS。ビットの要求信号により、制御記憶アドレスに対
応した主記憶アドレスより、あらかじめ用意された制御
記憶内データと同一のマイクロ命令を読み出す、主記憶
読み出しデータは、シーケンスカウンタ12のS3ビ・
′ントがセットされるタイミングと同じタイミングでデ
ータ選択回路14 に入力される。同じタイミングで制
御記憶10にも入力され、83ビツトからのWE信号に
より、制御記憶10へのマイクロ命令の再書込みげ行わ
れる。データ選択回路14は、シーケンスカウンタ12
の83ビツト出力により、主記憶読出しデータを選択し
マイクロ命令レジスタ13に出力する。マイクロ命令レ
ジスタ15は、シーケンスカウンタ12の84ビツト出
力により、入データをセットする。マイクロ命令レジス
タ13の出力は、マイクロ命令実行部へ接続され、命令
が実行される。
The control memory 10 is accessed by an address signal from an address register, and the read data is sent to an error detection circuit 11.
is output to the data selection circuit 14, and a write enable signal W is output to the data selection circuit 14.
When E is input, main memory read data is stored. If there is an error in the read data, the error detection circuit 11
An error detection signal is output to a microinstruction execution unit (not shown) and a sequence counter 12. The microinstruction execution unit suppresses execution of the next instruction when the error detection signal is input. The sequence counter 12 sequentially sets bits So, S1, S2, s, and +S when the error detection signal is input. The output of bit So of the sequence counter 12 is connected as a main memory read request signal to a main memory access (not shown). The control memory address is also connected to the main memory access device as part of the main memory read address. The main memory access device is a sequence counter 12
S. Based on the bit request signal, a microinstruction identical to the data in the control memory prepared in advance is read from the main memory address corresponding to the control memory address.The main memory read data is sent to the S3 bit of the sequence counter 12.
'' is input to the data selection circuit 14 at the same timing as the point is set. The microinstruction is also input to the control memory 10 at the same timing, and the microinstruction is rewritten to the control memory 10 by the WE signal from 83 bits. The data selection circuit 14 includes a sequence counter 12
The main memory read data is selected and output to the microinstruction register 13 based on the 83-bit output. The microinstruction register 15 sets input data according to the 84-bit output of the sequence counter 12. The output of the micro-instruction register 13 is connected to a micro-instruction execution section, and the instructions are executed.

以上のような構成により、制御記憶10からの読出しデ
ータに誤りがない場合は、そのデータがマイクロ命令と
して実行され、読出しデータに誤りが検出された場合は
、制御記憶に対応した主記憶上のエリアからマイクロ命
令が読み出され制御記憶への再書込みとマイクロ命令の
実行がなされる。
With the above configuration, if there is no error in the read data from the control memory 10, the data is executed as a microinstruction, and if an error is detected in the read data, the data is executed in the main memory corresponding to the control memory. A microinstruction is read from the area, rewritten to the control memory, and executed.

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

以上説明したように、本発明は、制御記憶読出しデータ
に訂正不可能な誤りが発生した場合に、バードウェア制
御により主記憶上のマイクロ命令を読出して制御記憶へ
の再書込みと、命令の実行をすることにより、マイクロ
プログラム制御装置の再立ち上げ処理を必要としないで
動作を続行できる効果がある。
As explained above, the present invention enables, when an uncorrectable error occurs in control memory read data, to read a microinstruction from the main memory under hardware control, rewrite it to the control memory, and execute the instruction. By doing so, there is an effect that operation can be continued without requiring restart processing of the microprogram control device.

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

第1図は本発明の一実施例をす示すブロック図である。 10・・・・・・制御記憶、11・・・・・・誤り検出
回路、12・・・・・・シーケンスカウンタ、13・・
・・・・マイクロ命令レジスタ、14・・・・・・デー
タ選択回路。
FIG. 1 is a block diagram showing one embodiment of the present invention. 10... Control memory, 11... Error detection circuit, 12... Sequence counter, 13...
...Microinstruction register, 14...Data selection circuit.

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムを格納する制御記憶と、前記制御記
憶からの読出データの誤り検出を行う誤り検出回路と、
前記誤り検出回路が誤りを検出すると起動し、主記憶ア
クセス装置への主記憶読出し指示信号及び制御記憶への
主記憶データ格納指示信号及び制御記憶読み出レジスタ
への主記憶データセット指示信号を順次送出するシーケ
ンカウンタとを有し、制御記憶からの読出しデータが検
出された場合は、主記憶に用意されたマイクロプログラ
ムを取出し、制御記憶への再書込みと、命令の実行をす
ることを特徴とするマイクロプログラム制御装置。
a control memory that stores a microprogram; an error detection circuit that detects errors in data read from the control memory;
When the error detection circuit detects an error, it is activated and sequentially sends a main memory read instruction signal to the main memory access device, a main memory data storage instruction signal to the control memory, and a main memory data set instruction signal to the control memory read register. It has a sequence counter that sends out data, and when read data from the control memory is detected, it retrieves the microprogram prepared in the main memory, rewrites it to the control memory, and executes the instruction. microprogram controller.
JP1055889A 1989-01-18 1989-01-18 Microprogram control device Pending JPH02189637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1055889A JPH02189637A (en) 1989-01-18 1989-01-18 Microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1055889A JPH02189637A (en) 1989-01-18 1989-01-18 Microprogram control device

Publications (1)

Publication Number Publication Date
JPH02189637A true JPH02189637A (en) 1990-07-25

Family

ID=11753581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1055889A Pending JPH02189637A (en) 1989-01-18 1989-01-18 Microprogram control device

Country Status (1)

Country Link
JP (1) JPH02189637A (en)

Similar Documents

Publication Publication Date Title
JPH1031595A (en) Simulator and its simulating method
JPH011038A (en) Control memory error correction control method
JPH0652065A (en) Memory control circuit
JPH02114336A (en) Microprogram control device
JP3123855B2 (en) Patrol control circuit of memory device
JPS6158051A (en) False trouble generating system
JPH06149685A (en) Memory error recovering circuit
JPH038029A (en) Microprogram controller
JPS6270947A (en) Control system for debug interruption
JPH01136251A (en) Self-diagnosing system
JP2665039B2 (en) Micro program controller
JPS6052451B2 (en) Microinstruction execution control method
JP2844624B2 (en) Data processing device
JPH0317761A (en) Main storage
JPH02141833A (en) Information processor
JPS63142449A (en) Patrol check system for control memory
JPH0464096B2 (en)
JPH0229839A (en) Microprogram control device
JPS58215798A (en) Microprogram controller
JPS63231642A (en) Status log storage device
JPS63101947A (en) Error processing system
JPH02242443A (en) Debugging mechanism for information processor
JPH0944411A (en) Storage device adopting patrol system
JPH04218849A (en) Storage device
JPH03168839A (en) Control memory one-bit error correcting system