JPS6015758A - Buffer memory - Google Patents

Buffer memory

Info

Publication number
JPS6015758A
JPS6015758A JP58122609A JP12260983A JPS6015758A JP S6015758 A JPS6015758 A JP S6015758A JP 58122609 A JP58122609 A JP 58122609A JP 12260983 A JP12260983 A JP 12260983A JP S6015758 A JPS6015758 A JP S6015758A
Authority
JP
Japan
Prior art keywords
data
array
address
spare
write
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
JP58122609A
Other languages
Japanese (ja)
Inventor
Mitsunobu Sugimoto
杉本 満信
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 JP58122609A priority Critical patent/JPS6015758A/en
Publication of JPS6015758A publication Critical patent/JPS6015758A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To process data at a high speed and high efficiency by providing a spare data array which stores the write data when an error arises and a spare address array which stores the address of said data array. CONSTITUTION:In a writing operation to a main memory 12, a data checking circuit 10 checks a data write end signal 14. If an error arises, an error report signal 13 is transmitted to an error control circuit 17 which controls a spare address array 15 and a spare data array 16. Then the circuit 17 writes the contents of a data address register 6 to the array 15 and the contents of a write data register 8 to the array 16, resepctively. When an address sent from a CPU11 is received by a buffer address register 1, a comparator 18 compares the contents of the address with the contents of the array 15. Then the data of the array 16 is read out when the coincidence is obtained from said comparison.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、データ処理システムにおいて、処理を高速
化するために、主記憶装置とプロ七ソν−の間に設けら
れるバッファ記憶装置の誤シ処理手段に関するものであ
る。
Detailed Description of the Invention [Technical Field of the Invention] The present invention is directed to a data processing system, in which a buffer storage device provided between a main storage device and a processor ν- is provided with a faulty memory in order to speed up processing. This relates to processing means.

〔従来技術〕[Prior art]

従来この種のバッファ記憶44コ置としては、lS1図
に示すものがあった。第1図は従来のパンツつ′記憶装
置を示すブロック構成図である。図において、1は中央
処理装置(CPU)11から送出されるアドレスを受け
取るバッファ記憶装置用のバッファアドレスレジスタ(
BAR)、2は主記1,5装置(MMU)12の写しを
持つデータアレー7のアトL/スを記憶しているアドレ
スアレー、3はアドレスアレー2から読み出した内容と
中央処J![!装置(CPLT)11から送られてきた
ア1゛レスを比シし、かつそれをエンコードする比較エ
ンコーグ回路、4はバッファ記憶装置内に持っている主
記憶装置(MMU)12のデータの写しの入れ替えを制
御する入れ9え制御レジスタ、5は入れ替え制御レジス
タ4を制御する入れ替え制御回路、6はバッファ記憶装
置への書き込みを行うのに必要なアドレスfランチする
データアドレスレジスタ(DAR)、8はライトデータ
レジスタCWDR)、9は書き込み制御回路、10はデ
ータチェック回路である。
A conventional 44-column buffer memory arrangement of this type is shown in FIG. 1S1. FIG. 1 is a block diagram showing a conventional pants storage device. In the figure, 1 is a buffer address register (
BAR), 2 is an address array that stores the at L/S of the data array 7 that has a copy of the main memory unit (MMU) 12, and 3 is an address array that stores the contents read from the address array 2 and the central processing unit J! [! A comparison encoding circuit compares and encodes the address sent from the device (CPLT) 11, and 4 is a copy of the data in the main memory unit (MMU) 12 held in the buffer storage device. 5 is a replacement control circuit that controls the replacement control register 4; 6 is a data address register (DAR) for launching the address f necessary to write to the buffer storage device; 8 is a data address register (DAR) for 9 is a write control circuit, and 10 is a data check circuit.

次に、上記第1図の動作について説明する。第1図に示
すブロック4f4成図においては、パン7アメモリ領域
を4セントX64カラムで、1つのデータ領域は8バイ
トで、かつ主記憶装置(、MM U ”)12の容量を
1メガバイトとして説明する。中央処理装置(CPU)
It 1からアドレス20ビツト(0〜19ピント)が
送られてくる。このアドレ2:)をバンファアドレスレ
ジスタ(BARQ〜1.)1にマ受は取ると、バッファ
記憶装置はバンファアドレスレジスタ(BARu〜16
)lにしたがってアドレスアレー2を読み出す。この読
み出したアドレスとバンファアドレスレジスタ(B A
 Ro〜、。)1を比較11から送られてきたライトデ
