JPS6043541B2 - data processing equipment - Google Patents

data processing equipment

Info

Publication number
JPS6043541B2
JPS6043541B2 JP55139038A JP13903880A JPS6043541B2 JP S6043541 B2 JPS6043541 B2 JP S6043541B2 JP 55139038 A JP55139038 A JP 55139038A JP 13903880 A JP13903880 A JP 13903880A JP S6043541 B2 JPS6043541 B2 JP S6043541B2
Authority
JP
Japan
Prior art keywords
data
local memory
section
processing
memory
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
JP55139038A
Other languages
Japanese (ja)
Other versions
JPS5764399A (en
Inventor
廣貞 利根
順治 宮川
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
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone 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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP55139038A priority Critical patent/JPS6043541B2/en
Publication of JPS5764399A publication Critical patent/JPS5764399A/en
Publication of JPS6043541B2 publication Critical patent/JPS6043541B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation

Description

【発明の詳細な説明】 本発明は、データ処理装置、特に主記憶装置の内容をロ
ーカル・メモリ上に転送しておいて処理に当つて当該転
送された内容をアクセスしつつ処理を実行するローカル
・メモリ方式を採用したデータ処理装置において、ロー
カル・メモリからの読出しデータに誤りが生じたときに
当該ローカル・メモリを初期化すると共に再試行により
処理の継続を図り、かつ初期化実行中には主記憶装置を
アクセスしてローカル・メモリを使用しないようにし、
処理の中断をなくするようにしたデータ処理装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention is directed to a data processing device, particularly a local memory device that transfers the contents of a main memory device to a local memory and executes processing while accessing the transferred contents during processing. - In a data processing device that uses a memory method, when an error occurs in data read from local memory, the local memory is initialized and processing is continued by retrying, and during initialization, Access main storage and avoid using local memory,
The present invention relates to a data processing device that eliminates interruptions in processing.

一般に、ハードウェアに起因する障害には固定的なもの
と間歇的なものとが存在し、いわゆるキャッシュ、メモ
リ(本明細書においてはローカル・メモリと呼ぷ)方式
を採用しているデータ処理装置においても、ローカル・
メモリからの読出しデータに誤りが存在している際に、
その救済のために再試行を行うことが知られている。
In general, there are fixed and intermittent failures caused by hardware, and data processing equipment that uses so-called cache and memory (herein referred to as local memory) methods Even in local
When there is an error in the data read from memory,
It is known that a retry is performed to remedy the problem.

該再試行の方式として、従来、 (2)ローカル・メモリに対して初期化処理を行うj
となく再試行を行う。
Conventionally, the retry method has been as follows: (2) Perform initialization processing on local memory.
Try again without any problem.

(B)ローカル・メモリに対する初期化処理を起動し、
当該初期化がすべて終了するのを待つて、再試行を行う
(B) Start initialization processing for local memory,
Wait until all relevant initialization is completed and try again.

(C)ローカル・メモリに対する初期化処理を起動する
が、当該初期化がすべて終了するのを待つことなく、再
試行を行う。
(C) Start initialization processing for the local memory, but retry without waiting for the initialization to complete.

の各方式が知られている。Various methods are known.

しかし、上記方式囚の場合、ローカル・メモリに対して
初期化が行われないために障害によつて誤まつたデータ
がローカル・メモリ上に残つている可能性があり、再試
行が成功する確率が小さいことが生じる。また方式(B
)の場合、初期化処理が終了するまで処理が中断される
ために、命令制御やバイブライン制御などにおいて特殊
な制御が必要となる。更に方式(C)の場合、処理が継
続されるために上記方式(B)の楊合の如き特殊な制御
を必要としないが上記方式(4)の場合と同じように再
試行が成功しないことが生じる。このために、ローカル
・メモリに対する初期化に要する時間を予め考慮して繰
返し再試行を行わせるなどの対策をとる必要があり、カ
ウンタなどのハード増につながることとなる。本発明は
上記の解決することを目的としており、本発明のデータ
処理装置は、主記憶装置上のデータを予め定めた単位で
ローカル・メモリのデータ部に転送しておいて、演算処
理に当つて上記ローカル・メモリのタグ部の内容を索引
し所望のデータが上記データ部に存在するとき当該デー
タ部に格納されているデータを利用し、存在しないとき
上記主記憶装置をアクセスするデータ処理装置において
、上記ローカル・メモリのタグ部からの読出しデータお
よび/または上記ローカル・メモリのデータ部からの読
出しデータの誤りを検出する誤り検出回路、該誤り検出
回路からの誤り検出出力にもとづいて上記タグ部および
データ部のζ内容を初期化する処理を起動すると共に再
試行を起動する障害回復制御部、および当該障害回復制
御部による初期化処理の実行中におけるメモリ・アクセ
スに当つて上記ローカル●メモリの内容を利用すること
を禁止し上記主記憶装置に対して直3接アクセスするよ
うにせしめるローカル・メモリ使用禁止回路部をもうけ
、初期化処理中において上記主記憶装置をアクセスして
処理を継続するようにしたことを特徴としている。
However, in the case of the above method, since the local memory is not initialized, there is a possibility that incorrect data due to a failure remains in the local memory, and the probability of successful retry is low. may be small. Also, method (B
), the processing is interrupted until the initialization processing is completed, so special control is required for command control, vibe line control, etc. Furthermore, in the case of method (C), no special control such as the above-mentioned method (B) is required in order to continue processing, but as in the case of the above-mentioned method (4), the retry may not be successful. occurs. For this reason, it is necessary to take measures such as repeatedly retrying the time required for initializing the local memory in advance, which leads to an increase in hardware such as counters. The present invention aims to solve the above problems, and the data processing device of the present invention transfers data on a main memory device to a data section of a local memory in predetermined units and performs arithmetic processing. A data processing device that indexes the contents of the tag section of the local memory, uses the data stored in the data section when the desired data exists in the data section, and accesses the main memory when the desired data does not exist. an error detection circuit for detecting an error in the read data from the tag section of the local memory and/or the read data from the data section of the local memory; A failure recovery control unit that starts processing to initialize the ζ contents of the data area and the data area and starts a retry process, and the local memory A local memory use prohibition circuit unit is provided that prohibits the use of the contents of the main memory and allows direct access to the main memory, and accesses the main memory during initialization processing to continue processing. It is characterized by the fact that it is made to do so.

図は本発明の一実施例構成を示す。The figure shows the configuration of an embodiment of the present invention.

図中の符号41はアドレス・レジスタ、2はTLBl3
−0はローカル・メモリのタグ部、3−1はローカル・
メモリのデータ部、4,5−0,5−15は夫々比較器
、6−0,6−15は夫々選択回路、7はデータ・レジ
スタ、8−0,8−15,9は夫々パリテイ・チェック
回路、10は障害回復制御部であつて再試行や初期化な
どを起動せしめる制御を行うもの、11はセット使用禁
止ビット設定レジスタ、12は初期化処理中ローカル・
メモリ使用禁止フラグ設定νジスタ、13はノット・フ
アウンド検出回路、14−0,14−15はオア回路を
表わしている。処理実行のためにアドレス情報がアドレ
ス・レノジスタ1にセットされると、ビット#13ない
し#19によつてTLB2が索引されると共に、ビット
#20ないし#25によつてタグ部3−0とデータ部3
−1とがアクセスされる。
The code 41 in the figure is an address register, and 2 is TLBl3.
-0 is the local memory tag part, 3-1 is the local memory
In the data section of the memory, 4, 5-0 and 5-15 are comparators, 6-0 and 6-15 are selection circuits, 7 is a data register, and 8-0, 8-15 and 9 are parity registers, respectively. 10 is a failure recovery control unit that performs control to activate retry and initialization, 11 is a set use prohibition bit setting register, and 12 is a local register during initialization processing.
13 represents a not/found detection circuit, and 14-0 and 14-15 represent OR circuits. When address information is set in address register 1 for processing execution, TLB 2 is indexed by bits #13 to #19, and tag section 3-0 and data are indexed by bits #20 to #25. Part 3
-1 is accessed.

周知の如くTLB2内には論踵アドレス(LADR)と
実アドレス、(R/0R)との対応が格納されている。
上記ビット#13ないし#19によつてTLB2を索引
した結果において、TLB2から読出された論理アドレ
スLADRがアドレス●レジスタ1中のビット#8ない
し#12と比較器4において比較され、一致していれば
比較器4は一致出力を発して比較器5一0ないし5−1
5による比較処理を有効化する。一方タグ部3−0から
、周知の如く、#0列ないし#15列から一斉に実アド
レスが読出される。またデータ部3−1から、#0列な
いし#托列に格納されているデータが一斉に読出される
。このとき、タグ部3−0から読出された1帽の実アド
レスは夫々比較器5−0ないし5−15においてTLB
2から読出された実アドレスRADRと比較される。今
、図示オア回路14−0ないし14−15からの出力が
共に論理ROョの状態にあるとすると、各比較器5−0
ないし5−15は、もしも比較器4が一致出力を発して
いれば、有効化されている。このために、タグ部3−0
の#0列ないし#15列から読出された実アドレスが上
述のRADRと一致するものがあり、かつ当該実アドレ
スが有効(Vビットが論理r1ョであれば、いずれか1
つのみが一致出力を発する。仮に比較器5−0が一致出
力を発したへすると、選択回路6一0がデータ部3−1
.におdる#0列から読出されたデータを通過可能に選
択し、当該データがデータ・レジスタ7にセットされる
。そして、このデータは処理のために利用される。もし
も、上記比較器4が一致出力を発しないか、あるいは比
較器5−0ないし5−15のいずれもが一致出力を発し
ない場合、データ・レジスタ7にデータがセットされる
ことがなく、ノット・フアウンド検出回路13が出力を
発し、図示しない主記憶装置に対してアクセスが行われ
る。そして主記憶装置からブロック・フエツチされたデ
ータは、データ・バスDATAを介してデータ◆レジス
タ7にセットされ、処理のために利用される。勿論この
とき、当該ブロック・フエツチされたデータはデータ部
3−1に格納され、これに対してタグ部3−0の内容が
更新される。上記処理において、タグ部3−0から読出
されたデータやデータ部3−1から読出されてデータ・
レジスタ7にセットされたデータは夫々、パリテイ◆チ
ェック回路8−0,8−15,9においてエラー・チェ
ックされる。
As is well known, the TLB2 stores the correspondence between a logical address (LADR) and a real address (R/0R).
As a result of indexing TLB2 using bits #13 to #19, the logical address LADR read from TLB2 is compared with bits #8 to #12 in address register 1 in comparator 4, and if they match. For example, comparator 4 issues a coincidence output and comparators 5-1 to 5-1
Enable the comparison process according to 5. On the other hand, as is well known, real addresses are read out from the tag section 3-0 all at once from columns #0 to #15. Further, data stored in columns #0 to #stack are read out all at once from the data section 3-1. At this time, the real address of one hat read from the tag unit 3-0 is read out from the TLB in the comparators 5-0 to 5-15, respectively.
It is compared with the real address RADR read from RADR. Now, assuming that the outputs from the OR circuits 14-0 to 14-15 shown in the figure are both in the logic RO? state, each comparator 5-0
5-15 are enabled if comparator 4 is issuing a match output. For this purpose, the tag part 3-0
If there is a real address read from column #0 to column #15 of RADR that matches the above-mentioned RADR, and the real address is valid (if the V bit is logical r1, then either one
Only one emits a matching output. If the comparator 5-0 issues a match output, the selection circuit 6-0 selects the data part 3-1.
.. The data read from the #0 column is selected to be passable, and the data is set in the data register 7. This data is then used for processing. If the comparator 4 does not issue a match output, or if none of the comparators 5-0 to 5-15 issue a match output, data will not be set in the data register 7 and the - The found detection circuit 13 issues an output, and the main storage device (not shown) is accessed. The data block fetched from the main memory is set in the data register 7 via the data bus DATA and used for processing. Of course, at this time, the block fetched data is stored in the data section 3-1, and the contents of the tag section 3-0 are updated accordingly. In the above processing, data read from the tag section 3-0 and data read from the data section 3-1.
The data set in the register 7 is checked for errors in parity check circuits 8-0, 8-15, and 9, respectively.

いずれかでエラーが検出されると障害回復制御部10に
よつて障害回復のための制御が行われる。即ち、本発明
の場合、ローカル・メモリのタグ部3−0とデータ部3
−1とに対して初期化処理が起動され、そして同時に再
試行が起動される。また本発明の場合、あわせて図示出
力Kが論理r′1Jとされ、初期化処理中ローカル・メ
モリ使用禁止フラグ設定レジスタ12がセットされる。
上記初期化処理においては、図示タグ部3−0において
各ビットは順次論理ROョにされてゆく。一方上述の如
く再試行が起動されるが、この楊合、図示オア回路14
−0ないし14−15が一斉に論理r1ョであることか
ら、各比較器5一0,5−15は無効化されることとな
つていずれも一致出力を発することがない。このために
ノット・フアウンド検出回路13がオンされ、上述の如
く図示しない主記憶装置に対してアクセスされる。そし
てバスDATAを介して転送されてきたデータにもとづ
いて、処理が継続されてゆく。この場合にも、上述の場
合と同様に、ローカル・メモリ(3−0,3−1)に対
して書込まれたが、何んら差支えが生じることはない。
そして、初期化処理がすべて終了すると、レジスタ11
2の内容が論理ROJとされ、通常の状態に戻る。勿論
、この場合一般には上記初期化処理によつてVビットが
論理ROJとされているので、しばらくの間ブロック・
フエツチが繰返し行われることとなる。なお、図示レジ
スタ11は、ローカル・メモリ上の任意の列を指定して
、比較器5−0ないし5−15を無効化するものであり
、ローカル・メモリ上に固定障害が発生した場合や検査
のために論理r1ョがセットされるものである。
If an error is detected in any one of them, the failure recovery control unit 10 performs control for failure recovery. That is, in the case of the present invention, the tag section 3-0 and the data section 3 of the local memory
Initialization processing is activated for -1, and retry is activated at the same time. In addition, in the case of the present invention, the illustrated output K is set to logic r'1J, and the local memory use prohibition flag setting register 12 is set during the initialization process.
In the above initialization process, each bit is sequentially set to logical RO in the illustrated tag unit 3-0. On the other hand, as described above, a retry is activated, but in this case, the illustrated OR circuit 14
Since -0 to 14-15 are all at logic r1, each comparator 5-0, 5-15 is disabled and none of them will produce a matching output. For this purpose, the not-found detection circuit 13 is turned on, and the main memory (not shown) is accessed as described above. Processing then continues based on the data transferred via the bus DATA. In this case, as in the case described above, the data is written to the local memory (3-0, 3-1), but no problem occurs.
Then, when all the initialization processing is completed, the register 11
The contents of 2 are set as the logical ROJ, and the normal state is returned. Of course, in this case, the V bit is generally set as the logical ROJ by the above initialization process, so it will not be blocked for a while.
The fetish will be repeated. Note that the register 11 shown in the figure specifies an arbitrary column on the local memory and disables the comparators 5-0 to 5-15, and is used when a fixed failure occurs on the local memory or during inspection. Logic r1 is set for this purpose.

以上説明した如く、本発明によれば、障害検出によつて
ローカル・メモリが初期化され終るまでの間にも、主記
憶装置を直接アクセスすることによつて処理が中断され
ることがなく、かつローカル・メモリを初期化するため
に誤まつたデータが繰返して読出されることがない。
As explained above, according to the present invention, processing is not interrupted by directly accessing the main storage device even until the local memory is initialized due to failure detection, and Erroneous data is not repeatedly read to initialize local memory.

更に図示の如く、オア回路14−0ないし14−15を
もうけると共にレジスタ12をもうけるだけで足り、極
く少量のハードウェア増のみで足りる。
Further, as shown in the figure, it is sufficient to provide the OR circuits 14-0 to 14-15 and the register 12, and only a very small amount of hardware is required.

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

図は本発明の一実施例構成を示す。 図中、1はアドレス・レジスタ、2はTLBl3−0は
ローカル・メモリのタグ部、3−1はローカル・メモリ
のデータ部、4,5−0,5−15は夫々比較器、6−
0,6−15は選択回路、ノ8−0,8−15,9は夫
々エラー検出回路、10は障害回復制御部、12は初期
化処理中ローカル・メモリ使用禁止フラグ設定レジスタ
を表わす。
The figure shows the configuration of an embodiment of the present invention. In the figure, 1 is an address register, 2 is a TLB, 3-0 is a local memory tag section, 3-1 is a local memory data section, 4, 5-0, and 5-15 are comparators, and 6-
0 and 6-15 are selection circuits, 8-0, 8-15 and 9 are error detection circuits, 10 is a failure recovery control unit, and 12 is a local memory use prohibition flag setting register during initialization processing.

Claims (1)

【特許請求の範囲】[Claims] 1 主記憶装置上のデータを予め定めた単位でローカル
・メモリのデータ部に転送しておいて、演算処理に当つ
て上記ローカル・メモリのタグ部の内容を索引し所望の
データが上記データ部に存在するとき当該データ部に格
納されているデータを利用し、存在しないとき上記主記
憶装置をアクセスするデータ処理装置において、上記ロ
ーカル・メモリのタグ部からの読出しデータおよび/ま
たは上記ローカル・メモリのデータ部からの読出しデー
タの誤りを検出する誤り検出回路、該誤り検出回路から
の誤り検出出力にもとづいて少くとも上記タグ部の内容
を初期化する処理を起動すると共に再試行を起動する障
害回復制御部、および当該障害回復制御部による初期化
処理の実行中におけるメモリ・アクセスに当つて上記ロ
ーカル・メモリの内容を利用することを禁止し上記主記
憶装置に対して直接アクセスするようにせしめるローカ
ル・メモリ使用禁止回路部をもうけ、初期化処理中は直
接上記主記憶装置との間でデータ転送を行い、ローカル
・メモリの使用を禁止するようにしたことを特徴とする
データ処理装置。
1 The data on the main storage device is transferred to the data section of the local memory in predetermined units, and during arithmetic processing, the contents of the tag section of the local memory are indexed and the desired data is transferred to the data section of the local memory. In a data processing device that utilizes data stored in the data section when the tag section exists in the data section, and accesses the main memory when the data section does not exist, read data from the tag section of the local memory and/or the data stored in the local memory an error detection circuit that detects an error in read data from the data section of the data section, and a failure that starts processing to initialize at least the contents of the tag section and a retry based on the error detection output from the error detection circuit; A recovery controller and a local controller that prohibits the failure recovery controller from using the contents of the local memory during memory access during initialization processing and causes the main storage to be directly accessed. - A data processing device comprising a memory use prohibition circuit unit, which directly transfers data to and from the main storage device during initialization processing, and prohibits use of the local memory.
JP55139038A 1980-10-03 1980-10-03 data processing equipment Expired JPS6043541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55139038A JPS6043541B2 (en) 1980-10-03 1980-10-03 data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55139038A JPS6043541B2 (en) 1980-10-03 1980-10-03 data processing equipment

Publications (2)

Publication Number Publication Date
JPS5764399A JPS5764399A (en) 1982-04-19
JPS6043541B2 true JPS6043541B2 (en) 1985-09-28

Family

ID=15235999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55139038A Expired JPS6043541B2 (en) 1980-10-03 1980-10-03 data processing equipment

Country Status (1)

Country Link
JP (1) JPS6043541B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60177042U (en) * 1984-05-01 1985-11-25 株式会社吉野工業所 Cap with spout
JPS6143136U (en) * 1984-08-24 1986-03-20 株式会社吉野工業所 liquid pouring container

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5958557A (en) * 1982-09-28 1984-04-04 Fujitsu Ltd Automatic correction system of memory data error by microcontrol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60177042U (en) * 1984-05-01 1985-11-25 株式会社吉野工業所 Cap with spout
JPS6143136U (en) * 1984-08-24 1986-03-20 株式会社吉野工業所 liquid pouring container

Also Published As

Publication number Publication date
JPS5764399A (en) 1982-04-19

Similar Documents

Publication Publication Date Title
US3800294A (en) System for improving the reliability of systems using dirty memories
US4903194A (en) Storage addressing error detection circuitry
JP2519286B2 (en) Address line test method
JPS61114353A (en) Access collation structural body for digital data processingsystem having demand time paging memory
JPH05334170A (en) Control circuit for dual port memory
EP0709782A2 (en) Error detection system for mirrored memory between dual disk storage controllers
JPS6391764A (en) Memory system having parity checking function
JPS6043541B2 (en) data processing equipment
JPH0316655B2 (en)
JP2002536718A (en) Address remapping assurance apparatus and method
JPS6129024B2 (en)
JPS5831680B2 (en) Control method for multiplexed storage device
JPS62293582A (en) Memory device
JPH0816487A (en) Data processor
JPS59176851A (en) Data storing system
JPH04338847A (en) Address conversion buffer diagnostic device
JPS59207080A (en) Control device of cache memory
JPS5622281A (en) Buffer memory control system
JPH06161797A (en) Data processor
JPS63266539A (en) Data processor
JPH0341538A (en) Main storage device
JPH08166891A (en) Fault tolerant computer system
JPH0564376B2 (en)
JPH0496844A (en) Cache memory control circuit
JPH04233052A (en) Duplex memory device