JPS61139856A - Data processor - Google Patents

Data processor

Info

Publication number
JPS61139856A
JPS61139856A JP59263180A JP26318084A JPS61139856A JP S61139856 A JPS61139856 A JP S61139856A JP 59263180 A JP59263180 A JP 59263180A JP 26318084 A JP26318084 A JP 26318084A JP S61139856 A JPS61139856 A JP S61139856A
Authority
JP
Japan
Prior art keywords
memory
key
data
main memory
main
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
JP59263180A
Other languages
Japanese (ja)
Inventor
Kenji Shirai
白井 健治
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59263180A priority Critical patent/JPS61139856A/en
Publication of JPS61139856A publication Critical patent/JPS61139856A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve availability without adding any special circuit by reading a correct storage key out of an address of another main memory corresponding to the address of wrong data when a fixed read data error occurs, and correcting it. CONSTITUTION:When a central processor 3 refers to, for example, an address #8 of a main memory, a request to refer is sent to the 2nd main memory 2 to refer to data in the address #8 of the 2nd main memory 2 and also read a storage key out of a key memory 22, thereby making a check on the protection of the reference. At this time, a data error occurs in the read data from the key memory 22, the referring of data is interrupted and this data error is reported to the central processor 3 by a control circuit 23. The central processor 3 when detecting the read data error of the key memory 22 sends the corresponding address of the key memory 22 stored with the wrong data to the 1st main memory 1 to read a correct storage key, and corrects the 2nd main memory 2 to carry on the request to refer.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はデータ処理装置に係シ、特に1主記憶部への
アクセスを制御する記憶キーの修正に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device, and more particularly to modification of a storage key that controls access to a main storage section.

〔従来の技術〕[Conventional technology]

データ処理装置として、主記憶部およびこの主記憶部へ
のアクセスを制御するためのキーメモリ等でなる複数の
主記憶装置と、これらの主記憶装置が共通のバスを介し
て接続される中央処理装置とを備えるものがあつ念。こ
のデータ処理製蓋ではキーメモリの読み出し時にデータ
誤シがあっ之としても、これが瞬時誤りであれば読み出
しの再試行によって回復することができる。しかし、こ
のデータ誤りが固定誤りであるときは読み出しの再試行
によっても回復できないことからデータ処理が続行でき
ず、したがって、データ処理装置の可用性(avail
abillty)が著しく低下する。
The data processing device includes a main memory unit, multiple main memory units such as key memories for controlling access to the main memory unit, and a central processing unit to which these main memory units are connected via a common bus. Please note that the device is equipped with the following. With this data processing lid, even if a data error occurs when reading from the key memory, if it is an instantaneous error, it can be recovered by retrying the read. However, if this data error is a fixed error, it cannot be recovered even by retrying reading, so data processing cannot be continued.
ability) is significantly reduced.

そこで、従来はこの回復不可能な固定誤りには、キーメ
モリに1ビツトの誤シ訂正コードを付加して対処してい
念。
Conventionally, this unrecoverable fixed error has been dealt with by adding a 1-bit error correction code to the key memory.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のような従来のデータ処理装置では、1ビツトの誤
り訂正コードを付加することに対してその照合に相当量
の回路を追加しなければならず装置が複雑化し、且つ、
コスト高を招くという問題点かあつ友。
In the conventional data processing device as described above, adding a 1-bit error correction code requires adding a considerable amount of circuitry for verification, making the device complicated;
The problem is that it leads to higher costs.

この発明はかかる問題点を解決するためになされたもの
で、データ誤りの修正に特別の回路を付加する必要のな
い簡易構成のデータ処理製蓋の提供を目的とする。
The present invention has been made to solve these problems, and an object of the present invention is to provide a data processing lid with a simple configuration that does not require the addition of a special circuit for correcting data errors.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るデータ処理装置は、複数の主記憶装置の
うち、いずれか1つの主記憶装置のキーメモリにデータ
誤シがあつ友とき、この誤りデータのアドレスに対応す
る他の主記憶装置のアドレスから記憶キーを読み出す記
憶キー読み出し機能と、読み出された記憶キーを、誤シ
を発生させた主記憶装置のキーメモリに格納する記憶キ
ー格納機能とを中央処理装置に持たせている。
In the data processing device according to the present invention, when a data error occurs in the key memory of any one of a plurality of main storage devices, the other main storage device corresponding to the address of the erroneous data is The central processing unit is provided with a memory key reading function for reading a memory key from an address and a memory key storage function for storing the read memory key in the key memory of the main memory where the error occurred.

〔作用〕[Effect]

この発明においては、固定的な読み出しデータ誤りが発
生し之とき、誤りデータのアドレスに対応する他の主記
憶装置のアドレスから正しい記憶キーをaみ出して、こ
の記憶キーを誤りを発生させ九主記憶装置のキーメモリ
に格納することによって修正し、処理を続行しようとす
るものである。
In this invention, when a fixed read data error occurs, a correct memory key is extracted from the address of another main memory device corresponding to the address of the error data, and this memory key is used to generate the error. It attempts to correct it by storing it in the key memory of the main storage and continue processing.