ータレジスタ(WDR)8のデータをデータアレー7に
書き込む動作に入る。データアレー7のアドレスは、バ
ンファアドレスレジスタ(BAR)1の11〜16ビン
トと比較エンコーダ回路3の出力を、上位2ビツトに加
えた計8ビットのアドレスをデータアドレスレジスタ(
DAR)6にセントし、このデータアドレスレジスタ(
DAR)6のアドレスにしたがってνfき込み制御回路
90制仙1により書き込む。、中央処理装置(CPU)
11から送ら11てきたデータを主記憶装置(MMU)
12に送り、この上記憶装W (M M l’J )1
2の曹”き込み動作に入る。主記憶装置F1γ(A、i
M(J )】2は送られてきたデータを、データチェッ
ク回路10によシチェソクし、誤りがなければ〒!き込
み制御回路9により上記憶装R(MMU)12ヘデータ
を書き込む。主記憶装置(MMUJ 121:J、デー
タ書き込み動作終了信号j4を携き込み制御回路9に送
シ処理を終了する。ここで、誤りが報告されるか、又は
データ書き込み動作終了信号J4yバ送られてこない場
合ICは、誤シ報告信号13を中央処理装置(CPU)
11に送出する。中央処理装置(CPU) 11は誤り
報告信号13を受け取ると。
Next, the operation shown in FIG. 1 will be explained. In the block 4f4 diagram shown in FIG. 1, the explanation is given assuming that the pan 7 memory area is 4 cents x 64 columns, one data area is 8 bytes, and the capacity of the main memory device (MMU'') 12 is 1 megabyte. Central processing unit (CPU)
An address of 20 bits (0 to 19 pins) is sent from It1. When this address 2:) is transferred to the buffer address register (BARQ~1.) 1, the buffer storage device is transferred to the buffer address register (BARu~16).
) Read address array 2 according to l. This read address and the buffer address register (B A
Ro~,. )1 from the comparator 11, the data in the write data register (WDR) 8 is written into the data array 7. The address of the data array 7 is a total of 8 bits, which is the 11th to 16th bits of the bumper address register (BAR) 1 and the output of the comparison encoder circuit 3, added to the upper 2 bits.
DAR) 6 and this data address register (
The data is written by the νf write control circuit 90 and the control signal 1 according to the address of DAR)6. , central processing unit (CPU)
The data sent from 11 is sent to the main memory unit (MMU)
12, and the memory W (M M l'J )1
2 starts the reading operation.The main memory device F1γ(A, i
M(J)] 2 checks the sent data through the data check circuit 10, and if there is no error, 〒! Data is written to the upper storage unit R (MMU) 12 by the write control circuit 9. The main memory device (MMUJ 121:J) fetches the data write operation end signal j4 and sends it to the control circuit 9. At this point, an error is reported or the data write operation end signal J4y is sent. If not, the IC sends the error report signal 13 to the central processing unit (CPU).
Send it to 11. When the central processing unit (CPU) 11 receives the error report signal 13.

その処理を中断し、以後の動作を中止する。The process is interrupted and subsequent operations are canceled.

従来のバッファ記憶装置は以上の様に構成されているの
で、パン7ア記憶装置の書き込み動作において、バッフ
ァ記憶装置に該当するアドレスが存在する場合は、バッ
ファ記憶装置と上記1.1に装置(M、1VIU) 1
.2との両刀にデータを書き込む。この時、主記憶装置
(閘MU)12への書き込み動作において、誤りが発生
すると、データ処汀システム金停止し1、その処理7i
中断し、なければ升らないという欠点があった。
Since the conventional buffer storage device is configured as described above, in the write operation of the Pan7a storage device, if the corresponding address exists in the buffer storage device, the buffer storage device and the device (1.1 above) are M, 1VIU) 1
.. Write data to both swords. At this time, if an error occurs in the write operation to the main memory unit (MU) 12, the data processing system stops 1 and the processing 7i
It had the disadvantage that it was interrupted and it would not be full without it.

