JPS6349246B2 - - Google Patents

Info

Publication number
JPS6349246B2
JPS6349246B2 JP58224688A JP22468883A JPS6349246B2 JP S6349246 B2 JPS6349246 B2 JP S6349246B2 JP 58224688 A JP58224688 A JP 58224688A JP 22468883 A JP22468883 A JP 22468883A JP S6349246 B2 JPS6349246 B2 JP S6349246B2
Authority
JP
Japan
Prior art keywords
control circuit
main memory
retry
arithmetic unit
bit error
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
JP58224688A
Other languages
Japanese (ja)
Other versions
JPS60116042A (en
Inventor
Fumio Hoshi
Akio Kawamata
Shoji Takahata
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 JP58224688A priority Critical patent/JPS60116042A/en
Publication of JPS60116042A publication Critical patent/JPS60116042A/en
Publication of JPS6349246B2 publication Critical patent/JPS6349246B2/ja
Granted legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00—Error detection; Error correction; Monitoring
    • G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14—Error detection or correction of the data by redundancy in operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Retry When Errors Occur (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、主記憶装置の1ビツト・エラーの修
正ライトを必要とする演算装置、特に、再試行制
御回路を有する演算装置における1ビツト・エラ
ー修正ライト方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to correction of 1-bit errors in an arithmetic device that requires writing to correct a 1-bit error in a main memory, particularly in an arithmetic device that has a retry control circuit. This relates to the modified write method.

〔従来技術と問題点〕[Conventional technology and problems]

第1図は演算装置の構成例を示す図、第2図は
従来の1ビツト・エラー修正ライト方式を説明す
る図、第3図は動作を説明するタイムチヤートで
ある。図において、1は主記憶装置(MM;
Main Memory)、2は主記憶制御回路(MC;
Memory Controller)、3は演算部(ALU;
Arithmetic and Logic Unit)、4は読出しレジ
スタ、5はエラー・チエツク訂正回路(ECC;
Error Checking and Correction)を示す。
FIG. 1 is a diagram showing an example of the configuration of an arithmetic unit, FIG. 2 is a diagram explaining a conventional 1-bit error correction write method, and FIG. 3 is a time chart explaining the operation. In the figure, 1 is the main memory (MM;
Main Memory), 2 is the main memory control circuit (MC;
3 is the calculation unit (ALU;
4 is a read register; 5 is an error check correction circuit (ECC);
Error Checking and Correction).

第1図において、演算部3から主記憶制御回路
2への主記憶装置1の使用要求は、リード要求と
ライト要求で指示される。それに対して、主記憶
制御回路2から主記憶装置1への使用は、リー
ド・サイクルとライト・サイクルで行われる。
In FIG. 1, a request to use the main memory device 1 from the arithmetic unit 3 to the main memory control circuit 2 is issued as a read request and a write request. In contrast, the main memory control circuit 2 uses the main memory device 1 in read cycles and write cycles.

従来、第1図に示すような、再試行制御回路を
持つていない演算装置において、主記憶装置1の
読出し時、主記憶制御回路2では、主記憶装置1
の読出しデータを読出しレジスタにセツトし、エ
ラー・チエツク訂正回路による1ビツト・エラー
(1BER)の検出を行う。ここで1ビツト・エラ
ーを検出すると、主記憶制御回路2が連続して主
記憶装置1を使用すべく要求が発行される。但
し、その要求は読出し時のリード要求とは異なる
ライト要求であつて、しかも演算部3からのライ
ト・データのないライト要求である。その結果、
主記憶装置1には、第2図に示すように、エラ
ー・チエツク訂正回路5を経由して修正されたデ
ータ、即ち読出しレジスタ4の出力の修正データ
が渡される。従つて、このライト・サイクル以後
の主記憶装置1は、1ビツト・エラーが修正され
た正しいデータとなる。1ビツト・エラー検出
後、修正ライトされるまでの動作タイムチヤート
を示したのが第3図である。
Conventionally, in an arithmetic device that does not have a retry control circuit as shown in FIG.
The read data is set in the read register, and a 1-bit error (1BER) is detected by the error check correction circuit. If a 1-bit error is detected here, a request is issued for main memory control circuit 2 to use main memory 1 continuously. However, this request is a write request different from a read request at the time of reading, and moreover, it is a write request without write data from the calculation unit 3. the result,
As shown in FIG. 2, corrected data, that is, corrected data output from the read register 4, is passed to the main memory device 1 via an error check correction circuit 5. Therefore, after this write cycle, the main memory device 1 becomes correct data with the 1-bit error corrected. FIG. 3 shows an operation time chart from when a 1-bit error is detected to when a correction is written.

しかし、上述のような従来の方式では、まれに
発生する1ビツト・エラーに対して、演算部3
は、本来次に実行すべき処理を中断して主記憶制
御回路2にライト要求を発行し、主記憶制御回路
2がライト・サイクルを実行して1ビツト・エラ
ーの修正ライトを行うまで待たなければならな
い。このような主記憶制御回路2と演算部3のマ
ツチングをとる必要があるため、従来は、論理的
に複雑になつて論理誤りや設計ミスが生じやすく
なり、バグ発生の原因となるという問題があつ
た。
However, in the conventional system as described above, when a 1-bit error occurs infrequently, the processing unit 3
must interrupt the process that should normally be executed next, issue a write request to the main memory control circuit 2, and wait until the main memory control circuit 2 executes a write cycle and writes to correct the 1-bit error. Must be. Since it is necessary to match the main memory control circuit 2 and the arithmetic unit 3, conventionally, the problem has been that it becomes logically complex and prone to logical errors and design errors, which can lead to bugs. It was hot.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の考察に基づくものであつて、
1ビツト・エラーの修正ライトを演算部で意識す
ることなく簡単な論理で行えるようにした1ビツ
ト・エラー修正ライト方式を提供することを目的
とするものである。
The present invention is based on the above considerations, and includes:
It is an object of the present invention to provide a 1-bit error correction write method that allows a 1-bit error correction write to be performed using simple logic without being conscious of it in an arithmetic unit.

〔発明の構成〕[Structure of the invention]

そのために本発明の1ビツト・エラー修正ライ
ト方式は、主記憶装置と、主記憶制御回路と、演
算部と、再試行制御回路とを具備し、演算部から
リード要求とライト要求により主記憶装置の使用
要求を主記憶制御回路へ指示し、主記憶制御回路
からリード・サイクルとライト・サイクルで主記
憶装置を使用する演算装置において、主記憶制御
回路は、主記憶装置の読出し時にエラー・チエツ
クを行い、1ビツト・エラーを検出した場合に
は、再試行制御回路にその旨を通知すると共に再
試行制御回路からリトライ・サイクル中であるこ
とを示す信号が送出されていることを条件に演算
部からのリード要求をライト要求に変換してライ
ト・サイクルとすることによつて1ビツト・エラ
ーの修正ライトを行うように構成され、再試行制
御回路は、主記憶制御回路から1ビツト・エラー
発生の通知があると、演算部に再試行を指示する
と共に主記憶制御回路にリトライ・サイクル中で
あることを示す信号を送出するように構成され、
演算部は、再試行制御回路から再試行を指示され
ると、1ビツト・エラー発生アドレスを保持して
主記憶制御回路にリード要求を指示するように構
成されたことを特徴とするものである。
To this end, the 1-bit error correction write method of the present invention is equipped with a main memory, a main memory control circuit, an arithmetic unit, and a retry control circuit. In an arithmetic device that instructs a main memory control circuit to use the main memory and uses the main memory in read cycles and write cycles, the main memory control circuit performs an error check when reading from the main memory. If a 1-bit error is detected, the retry control circuit is notified of this and the calculation is performed on the condition that the retry control circuit sends a signal indicating that a retry cycle is in progress. The retry control circuit is configured to perform a 1-bit error correction write by converting a read request from the main memory control circuit into a write request and using it as a write cycle. When notified of the occurrence, it is configured to instruct the arithmetic unit to retry and send a signal to the main memory control circuit indicating that a retry cycle is in progress;
The arithmetic unit is characterized in that, when instructed to retry by the retry control circuit, the arithmetic unit is configured to hold a 1-bit error occurrence address and instruct a read request to the main memory control circuit. .

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照しつつ説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

第4図は本発明の1実施例システム構成を示す
図、第5図は本発明のシステムによる1ビツト・
エラー修正ライトの動作を説明するタイムチヤー
トである。
FIG. 4 is a diagram showing the system configuration of one embodiment of the present invention, and FIG. 5 is a diagram showing the system configuration of one embodiment of the present invention.
This is a time chart explaining the operation of the error correction light.

第4図において、1ないし3は第11図に対応
するものを示し、6は再試行制御回路(RTY;
Retry)を示す。主記憶制御回路2は、演算部3
からリード要求とライト要求により主記憶装置1
の使用要求が指示され、主記憶装置1に対し、リ
ード・サイクルとライト・サイクルでデータの読
出し/書込みを行う。主記憶装置1の読出し時に
主記憶制御回路2はその読出しデータについてエ
ラー・チエツクを行い、1ビツト・エラーが検出
されると、1ビツト・エラー発生(1BER)を再
試行制御回路6に通知する。これを契機に再試行
制御回路6による再試行動作が起動される。再試
行制御回路6は、演算部3にRTY制御信号で再
試行を指示すると共に主記憶制御回路2への
RTYサイクル中の信号を論理「1」にする。演
算部3は、再試行制御回路6からの再試行指示に
より1ビツト・エラー発生アドレスを保持してそ
のアドレスを再使用するリード要求を発行する。
これに対し主記憶制御回路2は、再試行制御回路
6からのRTYサイクル中の信号が論理「1」で
ある(再試行動作時である)ことを条件に、演算
部3からのリード要求をライト要求に変換して主
記憶装置1の使用をライト・サイクルとする。こ
のライト・サイクルで1ビツト・エラーの修正ラ
イトを行う。このように演算部3では、1ビツ
ト・エラー発生時に再試行制御回路6からの指示
によつて主記憶制御回路2にリード要求を発行す
るので、演算部3にはライト・サイクルとは見え
ずに1ビツト・エラーの修正ライトが行える。以
上に説明した1ビツト・エラー修正ライトの動作
を説明するタイムチヤートを示したのが第5図で
ある。なお第5図において、演算再試行サイクル
は1命令の実行が終了したことをもつて終了とさ
れる。
In FIG. 4, 1 to 3 indicate those corresponding to FIG. 11, and 6 indicates a retry control circuit (RTY;
Retry). The main memory control circuit 2 includes an arithmetic unit 3
Main memory device 1 by read request and write request from
A request to use the main memory device 1 is issued, and data is read/written to the main memory device 1 in read cycles and write cycles. When reading from the main memory device 1, the main memory control circuit 2 performs an error check on the read data, and if a 1-bit error is detected, it notifies the retry control circuit 6 of the occurrence of a 1-bit error (1BER). . This triggers a retry operation by the retry control circuit 6. The retry control circuit 6 instructs the arithmetic unit 3 to retry using the RTY control signal, and also sends information to the main memory control circuit 2.
The signal during the RTY cycle is set to logic "1". In response to a retry instruction from the retry control circuit 6, the arithmetic unit 3 holds the 1-bit error occurrence address and issues a read request to reuse the address.
On the other hand, the main memory control circuit 2 accepts the read request from the calculation unit 3 on the condition that the signal during the RTY cycle from the retry control circuit 6 is logic "1" (during retry operation). This is converted into a write request and the use of the main storage device 1 is made into a write cycle. In this write cycle, a 1-bit error correction write is performed. In this way, the arithmetic unit 3 issues a read request to the main memory control circuit 2 according to instructions from the retry control circuit 6 when a 1-bit error occurs, so the arithmetic unit 3 does not see it as a write cycle. A 1-bit error correction write can be performed. FIG. 5 shows a time chart illustrating the operation of the 1-bit error correction write described above. In FIG. 5, the calculation retry cycle ends when execution of one instruction is completed.

第6図は演算部と主記憶制御回路の具体的な構
成例を示す図である。第6図において、2ないし
6は第4図に対応するものを示し、21はタイミ
ング発生回路、22,23,33と34はラツチ
回路、24はメモリ・アドレス・レジスタ、25
はエラー・チエツク訂正回路、26ないし28は
アンド回路、29と36は反転回路、31は演算
制御回路、32は演算回路、35はアドレス・レ
ジスタを示す。
FIG. 6 is a diagram showing a specific example of the configuration of the arithmetic unit and the main memory control circuit. In FIG. 6, 2 to 6 indicate those corresponding to FIG. 4, 21 is a timing generation circuit, 22, 23, 33 and 34 are latch circuits, 24 is a memory address register, 25
26 to 28 are AND circuits, 29 and 36 are inverting circuits, 31 is an arithmetic control circuit, 32 is an arithmetic circuit, and 35 is an address register.

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

以上の説明から明らかなように、本発明によれ
ば、1ビツト・エラー発生時に再試行動作を起動
させ、再試行動作によつて演算部からリード要求
が発行されると、主記憶制御回路はそのリード要
求をライト要求に変換してライト・サイクルとす
ることによつて1ビツト・エラーの修正ライトを
行うので、論理的に簡単となり論理誤りや設計ミ
スなどを少なくすることができる。
As is clear from the above description, according to the present invention, when a 1-bit error occurs, a retry operation is activated, and when a read request is issued from the arithmetic unit due to the retry operation, the main memory control circuit By converting the read request into a write request and using it as a write cycle, a 1-bit error correction write is performed, which makes it logically simple and reduces logical errors and design mistakes.

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

第1図は演算装置の構成例を示す図、第2図は
従来の1ビツト・エラー修正ライト方式を説明す
る図、第3図は動作を説明するタイムチヤート、
第4図は本発明の1実施例システム構成を示す
図、第5図は本発明のシステムによる1ビツト・
エラー修正ライトの動作を説明するタイムチヤー
ト、第6図は演算部と主記憶制御回路の具体的な
構成例を示す図である。 1……主記憶装置(MM)、2……主記憶制御
回路(MC)、3……演算部(ALU)、4……読出
しレジスタ、5……エラー・チエツク訂正回路
(ECC)、6……再試行制御回路(RTY)。21…
…タイミング発生回路、22,23,33と34
……ラツチ回路、24……メモリ・アドレス・レ
ジスタ、25……エラー・チエツク訂正回路、2
6ないし28……アンド回路、29と36……反
転回路、31……演算制御回路、32……演算回
路、35……アドレス・レジスタ。
FIG. 1 is a diagram showing an example of the configuration of an arithmetic unit, FIG. 2 is a diagram explaining a conventional 1-bit error correction write method, and FIG. 3 is a time chart explaining the operation.
FIG. 4 is a diagram showing the system configuration of one embodiment of the present invention, and FIG. 5 is a diagram showing the system configuration of one embodiment of the present invention.
FIG. 6 is a time chart illustrating the operation of the error correction write, and is a diagram showing a specific example of the configuration of the arithmetic unit and the main memory control circuit. 1... Main memory device (MM), 2... Main memory control circuit (MC), 3... Arithmetic unit (ALU), 4... Read register, 5... Error check correction circuit (ECC), 6... ...Retry control circuit (RTY). 21...
...timing generation circuit, 22, 23, 33 and 34
... Latch circuit, 24 ... Memory address register, 25 ... Error check correction circuit, 2
6 to 28...AND circuit, 29 and 36...Inversion circuit, 31...Arithmetic control circuit, 32...Arithmetic circuit, 35...Address register.

Claims (1)

【特許請求の範囲】[Claims] 1 主記憶装置と、主記憶制御回路と、演算部
と、再試行制御回路とを具備し、演算部からリー
ド要求とライト要求により主記憶装置の使用要求
を主記憶制御回路へ指示し、主記憶制御回路から
リード・サイクルとライト・サイクルで主記憶装
置を使用する演算装置において、主記憶制御回路
は、主記憶装置の読出し時にエラー・チエツクを
行い、1ビツト・エラーを検出した場合には、再
試行制御回路にその旨を通知すると共に再試行制
御回路からリトライ・サイクル中であることを示
す信号が送出されていることを条件に演算部から
のリード要求をライト要求に変換してライト・サ
イクルとすることによつて1ビツト・エラーの修
正ライトを行うように構成され、再試行制御回路
は、主記憶制御回路から1ビツト・エラー発生の
通知があると、演算部に再試行を指示すると共に
主記憶制御回路にリトライ・サイクル中であるこ
とを示す信号を送出するように構成され、演算部
は、再試行制御回路から再試行を指示されると、
1ビツト・エラー発生アドレスを保持して主記憶
制御回路にリード要求を指示するように構成され
たことを特徴とする1ビツト・エラー修正ライト
方式。
1 Comprising a main memory device, a main memory control circuit, an arithmetic unit, and a retry control circuit, the arithmetic unit instructs the main memory control circuit to use the main memory device through read requests and write requests, and In an arithmetic unit that uses the main memory in read cycles and write cycles from the memory control circuit, the main memory control circuit performs an error check when reading from the main memory, and if a 1-bit error is detected, the main memory control circuit performs an error check. , converts the read request from the calculation unit into a write request and writes it, provided that the retry control circuit is notified of this and a signal indicating that the retry cycle is in progress is sent from the retry control circuit.・The retry control circuit is configured to perform a 1-bit error correction write by setting it as a cycle, and when a 1-bit error occurrence notification is received from the main memory control circuit, the retry control circuit instructs the arithmetic unit to retry. The arithmetic unit is configured to send a signal indicating that a retry cycle is in progress to the main memory control circuit along with an instruction, and when the arithmetic unit is instructed to retry from the retry control circuit,
A 1-bit error correction write method characterized in that it is configured to hold a 1-bit error occurrence address and instruct a main memory control circuit to issue a read request.
JP58224688A 1983-11-29 1983-11-29 1 bit error correction write system Granted JPS60116042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58224688A JPS60116042A (en) 1983-11-29 1983-11-29 1 bit error correction write system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58224688A JPS60116042A (en) 1983-11-29 1983-11-29 1 bit error correction write system

Publications (2)

Publication Number Publication Date
JPS60116042A JPS60116042A (en) 1985-06-22
JPS6349246B2 true JPS6349246B2 (en) 1988-10-04

Family

ID=16817669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58224688A Granted JPS60116042A (en) 1983-11-29 1983-11-29 1 bit error correction write system

Country Status (1)

Country Link
JP (1) JPS60116042A (en)

Also Published As

Publication number Publication date
JPS60116042A (en) 1985-06-22

Similar Documents

Publication Publication Date Title
JP3628372B2 (en) Computer system, parallel port circuit for interfacing peripheral devices to computer system, and operation method thereof
JPH0689201A (en) Microprocessor with run / stop pin accessing idle mode and method of operating same
JPH07141176A (en) Command retry control method
JPH01137352A (en) Channel control method
JPS60116042A (en) 1 bit error correction write system
JPS62250563A (en) Magnetic disk storage device
JPS584467A (en) Write control system for error data
JP3171615B2 (en) Data transfer retry control method
JPH04239355A (en) Electronic disk device
JPS63142449A (en) Patrol check system for control memory
JPH113221A (en) Debug method
JPH05108491A (en) Information processing equipment
JPH0148563B2 (en)
JPS59121540A (en) Operation control system
JPH0529934B2 (en)
JPS63214856A (en) Data protection control system for data processing unit
JPS58166454A (en) data processing equipment
JPH0528667A (en) Magnetic disk controller
JPS6159696A (en) Control memory repair method
JPS6230656B2 (en)
JPS6393052A (en) Program test method
JPS59218555A (en) Microprogram control device
JPH05289947A (en) ECC check method
JPS63191239A (en) Instruction restart processing method and device
JPH039433A (en) Information processor