〔実施例〕〔Example〕

第1因はこの発明の一実施例の構成を示すブロック図、
第2図はこの実施例の接続状態を示す回路図である。
The first factor is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a circuit diagram showing the connection state of this embodiment.

この第1図および第2図において(1)は第1の主記憶
部!で、主記憶部(2)、この主記憶部へのアクセスを
制御する記憶キーを格納しておくキーメモ1月旧、これ
ら主記憶部a刀およびキーメモリ(増を制御する制御回
路Q11)を有しており、(2)は第1の主記憶装置(
1)と同様な主記憶部(21)、キーメモIJ E、制
御回路−)を有する主記憶装置、(8)は中央処理装置
で、マイクロプログラム(5a)によシ、上記キーメモ
IJ(12)、Hの記憶キー読み出し機能(31)およ
び記憶(2)および中央処理装置(8)間でのデータ授
受を行なうためのデータバスである。
In FIGS. 1 and 2, (1) is the first main memory! In the main memory section (2), a key memo that stores the memory keys that control access to this main memory section, these main memory sections and the key memory (control circuit Q11 that controls the increase) are stored. (2) is the first main memory (
A main memory unit (8) has a main memory unit (21), a key memo IJE, and a control circuit similar to that of 1), and (8) is a central processing unit, which executes the microprogram (5a) and stores the above-mentioned key memo IJ (12). , H's storage key reading function (31), storage (2), and central processing unit (8).

ちなみに、この2台の主記憶装置(1) 、 (2)は
8バイト(倍長語境界)毎にインターリーブされている
ものとし、キーメモリ(至)、@@は主記憶データ4キ
ロバイト毎に1つの値を持つと共に、各々全く同じ内容
を保持しているものとする。また、偶数倍長語は第1の
主記憶装置(1)に、奇数倍長語Fi第2の主記憶装置
(2)にそれぞれ割シ当てられているものとする。
By the way, these two main memories (1) and (2) are assumed to be interleaved every 8 bytes (double word boundary), and the key memory (to) and @@ are interleaved every 4 kilobytes of main memory data. Assume that each has one value and each holds exactly the same content. Further, it is assumed that even-numbered double words are allocated to the first main storage device (1), and odd-numbered double words Fi are allocated to the second main storage device (2).

上記のように構成されたデータ処理装置の動作を以下に
説明する。
The operation of the data processing apparatus configured as described above will be described below.

先ず、中央処理装置(3)が、例えば、主記憶部の8番
地を参照すると、その参照要求は第2の主記憶装置(2
)K出され、この第2の主記憶装置(2)内で8番地の
データの参照とともに、キーメモリに)の記憶キーが読
み出されて参照の保護に関して調べられる。このとき、
キーメモリ(イ)の読み出しデータにデータ誤りが発生
するとデータの参照が中断され、このデータ誤りが制御
回路−によって中央処理装置(8)に報告される。
First, when the central processing unit (3) refers to address 8 of the main memory, the reference request is sent to the second main memory (2).
)K is issued, and in this second main memory (2), along with the reference to the data at address 8, the storage key of ) is read out into the key memory and checked for protection of the reference. At this time,
When a data error occurs in the read data of the key memory (a), data reference is interrupted and this data error is reported to the central processing unit (8) by the control circuit.

次に、中央処理装置(3)では、キーメモリ(2)の読
み出しデータ誤りを検知すると、誤シデータを格納して
いるキーメモリ(2)の該当アドレスを第1の記憶装置
(1)へ送り、正しい記憶キーを読み出す。
Next, when the central processing unit (3) detects an error in the read data of the key memory (2), it sends the corresponding address of the key memory (2) that stores the erroneous data to the first storage device (1). , read out the correct memory key.

このようにして読み出された正しい記憶キーは誤りを発
生させ7’C第2の主記憶装置(2)K送られ、キーメ
モリ(4)の該当番地に格納される。
The correct storage key read out in this way is sent to the second main storage device (2)K with an error generated and stored at the corresponding address in the key memory (4).

その後、中央処理装置(8)は再び8番地の参照要求を
出して処理を続行させる。これらの動作は記憶キー読み
出し機能団)および記憶キー格納機能−を備えるマイク
ロプログラム(3a)によって行なわれる。
Thereafter, the central processing unit (8) issues a reference request for address 8 again to continue the process. These operations are performed by a microprogram (3a) having a memory key reading function group) and a memory key storage function.

かくして、いずれか一方の主記憶装置内でキーメモリの
固定的な読み出しデータ誤りが発生した時、他の主記憶
装置のキーメモリの同じ位黄にある正しい内容を使って
誤ったデータを修正して処理を続行することができる。
Thus, when a fixed read data error occurs in the key memory in either main memory, the incorrect data can be corrected using the correct content in the same yellow position in the key memory in the other main memory. processing can continue.

なお、上記実施例では2台の主記憶装置と中央処理装置
とが同一バス上に接続されたものについて説明したが、
3台以上の主記憶装置が同様にして接続されるデータ処
理装置でも、上述したと同様な動作を行なわせることが
できる。
Note that in the above embodiment, two main storage devices and a central processing unit are connected on the same bus.
Even in a data processing device in which three or more main storage devices are connected in the same way, the same operation as described above can be performed.

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

