JPS6136666B2 - - Google Patents
Info
- Publication number
- JPS6136666B2 JPS6136666B2 JP56093040A JP9304081A JPS6136666B2 JP S6136666 B2 JPS6136666 B2 JP S6136666B2 JP 56093040 A JP56093040 A JP 56093040A JP 9304081 A JP9304081 A JP 9304081A JP S6136666 B2 JPS6136666 B2 JP S6136666B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- block
- buffer
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】
本発明は、データ処理装置のバツフア記憶装置
に関するもので、特にデータ転送を制御するバツ
フア記憶装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a buffer storage device for a data processing device, and more particularly to a buffer storage device for controlling data transfer.
一般に、高速の論理装置にとつて、主記憶装置
は大容量であるが低速であるため、この速度のギ
ヤツプを最小限にするために主記憶装置内のデー
タの一部を記憶する論理装置と同程度に高速なバ
ツフア記憶装置を設ける方法が、広く採用されて
いる。このバツフア記憶装置内のデータメモリに
は、主記憶装置内のデータを32バイト長程度のブ
ロツクを単位としてデータが格納され、バツフア
記憶装置内に所望データが存在しなければ、前記
ブロツクを単位として主記憶装置へのアクセスが
行われる。このアクセスによる主記憶装置からバ
ツフア記憶装置に対して行われるブロツク転送
は、一般に8バイト長のデータを4回の時分割転
送により行われる。 In general, for high-speed logical devices, main memory has a large capacity but is slow, so to minimize this speed gap, a logical device that stores a portion of the data in main memory is used. Providing equally fast buffer storage is widely adopted. The data memory in this buffer storage device stores the data in the main storage device in units of blocks of about 32 bytes in length, and if the desired data does not exist in the buffer storage device, the data is stored in units of blocks. Access to main storage is made. The block transfer performed from the main memory to the buffer storage by this access is generally performed by time-divisionally transferring 8-byte data four times.
従来、この種のバツフア記憶装置では、4回の
時分割で転送されてきたブロツクデータをデータ
メモリへすべて格納し終るまで、次の新たな論理
装置からのアクセスを受付けないビジー状態とし
ていたため、この間論理装置は待と状態となつて
しまう欠点があつた。 Conventionally, this type of buffer storage device was in a busy state in which it did not accept access from the next new logical device until all the block data transferred in four time divisions had been stored in the data memory. During this time, the logic device had the disadvantage of being in a waiting state.
この欠点を解決する方法として、データバツフ
アを設ける方法が知られている。すなわち主記憶
装置から転送されてきたブロツクデータを一旦デ
ータバツフアに格納し、バツフア記憶装置の空き
時間にデータバツフアの内容をデータメモリに移
すことにより、ブロツク転送中であつても論理装
置からバツフア記憶装置へのアクセスを可能にで
きる方法が知らている。しかし、この解決方法で
はデータメモリに対して設けられ、データメモリ
の内容である各ブロツクの主記憶装置内でのアド
レス情報と各ブロツクの有効性を示む有効性ビツ
トとを持つ管理テーブルをデータバツフアに対し
ても別に設けなければならなかつたため、金物量
が増大する欠点があつた。 As a method to solve this drawback, a method of providing a data buffer is known. That is, by temporarily storing the block data transferred from the main memory in the data buffer and moving the contents of the data buffer to the data memory when the buffer memory is free, the data can be transferred from the logical device to the buffer memory even during block transfer. I know of a way to enable access. However, in this solution, a management table is provided for the data memory and has address information in the main memory of each block that is the contents of the data memory and a validity bit indicating the validity of each block. This had the disadvantage of increasing the amount of hardware since it had to be provided separately.
本発明の目的は、データメモリに対して設けら
れる管理テーブルメモリ内に各ブロツクの内容
が、データメモリあるいはデータバツフアのいず
れに存在するかを示す格納位置表示ビツトを追加
することにより、上記欠点を解決し、最小限の金
物量の増加で主記憶装置からのブロツク転送中で
あつても論理装置からのアクセスを受付可能にし
たバツフア記憶装置を提供することにある。 An object of the present invention is to solve the above-mentioned drawbacks by adding a storage position indicating bit in the management table memory provided for the data memory to indicate whether the contents of each block exist in the data memory or the data buffer. However, it is an object of the present invention to provide a buffer storage device that can accept access from a logical device even during block transfer from a main storage device with a minimum increase in the amount of hardware.
本発明のバツフア記憶装置は、主記憶装置の記
憶内容の一部をブロツク単位で記憶するデータメ
モリと、主記憶装置からの転送ブロツクを一時的
に記憶するデータバツフアと、前記データメモリ
内の各ブロツクに対応して設けられ各ブロツクに
対する主記憶装置内の記憶位置を示すアドレス情
報と前記データメモリあるいは前記データバツフ
ア内の各ブロツクの内容が有効であることを示す
有効性ビツト情報と各ブロツクの内容がデータバ
ツフア内あるいは前記データメモリのどの位置に
存在するかを示す格納位置表示ビツト情報とを記
憶する管理テーブルメモリとを含み、主記憶アク
セス発生時にアクセスされたブロツクが前記有効
性ビツト情報により有効表示されていれば前記格
納位置表示ビツト情報に従つて前記データメモリ
あるいは前記データバツフアからの読出データの
いずれかを選択して所望データとし、主記憶装置
からのブロツク転送発生時には、転送されてきた
ブロツクデータを一旦前記データバツフアに格納
し、空き時間に前記データバツフア内の有効デー
タを前記データメモリへ移すように制御すること
を特徴とする。 The buffer storage device of the present invention includes a data memory that stores part of the storage contents of the main storage device in block units, a data buffer that temporarily stores transfer blocks from the main storage device, and each block in the data memory. address information indicating the storage location in the main memory for each block; validity bit information indicating that the contents of each block in the data memory or the data buffer are valid; and the contents of each block. A management table memory that stores storage position display bit information indicating where the block exists in the data buffer or the data memory, and the block accessed when the main memory access occurs is indicated as valid by the validity bit information. If so, either the read data from the data memory or the data buffer is selected as desired data according to the storage position display bit information, and when a block transfer from the main memory occurs, the transferred block data is is temporarily stored in the data buffer, and the valid data in the data buffer is controlled to be transferred to the data memory during free time.
本発明は、前記データバツフアを設けることに
より主記憶装置からバツフア記憶装置へのブロツ
ク転送の所要時間がデータ処理速度に与える影響
を無くすとともに、データメモリに対して設けら
れる管理テーブルメモリ内に、前記格納位置表示
ビツト情報を追加することにより、データバツフ
ア対応の管理テーブルおよびこの管理テーブルに
対する参照制御回路を不必要とすることができ
る。 The present invention eliminates the influence of the time required for block transfer from the main storage device to the buffer storage device on the data processing speed by providing the data buffer, and also provides the data storage system in the management table memory provided for the data memory. By adding the position display bit information, a management table corresponding to the data buffer and a reference control circuit for this management table can be made unnecessary.
次に本発明について図面を参照して詳細に説明
する。 Next, the present invention will be explained in detail with reference to the drawings.
図は本発明一実施例装置の回路構成図である。
図において論理装置1および主記憶装置2はバツ
フア記憶装置3を介して構成されている。本実施
例におけるバツフア記憶方式は、セツト数64、コ
ンパートメント数2、ブロツク長32バイトのセツ
トアソシアテイブ方式を採用し、主記憶装置2か
らバツフア記憶装置3へのブロツク転送は1回の
アクセスにつき8バイトずつ4回の時分割転送と
しているが、他の方式を採用してもよい。 The figure is a circuit configuration diagram of a device according to an embodiment of the present invention.
In the figure, a logical device 1 and a main storage device 2 are configured via a buffer storage device 3. The buffer storage method in this embodiment employs a set associative method with 64 sets, 2 compartments, and a block length of 32 bytes, and block transfer from the main storage device 2 to the buffer storage device 3 is performed per access. Although time-division transfer of 8 bytes each is performed four times, other methods may be adopted.
バツフア記憶装置3は、アドレスレジスタ5、
データメモリ6、データバツフア7、管理テーブ
ルメモリ8、比較回路9、選択回路10,11、
バツフアアドレスレジスタ12、加算回路14,
15、選択回路16,17,18、書込アドレス
レジスタ20および制御回路21を備える。 The buffer storage device 3 includes an address register 5,
data memory 6, data buffer 7, management table memory 8, comparison circuit 9, selection circuits 10, 11,
buffer address register 12, addition circuit 14,
15, selection circuits 16, 17, 18, a write address register 20, and a control circuit 21.
上記データメモリ6は、主記憶装置2の記憶内
容の一部を32バイト長のブロツク単位で記憶し、
1アクセス当りの読出/書込データ幅が各コンパ
ートメント8バイトである。またデータバツフア
7は、主記憶装置2からの転送ブロツクを一時的
に格納し4ワード×8バイトの構成をもち、広く
知られているレジスタフアイルを使うことにより
読出と書込とを同時に行うことができる。 The data memory 6 stores a part of the storage contents of the main storage device 2 in units of 32-byte blocks,
The read/write data width per access is 8 bytes for each compartment. The data buffer 7 temporarily stores transfer blocks from the main memory 2 and has a 4 word x 8 byte configuration, and can read and write at the same time by using a widely known register file. can.
また管理テーブルメモリ8は、データメモリ6
内の各ブロツクに対応して各ブロツクの主記憶装
置2での記憶位置を示すアドレスのビツト8〜20
を記憶するアドレスメモリ8―1と、各ブロツク
の内容が主記憶装置2の記憶内容と同一であるか
否かを示す有効性ビツトおよび各ブロツクの内容
がデータメモリ6またはデータバツフア7のいず
れに存在するかを示す格納位置表示ビツトを記憶
する管理メモリ8―2とから成る。 The management table memory 8 also includes the data memory 6.
Bits 8 to 20 of the address indicate the storage location of each block in the main memory device 2 corresponding to each block in the block.
address memory 8-1 for storing the data, a validity bit indicating whether the contents of each block are the same as the contents stored in the main memory 2, and whether the contents of each block exist in the data memory 6 or the data buffer 7. and a management memory 8-2 for storing a storage position indicating bit indicating whether or not the data is to be stored.
また比較回路9は、アドレスメモリ8―1の2
コンパートメント分の出力それぞれとアドレスレ
ジスタ5のビツト8〜20とを比較する。また選択
回路10は、データメモリ6の2コンパートメン
ト分の出力のうち比較回路9で一致が検出された
方を選択する。また選択回路11は、管理メモリ
8―2内の格納位置表示ビツトにより選択回路1
0またはデータバツフア7のいずれかの出力を選
択する。 In addition, the comparison circuit 9 is connected to the address memory 8-1-2 .
Each compartment output is compared with bits 8 to 20 of address register 5. Further, the selection circuit 10 selects the output of the two compartments of the data memory 6 for which the comparison circuit 9 detects a match. Further, the selection circuit 11 selects the selection circuit 1 according to the storage position display bit in the management memory 8-2 .
0 or data buffer 7 is selected.
またバツフアアドレスレジスタ12は、データ
バツフア7内のブロツクに対応するデータメモリ
6の記憶位置を示すアドレス6ビツトを格納す
る。また加算回路14および15は、2ビツトの
入力アドレス情報を「4」を法とする「+1」の
加算(すなわち加算結果が「4」となる場合にこ
れを「0」とする加算)を行い、2ビツトの加算
結果を出力する。また書込アドレスレジスタ20
は、データバツフア7に対して書込アドレスを供
給する。このデータバツフア7に対する読出アド
レスは、アドレスレジスタ5のビツト27,28が供
給される。さらに制御回路21は、論理装置1と
主記憶装置2とのアクセス制御のための通信およ
びバツフア記憶装置3内の各回路の制御を行うよ
うに構成されている。 The buffer address register 12 also stores a 6-bit address indicating the storage location in the data memory 6 corresponding to the block in the data buffer 7. Addition circuits 14 and 15 also add ``+1'' to the 2-bit input address information modulo ``4'' (that is, add ``0'' when the addition result is ``4''). , outputs the 2-bit addition result. Also, write address register 20
supplies a write address to the data buffer 7. The read address for this data buffer 7 is supplied with bits 27 and 28 of the address register 5. Further, the control circuit 21 is configured to perform communication for access control between the logic device 1 and the main memory device 2 and control each circuit within the buffer memory device 3.
次に種々の場合の動作に従つて本実施例を説明
する。以下の説明では、論理装置1からのアクセ
ス時に管理ルメモリ8―2内の有効性ビツトを参
照した結果、「有効」すなわちデータメモリ6あ
るいはデータバツフア7内に所望データが存在す
ると判明した場合を「FB」と称し、逆に「無
効」と判明した所望データを主記憶装置2までア
クセスしてフエツチしなければならない場合を
「NFB」と称する。さらに以下(i=1,2,
3,…)はマシンサイクル番号を表わし、各で
の説明が1マシンサイクル分の動作を示し、の
値がタイミングシーケンス上の順番を示す。 Next, this embodiment will be explained according to operations in various cases. In the following explanation, when it is determined that the desired data exists in the data memory 6 or the data buffer 7 as "valid" as a result of referring to the validity bit in the management memory 8-2 during access from the logical device 1, it will be referred to as "FB". '', and conversely, the case where the desired data found to be invalid must be accessed to the main storage device 2 and fetched is called ``NFB''. Furthermore, the following (i=1, 2,
3, . . . ) represent machine cycle numbers, each description represents an operation for one machine cycle, and the value represents the order in the timing sequence.
〔FBの場合〕
管理メモリ8―2の出力である格納位置表示
ビツトを制御回路21で参照することにより、
データメモリ6の出力である選択回路10の出
力あるいはデータバツフア7の出力を選択回路
11で選択し、論理装置1への所望データが転
送される。[In the case of FB] By referring to the storage position display bit, which is the output of the management memory 8-2 , in the control circuit 21,
The output of the selection circuit 10, which is the output of the data memory 6, or the output of the data buffer 7 is selected by the selection circuit 11, and desired data is transferred to the logic device 1.
前回のNFBによりデータバツフア7に格納
されていたブロツクをブロツクA、今回の
NFBとなつたブロツクをブロツクBとする。
The block stored in data buffer 7 by the previous NFB is changed to block A, and the block stored in data buffer 7 by the previous NFB is
Let the block that has become NFB be Block B.
制御回路21において、主記憶装置2へアク
セス要求を発生し、従来技術で知られている置
換えアルゴリズムにより2個のコンパートメン
トのうち1個のコンパートメントを選び、管理
テーブルメモリ8の前記選ばれたコンパートメ
ントにアドレスレジスタ5の出力のビツト8〜
20を格納するとともに、有効性ビツトが有効を
格納位置表示ビツトがデータバツフアをそれぞ
れ示すような極性でこの2ビツトを格納する。
(ブロツクBの主記憶装置2への読出要求およ
びブロツクBに対する情報の管理テーブルメモ
リ8への登録)
アドレスレジスタ5の出力のビツト21〜26を
バツフアアドレスレジスタ12へ、バツフアア
ドレスレジスタ12の出力を選択回路16を介
してアドレスレジスタ5のビツト21〜26へ、両
レジスタ5および12の各6ビツトの内容を交
換する形で格納し、アドレスレジスタ5の出力
のビツト27,28を書込アドレスレジスタ20へ
格納する。(これによりアドレスレジスタ5の
ビツト21〜26はブロツクA、バツフアアドレス
レジスタ12の内容はブロツクBに対するアド
レスをそれぞれ示し、書込アドレスレジスタ2
0の内容はブロツクBにおける主記憶装置2か
らブロツク転送された先頭の8バイトデータの
位置を示す。)
アドレスレジスタ5の出力のビツト27,28を
読出アドレス入力としてデータバツフア7内の
1ワードすなわち8バイトのデータが読出さ
れ、データメモリ6に格納される。データメモ
リ6の格納位置は、アドレスレジスタ5の出力
の21〜26をアドレス入力として管理メモリ8―
2が読出され、格納位置表示ビツトがデータバ
ツフアを示しているコンパートメントを制御回
路21からデータメモリ6に対して指示され、
アドレスレジスタ5の出力のビツト21〜28がデ
ータメモリ6の書込アドレスとなる。(ブロツ
クAのデータバツフア7からデータメモリ6へ
の移送。8バイ分。)さらに、アドレスレジス
タ5の出力のビツト27,28が加算回路14で
「+1」加算され、加算結果が選択回路17を
介してアドレスレジスタ5のビツト27,28に格
納される。 In the control circuit 21, an access request is generated to the main memory 2, one of the two compartments is selected by a replacement algorithm known in the prior art, and the selected compartment in the management table memory 8 is stored. Bits 8~ of the output of address register 5
20 is stored, and these two bits are stored with polarity such that the validity bit indicates valid and the storage position indicating bit indicates the data buffer.
(Request to read block B to main memory 2 and registration of information for block B in management table memory 8) Bits 21 to 26 of the output of address register 5 are sent to buffer address register 12, and The output is stored in bits 21 to 26 of address register 5 via selection circuit 16 in such a way that the contents of each 6 bits of both registers 5 and 12 are exchanged, and bits 27 and 28 of the output of address register 5 are written. Store in address register 20. (Thus, bits 21 to 26 of address register 5 indicate the address for block A, the contents of buffer address register 12 indicate the address for block B, and write address register 2 indicates the address for block A.)
The content of 0 indicates the position of the first 8-byte data block transferred from the main storage device 2 in block B. ) Using bits 27 and 28 of the output of the address register 5 as read address inputs, one word or 8 bytes of data in the data buffer 7 is read out and stored in the data memory 6. The storage location of the data memory 6 is determined by using the outputs 21 to 26 of the address register 5 as address inputs to the management memory 8.
2 is read out, and the control circuit 21 instructs the data memory 6 to select the compartment in which the storage position indicating bit indicates the data buffer.
Bits 21 to 28 of the output of address register 5 become the write address of data memory 6. (Transfer from data buffer 7 of block A to data memory 6. For 8 bytes.) Furthermore, bits 27 and 28 of the output of address register 5 are added by "+1" in addition circuit 14, and the addition result is sent via selection circuit 17. and stored in bits 27 and 28 of address register 5.
と同一の動作を行う。 Performs the same operation as .
と同一の動作を行う。 Performs the same operation as .
と同一の動作を行い、さらに格納位置表示
ビツトをブロツクAがデータメモリ6に存在す
ることを示すような極性で管理メモリ8―2に
格納する。(の動作完了。)の主記憶装置2
へのアクセスによる主記憶装置2での読出動作
が完了し、主記憶装置2よりデータバツフア7
へブロツク転送が開始されるのを待つた後に以
下の動作を行う。 The same operation as above is performed, and the storage position indicating bit is stored in the management memory 8-2 with a polarity indicating that block A exists in the data memory 6. (Operation completed.) Main storage device 2
The read operation in the main memory device 2 is completed by accessing the data buffer 7 from the main memory device 2.
After waiting for block transfer to start, perform the following operations.
(nは6以上の整数) 主記憶装置2からの転
送データ8バイトをデータバツフア7内の書込
アドレスレジスタ20の出力で示されるアドレ
ス位置に格納し、さらに書込アドレスレジスタ
20の出力を加算回路15で「+1」加算し、
加算結果が選択回路18を介して書込アドレス
レジスタ20に格納される。(ブロツクBのデ
ータバツフア7への格納。8バイト分。)
〓n+1〓 と同一の動作を行うとともにアド
レスレジスタ5の出力のビツ27,28(この2ビ
ツトは〜で4回「+1」されたため、以
後では元の論理装置1からアクセス要求があつ
た時の値にもどつている。―このことから上記
したようにnは6以上でなければならない。)
を読出アドレスとしてデータバツフア7の出力
が選択回路11を介して論理装置1へ転送さ
れ、論理装置1での動作が再開される。(n is an integer of 6 or more) The 8 bytes of transfer data from the main storage device 2 are stored in the address position indicated by the output of the write address register 20 in the data buffer 7, and the output of the write address register 20 is further added to the adder circuit. Add “+1” at 15,
The addition result is stored in the write address register 20 via the selection circuit 18. (Storing block B to data buffer 7. 8 bytes.) Performs the same operation as 〓n+1〓 and also stores bits 27 and 28 of the output of address register 5 (since these 2 bits were set to ``+1'' four times by ~, After that, it returns to the value when the access request was made from the original logical device 1. - Therefore, as mentioned above, n must be 6 or more.)
The output of the data buffer 7 is transferred to the logic device 1 via the selection circuit 11 with the read address as the read address, and the operation in the logic device 1 is restarted.
〓n+2〓、〓n+3〓 と同一の動作を行
う。Perform the same operation as 〓n+2〓 and 〓n+3〓.
前記したnの値に関し、主記憶装置2での読出
動作は通常10マシンサイクル程度かかるため、n
≧6としてさしつかえない。 Regarding the value of n mentioned above, since a read operation in the main memory device 2 normally takes about 10 machine cycles, n
≧6 is acceptable.
なお、本実施例では、データバツフア7の容量
を1ブロツク分すなわち32バイト分としたが、デ
ータバツフア7の方がデータメモリ6よりも読出
時間が短かいためできるだけ長い時間1つのブロ
ツクをデータバツフア7に保持しておきたい場合
には、データバツフア7の容量を複数ブロツク分
としてバツフアアドレスレジスタ12をこのブロ
ツクの数だけ複数組もつことも、管理メモリ8―
2内に該当ブロツクがデータバツフア7内のどの
位置に存在するかを示すビツトを追加すれば、容
易に可能である。 In this embodiment, the capacity of the data buffer 7 is set to one block, that is, 32 bytes, but since the data buffer 7 has a shorter read time than the data memory 6, one block is held in the data buffer 7 for as long as possible. If you want to keep the capacity of the data buffer 7 for multiple blocks, you can have multiple sets of buffer address registers 12 for the number of blocks.
This can easily be done by adding a bit in 2 to indicate where in the data buffer 7 the corresponding block is located.
従来のデータバツフアを持つ方式では、データ
バツフア7に対応するバツフアアドレスレジスタ
12のビツト数がさらにアドレス上位13ビツト分
必要であり、さらに比較回路9と同様の比較回路
もバツフアアドレスレジスタ12に付属して必要
であつたが、本発明では以上の回路が大幅に減少
している。 In the conventional system with a data buffer, the number of bits in the buffer address register 12 corresponding to the data buffer 7 needs to be the same as the upper 13 bits of the address, and a comparison circuit similar to the comparison circuit 9 is also attached to the buffer address register 12. However, in the present invention, the above circuit is significantly reduced.
本発明は、以上説明したように管理テーブルメ
モリ内に格納位置表示ビツトを新たに追加するこ
とにより、主記憶装置からのブロツク転送中であ
つてもバツフア記憶装置はビジー状態とはなら
ず、これにより必要な金物量も最小限で済む優れ
た効果がある。 As explained above, by newly adding a storage position display bit in the management table memory, the buffer storage device is not in a busy state even during block transfer from the main storage device. This has the excellent effect of minimizing the amount of metal required.
図は本発明一実施例装置の回路構成図。
1……論理装置、2……主記憶装置、3……バ
ツフア記憶装置、5……アドレスレジスタ、6…
…データメモリ、7……データバツフア、8……
管理テーブルメモリ、8―1……アドレスメモ
リ、8―2……管理メモリ、9……比較回路、1
0,11……選択回路、12……バツフアアドレ
スレジスタ、14,15……加算回路、16,1
7,18……選択回路、20……書込アドレスレ
ジスタ、21……制御回路。
The figure is a circuit configuration diagram of a device according to an embodiment of the present invention. 1...Logic device, 2...Main storage device, 3...Buffer storage device, 5...Address register, 6...
...Data memory, 7...Data buffer, 8...
Management table memory, 8- 1 ... Address memory, 8- 2 ... Management memory, 9 ... Comparison circuit, 1
0, 11... Selection circuit, 12... Buffer address register, 14, 15... Addition circuit, 16, 1
7, 18...Selection circuit, 20...Write address register, 21...Control circuit.
Claims (1)
で記憶するデータメモリと、主記憶装置からの転
送ブロツクを一時的に1ブロツク以上のブロツク
単位で記憶するデータバツフアと、前記データメ
モリの記憶内容である各ブロツクに対応して設け
られ各ブロツクに対する主記憶装置内の記憶位置
を示すアドレス情報と前記データメモリあるいは
前記データバツフア内の各ブロツクの内容が有効
であることを示す有効性ビツト情報と各ブロツク
の内容が前記データバツフア内あるいは前記デー
タメモリのどの位置に存在するかを示す格納位置
表示ビツト情報とを記憶する管理テーブルメモリ
とを備え、主記憶アクセス発生時に所望データが
前記管理テーブルメモリ内の前記有効性ビツト情
報により有効表示されたブロツク内のデータであ
れば前記格納位置表示ビツト情報に従つて前記デ
ータメモリあるいは前記データバツフアからの続
出データのいずれかを選択して所望データとし、
前記有効性ビツト情報が無効表示されていれば主
記憶装置へアクセスを発生しこのアクセスにより
主記憶装置から転送されてきたブロツクデータを
一旦前記データバツフアに格納しその後の空き時
間を利用して前記データバツフア内の有効データ
を前記データメモリへ移す制御手段を備えたこと
を特徴とするバツフア記憶装置。1. A data memory that stores part of the storage contents of the main storage device in block units, a data buffer that temporarily stores transfer blocks from the main storage device in block units of one or more blocks, and a data memory that stores part of the storage contents of the data memory in block units. Address information provided corresponding to each block and indicating the storage location in the main memory for each block, validity bit information indicating that the contents of each block in the data memory or the data buffer are valid, and each block. and a management table memory for storing storage position indicating bit information indicating where in the data buffer or in the data memory the contents of the data exist, and when the main memory access occurs, the desired data is stored in the management table memory. If the data is in a block that is validly displayed according to the validity bit information, select either the data memory or successive data from the data buffer according to the storage position display bit information and set it as desired data;
If the validity bit information is displayed as invalid, an access is made to the main memory, the block data transferred from the main memory by this access is temporarily stored in the data buffer, and then the free time is used to store the block data in the data buffer. A buffer storage device comprising: control means for transferring valid data in the data memory to the data memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56093040A JPS57208684A (en) | 1981-06-18 | 1981-06-18 | Buffer recording device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56093040A JPS57208684A (en) | 1981-06-18 | 1981-06-18 | Buffer recording device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57208684A JPS57208684A (en) | 1982-12-21 |
| JPS6136666B2 true JPS6136666B2 (en) | 1986-08-19 |
Family
ID=14071379
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56093040A Granted JPS57208684A (en) | 1981-06-18 | 1981-06-18 | Buffer recording device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57208684A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6168655A (en) * | 1984-09-11 | 1986-04-09 | Fujitsu Ltd | Access method for buffer storage |
-
1981
- 1981-06-18 JP JP56093040A patent/JPS57208684A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57208684A (en) | 1982-12-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5555380A (en) | Data transfer system with buffer request including block length to update the buffer pointer prior to transferring of the block | |
| JPH0644245B2 (en) | Store buffer device | |
| US3737871A (en) | Stack register renamer | |
| EP0386719A2 (en) | Partial store control circuit | |
| JPH0792779B2 (en) | Data transfer controller | |
| JPS6136666B2 (en) | ||
| JPS6046447B2 (en) | Track buffer memory method | |
| US3268874A (en) | Computer multi-register linkage with a memory unit | |
| JPH01125644A (en) | Data transfer equipment | |
| JPS6145269B2 (en) | ||
| JPH0831076B2 (en) | Input/Output Processor | |
| JP2540844B2 (en) | Data transfer control method | |
| JPS5837747A (en) | Instruction read only buffer storage device | |
| JPH10222460A (en) | Data transfer controller | |
| JP2778623B2 (en) | Prefetch control device | |
| JPH0833869B2 (en) | Data processing device | |
| JPH02190968A (en) | Vector processor | |
| JP2864548B2 (en) | Instruction cache device | |
| JPH0231418B2 (en) | DEETACHUSHUTSUSHORISOCHI | |
| JPH02299053A (en) | Priority control system for plural fifo information storage devices | |
| JPS6124734B2 (en) | ||
| JPS5854478A (en) | Controlling method of main storage | |
| JPS6336021B2 (en) | ||
| JPH01114952A (en) | Inter-memory transfer system for information processor | |
| JPH0520246A (en) | Asynchronous i/o dynamic priority changing system |