〔発明の概要〕[Summary of the invention]

この発明は、上記の様な従来のものの欠点全除去する目
的でなさ2tたもので、主記憶装置の記憶内容の一部の
写しを記憶するバッファ記憶装置において、前記主記憶
装置への書き込み動作中の誤り報告信号金堂は散る誤り
制御回路と、誤p発生時tC書き込みデータ、と記憶す
る予備データア1/−と、この予備データアレ・−のア
ドレスを記憶する予備アドレスアレーと、この予備アド
レスアレーのアドレスと要求アドレスを比較す乙比較回
路とを備えて成る(−成を有し、主記憶装置への書き込
み動作において、iB4 f)が発生した場合にも、バ
ッファ記憶装置内のデータを使用し、処理を中断するこ
となく、データ処理システムの動作を続行することがで
きる様にしたバッファ記憶装置を提供することを目的と
している。
The present invention is intended to eliminate all the drawbacks of the conventional ones as described above, and is to provide a buffer storage device that stores a copy of a part of the memory contents of a main storage device, in which a write operation to the main storage device is performed. The error report signal inside includes a scattering error control circuit, a spare data array 1/- for storing tC write data when an error p occurs, a spare address array for storing the address of this spare data array, and this spare address. A comparison circuit that compares the array address and the requested address is provided. It is an object of the present invention to provide a buffer storage device that can be used to continue operation of a data processing system without interrupting processing.

〔発明の実施例〕 以下、この発明の実施例について説明する。第2図はこ
の発明の一実施例であるバッファ記憶装置を示すブロッ
ク構成図で、第1図と同一部分は同一符号を用いて表示
してあり、その詳、粗な説明は省略する。図において、
16は誤シ発生時に書き込みデータを記憶する予備デー
タアレー、15ば予備データアレー16のアドレスを記
憶する予備アドレスアレー、17は主記憶装置(AiM
U)12への書き込み動作中の誤シ報告信号13仝受は
取る誤り制御回路、18は予備アドレスアレー15のア
ドレスと要求アドレスを比較する比較回路である。その
他の構成について社、上記第1図に示すものと同様な構
成を有している。
[Embodiments of the Invention] Examples of the invention will be described below. FIG. 2 is a block diagram showing a buffer storage device according to an embodiment of the present invention. The same parts as those in FIG. In the figure,
16 is a spare data array that stores write data when an error occurs; 15 is a spare address array that stores the address of the spare data array 16; and 17 is a main memory (AiM
U) An error control circuit receives and receives an error report signal 13 during a write operation to 12, and 18 is a comparison circuit that compares the address of the spare address array 15 with the requested address. The rest of the structure is similar to that shown in FIG. 1 above.

次に、上記第2図の動作について説明する。中央処理装
置(CPU) i iからの書き込み要求により、デー
タアレー7への書き込み動作については、上記した第1
図における場合と同様である。さて、主記憶装置(MM
U)12への書き込み動作に入シ、データチェック回路
10はデータ書き込み動作終了信号14が正しくきたこ
と金チェックする。ここで、誤シが発生すると、誤シ報
告信号13を予備アドレスアレー15.予備データアレ
ー16を制御する誤り制御回路17に伝える。誤り制御
回路17はデータアドレスレジスタ(DAR)6の内容
を予備アドレスアレーエ5に書き込み、さらに、ライト
データレジスタ(WDR)8の内容を予備データアレー
16に書き込み、動作を終了する。以後は、誤シの発生
したアドレスの読み出し、@き込みについては、予備ア
ドレスアレー15.予備データアレー16を使用して行
い、主記憶装置(書き込みは行わない。中央処理装置(
CPU)11から送られてきブーアドレス孕バッフ了ア
ドレスレジスタ(B)l)1で受け取ると、・くン7了
アトI/スI/ジスタ(BAR)1の内容と予備アドレ
スアL−−15の内容を比較回路18で比較し、一致す
れば予備データアレー16のデータケ読み出す。また、
梵き込み要求に対しては、中央処理装置(CP U )
11から送られてきた得き込みデータ全書き込む。
Next, the operation shown in FIG. 2 will be explained. In response to a write request from the central processing unit (CPU) i, the write operation to the data array 7 is performed using the first
This is the same as in the figure. Now, the main memory (MM)
U) Upon entering the write operation to 12, the data check circuit 10 checks that the data write operation end signal 14 has been received correctly. Here, when an error occurs, the error report signal 13 is transmitted to the spare address array 15. The error control circuit 17 which controls the preliminary data array 16 is informed. The error control circuit 17 writes the contents of the data address register (DAR) 6 to the spare address array 5, further writes the contents of the write data register (WDR) 8 to the spare data array 16, and ends the operation. Thereafter, for reading and @ writing of the address where the error occurred, the spare address array 15. This is done using the spare data array 16, and the main memory (no writing is done. The central processing unit (
When received by the address register (B) l) 1 sent from the CPU) 11, the contents of the buffer address register (BAR) 1 and the spare address register (BAR) 1 are stored. The comparison circuit 18 compares the contents of the data, and if they match, the data in the preliminary data array 16 is read out. Also,
In response to the request, the central processing unit (CPU)
Write all the acquired data sent from 11.

