JPH04310136A - Control storage correcting circuit - Google Patents
Control storage correcting circuitInfo
- Publication number
- JPH04310136A JPH04310136A JP3075493A JP7549391A JPH04310136A JP H04310136 A JPH04310136 A JP H04310136A JP 3075493 A JP3075493 A JP 3075493A JP 7549391 A JP7549391 A JP 7549391A JP H04310136 A JPH04310136 A JP H04310136A
- Authority
- JP
- Japan
- Prior art keywords
- check
- address
- control memory
- wait signal
- contents
- 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
Landscapes
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Retry When Errors Occur (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は制御記憶修正回路に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to control memory modification circuits.
【0002】0002
【従来の技術】従来の制御記憶のチェック及び修正は制
御プログラムを実行する時にチェックが行われ、エラー
が発生した場合はウエイト信号を出力し情報処理装置を
ウエイトさせエラーを修正し、制御記憶への書き込みを
行っている。[Background Art] Conventionally, checking and correction of control memory is performed when a control program is executed, and if an error occurs, a wait signal is output to cause the information processing device to wait, correct the error, and transfer the control memory to the control memory. is writing.
【0003】0003
【発明が解決しようとする課題】上述した従来の制御記
憶修正方法では、制御プログラムを実行するときにチェ
ック及び修正を行っているため、エラーが発生する度に
修正、書き込みの処理がはいり、プログラムの実行がお
くれ、処理速度に影響がでる。[Problems to be Solved by the Invention] In the conventional control memory correction method described above, since the control program is checked and corrected when it is executed, correction and writing processes are performed every time an error occurs, and the program Execution is delayed and processing speed is affected.
【0004】また、α線によりソフトエラーが制御プロ
グラム1ワードに2ビット以上発生すると現在一般的に
使用されているECCによる1ビットエラー修正方法で
は修正不可能になる。Furthermore, if a soft error occurs in two or more bits in one word of a control program due to alpha rays, it becomes impossible to correct it using the currently commonly used 1-bit error correction method using ECC.
【0005】[0005]
【課題を解決するための手段】本発明の回路は、ECC
により1ビットエラーの検出及び修正を行う制御記憶を
有する情報処理機構における制御記憶修正回路において
、制御記憶の内容チェックの為の専用のチュックアドレ
スと、前記制御アドレスの内容に1を加算するインクリ
メント回路と、情報処理機構が外部入力装置との同期を
とるためや情報処理機構外部にあるメモリアクセスの際
に発生するウエイト状態をしめすウエイト信号により通
常の制御記憶アドレスと前記チェックアドレスを切り換
えるアドレスセレクタと、チェックの為に制御記憶の内
容を保持するチェックレジスタと、前記チェックレジス
タのECCチェックにおいてエラーがあった場合、前記
ウエイト信号に前記エラーを論理和演算し新ウエイト信
号を生成するオアゲートとを有し、前記ウエイト信号に
より、前記アドレスセレクタを通常の制御記憶アドレス
からチェックアドレスに切り替え、チェックアドレスで
指示される制御記憶の内容を前記チェックレジスタに取
り込み、情報処理機構の実行を妨げる事なくECCチェ
ックを行い、エラーがあった場合に新ウエイト信号によ
り情報処理機構に対制御記憶に修正した制御記憶の内容
を書き込む時間を確保し、制御記憶に修正した制御記憶
の内容を書き込む事を特徴とする。[Means for Solving the Problems] The circuit of the present invention provides an ECC
In a control memory correction circuit in an information processing mechanism that has a control memory that detects and corrects a 1-bit error using and an address selector that switches between the normal control storage address and the check address using a wait signal indicating a wait state that occurs when the information processing mechanism synchronizes with an external input device or when accessing a memory outside the information processing mechanism. , a check register that holds the contents of the control memory for checking, and an OR gate that logically ORs the error with the wait signal to generate a new wait signal if there is an error in the ECC check of the check register. Then, by the wait signal, the address selector is switched from the normal control memory address to the check address, the contents of the control memory indicated by the check address are loaded into the check register, and the ECC check is performed without interfering with the execution of the information processing mechanism. The present invention is characterized in that when an error occurs, a new wait signal is used to ensure time for the information processing mechanism to write the modified contents of the control memory to the control memory, and to write the modified contents of the control memory to the control memory. .
【0006】[0006]
【実施例】次に本発明について図面を参照して説明する
。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.
【0007】図1は本発明の一実施例のブロック図であ
る。図中10は本発明を使用した情報処理機構である。
情報処理機構10の内容は処理実行部20の制御記憶4
0とに大きく分かれている。FIG. 1 is a block diagram of one embodiment of the present invention. 10 in the figure is an information processing mechanism using the present invention. The contents of the information processing mechanism 10 are stored in the control memory 4 of the processing execution unit 20.
It is broadly divided into 0 and 0.
【0008】制御記憶40は処理実行部20から出力さ
れる制御記憶アドレス(以降CSアドレス)41によっ
て指示された内容(以降CSデータ)を制御記憶出力(
以降CSデータバス)43に出力する。CSデータバス
43は双方向で、処理実行部20からの書き込み指示信
号42が“1”となっている時、CSアドレス41で指
示されるアドレスにCSデータバス43上の値が書き込
まれる。The control memory 40 outputs the content (hereinafter referred to as CS data) specified by the control memory address (hereinafter referred to as CS address) 41 output from the processing execution unit 20 (
It is output to the CS data bus (hereinafter referred to as the CS data bus) 43. The CS data bus 43 is bidirectional, and when the write instruction signal 42 from the processing execution unit 20 is "1", the value on the CS data bus 43 is written to the address indicated by the CS address 41.
【0009】処理実行部20の内部には次のものがある
。CSアドレスレジスタ21、チェックアドレスレジス
タ31、チェックアドレスレジスタ31の値の−1の値
を保持するヒストリレジスタ33の3つはアドレス切り
敢えセレクタ34を通して、CSアドレス41として制
御記憶40に与えられる。The processing execution section 20 includes the following components. Three of the CS address register 21, the check address register 31, and the history register 33 that holds a value minus 1 of the value of the check address register 31 are given to the control memory 40 as a CS address 41 through the address switching selector 34.
【0010】セレクタ34の切り替えは新ウエイト信号
27とECCチェッカー及び修正部(以降チェック回路
と記す)37からのエラー信号38の組合せによって決
定される。この組合せ条件を表−1に示す。Switching of the selector 34 is determined by a combination of a new wait signal 27 and an error signal 38 from an ECC checker and correction section (hereinafter referred to as check circuit) 37. Table 1 shows the combination conditions.
【0011】[0011]
【0012】チェック回路37はウエイト信号26によ
り起動される。チェック回路37からの指示でチェック
アドレスレジスタ31、ヒストリレジスタ33、及びチ
ェックアドレスレジスタ31のインクリメント回路32
が制御される。The check circuit 37 is activated by the wait signal 26. The increment circuit 32 of the check address register 31, the history register 33, and the check address register 31 receives instructions from the check circuit 37.
is controlled.
【0013】図中23は処理実行部20内で発生するウ
エイト要因でウエイト信号生成部22によってウエイト
信号26が生成される。新ウエイト信号27はウエイト
信号26とエラー信号38がROゲート35によりOR
されて生成される。通常実行されCSデータが格納され
るのがCSレジストスタ24でチェックが行われる場合
はチェックレジスタ36に格納される。Reference numeral 23 in the figure indicates a wait factor generated within the processing execution section 20, and a wait signal 26 is generated by the wait signal generation section 22. The new wait signal 27 is obtained by ORing the wait signal 26 and the error signal 38 by the RO gate 35.
and generated. When a check is performed in the CS register register 24, which is normally executed and CS data is stored, it is stored in the check register 36.
【0014】図中50は情報処理機構10が接続されて
いるシステムバスであり、60はシステムバス50に接
続されているバス装置である。In the figure, 50 is a system bus to which the information processing mechanism 10 is connected, and 60 is a bus device connected to the system bus 50.
【0015】情報処理機構10は新ウエイト信号26が
“1”とならない場合は次のように動作する。The information processing mechanism 10 operates as follows when the new wait signal 26 does not become "1".
【0016】CSアドレス41はCSアドレスレジスタ
21の値が出力されている。対応するCSデータがCS
バス43に出力されCSレジスタ24に格納され、デコ
ード回路25でCSデータが解読され実行される。これ
により、次に実行するCSアドレスが決定されCSアド
レスレジスタ21の値が更新される。これを繰り返すこ
とにより処理実行部10は処理を進める。この状態にお
いては本制御記憶修正が実行されない。The value of the CS address register 21 is output as the CS address 41. The corresponding CS data is CS
The CS data is output to the bus 43 and stored in the CS register 24, and the decode circuit 25 decodes and executes the CS data. As a result, the next CS address to be executed is determined and the value of the CS address register 21 is updated. By repeating this, the processing execution unit 10 advances the processing. In this state, this control memory modification is not executed.
【0017】今、処理実行部10がメモリ装置60に対
し読みだし要求をだしウエイト要因23の内のひとつが
有効になったとする。ウエイト信号生成回路22はウエ
イト信号26を有効とし、これによりチェック回路37
が起動される。Assume now that the processing execution unit 10 issues a read request to the memory device 60 and one of the wait factors 23 becomes valid. The wait signal generation circuit 22 makes the wait signal 26 valid, and thereby the check circuit 37
is started.
【0018】アドレスセレクタ34はCSアドレス41
の出力をチェックアドレス31の出力に切り換え、CS
データバス43にはチェックアドレス31の出力に対応
するCSデータが出力され、チェックレジスタ36に格
納される。The address selector 34 selects the CS address 41
Switch the output of check address 31 to the output of CS
CS data corresponding to the output of the check address 31 is output to the data bus 43 and stored in the check register 36.
【0019】同じタイミングでチェックアドレスレジス
タ31とヒストリレジスタ32の内容が更新される。チ
ェックレジスタ36の出力はチェック回路37で行われ
る。ウエイト信号26が有効となっている間このチェッ
ク動作が繰り返される。The contents of the check address register 31 and the history register 32 are updated at the same timing. The output of the check register 36 is performed by a check circuit 37. This checking operation is repeated while the wait signal 26 is valid.
【0020】ウエイト信号が有効でなくなると、アドレ
スレジスタ34の出力としてCSアドレス21の値が出
力され通常の状態に戻り、処理が実行される。When the wait signal is no longer valid, the value of the CS address 21 is output as the output of the address register 34, returning to the normal state and processing is executed.
【0021】チェック回路37により1ビットエラーが
検出された場合、エラー信号38が有効となり、CSア
ドレスセレクタ34の出力はヒストリレジスタ33の値
に切り替わる。ヒストリレジスタ33を使用するのはチ
ェックレジスタ31の値が既にエラーを検出したCSア
ドレス+1の値の更新されている為である。When the check circuit 37 detects a 1-bit error, the error signal 38 becomes valid and the output of the CS address selector 34 is switched to the value of the history register 33. The history register 33 is used because the value of the check register 31 has already been updated to the value of the CS address where the error was detected +1.
【0022】チェック回路37はCSバス上に修正した
CSデータを出力し、書き込み指示信号42を有効にし
、制御記憶40に修正したCSデータを書き込む。エラ
ー信号38をウエイト信号26と論理和演算して、新ウ
エイト27を生成しているのは制御記憶40への書き込
み中にウエイト信号26がCSアドレス41が切り替わ
るのを防ぐためである。The check circuit 37 outputs the modified CS data onto the CS bus, enables the write instruction signal 42, and writes the modified CS data into the control memory 40. The reason why the error signal 38 is ORed with the wait signal 26 to generate the new wait 27 is to prevent the wait signal 26 from switching the CS address 41 during writing to the control memory 40.
【0023】[0023]
【発明の効果】以上説明したように、処理実行部がウエ
イト状態にある時にチェック及び修正を行う為、エラー
が発生する度に修正、書き込みの処理を行うことによる
処理速度の低下がなく、またα線によるソフトエラーの
制御プログラム1ワードに2ビット以上発生し修正不可
能な状態になる確率を減らすという効果がある。[Effects of the Invention] As explained above, since the processing execution unit performs checking and correction while in a wait state, there is no reduction in processing speed due to correction and writing processing every time an error occurs, and This has the effect of reducing the probability that soft errors caused by alpha rays will occur in two or more bits in one word of the control program, resulting in an uncorrectable state.
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
10 情報処理機構
20 処理実行部
21 CSアドレスレジスタ
22 ウエイト信号生成回路
23 ウエイト信号要因
24 CSデータレジスタ
25 デコード回路
26 ウエイト信号
27 新ウエイト信号
31 チェックアドレスレジスタ32 イ
ンクリメント回路
33 ヒストリレジスタ
34 CSアドレスセレクタ
35 ORゲート
36 チェックレジスタ
37 チェック回路
38 エラー信号
40 制御記憶
41 SCアドレス
42 書き込み指示信号
43 SCデータバス
50 システムバス
60 メモリ装置10 Information processing mechanism 20 Process execution unit 21 CS address register 22 Wait signal generation circuit 23 Wait signal cause 24 CS data register 25 Decode circuit 26 Wait signal 27 New wait signal 31 Check address register 32 Increment circuit 33 History register 34 CS address selector 35 OR gate 36 Check register 37 Check circuit 38 Error signal 40 Control memory 41 SC address 42 Write instruction signal 43 SC data bus 50 System bus 60 Memory device
Claims (1)
び修正を行う制御記憶を有する情報処理機構における制
御記憶修正回路において、制御記憶の内容チェックの為
の専用のチュックアドレスと、前記制御アドレスの内容
に1を加算するインクリメント回路と、情報処理機構が
外部入力装置との同期をとるためや情報処理機構外部に
あるメモリアクセスの際に発生するウエイト状態をしめ
すウエイト信号により通常の制御記憶アドレスと前記チ
ェックアドレスを切り換えるアドレスセレクタと、チェ
ックの為に制御記憶の内容を保持するチェックレジスタ
と、前記チェックレジスタのECCチェックにおいてエ
ラーがあった場合、前記ウエイト信号に前記エラーを論
理和演算し新ウエイト信号を生成するオアゲートとを有
し、前記ウエイト信号により、前記アドレスセレクタを
通常の制御記憶アドレスからチェックアドレスに切り替
え、チェックアドレスで指示される制御記憶の内容を前
記チェックレジスタに取り込み、情報処理機構の実行を
妨げる事なくECCチェックを行い、エラーがあった場
合に新ウエイト信号により情報処理機構に対制御記憶に
修正した制御記憶の内容を書き込む時間を確保し、制御
記憶に修正した制御記憶の内容を書き込む事を特徴とす
る制御記憶修正回路。Claim 1. In a control memory correction circuit in an information processing mechanism having a control memory that detects and corrects one-bit errors using ECC, a check address dedicated to checking the contents of the control memory and a check address for checking the contents of the control memory are provided. An increment circuit that adds 1 and a wait signal that indicates a wait state that occurs when the information processing mechanism synchronizes with an external input device or when accessing a memory external to the information processing mechanism are used to convert the normal control memory address and the above-mentioned check. An address selector that switches addresses, a check register that holds the contents of control memory for checking, and if there is an error in the ECC check of the check register, a new wait signal is generated by ORing the error with the wait signal. The wait signal causes the address selector to switch from a normal control memory address to a check address, and the contents of the control memory indicated by the check address are loaded into the check register, and the information processing mechanism is executed. The ECC check is performed without interfering with the process, and if there is an error, a new wait signal is used to secure time for the information processing mechanism to write the modified contents of the control memory to the control memory. A control memory correction circuit characterized by writing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3075493A JPH04310136A (en) | 1991-04-09 | 1991-04-09 | Control storage correcting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3075493A JPH04310136A (en) | 1991-04-09 | 1991-04-09 | Control storage correcting circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04310136A true JPH04310136A (en) | 1992-11-02 |
Family
ID=13577859
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3075493A Pending JPH04310136A (en) | 1991-04-09 | 1991-04-09 | Control storage correcting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04310136A (en) |
-
1991
- 1991-04-09 JP JP3075493A patent/JPH04310136A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4884271A (en) | Error checking and correcting for read-modified-write operations | |
| US4598402A (en) | System for treatment of single bit error in buffer storage unit | |
| US7246257B2 (en) | Computer system and memory control method thereof | |
| US6874117B2 (en) | Memory control device and method | |
| JPH04310136A (en) | Control storage correcting circuit | |
| JPH0316655B2 (en) | ||
| JPH04115340A (en) | Duplex storage circuit | |
| EP0076098A2 (en) | Key storage error processing system | |
| JPH04162161A (en) | Storage controller | |
| JPH01194046A (en) | Memory access system | |
| JPH0667989A (en) | Patrol circuit for memory | |
| JPS60214043A (en) | Pipeline control circuit | |
| JPS58213349A (en) | Information processor | |
| JPH06139153A (en) | Memory control system | |
| JPH01133147A (en) | Data processor | |
| JPH0481953A (en) | Memory device | |
| JPH0354636A (en) | Error correction system | |
| JPH04109335A (en) | Control program correcting system | |
| JPS62130443A (en) | Memory access controller | |
| JPH02302855A (en) | Memory control system | |
| JPS62130444A (en) | Memory access controller | |
| JPS59217298A (en) | Memory error relieve system | |
| JPH02143352A (en) | Memory error detection and correction system | |
| JPS6226492B2 (en) | ||
| JPS61282949A (en) | Memory error processing system |