[go: up one dir, main page]

JPH0529934B2 - - Google Patents

Info

Publication number
JPH0529934B2
JPH0529934B2 JP58138286A JP13828683A JPH0529934B2 JP H0529934 B2 JPH0529934 B2 JP H0529934B2 JP 58138286 A JP58138286 A JP 58138286A JP 13828683 A JP13828683 A JP 13828683A JP H0529934 B2 JPH0529934 B2 JP H0529934B2
Authority
JP
Japan
Prior art keywords
control
error
control word
storage section
read
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 - Lifetime
Application number
JP58138286A
Other languages
Japanese (ja)
Other versions
JPS6029843A (en
Inventor
Shigemi Uemoto
Koichi 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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58138286A priority Critical patent/JPS6029843A/en
Publication of JPS6029843A publication Critical patent/JPS6029843A/en
Publication of JPH0529934B2 publication Critical patent/JPH0529934B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/27Built-in tests

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Correction Of Errors (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 マイクロプログラム制御のデータ処理装置にお
ける制御語の診断方式に関す。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to a method for diagnosing control words in a microprogram-controlled data processing device.

(b) 技術の背景 マイクロプログラム制御のデータ処理装置にお
いて、制御語に関して誤り訂正符号論理機構を有
する場合、上記誤り訂正符号論理機構で修正した
制御語を使用するのが一般的であるが、マイクロ
命令自身で次のマイクロアドレスを決めているよ
うなケースでは、誤り訂正に必要な論理遅延によ
り、制御記憶部に関連する演算サイクルを高速化
できない問題があつた。
(b) Technical background When a microprogram-controlled data processing device has an error correction code logic mechanism for control words, it is common to use a control word modified by the error correction code logic mechanism described above. In cases where the next microaddress is determined by the instruction itself, there is a problem in that the arithmetic cycle associated with the control storage cannot be sped up due to the logic delay required for error correction.

その一つの解決策として、予防保全の意味か
ら、一定時間間隔で保守命令を実行し、誤りが有
ると、その時点で該制御語を修正しておくことに
より、実際の命令実行中に誤りが検出される確率
を低下できることから、その具体化が望まれてい
た。
One solution to this problem is to execute maintenance commands at regular intervals from a preventive maintenance perspective, and if an error occurs, correct the control word at that point, so that the error can be avoided during the actual execution of the command. Since it can reduce the probability of detection, its implementation has been desired.

(c) 従来技術と問題点 誤り訂正符号論理(以下ECCという)により
修正された制御語を制御記憶部に書き込んでいる
データ処理装置においては、通常ECCにより制
御語のチエツクは行つているが、演算部に対して
はECCにより修正されていない制御語を使用し
ており、1ビツトエラーが発生した場合、その命
令を中断して該エラーの発生した制御語を書き直
した後、再度該命令をリトライする方法を採つて
いた。然し、この方法では、総ての命令でリトラ
イできるとは限らない為、システムに重大な影響
を及ぼす問題があつた。
(c) Prior art and problems In a data processing device that writes a control word corrected by error correction code logic (hereinafter referred to as ECC) into a control storage unit, the control word is normally checked by ECC. A control word that has not been corrected by ECC is used for the arithmetic unit, and if a 1-bit error occurs, the instruction is interrupted, the control word where the error occurred is rewritten, and the instruction is retried again. I had adopted a method of doing so. However, with this method, not all commands can be retried, which poses a problem that seriously affects the system.

(d) 発明の目的 本発明は上記従来の欠点に鑑み、予防保全の意
味で、例えば、一定時間毎に制御記憶部から制御
語を読み出し、誤りが有れば修正して書き直して
おき、実際の命令の実行中に発生する誤りを減少
させる方式を提供することを目的とするものであ
る。
(d) Purpose of the Invention In view of the above-mentioned drawbacks of the conventional art, the present invention has been proposed in the sense of preventive maintenance, for example, by reading out the control words from the control storage section at regular intervals, correcting and rewriting any errors that occur, and The purpose of this invention is to provide a method for reducing errors that occur during the execution of instructions.

(e) 発明の構成 マイクロプログラムを格納する制御記憶部と、
該制御記憶部をアドレスするアドレスレジスタ
と、該制御記憶部から読み出された制御語を保持
するデータレジスタと、該データレジスタの内容
を入力し誤りを検出、訂正する誤り訂正符号論理
機構を有し、通常は、該制御記憶部から読み出し
た制御語を、上記誤り訂正符号論理機構を介する
ことなく使用してデータ処理を行うと共に、誤り
訂正符号論理機構により誤り検出、訂正処理を並
行して行い、誤りが検出された時、訂正した制御
語を前記制御記憶部に書き込み訂正すると共に、
前記訂正された制御語によつてリトライするマイ
クロプログラム制御装置に於いて、少なくとも、
一定数加算又は減算できるカウンタと、該カウン
タの出力を上記アドレスレジスタへ転送するため
の接続手段と、特定の制御語が該制御記憶部から
上記データレジスタに読みだされたことを検出す
る手段を設け、一定周期で発生される特定の命令
によつて、該制御記憶部をアクセスして、該特定
の制御語を読み出し、該特定の制御語が読みださ
れたことを検出した時、該プログラム制御装置を
診断状態とした上で、上記カウンタを加算又は減
算した値で示されるアドレスの制御語を読み出し
て、その読み出した制御語に誤りが検出された時
には、該誤りを上記誤り訂正論理機構で訂正し
て、上記制御記憶部に再書き込みを行うように制
御することによつて達成され、例えば、一定時間
間隔毎に、特定の制御語を読み出し、チエツクを
行つて誤りが発生すると、その時点で修正してお
くことができるので、実際の命令の実行中に発生
するエラーを減少させることができる効果があ
る。
(e) Configuration of the invention A control storage unit storing a microprogram;
It has an address register that addresses the control storage section, a data register that holds the control word read from the control storage section, and an error correction code logic mechanism that inputs the contents of the data register and detects and corrects errors. However, normally, data processing is performed using the control word read from the control storage unit without going through the error correction code logic mechanism, and error detection and correction processing is performed in parallel by the error correction code logic mechanism. and when an error is detected, writing the corrected control word into the control storage unit and correcting it,
In the microprogram control device that retries using the corrected control word, at least:
A counter capable of adding or subtracting a fixed number; connecting means for transferring the output of the counter to the address register; and means for detecting that a specific control word has been read from the control storage section to the data register. The control memory section is accessed and the specific control word is read out by a specific command generated at a constant cycle, and when it is detected that the specific control word has been read out, the program After putting the control device into a diagnostic state, the control word at the address indicated by the value added or subtracted from the counter is read out, and when an error is detected in the read control word, the error is corrected by the error correction logic mechanism. For example, if a specific control word is read and checked at regular time intervals and an error occurs, the Since it can be corrected at any point in time, it has the effect of reducing errors that occur during actual instruction execution.

(f) 発明の実施例 以下本発明の実施例を図面によつて詳述する。
図は本発明の一実施例をブロツク図で示した図で
ある。
(f) Examples of the invention Examples of the invention will be described in detail below with reference to the drawings.
The figure is a block diagram showing one embodiment of the present invention.

図面において、1はランダムアクセスメモリで
構成されている制御メモリ(CS)、2はアドレス
レジスタ(AR)、3は読み出しレジスタ(RR)、
31は特定の制御語であることを指定するフラグ
ビツト、4は書き込みレジスタ(WR)、5は誤
り訂正符号による誤り訂正符号論理機構
(ECC)、6はマイクロ演算サイクルでカウント
アツプし、特定の手段で初期値のセツト、或いは
出力の閉塞ができるカウンタ(CONT)、7は制
御回路である。
In the drawing, 1 is a control memory (CS) consisting of random access memory, 2 is an address register (AR), 3 is a read register (RR),
31 is a flag bit that specifies a specific control word, 4 is a write register (WR), 5 is an error correction code logic mechanism (ECC) using an error correction code, and 6 is counted up in a micro operation cycle and specified by a specific means. 7 is a control circuit for a counter (CONT) whose initial value can be set or whose output can be blocked.

先ず、例えば、一定時間間隔(例えば、インタ
ーバルタイマーの時間間隔)ごとに特別な診断命
令が発生され、その命令の操作部がアドレスレジ
スタ(AR)2にセツトされ、制御メモリ(CS)
1がアクセスされて、特定の制御語が読み出しレ
ジスタ(RR)3に読み出され、特定の制御語で
あることを示すフラグ31が検出されると、制御
回路7に診断の起動がかけられる。この時、制御
回路7が停止中であるとこの起動を受け付け、診
断動作を開始するが、既に動作中であると、該起
動は無効化されるように動作する。
First, for example, a special diagnostic command is generated at regular time intervals (for example, the time interval of an interval timer), and the operating part of the command is set in the address register (AR) 2 and stored in the control memory (CS).
1 is accessed, a specific control word is read into the read register (RR) 3, and when a flag 31 indicating the specific control word is detected, the control circuit 7 is activated for diagnosis. At this time, if the control circuit 7 is stopped, it accepts this activation and starts the diagnostic operation, but if it is already in operation, the activation is invalidated.

制御回路7において、上記起動が受け付けられ
ると、制御回路7はデータ処理装置の状態を診断
状態として、マイクロプログラムによつて発生さ
せる他の装置(又はユニツト)に対するインタフ
エース信号は無効化する。
When the control circuit 7 accepts the start-up, the control circuit 7 sets the state of the data processing device to a diagnostic state and invalidates the interface signal generated by the microprogram to other devices (or units).

そして、制御回路7はカウンタ(CONT)6
を+1して、その値をアドレスレジスタ(AR)
2に転送し、制御メモリ(CS)1をアクセスし
て、読み出しレジスタ(RR)3に読み出された
制御語を誤り訂正符号論理機構(ECC)5にお
いてチエツクする。
The control circuit 7 is a counter (CONT) 6.
+1 and save that value to the address register (AR).
2, the control memory (CS) 1 is accessed, and the control word read out to the read register (RR) 3 is checked in the error correction code logic (ECC) 5.

この時、エラーが無ければ、制御回路7はアド
レスレジスタ(AR)2に全“0”をセツトし
て、0番地の制御語(無操作命令)を読み出し、
データ処理装置を待ち状態としてから、該診断状
態を解除し、診断終了信号を命令制御ユニツト
(図示せず)に送出し、次の命令を要求する。
At this time, if there is no error, the control circuit 7 sets all "0" in the address register (AR) 2, reads out the control word (non-operation instruction) at address 0, and
After putting the data processing device in a waiting state, the diagnostic state is canceled, a diagnostic end signal is sent to an instruction control unit (not shown), and the next instruction is requested.

若し、エラーが検出されると、誤り訂正符号論
理機構(ECC)5において、該制御語を修正し、
修正データを書き込みレジスタ(WR)4にセツ
トして、制御メモリ(CS)1に再書き込みを行
い、その後、アドレスレジスタ(AR)2に全
“0”をセツトして、0番地の制御語を読み出し、
診断状態を解除してから、命令制御ユニツト(図
示せず)に診断終了信号、システム自動リカバリ
ー信号(ハードウエア障害が発生したが、ハード
ウエアが自動的に該障害を復元したことをソフト
ウエアに知らせる信号)を送出する。
If an error is detected, the error correction code logic (ECC) 5 corrects the control word,
Set the corrected data in write register (WR) 4 and rewrite it in control memory (CS) 1. Then, set all “0” in address register (AR) 2 and write the control word at address 0. reading,
After canceling the diagnostic state, the command control unit (not shown) sends a diagnostic end signal and a system automatic recovery signal (a hardware fault has occurred, but the software automatically recovers the fault. send out a signal to inform the public.

命令制御ユニツトでは、上記システム自動リカ
バリー信号を受信すると、割り込み処理に移り、
ハードウエア障害が発生したが自動的に復元され
たことを識別して、元の処理に移るように動作す
る。
When the instruction control unit receives the above system automatic recovery signal, it moves to interrupt processing.
It operates to identify that a hardware failure has occurred but has been automatically restored and to proceed to the original process.

上記動作を、例えば、インターバルタイマーの
一定時間間隔毎に繰り返し、その度にカウンタ
(CONT)6が+1されるので、結果的には特定
時間内に、全制御語が読み出されてチエツクさ
れ、若しエラーが発生するとその時点で修正され
るという動作を常時続けていることになり、充分
な予防保全の効果が得られる。
The above operation is repeated, for example, at every fixed time interval of the interval timer, and each time the counter (CONT) 6 is incremented by 1, so that all control words are read out and checked within a specific time, If an error occurs, the operation of correcting it at that point is continued at all times, and a sufficient preventive maintenance effect can be obtained.

上記のように動作するので、“保守命令制御
記憶部アクセス制御語の読み出しデコーダに
よる特定の制御語の検出”といつた、通常の命令
と同じ制御過程で、該特定の制御語が読み出さ
れ、該制御記憶部のチエツクができる。
Since it operates as described above, the specific control word is read out in the same control process as a normal instruction, such as "detection of a specific control word by the maintenance instruction control storage access control word reading decoder." , the control memory can be checked.

ECCによる誤りの自動修正機構は1ビツトエ
ラーに限定されており、2ビツトエラーの時は修
正できないが、このケースが発生する確率は極め
て低いので、現実的には無視しても問題とはなら
ないが、例えば制御メモリを2重化して切り替え
る方法でも対処できるので、本発明の実施を妨げ
る要因とはならない。
The automatic error correction mechanism by ECC is limited to 1-bit errors and cannot correct 2-bit errors, but the probability of this case occurring is extremely low, so realistically it can be ignored. For example, the problem can be solved by duplicating the control memories and switching them, so this does not become a factor that hinders the implementation of the present invention.

尚、上記の実施例においては、インターバルタ
イマーを使用して、一定時間間隔毎に、特別な診
断命令を発生させる例で説明したが、本発明の基
本的な構成から考えて、これに限定されるもので
はなく、例えば、ソフトウエアから上記特別な保
守命令を発生させることで、特定の制御語を読み
出すようにすることができることはいう迄もない
ことである。この場合、該保守命令によつて、強
制的に、該制御記憶部をチエツクすることができ
る。特に、該制御記憶部、又は、その特定の領域
が、長い時間ビジーである場合でも、それをソフ
トウエアで検出して上記特別な保守命令を発行す
ることで、該制御記憶部のチエツクができ、その
効果は大きい。
In the above embodiment, an example was explained in which a special diagnostic command is generated at fixed time intervals using an interval timer, but considering the basic configuration of the present invention, the present invention is not limited to this. It goes without saying that a specific control word can be read by, for example, generating the above-mentioned special maintenance command from software. In this case, the maintenance command can forcibly check the control storage. In particular, even if the control memory or a specific area thereof is busy for a long time, the software can detect this and issue the special maintenance command to check the control memory. , the effect is great.

(g) 発明の効果 以上詳細に説明したように、本発明によれば、
例えば、一定時間間隔で制御メモリ(CS)の診
断を行い、若しエラーが発生すると、その時点で
制御メモリの内容が修正されるように制御される
ので、実際の命令(但し保守命令以外)を実行す
る段階において、制御メモリにエラーが発生する
確率を低下させ、データ処理装置の信頼度を向上
させる効果がある。
(g) Effects of the invention As explained in detail above, according to the present invention,
For example, control memory (CS) is diagnosed at regular intervals, and if an error occurs, the contents of the control memory are corrected at that point, so actual commands (but not maintenance commands) This has the effect of reducing the probability that an error will occur in the control memory during the execution stage, and improving the reliability of the data processing device.

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

図は本発明の一実施例をブロツク図で示した図
である。 図において、1は制御メモリ(CS)、2はアド
レスレジスタ(AR)、3は読み出しレジスタ
(RR)、31はフラグビツト、4は書き込みレジ
スタ(WR)、5は誤り訂正符号論理機構
(ECC)、6はカウンタ(CONT)、7は制御回路
をそれぞれ示す。
The figure is a block diagram showing one embodiment of the present invention. In the figure, 1 is a control memory (CS), 2 is an address register (AR), 3 is a read register (RR), 31 is a flag bit, 4 is a write register (WR), 5 is an error correction code logic (ECC), 6 represents a counter (CONT), and 7 represents a control circuit.

Claims (1)

【特許請求の範囲】 1 マイクロプログラムを格納する制御記憶部
と、該制御記憶部をアドレスするアドレスレジス
タと、該制御記憶部から読み出された制御語を保
持するデータレジスタと、該データレジスタの内
容を入力し誤りを検出、訂正する誤り訂正符号論
理機構を有し、 通常は、該制御記憶部から読み出した制御語
を、上記誤り訂正符号論理機構を介することなく
使用してデータ処理を行うと共に、誤り訂正符号
論理機構により誤り検出、訂正処理を平行して行
い、誤りが検出された時、訂正した制御語を前記
制御記憶部に書き込み訂正すると共に、前記訂正
された制御語によつてリトライするマイクロプロ
グラム制御装置に於いて、 少なくとも、一定数加算又は減算できるカウン
タと、該カウンタの出力を上記アドレスレジスタ
へ転送するための接続手段と、特定の制御語が該
制御記憶部から上記データレジスタに読みだされ
たことを検出する手段を設け、 一定周期で発生される特定の命令によつて、該
制御記憶部をアクセスして、該特定の制御語を読
み出し、該特定の制御語が読みだされたことを検
出した時、該プログラム制御装置を診断状態とし
た上で、上記カウンタを加算又は減算した値で示
されるアドレスの制御語を読み出して、その読み
出した制御語に誤りが検出された時には、該誤り
を上記誤り訂正論理機構で訂正して、上記制御記
憶部に再書き込みを行うように制御することを特
徴とするマイクロプログラム制御装置。
[Claims] 1. A control storage section that stores a microprogram, an address register that addresses the control storage section, a data register that holds a control word read from the control storage section, and a control storage section that stores a microprogram. It has an error correction code logic mechanism that inputs contents and detects and corrects errors, and normally performs data processing using control words read from the control storage unit without going through the error correction code logic mechanism. At the same time, an error correction code logic mechanism performs error detection and correction processing in parallel, and when an error is detected, the corrected control word is written into the control storage section and corrected, and the corrected control word is used to correct the error. A microprogram control device for retrying includes at least a counter capable of adding or subtracting a fixed number, a connection means for transferring the output of the counter to the address register, and a specific control word that transfers the data from the control storage section to the address register. A means for detecting that the specific control word has been read out is provided, and the control storage section is accessed and the specific control word is read out by a specific command generated at a constant cycle, and the specific control word is read out. When it is detected that the program control device has been read out, the program controller is placed in a diagnostic state, and the control word at the address indicated by the value added or subtracted from the above counter is read out, and an error is detected in the read control word. When the error is detected, the error is corrected by the error correction logic mechanism and the control storage section is rewritten.
JP58138286A 1983-07-28 1983-07-28 Microprogram controller Granted JPS6029843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58138286A JPS6029843A (en) 1983-07-28 1983-07-28 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58138286A JPS6029843A (en) 1983-07-28 1983-07-28 Microprogram controller

Publications (2)

Publication Number Publication Date
JPS6029843A JPS6029843A (en) 1985-02-15
JPH0529934B2 true JPH0529934B2 (en) 1993-05-06

Family

ID=15218344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58138286A Granted JPS6029843A (en) 1983-07-28 1983-07-28 Microprogram controller

Country Status (1)

Country Link
JP (1) JPS6029843A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2606862B2 (en) * 1987-12-28 1997-05-07 株式会社東芝 Single error detection and correction method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55101199A (en) * 1979-01-22 1980-08-01 Hitachi Ltd Memory refresh unit
JPS55157038A (en) * 1979-05-23 1980-12-06 Fujitsu Ltd Microprogram control system
JPS57100694A (en) * 1980-12-12 1982-06-22 Toshiba Corp Storage device

Also Published As

Publication number Publication date
JPS6029843A (en) 1985-02-15

Similar Documents

Publication Publication Date Title
JPS638835A (en) Trouble recovery device
JPH04338849A (en) Excessive error correction method
JPS59165300A (en) Memory fault correcting system
US5261084A (en) Error judgment method
JPH0529934B2 (en)
JP2513615B2 (en) Storage device with ECC circuit
JPH0314054A (en) Electronic disk device
JPH04125753A (en) On-lined diagnostic system for memory
JPH06149685A (en) Memory error recovering circuit
JPH05324487A (en) Memory control system
JP2503981B2 (en) Peripheral storage
JPS59168997A (en) Method of main memory patrolling of computer
JPH0423294B2 (en)
JPH0230060B2 (en)
JPH039433A (en) Information processor
JPH08305637A (en) Storage device
JPH04213735A (en) Information processor
JPH03127241A (en) Memory control method for paging virtual storage system
JPS59231798A (en) data processing equipment
JPH0481953A (en) Memory device
JPS59174951A (en) System for correcting 2-bit error of control memory
JPS60110047A (en) Error correction system
JPS60225941A (en) Microprogram control device
JPH0229839A (en) Microprogram control device
JPS6022773B2 (en) Storage device