この様にすることにより、誤シの発生L l’二主記憶
装置(i’1IIRLl ] 2のアドレスを再度アク
1=スしないことになる1、バッファ記憶装置内に主記
憶装置(I〜’EMU)12の写しを常に持つことによ
p、誤りを再度発生させること々く、また、誤りの発生
した場合に、処理を中!!I? L、直ちに故障を修理
する必要がないため、データ処理システムの動作を続行
することができる。
By doing this, the address of the main storage device (i'1IIRLl) 2 will not be accessed again when an error occurs. By always having a copy of EMU) 12, you may not be able to re-occur the error, and if an error occurs, you will not have to immediately repair the malfunction. Operation of the data processing system can continue.

なお、この発明によるバッファ記憶装置全実現させるも
のtよ、上記第2図に示さ、!1.る一実施例のものに
限定されるものではない。
The entire buffer storage device according to the present invention is shown in FIG. 2 above! 1. However, the present invention is not limited to the example shown in FIG.

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

この発明は以上説明した様に、バッファ記憶装置におい
て、主記憶装置(MMU)への書き込み動作中に誤りが
発生した場合にも、バッファ記憶装置内のデータを使用
し、処理全中断することなく、データ処理システムの動
作を続行することができるので、データ処Jl:能率良
く高速度に行うことができ、また、極めて高い信頼性を
持ったデータ処理システムが得られるという優れた効果
を奏するものである。
As explained above, even if an error occurs in a buffer storage device during a write operation to the main memory unit (MMU), the present invention uses the data in the buffer storage device, without interrupting the entire process. , the operation of the data processing system can be continued, so data processing can be performed efficiently and at high speed, and it has the excellent effect of providing a data processing system with extremely high reliability. It is.

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

第1図は従来のバッファ記憶装置を示すブロック構成図
、第2図はこの発明の一実施例であるバッファ記憶装置
を示すブロック構成図である。 図において、l バッファアドレスレジスタ(BAR)
、2.、.7)−レスアレー、3・・・比較エンコーダ
回路、4・・・入れ替え制御レジスタ、5.・入れ替え
制御回路、6 データアドレスレジスタ(DAR)、7
・・・データアレー、8・・・ライトデータレジスタ(
WDR)、9・書き込み制御回路、工0・・・データチ
ェック回路、工1・中央処理装置(CPU)、12主記
憶装置(MMU)、13・誤り報告信号、14データ書
き込み動作終了信号、15 予備アドレスアレー、16
・・予備データアレー、】7 誤勺制御回路、18 ・
比較回路である。 なお、図中、同一符号は同一、又は和尚部分金示す。 代理人 大岩増雄
FIG. 1 is a block diagram showing a conventional buffer storage device, and FIG. 2 is a block diagram showing a buffer storage device according to an embodiment of the present invention. In the figure, l buffer address register (BAR)
, 2. ,.. 7)-Res array, 3... Comparison encoder circuit, 4... Swapping control register, 5.・Exchange control circuit, 6 Data address register (DAR), 7
...Data array, 8...Write data register (
WDR), 9. Write control circuit, 0...Data check circuit, 1. Central processing unit (CPU), 12 Main memory unit (MMU), 13. Error report signal, 14 Data write operation end signal, 15 Spare address array, 16
・・Preliminary data array,】7 Error control circuit, 18 ・
This is a comparison circuit. In addition, in the drawings, the same reference numerals indicate the same parts or parts of the monks. Agent Masuo Oiwa

