JPH0430055B2 - - Google Patents
Info
- Publication number
- JPH0430055B2 JPH0430055B2 JP57233903A JP23390382A JPH0430055B2 JP H0430055 B2 JPH0430055 B2 JP H0430055B2 JP 57233903 A JP57233903 A JP 57233903A JP 23390382 A JP23390382 A JP 23390382A JP H0430055 B2 JPH0430055 B2 JP H0430055B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- data
- array
- storage device
- storage section
- 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 - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Debugging And Monitoring (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】
a 発明の技術分野
本発明は、データ処理装置において、主記憶装
置からバツフア記憶装置へデータを移動する際
に、バツフア記憶装置を管理するアドレスアレイ
の内容の正当性を検査する方式に関するものであ
る。Detailed Description of the Invention a. Technical Field of the Invention The present invention is directed to verifying the validity of the contents of an address array that manages a buffer storage device when moving data from a main storage device to a buffer storage device in a data processing device. This relates to the method of inspection.
b 従来技術とその問題点
一般にデータ処理装置において、主記憶装置か
らバツフア記憶装置へデータを移動する場合に
は、固定長(ブロツクと呼ぶ;例えば64バイト)
でデータを登録、管理する。主記憶装置からバツ
フア記憶装置へのデータの移動は、ブロツクを数
回に分けて行われている(例えば8バイト*8
回)。また、バツフア記憶装置にデータが移動さ
れると同時に、そのデータを管理するために、そ
のデータが記憶されていた主記憶装置上でのアド
レスをバツフア記憶装置内のアドレスアレイに記
憶する。b. Prior art and its problems Generally, in a data processing device, when data is moved from the main memory to the buffer memory, it is fixed length (called a block; for example, 64 bytes).
Register and manage data. Data is moved from the main memory to the buffer memory by dividing the block into several blocks (for example, 8 bytes*8
times). Further, at the same time that data is moved to the buffer storage device, in order to manage the data, the address on the main storage device where the data was stored is stored in an address array in the buffer storage device.
また、アドレスアレイの正当性を検査すること
も行われている。 Additionally, the validity of the address array is also checked.
従来、アドレスアレイの正当性の検査は、主記
憶装置からのデータの移動時には行なわれず、移
動が完了した後、実際にバツフア記憶装置からデ
ータを読出す時に検査するのが普通であつた。そ
のためアドレスアレイの内容が不正当であること
が検出された場合、その不正当の原因がアドレス
アレイ自身の固定障害によるのか、アドレスの書
込み又は読出し時に生じたものかの区別ができな
かつた。 Conventionally, the validity of the address array was not checked when data was moved from the main memory, but was usually checked when the data was actually read from the buffer storage after the movement was completed. Therefore, when it is detected that the contents of the address array are invalid, it is impossible to distinguish whether the cause of the invalidity is due to a fixed failure in the address array itself or whether it occurs when writing or reading the address.
また、データの移動時にアドレスアレイの内容
の正当性を検査しようとすると、バツフア記憶装
置の読出しと書込みは同時に行なえないため、余
分な処理時間を要するという欠点があつた。 Furthermore, when attempting to check the validity of the contents of the address array during data movement, reading and writing to the buffer storage device cannot be performed at the same time, resulting in the disadvantage that extra processing time is required.
c 発明の目的
そこで本発明では、主記憶装置からバツフア記
憶装置へのデータ移動時に余分な処理時間を要さ
ずに、アドレスアレイの内容の正当性を検査しよ
うとするものである。c. Object of the Invention Therefore, the present invention attempts to check the validity of the contents of the address array without requiring extra processing time when moving data from the main memory to the buffer memory.
d 発明の構成
そのため本発明では、主記憶装置の任意の1ブ
ロツクのデータと、そのブロツクのアドレスと
を、バツフア記憶装置に移動する際に、前記1ブ
ロツクのデータは、分割しながら移動するデータ
処理装置において、少なくともアドレスが移動さ
れる記憶素子をデータが移動される記憶素子と独
立させ、分割されたデータが最後に移動されるタ
イミングと同タイミングで、前記記憶素子よりア
ドレスを読み出し、そのアドレスの正当性を検査
することを特徴とするバツフア記憶制御方式を提
供する。d.Structure of the Invention Therefore, in the present invention, when moving any one block of data in the main storage device and the address of that block to the buffer storage device, the one block of data is divided into data to be moved. In the processing device, at least the storage element to which the address is moved is made independent of the storage element to which the data is moved, and the address is read from the storage element at the same timing as the last movement of the divided data, and the address is The present invention provides a buffer storage control method characterized by checking the validity of the buffer storage.
e 発明の実施例
図は本発明の一実施例であるバツフア記憶装置
のアドレスアレイ(teg記憶、デイレクトリとも
言う)の一部を示すブロツク図である。実際には
図に示した回路が複数個(いわゆる複数ウエイ)
存在する。e. Embodiment of the Invention The figure is a block diagram showing part of an address array (also referred to as TEG storage or directory) of a buffer storage device that is an embodiment of the invention. In reality, there are multiple circuits shown in the figure (so-called multiple ways).
exist.
図においては、1は制御ビツト用アレイ、2は
アドレスアレイ、3は比較回路、4は判定回路、
5〜7はオア・ゲートを示す。 In the figure, 1 is a control bit array, 2 is an address array, 3 is a comparison circuit, 4 is a judgment circuit,
5 to 7 indicate or gates.
図にはデータが主記憶装置から格納されるデー
タアレイは示されていない。アレイ1にはアレイ
2の各エントリのエントリ有効標識V,エントリ
不良標識Dが記憶されている。本発明ではデータ
アレイ、アドレスアレイ2、及び制御ビツト用ア
レイ1をそれぞれ独立に動作可能とし、書込みと
読出しとを並行して行なえるようにした。 The data array in which data is stored from main memory is not shown in the figure. Array 1 stores an entry valid indicator V and an entry defect indicator D for each entry in array 2. In the present invention, the data array, address array 2, and control bit array 1 can each be operated independently, so that writing and reading can be performed in parallel.
アレイ2には主記憶装置からバツフア記憶装置
に格納されたデータの主記憶装置上におけるブロ
ツクアドレスの一部が記憶されている。 The array 2 stores part of the block addresses on the main memory of data stored from the main memory to the buffer memory.
通常の使用時においては、アクセスすべきデー
タのアドレスの下位ビツトがアレイ1,2に与え
られると、アレイ1,2は比較回路3に対して、
該アドレスの下位ビツトに対応するエントリに登
録されたV,D,アドレスを読出す。比較回路3
はアレイ1のVが“1”(そのアドレスに対応す
るアレイ2のエントリに有効なアドレスが記憶さ
れていることを示す)であり、Dが“0”(その
アドレスに対応するアレイ2のエントリに不良が
無いことを示す)であり、且つアレイ2より読出
されたアドレスが、アクセスされるべきアドレス
の上位ビツト一致するか否かを比較する。判定回
路4は一致がとれた場合には、読出したいデータ
がバツフア記憶装置内に有ると判断する。読出し
たいデータがバツフア記憶装置内に無い場合は、
主記憶装置からデータを移動する。 In normal use, when the lower bits of the address of data to be accessed are given to arrays 1 and 2, arrays 1 and 2 communicate with comparator circuit 3,
The V, D, and address registered in the entry corresponding to the lower bit of the address are read. Comparison circuit 3
In this case, V of array 1 is "1" (indicating that a valid address is stored in the entry of array 2 corresponding to that address), and D is "0" (indicating that the entry of array 2 corresponding to that address is stored). ), and the address read from array 2 matches the address to be accessed in the upper bits. If there is a match, the determination circuit 4 determines that the data to be read is present in the buffer storage device. If the data you want to read is not in the buffer storage device,
Move data from main storage.
次に主記憶装置からバツフア記憶装置へデータ
を転送し、バツフア記憶装置に格納する場合の動
作を説明する。移動は例えば、1ブロツク64バイ
トを、8バイトづづ8回の移動で行なうものと仮
定する。これは、主記憶装置とバツフア記憶装置
間のデータ転送用のバス幅が8バイトである場合
を想定している。64バイトをデータアレイ格納の
1ブロツクとすると8バイト転送が8回必要とな
る。 Next, the operation of transferring data from the main memory to the buffer memory and storing it in the buffer memory will be described. For example, it is assumed that one block of 64 bytes is moved eight times each by eight bytes. This assumes that the bus width for data transfer between the main storage device and the buffer storage device is 8 bytes. If one block of data array storage is 64 bytes, eight 8-byte transfers are required.
1回目の転送時(ムーブイン)にデータアレイ
に8バイトデータを書込むとともに、アレイ1の
Vには“0”を、かつアレイ2には該ブロツクの
主記憶装置上のアドレスの上位ビツトを記憶す
る。1回目の8バイトが転送されてきたことは、
図のゲート7に入力されるフアーストムーブイン
信号で判る。 At the first transfer (move-in), 8-byte data is written to the data array, and "0" is stored in V of array 1, and the upper bit of the address on the main memory of the block is stored in array 2. do. The fact that the first 8 bytes were transferred is
This can be seen from the first move-in signal input to gate 7 in the figure.
2回目から7回目までは、データアレイに各8
バイトデータを書込む。 From the 2nd to the 7th time, each 8
Write byte data.
8回目の転送時(転送時にあることは、図のゲ
ート7へラストムーブイン信号が入力されること
で判る)にデータアレイに最後の8バイトデータ
を書き込むと共に、アレイ1のVに”1”を書込
む。この書込みは、アレイ1にラストムーブイン
信号が入ることによつて行われる。同時に、アレ
イ2からは1回目の移動時に登録したアドレスを
読出す。読出されたアドレスは比較回路3で当該
ブロツクの主記憶装置上のアドレスの上位ビツト
と比較される。比較の結果、一致はアレイ2内に
アドレスが正確に記憶されていることを示し、不
一致は正しく記憶されていないことを示す。 At the time of the 8th transfer (this can be seen by the input of the last move-in signal to gate 7 in the figure), the last 8 bytes of data are written to the data array, and V of array 1 is set to "1". Write. This writing is performed by inputting the last move-in signal to array 1. At the same time, the address registered during the first movement is read from array 2. The read address is compared in comparison circuit 3 with the upper bits of the address on the main memory of the block. As a result of the comparison, a match indicates that the address is correctly stored in array 2, and a mismatch indicates that it is incorrectly stored.
不一致の場合、そのエントリは不良であるとみ
なし、判定回路4よりエラーを表示する。更にア
レイ1のDに“1”(不良であることを示す)を
登録する。ただし、これは余分な時間を要する。 If they do not match, the entry is considered to be defective, and the determination circuit 4 displays an error. Furthermore, "1" (indicating that it is defective) is registered in D of array 1. However, this requires extra time.
また比較が一致した場合であつても、他に複数
個存在する比較回路の比較結果がすべて不一致で
ない場合、同一アドレスが他に複数存在するアド
レスアレイのいずれかに重複して記憶されている
ことを示すので、判定回路4はエラを表示する。
従つて、8バイト転送が8回行われている間に、
並行して、以下の動作を行なう。アドレスアレイ
に第1回目のデータがデータアレイに格納された
時に、アドレスアレイにアドレスを格納し、8回
目のデータがデータアレイに格納された時に、前
記第1回目のデータ格納時にアドレスアレイに格
納されたアドレスを読みだして、その格納された
アドレスに間違いがないかを比較器でチエツクし
ている。即ち、64バイトのデータ転送終了後に比
較するという構成をとらず、並行してアドレスチ
エツクを行つているので、余分な時間をかけずに
チエツクが出来るのである。アドレスの正当性の
チエツクは単にひとつのアドレスアレイの比較に
止まらず、アドレスアレイが複数個もうけられて
いる場合に、同時に複数個のアレイで比較回路3
から一致が検出された場合にエラー表示を行う構
成をとることも出来る。この点は、上述した通
り、図中の判定回路4で行つている。 Furthermore, even if the comparison results in a match, if the comparison results of multiple other comparison circuits do not all match, the same address may be stored redundantly in one of the other multiple address arrays. Therefore, the determination circuit 4 displays an error.
Therefore, while the 8-byte transfer is performed 8 times,
In parallel, perform the following operations. When the first data is stored in the data array, the address is stored in the address array, and when the eighth data is stored in the data array, the address is stored in the address array at the time of the first data storage. The stored address is read out and a comparator is used to check whether the stored address is correct. That is, since the address check is performed in parallel without comparing after the completion of 64-byte data transfer, the check can be performed without taking extra time. Checking the validity of an address is not limited to simply comparing one address array, but when multiple address arrays are created, the comparing circuit 3
It is also possible to adopt a configuration in which an error is displayed when a match is detected. As mentioned above, this point is performed by the determination circuit 4 shown in the figure.
f 発明の効果
本発明によれば、アドレスアレイを余分な時間
をかけずにその正当性を検査することができる。f Effects of the Invention According to the present invention, the validity of an address array can be checked without spending extra time.
図は本発明の一実施例であるバツフア記憶装置
のアドレスアレイの一部を示すブロツク図であ
り、1は制御ビツト用アレイ、2はアドレスアレ
イ、3は比較回路、4は判定回路、5〜7はオ
ア・ゲートを示す。
The figure is a block diagram showing a part of an address array of a buffer storage device according to an embodiment of the present invention, in which 1 is a control bit array, 2 is an address array, 3 is a comparison circuit, 4 is a judgment circuit, 5- 7 indicates an or gate.
Claims (1)
そのブロツクのアドレスとを、バツフア記憶装置
に格納する際に、前記1ブロツクのデータは、前
記主記憶装置からバツフア記憶装置へ複数回の転
送に分割して転送されてくるデータ処理装置に於
いて、 前記バツフア記憶装置は、データを格納してい
るデータ記憶部と、前記データ記憶部のエントリ
に対応してアドレスを記憶するアドレス記憶部
と、比較回路を有し、 前記データ記憶部とアドレス記憶部は独立して
動作し、前記主記憶装置からバツフア記憶装置へ
複数回にデータを分割して順次転送すると共に前
記アドレス記憶部へは前記データのアドレスが転
送されて前記アドレスを格納すると共に、 前記1ブロツクのデータを前記データ記憶部に
格納する間に、 前記アドレス記憶部に格納されたアドレスを読
みだした値と、前記アドレス記憶部に転送されて
来たアドレスであつて前記アドレス記憶部をバイ
パスした値を前記比較回路で比較することを特徴
とするバツフア記憶制御方法。 2 前記バツフア記憶装置は、複数個のアドレス
アレイを有し、複数個のアドレスアレイで前記ア
ドレス比較の一致が検出されたことを判定し、エ
ラー表示することを特徴とする特許請求の範囲第
1項記載のバツフア記憶制御方法。[Claims] 1. Any one block of data in the main storage device;
When storing the address of the block in the buffer storage device, the data of the one block is divided into multiple transfers and transferred from the main storage device to the buffer storage device. , the buffer storage device includes a data storage section that stores data, an address storage section that stores addresses corresponding to entries in the data storage section, and a comparison circuit, and the data storage section and the address storage section The unit operates independently, divides the data into multiple times and sequentially transfers the data from the main memory device to the buffer storage device, and also transfers the address of the data to the address storage unit and stores the address, While storing one block of data in the data storage section, a value obtained by reading out the address stored in the address storage section and an address transferred to the address storage section are stored in the address storage section. A buffer storage control method characterized in that the bypassed values are compared in the comparison circuit. 2. The buffer storage device has a plurality of address arrays, and determines that a match in the address comparison is detected in the plurality of address arrays, and displays an error. Buffer storage control method described in Section 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57233903A JPS59124078A (en) | 1982-12-29 | 1982-12-29 | Buffer storage control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57233903A JPS59124078A (en) | 1982-12-29 | 1982-12-29 | Buffer storage control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59124078A JPS59124078A (en) | 1984-07-18 |
| JPH0430055B2 true JPH0430055B2 (en) | 1992-05-20 |
Family
ID=16962383
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57233903A Granted JPS59124078A (en) | 1982-12-29 | 1982-12-29 | Buffer storage control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59124078A (en) |
-
1982
- 1982-12-29 JP JP57233903A patent/JPS59124078A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59124078A (en) | 1984-07-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4558446A (en) | Memory system | |
| US5202969A (en) | Single-chip-cache-buffer for selectively writing write-back and exclusively writing data-block portions to main-memory based upon indication of bits and bit-strings respectively | |
| US5357473A (en) | Semiconductor storage system including defective bit replacement | |
| US4056844A (en) | Memory control system using plural buffer address arrays | |
| JP2011054263A (en) | Memory error and redundancy | |
| JPS6324428A (en) | Cache memory | |
| KR100972807B1 (en) | Error correction code generation method and memory management device | |
| JPH1097471A (en) | Error correction method and error correction method for memory data | |
| JPH0430055B2 (en) | ||
| JPS6129024B2 (en) | ||
| KR100429095B1 (en) | Random Access Memory in Integrated Circuits and How to Test Them | |
| JPH0283736A (en) | OSC detection method of buffer storage controller | |
| US20020147955A1 (en) | Internal storage memory with EDAC protection | |
| JPS5845120B2 (en) | Buffer memory failure control method | |
| JPH0756640B2 (en) | Storage device | |
| JPH0210446A (en) | Buffer storage device | |
| JPS61211786A (en) | Ic card | |
| JPS6136670B2 (en) | ||
| JPS5963099A (en) | Diagnostic system of memory | |
| JP2993099B2 (en) | Redundant memory device | |
| JPS603769A (en) | Error recovery | |
| JPS62212751A (en) | Data processor | |
| JPS5936359B2 (en) | data buffer device | |
| JPS5826119B2 (en) | Buffer retry method | |
| JPH02129742A (en) | Method for detecting abnormality in address signal to memory |