この発明は以上説明したとおり、中央処理装置内のマイ
クロプログラムによって、任意の主記憶装置のキーメモ
リのデータ誤りを、他の主記憶装置のキーメモリ内の正
しいデータにより修正するよう和し友ので、固定的なデ
ータ誤シの修正に特別な回路を付加する必要もなく、筒
易にしてコスト的にも低置なデータ処理装置を構成し得
、装置の可用性を容易に向上させ得るという効果がある
As explained above, the present invention uses a microprogram in the central processing unit to correct data errors in the key memory of any main storage device with correct data in the key memory of another main storage device. , there is no need to add special circuits to correct fixed data errors, it is possible to configure an easy-to-use and low-cost data processing device, and the availability of the device can be easily improved. There is.

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

第1図はこの発明の一実施例を示すブロック図、第2図
はこの実施例の接続状態を示す回路図である〇 (1) 、 (2)・中止記憶装置 (8)・・中央処理装置 (3a)・・マイクロプログラム (4)拳・データバス  α乃+ (2tl・・主記憶
部叫、彌暢Oキーメモリ (13) 、卿)・・制御回路 、 (811・鳴記憶キー読み出し機能−・・記憶キー
格納機能 なお、各図中同一符号は同一または相当部分を示す。
Fig. 1 is a block diagram showing an embodiment of this invention, and Fig. 2 is a circuit diagram showing the connection state of this embodiment. Device (3a)...Microprogram (4)Fist/Data bus αNO+ (2tl...Main memory shout, Yanobu O key memory (13), Lord)...Control circuit, (811/Nake memory key readout Function: Memory key storage function Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 主記憶部、この主記憶部へのアクセスを制御する記憶キ
ーを格納しておくキーメモリ、このキーメモリおよび前
記主記憶部を制御する制御回路を有する複数の主記憶装
置と、これらの主記憶装置が共通のバスを介して接続さ
れる中央処理装置とを備え、前記主記憶装置のキーメモ
リの内容が同一で、且つ、所定のブロック単位でインタ
ーリーブされて動作するデータ処理装置において、前記
中央処理装置は、いずれか1つの前記主記憶装置におけ
るキーメモリの読み出しデータ誤りに対して、誤りデー
タのアドレスに対応する他の主記憶装置のアドレスから
正しい記憶キーを読み出す記憶キー読み出し機能と、読
み出された正しい記憶キーを、誤りを発生させた前記主
記憶装置のキーメモリに格納する記憶キー格納機能とを
具備したことを特徴とするデータ処理装置。
A main memory section, a key memory storing a memory key for controlling access to the main memory section, a plurality of main memory devices each having a control circuit for controlling the key memory and the main memory section, and these main memories. In a data processing device, the device is provided with a central processing unit connected via a common bus, the content of the key memory of the main storage device is the same, and the data processing device operates interleaved in units of predetermined blocks. The processing device has a memory key reading function that reads out a correct memory key from an address of another main memory corresponding to the address of the error data in response to an error in read data of the key memory in any one of the main memory devices; A data processing device comprising a storage key storage function for storing a correct storage key issued in the key memory of the main storage device in which the error occurred.
JP59263180A 1984-12-13 1984-12-13 Data processor Pending JPS61139856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59263180A JPS61139856A (en) 1984-12-13 1984-12-13 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59263180A JPS61139856A (en) 1984-12-13 1984-12-13 Data processor

Publications (1)

Publication Number Publication Date
JPS61139856A true JPS61139856A (en) 1986-06-27

Family

ID=17385879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59263180A Pending JPS61139856A (en) 1984-12-13 1984-12-13 Data processor

Country Status (1)

Country Link
JP (1) JPS61139856A (en)

Similar Documents

Publication Publication Date Title
JP2606862B2 (en) Single error detection and correction method
JPH0122649B2 (en)
JPS6085627A (en) Circulating complete binary code decoder
JPS61139856A (en) Data processor
JPS63121933A (en) Error detecting and correcting system
JPH0756640B2 (en) Storage device
JPH0259946A (en) Memory device
JPS6041374B2 (en) 1-bit error correction/2-bit error detection method
JPH02181245A (en) Storage device
JPH0638239B2 (en) Error correction mechanism
JPS63304356A (en) Check system for normalcy of dma data
JPH01309421A (en) Error correction system
JPS59123918A (en) Buffer memory controlling system
JPH0443447A (en) Rom diagnosis device
JPS63221444A (en) Control memory device
JPS59110098A (en) Error correcting device of data storage device
JPS61282949A (en) Memory error processing system
JPS61196341A (en) System for correcting memory error
JPS62114047A (en) Storage device
JPS5987700A (en) Main memory of microcomputer
JPS5819799A (en) Error correcting system
JPH01158554A (en) Data processing system providing dma device
JPS63240658A (en) Memory device
JPS6355088B2 (en)
JPH02304654A (en) Error detecting and correcting circuit