Claims (1)

【特許請求の範囲】[Claims] 主記憶装置の記憶内容の一部の写しを記憶するバッファ
記憶装置において、前記主記憶装置への書き込み動作中
の誤り報告信号を受け取る誤シ制御回路と、誤シ発生時
に書き込みデータを記憶する予備データアレーと、該予
備データアレーのアドレスを記憶する予備アドレスアレ
ーと、該予備アドレスアレーのアドレスと要求アドレス
を比較する比較回路と金備え、前記主記憶装置への書き
込み動作中に誤シが発生した場合、前記誤り制御回路に
よシ前記予備データアレーにデータを、前記予備アドレ
スアレーにアドレスをそれぞれ書き込み、前記バッファ
記憶装置への読み出し、書き込み要求に対し、その要求
アドレスと前記予備アドレスアレーのアドレスを比較し
、一致すれば前記予備データアレーのデータを読み出し
、又は、中央処理装置から送られてきた書き込みデータ
を省き込む様にして成ることを特徴とするバッファ記憶
装置。
In a buffer storage device that stores a copy of a part of the memory contents of a main memory device, an error control circuit that receives an error report signal during a write operation to the main memory device, and a reserve that stores write data when an error occurs. A data array, a spare address array that stores the addresses of the spare data array, a comparator circuit that compares the addresses of the spare address array with the requested address, and an error occurs during a write operation to the main memory. In this case, the error control circuit writes data to the spare data array and an address to the spare address array, and in response to a read or write request to the buffer storage device, the requested address and the address of the spare address array are written. A buffer storage device characterized in that the addresses are compared, and if they match, the data from the preliminary data array is read out or the write data sent from the central processing unit is omitted.
JP58122609A 1983-07-06 1983-07-06 Buffer memory Pending JPS6015758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58122609A JPS6015758A (en) 1983-07-06 1983-07-06 Buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58122609A JPS6015758A (en) 1983-07-06 1983-07-06 Buffer memory

Publications (1)

Publication Number Publication Date
JPS6015758A true JPS6015758A (en) 1985-01-26

Family

ID=14840175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58122609A Pending JPS6015758A (en) 1983-07-06 1983-07-06 Buffer memory

Country Status (1)

Country Link
JP (1) JPS6015758A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348596A (en) * 1993-06-01 1994-12-22 Internatl Business Mach Corp <Ibm> Cache memory system and method and system for cache memory access

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348596A (en) * 1993-06-01 1994-12-22 Internatl Business Mach Corp <Ibm> Cache memory system and method and system for cache memory access

Similar Documents

Publication Publication Date Title
US5499346A (en) Bus-to-bus bridge for a multiple bus information handling system that optimizes data transfers between a system bus and a peripheral bus
EP0316252B1 (en) Storage addressing error detection
US6381680B1 (en) Data processing system with an enhanced cache memory control
JPS6015758A (en) Buffer memory
JPS58158754A (en) Controlling system
JPH0316655B2 (en)
JP2875435B2 (en) Memory module and computer using the same
JP2993099B2 (en) Redundant memory device
JP2001306411A (en) Information processor and its method
JPH0475152A (en) Nonvolatile memory system
KR100331042B1 (en) Dual storage apparatus in communication system
JPH0217550A (en) Trouble processing system for multiprocessor system
JPH02168314A (en) Memory control system in semiconductor disk device
EP0460852A2 (en) System for maintaining data coherency between main and cache memories
JPH06250933A (en) Access control method for information processor and main storage
JPS59207080A (en) Control device of cache memory
JPH04233052A (en) Duplex memory device
JPH01258054A (en) Access control system for storage device
JPS62245453A (en) Substituting method for alternative memory
JPH10161939A (en) Memory control unit
JPS62256061A (en) Main storage device capable of setting redundant constitution
JPH02113648A (en) Error information storing device
JPH04326436A (en) Cache controller
JPH01197860A (en) Memory fault detecting circuit
JPH04127348A (en) Common memory access trace system