JPS58150186A - System for controlling buffer memory - Google Patents

System for controlling buffer memory

Info

Publication number
JPS58150186A
JPS58150186A JP57033491A JP3349182A JPS58150186A JP S58150186 A JPS58150186 A JP S58150186A JP 57033491 A JP57033491 A JP 57033491A JP 3349182 A JP3349182 A JP 3349182A JP S58150186 A JPS58150186 A JP S58150186A
Authority
JP
Japan
Prior art keywords
address
information
buffer memory
block
physical address
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.)
Granted
Application number
JP57033491A
Other languages
Japanese (ja)
Other versions
JPS6213699B2 (en
Inventor
Masanobu Akagi
赤木 正信
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57033491A priority Critical patent/JPS58150186A/en
Publication of JPS58150186A publication Critical patent/JPS58150186A/en
Publication of JPS6213699B2 publication Critical patent/JPS6213699B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To shorten the time required for accessing a buffer, by converting physical addresses sent for the coincidence processing as store request addresses into assignment information, knowing the location of block to be subjected to the coindience processing in a buffer memory, and all block on the buffer memory corresponding to the given physical addresses allow to coincidence processing operation. CONSTITUTION:Addresses are received by address registers 111-113 through a bus 100-1, nd the stored content of a conversion table 300 is set in a register 310 in response to the addresses designatod by a part of D of a part and E of the address registers 111-113. An address converting means 200, when it is ascertained by a comparator 320 that no physical addresses corresponding to the logical addresses set in the address registers 111-113 exits, performs address converting operations in accordance with the indication from a buffer controlling means 700 and operates so as to give the address-converted physical addresses to the conversion table 300 through a bus 200-1.

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は情報処理システムにおける大容量バッファメモ
リへの簡単な制御による高速アクセスを可能トするバッ
ファメモリコントロールシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a buffer memory control system that enables high-speed access through simple control to a large-capacity buffer memory in an information processing system.

従来技術 一般ニコンピュータシステムは、中央処理装置と主記憶
装置とを有し、処理に必要なプログラムおよびデータが
主記憶装置に記憶されている。これらプログラム等の数
が多くなると主記憶装置の容量は増加し、これとともに
そのアクセスタイムは畏くなる。このため、使用細度の
高い情報をより容量が小さいバッファ・メモりに主記憶
装置の記憶内容のコピーとして記憶しておき、アクセス
タイムの減少による処理速度向上の達成を図るシステム
も知られている。このようなシステムにおいては、中央
処理装置がまずバッファ・メモIJ =iアクセスしバ
ッファ・メモリに所望の情報が記憶されていないときに
主記憶装置をアクセスする。
A conventional computer system has a central processing unit and a main memory, and programs and data necessary for processing are stored in the main memory. As the number of these programs increases, the capacity of the main memory increases, and the access time increases accordingly. For this reason, a system is known in which highly used information is stored in a buffer memory with a smaller capacity as a copy of the main storage contents, thereby improving processing speed by reducing access time. There is. In such a system, the central processing unit first accesses the buffer memory IJ =i and accesses the main memory when the desired information is not stored in the buffer memory.

この主記憶装置をアクセスしたときには、アクセスした
情報はバッファ・メそりに記憶される。ここで、プログ
ラムをいくつかに分割して主記憶装置とダイレクト・ア
クセス可能なバッファメモリとの間でのプログラムの移
し賛えを行なうことはページングと称されている。主記
憶装置は多くの利用者により共有されるため、必要なつ
とプログラムの入れ替えが行なわれるが、この場合、各
利用者は自分のプログラムが主記憶装置に記憶可能な大
きさであるとか、どのように自分のプログラムが分割さ
れるかなどについて考慮する必要はない。したがって、
プログラム全体が主記憶装置に格納される必要はないの
で、装置の物理的な大きさはプログラム使用者にはまっ
友〈意味のないものになってくる。プログラマ−が仮想
アドレス(1[17ドレス)を指定すると、この仮想ア
ドレスから徨々のテーブルを介してアドレス展開がなさ
れ物理(実)アドレスが生成される。
When this main memory is accessed, the accessed information is stored in the buffer memory. Here, the process of dividing a program into several parts and transferring the program between the main memory and a directly accessible buffer memory is called paging. Since the main memory is shared by many users, programs are replaced as needed. There is no need to consider whether your program will be divided like this. therefore,
Since the entire program does not need to be stored in main memory, the physical size of the device becomes irrelevant to the program user. When the programmer specifies a virtual address (1[17 addresses), the address is expanded from this virtual address through various tables to generate a physical (real) address.

このような仮想アドレスの概念を前提として特公昭51
−36178号明細書に提案された従来の貯ffiシス
テムは、バッファメモリ(図示せず)と、該バッファ・
メモリを管理するためアドレス情報を格納するバッファ
・ディレクトリ56と、外部から与えられる論理アドレ
スである仮想アドレスを物理アドレスである実アドレス
に変換するアドレス変換ユニット46とを備えている。
Based on the concept of virtual addresses, the
The conventional storage ffi system proposed in Japanese Patent No. 36178 includes a buffer memory (not shown) and a buffer memory (not shown).
It includes a buffer directory 56 for storing address information for memory management, and an address conversion unit 46 for converting a virtual address, which is a logical address given from the outside, into a real address, which is a physical address.

このシスアドレスの下位ビット群、すなわち、ページ内
アドレスは実アドレスの下位ビット群としてそのまま用
いられている。従って、バッファメモリの容量を増加し
ようとしてもページ内アドレスを増加させる方向には限
度があり□、いわゆるセットを横に並べ、そのセント数
を増加させる方式を取らざるを得す、この結果、金物量
の増加が生じるという欠点がある。
The lower bit group of this sys address, that is, the intra-page address, is used as is as the lower bit group of the real address. Therefore, even if we try to increase the capacity of the buffer memory, there is a limit to the direction in which the addresses within the page can be increased.Therefore, we have no choice but to adopt a method of arranging so-called sets horizontally and increasing the number of cents. The disadvantage is that an increase in quantity occurs.

このような欠点を解決するために複数のバンクアメモリ
とこれらにそれぞれ対応する複数のプロセッサを有する
メモリシステムが特公昭53−25457号明細書に記
載されている。このシステムは、管理テーブルを用いで
あるバッファメモリ内圧求める情報の存在が認められな
いと@に補助ディレクトリを調査して前記バッファメモ
リを含む全てのバッファメモリ内に情報が存在するか否
かを確認する構成を有している。したがって、全てのバ
ッファメモリ内のどれかに求める情報が存在する場合で
も、管理テーブルへの直接的な1回のアクセスのみでは
情報の有無を確定できず、この結果、バッファへのアク
セス時間の増大が生じ性能低下が生じるという欠点があ
る。さらに、管理テーブルの調査のあとで、補助ディレ
クトリを調査する必要のある場合とない場合があり、こ
のための制御も複雑であるという欠点がある。
In order to solve these drawbacks, a memory system having a plurality of banka memories and a plurality of processors respectively corresponding to them is described in Japanese Patent Publication No. 53-25457. This system uses a management table, and if the existence of the information required for the buffer memory internal pressure is not recognized, it investigates the auxiliary directory and checks whether the information exists in all buffer memories including the buffer memory. It has a configuration that Therefore, even if the desired information exists in one of all buffer memories, the presence or absence of the information cannot be determined by just one direct access to the management table, and as a result, the time required to access the buffer increases. This has the disadvantage that this causes a decrease in performance. Furthermore, after checking the management table, it may or may not be necessary to check the auxiliary directory, and the control for this is also complicated.

発明の目的 本発明の目的は上述の欠点を除去したアドレスバッファ
メモリシステムを提供することにある。
OBJECTS OF THE INVENTION It is an object of the invention to provide an address buffer memory system which eliminates the above-mentioned drawbacks.

本発明の他の目的は、同一の情報がバッファメモリ内に
複数個存在しうるバッファメモリの内容保iLEを完全
に行なうようにしたバッファメモリ一致処理方式を実現
するアドレスバッファメモリシステムを提供することに
ある。
Another object of the present invention is to provide an address buffer memory system that realizes a buffer memory matching processing method that completely preserves the contents of a buffer memory where the same information may exist in a plurality of buffer memories. It is in.

発明の構成 本発明の/ステムは、主記憶をアクセスするための各命
令に応答して論理アドレスと物理アドレスとのどちらか
一方で表わされ第1のフィールド、第2のフィールドお
よび第3のフィールドを有するアドレス情報を発生する
アドレス情報発生手段と、 このアドレス情報発生手段からの論理アドレスを物理ア
ドレスに変換するアドレス変換手段と、このアドレス変
換手段により変換された物理アドレスヲ前記アドレス情
報の第1および第2のフィールドで指定されるアドレス
に記憶する変換テーブル手段と、 前記主記憶の記憶内容の一部と同一の内容でかつ同一プ
ロツクアドレスの内容をブロック単位で前記命令対応に
前記アドレス情報の第2および第3のフィールドに基い
て推定されるアドレスに記憶するバッファメモリ手段と
DESCRIPTION OF THE INVENTION The system of the present invention includes a first field, a second field, and a third field, which are represented as either a logical address or a physical address in response to each instruction for accessing main memory. address information generating means for generating address information having a field; address converting means for converting a logical address from the address information generating means into a physical address; a conversion table means for storing a part of the storage contents of the main memory at the addresses specified by the first and second fields; buffer memory means for storing at an address estimated based on the second and third fields of information;

このバッファメモリ手段の記憶内容に対応する同一の物
理アドレスを前記命令対応に前記アドレス情報の第2お
よび第3フイールドに基いて指定されるアドレスに記憶
する管理テーブル手段と。
management table means for storing the same physical address corresponding to the storage content of the buffer memory means at an address specified based on the second and third fields of the address information in correspondence with the instruction;

前記アドレス発生手段と前記変換テーブル手段とのどち
らか一方からの物理アドレスと前記管理テーブル手段か
らの物理アドレスとを比較する比較手段と。
Comparing means for comparing the physical address from either the address generating means or the translation table means with the physical address from the management table means.

この比較手段の比較結果Kffi答して前記バッファメ
モリ手段から読み出され九内容が有効であるか否かを判
定する手段と、 前記比較手段の比較結果の不一致に応答して前記アドレ
ス発生手段と前記変換テーブル手段とのどちらか一方か
らの物理アドレスで指定される前記主記憶の記憶内容の
一部と同一の記憶内容でかつ同一ブロックアドレスの内
容をブロック単位で前記命令対応に前記アドレス情報の
第2および第3のフィールドに基いて指定される前記バ
ノファメモリ手段のアドレスに記憶させるとともにこれ
らの記憶内容に対応する同一の物理アドレスを前記砧令
対応にアドレス情報の第2および第3フイールドに基い
て指定されるアドレスに記憶させる手段とを備えている
means for determining whether or not the contents read from the buffer memory means are valid in response to the comparison result Kffi of the comparison means; and address generation means in response to a discrepancy between the comparison results of the comparison means The address information is stored block by block in correspondence with the instruction, with the same storage content as a part of the storage content of the main memory specified by the physical address from either one of the conversion table means and the content of the same block address. storage at the address of the banoffer memory means specified based on the second and third fields, and the same physical address corresponding to these storage contents based on the second and third fields of the address information corresponding to the second and third fields. and means for storing the data at the specified address.

本発明においては、管理テーブルへのアドレスとして用
いられるアドレスの一部が異なる場合には、対応する物
理アドレスが同一であってもバッファメモリ内での割当
記憶位置が異なるように1また。アドレスの一部が同 
の場合で対応する物理アドレスも同一であれば、アドレ
スの他の部分が異なるアドレスであっても、全く同じア
ドレスであるとみなされるように、最終的なバッファメ
モリの管理を物理アドレスでのみ行なうように構成し、
同一情報がバッファメモリ内に複数個存在できるように
し、使用頻度の少ないもので異なる論理アドレスで同一
物理アドレスデータを参照するソフトウェアを使用する
場合に、大容量のバッファメモリを簡単な制御で高速に
アクセスできるように動作している。
In the present invention, when part of the address used as the address to the management table is different, even if the corresponding physical address is the same, the allocated storage location in the buffer memory is different. Part of the address is the same
In this case, if the corresponding physical address is also the same, the final buffer memory is managed only using the physical address, so that even if the other parts of the address are different addresses, they are considered to be exactly the same address. Configure it like this,
Enables the existence of multiple pieces of the same information in the buffer memory, making large-capacity buffer memories faster with simple control when using software that refers to the same physical address data at different logical addresses even though it is used infrequently. Accessible and working.

更に本発明の脣黴Fi、一致処理用に送られるストア要
求アドレスとしての物理アドレスを逆変換テーブルによ
り指定情報に変換し、バッファメモリ内で一致処理を行
なわねばならないブロックの位置を知り、与えられる物
理アドレスに対応する全てのバッフアメセリ内ブロック
に対して一致処理動作を行なわせることによりストアが
行なわれた情報に対する正常性の保証を仮アドレスバッ
ファメモリに対して与えるように動作することにある。
Furthermore, the 脣黴Fi of the present invention converts the physical address as a store request address sent for matching processing into specified information using an inverse conversion table, and determines and provides the position of the block in the buffer memory where matching processing must be performed. The object of the present invention is to operate to guarantee the normality of stored information to a temporary address buffer memory by performing a matching operation on all blocks in the buffer memory corresponding to a physical address.

発明の実施例 次に本発明について図面を参照して詳細に説明する。Examples of the invention Next, the present invention will be explained in detail with reference to the drawings.

#I1図を参照すると、本発明の適用逼れるシステムは
、メイン・メモリ11,12,13.および14.これ
らのメイン・メモリ11 、12.IJおよび14のそ
れぞれKm続されるメモリ制御装置21および22.該
メモリ制御装置21に接続されるデータ転送装置41お
よび42および処理装置31および321および前記メ
モリ制御装置21に接続されるデータ転送装置43およ
び44および処理装置33および34から構成されてい
る。線処理装置31−34のそれぞれは、ノ(ソファメ
モリ制御ブロック51−54を備えている。
Referring to Figure #I1, the system to which the present invention is applied has main memories 11, 12, 13 . and 14. These main memories 11, 12 . Memory controllers 21 and 22 .IJ and 14 are connected by Km, respectively. It is composed of data transfer devices 41 and 42 and processing devices 31 and 321 connected to the memory control device 21, and data transfer devices 43 and 44 and processing devices 33 and 34 connected to the memory control device 21. Each of the line processing devices 31-34 includes a sofa memory control block 51-54.

第2図を参照すると、本発明の第1の実施例は、アドレ
スを発生するアドレス装置100.論理アドレスを物理
アドレスに変換するアドレス変換手段200、変換テー
ブル300、主記憶の内容の一部のコピーを記憶するバ
ッファ・メモリ400、このバッファ・メモリ400を
管理するためのアドレスを配憶する管理テーブル500
、比較器320.610,620.630.および64
0、バッファ制御手段7001選択回路530,650
および710、メモリ制御装置21.およびレジスタI
’ll、112,113,310,510および520
から構成されている。
Referring to FIG. 2, a first embodiment of the present invention includes an addressing device 100 . An address conversion means 200 for converting a logical address into a physical address, a conversion table 300, a buffer memory 400 for storing a copy of a part of the contents of the main memory, and a management unit for storing addresses for managing this buffer memory 400. table 500
, comparators 320.610, 620.630. and 64
0, buffer control means 7001 selection circuit 530, 650
and 710, memory controller 21. and register I
'll, 112, 113, 310, 510 and 520
It consists of

前記アドレス装置100.変換テーブル300゜バッフ
ァメモリ400、および管理テーブル500は、特公昭
53−25457の第2図記載の処理装置1011第3
図記載の変換ブイレフ) IJ 220、キャッシュ2
00.およびフェッチディレクトリ210によりそれぞ
れ構成できる。
The addressing device 100. The conversion table 300, the buffer memory 400, and the management table 500 are stored in the processing device 1011 No. 3 described in FIG. 2 of Japanese Patent Publication No. 53-25457.
Conversion manual as shown) IJ 220, Cache 2
00. and fetch directory 210, respectively.

次に不発明に適用されるアドレス形式およびそのアドレ
ス生成を第3図から第5図を参照しながら詳細に説明す
る。
Next, the address format applied to the invention and its address generation will be explained in detail with reference to FIGS. 3 to 5.

第5図は第1図の処理装置31−34から前記メイン−
メモリ11〜14に対するアクセス畳求に際し、本実施
例において使用されるアドレス形式を示す図である。こ
のアドレス形式を用いたアドレス生成は次のようにして
行なわれる。
FIG. 5 shows the processing units 31-34 of FIG.
5 is a diagram showing an address format used in this embodiment when requesting access to memories 11 to 14. FIG. Address generation using this address format is performed as follows.

第3図および第5図を参照すると、第1の論理アドレス
LAD1では、ソフトウェアのプロセスを指定するため
システムペースからJテーブルが索引され索引されたJ
テーブルの内容によhp子テーブル索引される。索引さ
れたPテーブルの内11Kjl)7’ロセスコントロー
ルブロツクカlt引1れる。索引されたブロック中のア
ドレス空間を指定するワードASWによりセグメントテ
ーブルワードアレイの先頭番地が索引される。この先負
番地にプロセス内アドレスとしてのセグメント種別が差
分として加算され加算結果により索引されたテーブルの
内容がセグメントテーブルの先頭番地を指示する。この
先頭番地に種別毎のセグメント番号が加算され、この加
算結果により索引されたテーブルの内容によりページテ
ーブルの先頭番地が指示される。この先頭番地にセグメ
ント内ページ番号が差分として加算され加算結果により
ページの先頭番地が指示される。物理アドレスはこの先
頭番地であるページアドレスが上位ビット群、ページ内
ブロックアドレスが中位ビット群、ブロック内アドレス
が下位ビット群として形成される。
Referring to FIGS. 3 and 5, at the first logical address LAD1, the J table is indexed from the system space to specify the software process.
The hp child table is indexed according to the contents of the table. Of the indexed P tables, 11Kjl)7' Process Control Blocks are retrieved. The starting address of the segment table word array is indexed by the word ASW specifying the address space in the indexed block. The segment type as an in-process address is then added to the negative address as a difference, and the contents of the table indexed by the addition result indicate the starting address of the segment table. The segment number for each type is added to this starting address, and the starting address of the page table is designated by the contents of the table indexed by this addition result. The intra-segment page number is added as a difference to this starting address, and the addition result indicates the starting address of the page. In the physical address, the page address, which is the first address, is formed as a group of upper bits, the block address within the page is formed as a group of middle bits, and the address within the block is formed as a group of lower bits.

次に第4図および第5図を参照すると、第2の論理アド
レスLAD2では、システムペースによりGテーブルの
先頭番地が指示される。この先頭番地にシステムセグメ
ント番号が差分として加算され、この加算結果によりペ
ージテーブルの先1[1地が指示される。この先頭番地
にセグメント内アドレスとしてのページ番号が差分とし
て加算される。加算結果により索引された内容がページ
の先頭番地を4示する。物理アドレスはこの先頭番地で
あるページアドレスが上位ビット群、ページ内ブロック
アドレスが中位ビット群、ブロック内アドレスが下位ビ
ット群として形成される。
Next, referring to FIGS. 4 and 5, at the second logical address LAD2, the first address of the G table is designated by the system pace. The system segment number is added to this starting address as a difference, and the result of this addition specifies the destination 1 [1] of the page table. A page number as an intra-segment address is added to this starting address as a difference. The content indexed by the addition result indicates the top address of the page. In the physical address, the page address, which is the first address, is formed as a group of upper bits, the block address within the page is formed as a group of middle bits, and the address within the block is formed as a group of lower bits.

第5図を参照すると、籐1の論理アドレスLAD1は、
ソフトウェアのプロセスを指定するため上位ビット群で
前記Jテーブルの差分、下位ビット群でPテーブルの差
分をそれぞれ示す情報(J)。
Referring to FIG. 5, the logical address LAD1 of rattan 1 is:
Information (J) indicating a difference in the J table in a group of upper bits and a difference in the P table in a group in lower bits to specify a software process.

プロセス内アドレスとしてのセグメント種別(S:ピッ
)4−7)1種別毎のセグメン)番号(T二ビット8−
15)、セグメント内ページ番号(P:ビット16−1
9)、ページ内ブロックi号(R:ビット2O−26)
、およびブロック内パム固有のアクセスをする時に用い
られ、システムセグメント番号(G)、セグメント内ア
ドレスとしてのページ番′号(P:ビット16−19’
)、ページ内ブロック番号(R:ピッ)20−26)、
およびブロック内バイトアドレス(ビット27−31)
から構成されている。物理アドレスPADはページ位置
(Q;ビット4−19)、ページ内ブロック番号(R:
ビノト2O−26)、およびブロック内バイトアドレス
(ビット27−31)から構成されている。また、アク
セス要求アドレスとして与えられる仮アドレスはこれら
3種のアドレス形式を含んだ形で、アドレス形式種別(
To)、仮アドレスA、B、C,D、およびE、ページ
内ブロック番号(R:ビット2O−26)、およびブロ
ック内バイトアドレス(ビット27−31)から構成さ
れている。ここで全てのアドレス形式において、ページ
内ブロック番号(R:ビット2O−26)およびブロッ
ク内バイトアドレス(ビット27−31)は共通の形式
であり、また同一情報を示す場合には常に同じ値を持つ
Segment type (S: beep) as in-process address 4-7) Segment for each type) number (T2 bits 8-
15), segment page number (P: bit 16-1
9), block i within the page (R: bits 20-26)
, and is used when making intra-block Pam-specific access, system segment number (G), page number' (P: bits 16-19') as intra-segment address.
), block number within the page (R: beep) 20-26),
and in-block byte address (bits 27-31)
It consists of The physical address PAD includes the page position (Q; bits 4-19) and the block number within the page (R:
bits 20-26), and intra-block byte addresses (bits 27-31). In addition, the temporary address given as the access request address includes these three types of address formats, and the address format type (
To), temporary addresses A, B, C, D, and E, an intra-page block number (R: bits 20-26), and an intra-block byte address (bits 27-31). In all address formats, the intra-page block number (R: bits 20-26) and intra-block byte address (bits 27-31) are in a common format, and when indicating the same information, always use the same value. have

本実施例に於けるアドレス形式に七いて、論理゛Tアド
レス種類数、ビットの区切り位置、およびアドレス情報
の大きさくビット数)等は任意に決められる。′m6図
を参照すると、第2図の前記バッファ制御手段700は
アンドケート7 G 1,702および704および真
信号と補信号とを出力するオアゲート703から構成さ
れている。前記バッファ制御手段700は第1図に示す
比較回路320から線320−1を介して送られる比較
結果一致信号および比較回路群610−640の選択回
路650を介して与えられる一致信号に応答して選択回
路710の選択信号を411700−2に送出する。こ
の選択信号は比較回路610および620が一致を検出
するか比較回路630および640が一致を検出するか
により決定される。前記制御手段700は前記選択信号
を纏700−2に送出するとともに!1700−3を介
して処理部100にデータ有効信号を送出する。
Regarding the address format in this embodiment, the logical number of address types, bit separation positions, address information size and number of bits, etc. can be arbitrarily determined. Referring to Figure 'm6, the buffer control means 700 of Figure 2 is comprised of AND gates 7G1, 702 and 704, and an OR gate 703 which outputs a true signal and a complementary signal. The buffer control means 700 responds to a comparison result match signal sent from the comparison circuit 320 via the line 320-1 shown in FIG. The selection signal of selection circuit 710 is sent to 411700-2. This selection signal is determined depending on whether comparison circuits 610 and 620 detect a match or comparison circuits 630 and 640 detect a match. The control means 700 sends the selection signal to the mat 700-2 and! A data valid signal is sent to the processing unit 100 via 1700-3.

もし、選択回路650の出力が前記比較回路610−6
40のいずれの一致4示していないときには、メモリ制
御装置21に縁2131−3を介してメモリ要求を送出
し、求める情報をメイン・メモリ11,12,13およ
び14から読み出すよう指示する。
If the output of the selection circuit 650 is
40 does not indicate a match, it sends a memory request via edge 2131-3 to memory controller 21 instructing it to read the desired information from main memories 11, 12, 13 and 14.

次にこの実施例の動作を第1図から第7図を参照しなが
ら詳細に説明する。第2図に示すアドレス装置100は
11g1図の処理装置31,32.33および34内の
命令先取り制御部または演算制御部(いずれも図示され
ていない)で構成され、第5図に示すアドレス形式種別
(To)を指定したアドレスを供給する。このアドレス
の供給は主記憶をアクセスするため第1図の前記処理装
置31゜32.33および34内のレジスタからの各命
令に応答して、すなわち、主記憶に対するデータの読み
書きのために前記レジスタから与えられる命令の他に演
算をするための命令を主記憶から読み出すために前記し
ジスタから与えられる命令に応答して行なわれる(87
図の100参照)。
Next, the operation of this embodiment will be explained in detail with reference to FIGS. 1 to 7. The address device 100 shown in FIG. 2 is composed of an instruction prefetch control section or an arithmetic control section (none of which is shown) in the processing units 31, 32, 33, and 34 shown in FIG. 11g1, and has an address format shown in FIG. An address specifying the type (To) is supplied. This address is supplied in response to each instruction from the registers in said processing units 31, 32, 33 and 34 of FIG. This is done in response to the instruction given from the above-mentioned register in order to read out instructions for performing operations from the main memory in addition to the instructions given from the register (87).
(See 100 in the figure).

前記アドレスは、第2図のパス100−1k介してアド
レスレジスタ111,112.および113に受信され
る(第7図の111,112゜および113参照)。
The address is sent to address registers 111, 112 . . . via path 100-1k in FIG. and 113 (see 111, 112° and 113 in FIG. 7).

第2図の変換テーブル300は、アドレスレジスタ11
1,112.および113の一部りの一部とE(ピノ)
12−19)で指定されるアドレスに応答して記憶自答
がレジスタ310にセットされる(第7図の300およ
び310参照)、レジスタ310にセット逼れる内容の
うち、変換テーブル300の読出した内容が求めるアド
レスに対応するか否かを調べるチェック情報(To 、
A。
The conversion table 300 in FIG.
1,112. and a part of 113 and E (Pino)
12-19), a memorized answer is set in the register 310 (see 300 and 310 in FIG. Check information (To,
A.

B、C,D(Dk’ッ)8 11)は比較器320に与
えられ、物理アドレスQは比較器610および630に
与えられる。なお、レジスタ31oはレジスタとして存
在しなくても良い。
B, C, D (Dk' 8 11) are provided to comparator 320, and physical address Q is provided to comparators 610 and 630. Note that the register 31o does not need to exist as a register.

変換テーブル300にはアドレスのうちのページ番号以
上の情報To、A、B、C,D、E、およびEのうちの
一部をアドレスとし、それ以外をチェック情報として記
憶される。
In the conversion table 300, part of the information To, A, B, C, D, E, and E that is greater than or equal to the page number of the address is stored as an address, and the rest is stored as check information.

比較器320は、変換テーブル300から与えられるチ
ェック情報と、アドレスレジスタ111゜112、おj
び1130情報(T、A、B、C。
The comparator 320 uses the check information given from the conversion table 300 and the address registers 111, 112, and
and 1130 information (T, A, B, C.

Dのビット8−11)とを比較し、一致した場合Kh変
換f−プル300から読出された物理アドレスQが有効
であることをパス320−1を介してバッファ側御手段
700に知らせる(第7図の320.610,630お
よび640参照)。
bits 8-11 of D), and if they match, it is notified to the buffer side control means 700 via the path 320-1 that the physical address Q read from the Kh conversion f-pull 300 is valid. (See Figure 7, 320, 610, 630 and 640).

第2図のアドレス変換手段200は、変換テーブル30
0内に、アドレスレジスタ111,112および113
に設定された論理アドレスに対応すが不一致を検出する
声により判明した場合、バッファ制御手段700からの
指示によりアドレス変換動作を行ない、アドレス変換さ
れた物理アドレスをパス200−4t−介して変換テー
ブル300に与えるように動作する。
The address translation means 200 in FIG.
0, address registers 111, 112 and 113
If it is determined by a voice that detects a mismatch that corresponds to the logical address set in 300.

第2図の管理テーブル500はバッファメモリ400の
管理用テーブルでありアドレスレジスタ111.112
.および113のうちのE(ピノ)16−19)および
R(ビット2O−26)をアドレスとしてアクセスされ
テーブル内の2個のセットに対応して物理アドレスQが
読み出され、それぞれレジスタ510および520にセ
ットされる(第7図の500,510および520参照
)。
A management table 500 in FIG. 2 is a management table for the buffer memory 400, and address registers 111, 112.
.. and 113, E (Pino) 16-19) and R (bits 2O-26) are accessed as addresses, and the physical address Q is read corresponding to the two sets in the table, registers 510 and 520 respectively. (see 500, 510 and 520 in FIG. 7).

ここで、本発明の特徴の性質として、管理テーブル50
0のアドレスとして使用されるアドレス情報のうちのR
以外の部分すなわち、本実施例におけるEに相当するビ
ット位置に相当する物理アドレスQ内の情報も管理テー
ブル500で記憶する物理アドレス情報に含まれている
ことを示すことができる。これは、本発明において各ア
ドレス形式で同じ情報を持つRより4上のビット位置(
To。
Here, as a feature of the present invention, the management table 50
R of the address information used as the address of 0
It can be shown that the other part, that is, the information in the physical address Q corresponding to the bit position corresponding to E in this embodiment, is also included in the physical address information stored in the management table 500. This is the bit position (4) above R that has the same information in each address format in the present invention.
To.

A、B、C,D、E、・・・・・・・・・本実施例では
E)が、管理テーブル500に対して、アドレスとして
使用されるとともに、記憶すべき物理アドレス情報とし
ても使用されることにより、アドレスで管理テーブル5
00をアクセスできるようにしてバッファメモリ400
の容量を大きくできる。これとともに、情報がバッファ
メモリ400内に存在するか否かを最終的に判断する物
理アドレス情報に。
A, B, C, D, E, ...E) in this embodiment are used as addresses for the management table 500, and are also used as physical address information to be stored. Management table 5 by address
buffer memory 400 by making 00 accessible
capacity can be increased. Along with this, the physical address information that ultimately determines whether the information exists in the buffer memory 400 or not.

各形式で共通のRよりも上の全ての情報を含ませ、るこ
とにより、情報存在の有無の判断を確実なものとするこ
とができる。
By including all information above the common R in each format, it is possible to ensure the determination of the presence or absence of information.

第2図の比較器610,620,630.および640
および選択回路650とからなる比較手段610,62
0,630,640.および650は、管理テーブル5
00から続出された2つのセットに対応する物理アドレ
スQと、変換テーブル300から読出された物理アドレ
スQとを比較器610.630で比較する(第7図の6
10および630参照)。これとともに前記比較手段は
、仮アドレスが物理アドレス形式で与えられたときのた
めに、アドレスレジスタ111,112.お上び113
の物理アドレスのQ情報(ビット4−19)と、管理テ
ーブル500から読出された2つの物理アドレスのQ情
報とを比較器620および640で比較する(@7図の
620および640参照)。また、アドレスレジスタ1
11,112゜および113のうちのアドレス種別情報
Toにより、比較器610,620,630.および6
40の出力を、選択回路650において選択してバッフ
ァIll 8手段700に与える(第7図の650参照
)。すなわち、アドレス種別情報Toが物理アドレス形
式を示す場合は比較器620および640の出力を、そ
れ以外の場合は比較器610および630の出力を選択
する。
Comparators 610, 620, 630 in FIG. and 640
and a selection circuit 650.
0,630,640. and 650 is the management table 5
Comparators 610 and 630 compare the physical addresses Q corresponding to the two sets successively derived from 00 and the physical address Q read from the conversion table 300 (6 in FIG.
10 and 630). At the same time, the comparison means includes address registers 111, 112 . Oage 113
Comparators 620 and 640 compare the Q information (bits 4 to 19) of the physical address of , and the Q information of the two physical addresses read from the management table 500 (see 620 and 640 in Figure @7). Also, address register 1
Comparators 610, 620, 630 . and 6
40 is selected by selection circuit 650 and applied to buffer Ill8 means 700 (see 650 in FIG. 7). That is, when address type information To indicates a physical address format, the outputs of comparators 620 and 640 are selected; otherwise, outputs of comparators 610 and 630 are selected.

第2図および第3図を参照すると、バッファメモリ40
0は、2個のセントから成り、アドレスレジスタ111
,112.および113のうちのE(ビy)16 19
)およびR(ビット2〇−26)をアドレスとしてアク
セスされる。すなわち、該メモリ400は64にバイト
ス2セツト=128にバイト(Kヨ1024)の記憶容
量を持っている。但し、バッファメモリ400の容量お
よびセット数は任意で良い。本発明の特徴は、バッファ
メモリ400へのアドレスとして各アドレス形式に共通
な部分であるR(ピア)20 26)以外のブロック特
定情報であるE (To、A;B、C。
Referring to FIGS. 2 and 3, the buffer memory 40
0 consists of two cents, and the address register 111
, 112. and E (biy) 16 19 of 113
) and R (bits 20-26) as addresses. That is, the memory 400 has a storage capacity of 64 bytes 2 sets = 128 bytes (Kyo 1024). However, the capacity and number of sets of the buffer memory 400 may be arbitrary. A feature of the present invention is that the address to the buffer memory 400 is block specific information other than R (peer) 20 26), which is common to each address format.E (To, A; B, C.

Dであっても良い)の情報を用いることにある(第7図
の400参照)。
D) (see 400 in FIG. 7).

第2図および第6図を参照すると、バッファ制御手段7
00は、レジスタ111のアドレスIUIJ情報T0が
論理アドレスを示しかつ比較器320の比較結果が不一
致を示せばアドレス変換手段200にアドレス変換を指
示する。それ以外の場合はアドレスで与えられたアクセ
ス要求の物理アドレスが、アドレスレジスタ111,1
12.お上び113内で、または、変換テーブル300
を介して確定しているものとして1選択回路650の出
力によりバッファメモリ400から続出された情報が正
しいか否かを判断する。すなわち、比較器610および
630の比較結果が−at−示していれば、左側の七ノ
ドから絖田されたプロランが求めるものとして選択回路
710t−動作させる。
Referring to FIGS. 2 and 6, the buffer control means 7
00 instructs the address conversion means 200 to convert the address if the address IUIJ information T0 of the register 111 indicates a logical address and the comparison result of the comparator 320 indicates a mismatch. In other cases, the physical address of the access request given by the address is the address register 111, 1.
12. In the top 113 or in the conversion table 300
Assuming that the information has been determined through the 1 selection circuit 650, it is determined whether the information successively output from the buffer memory 400 is correct or not based on the output of the 1 selection circuit 650. That is, if the comparison results of the comparators 610 and 630 indicate -at-, the selection circuit 710t is operated as the one desired by the pro-run selected from the seven nodes on the left.

また比較器620および640の出力選択結果が一致を
示していれば、右側のセットから読出δれたブロックが
求めるものとして選択回路710を動作させる(第7図
の710参照)。さらに、どちらの出力選択結果も不一
致を示していれば、バッファメモIJ 400内に求め
る情報がないものとしてブロック続出し動作をメモリW
ill 14]装置21に依頼する。もちろんどちらの
出力選択結果も不−tを示す場合でもバッファメモリ4
00内の他のワード(J!4なるアドレス)に求めるブ
ロックが存在する可能性はあるが、制御の簡単化のため
に、管理デープル500の他のワードt−調べることは
せずに求める情報がないものとみなすように動作させる
。これを可能としているのは、論理的には、異なる論理
アドレスで同一の物理アドレスをアクセスすることが容
易に可能であるにもかかわらずソフトウェア構成の性質
上、ハードウェアレベルで見た場合に、このようなアク
セスを行なう頻度は非常に少ないという事実による。す
なわち、それぞれの命令対応に同一の物理アドレスの情
報が複数のバッファメモリ400内のそれぞれの対応ア
ドレス位置に存在し得るような上記の構成を取っても、
実質的には、同一情報の重複設置のケースは少なく、バ
ッファメモリ400の容量を実質的に減少させる割合は
微少である。
If the output selection results of the comparators 620 and 640 indicate a match, the selection circuit 710 is operated assuming that the block δ read from the right set is desired (see 710 in FIG. 7). Furthermore, if both output selection results indicate a mismatch, it is assumed that the desired information does not exist in the buffer memory IJ 400, and the block continuous output operation is performed in the memory W.
ill 14] request the device 21. Of course, even if both output selection results indicate no-t, the buffer memory 4
There is a possibility that the desired block exists in another word in 00 (address J!4), but for the sake of simplifying control, the desired information is not examined in other words t in the management table 500. operate in such a way that it is assumed that there is no such thing. What makes this possible is that although it is logically possible to easily access the same physical address with different logical addresses, due to the nature of the software configuration, when viewed at the hardware level, This is due to the fact that such accesses are performed very infrequently. That is, even if the above configuration is adopted in which information of the same physical address corresponding to each instruction can exist at each corresponding address position in the plurality of buffer memories 400,
Substantially, there are few cases of duplicate installation of the same information, and the rate at which the capacity of the buffer memory 400 is substantially reduced is very small.

本発明には、仮アドレスでアクセスするバッファメモリ
400および管理テーブル500t−設け、バッファメ
モリ400内情報有無の確f!には物理アドレスを用い
るように構成することKより、大容量のバッファメモリ
400を、簡単な制御で高速にアクセスできるという効
果がある。
The present invention is provided with a buffer memory 400 and a management table 500t that are accessed using a temporary address, and the presence or absence of information in the buffer memory 400 is confirmed f! Configuring the system to use physical addresses has the advantage that the large-capacity buffer memory 400 can be accessed at high speed with simple control.

上述の第1の実施例では、それぞれの命令対応に同一の
物理アドレスの情報が複数のバッファメモリ内のそれぞ
れの位置に存在し得るような構成をとっても実質的には
同一情報の重複設置のケースは少ない。しかし、同一情
報の重複設置が存在したときに、一方の情報を書き換え
ると他の同一情報との一致がとれなくなり、プロセッサ
から同一番地を指定したとき読み出される情報が異なり
、哄動作を生ずるという欠点がある。この欠点t−解決
しより信頼性の尚い動作を可能としたシステムが以下に
述べる第2の実施例である。
In the first embodiment described above, even if the configuration is such that information at the same physical address can exist in each position in a plurality of buffer memories corresponding to each instruction, it is actually a case of duplicate installation of the same information. There are few. However, when there are duplicate installations of the same information, if one piece of information is rewritten, it will no longer match the other pieces of identical information, and when the same location is specified from the processor, the information read out will be different, resulting in a bug. There is. A system that overcomes this drawback and enables more reliable operation is the second embodiment described below.

第8図を参照すると、第1図のバックアメモリ制御ブロ
ック51,52.53または54からなる本発明の第2
の実施例は、バッファメモリ400、選択回路71O1
管理テーブル500、レジスタと選択回路からなるスト
アアドレス装置1000゜逆変換テーブル800、比較
器610,630゜910.920,930および94
0、一致処理制御部9001選択回路8501仮アドレ
スレジスタ110.変換テーブル300.およびバッフ
ァ制御手段700から構成されている。
Referring to FIG. 8, the second embodiment of the present invention comprising the backup memory control block 51, 52, 53 or 54 of FIG.
In this embodiment, the buffer memory 400 and the selection circuit 71O1
Management table 500, store address device 1000° consisting of registers and selection circuits, reverse conversion table 800, comparators 610, 630° 910, 920, 930 and 94
0, match processing control unit 9001 selection circuit 8501 temporary address register 110. Conversion table 300. and a buffer control means 700.

300、バッファメモリ400%および管理テーブル5
00は、特公昭53−25457の第2図記載の処理装
置101%第3図記載の変換ディレクトリ220、キャ
ッシュ200.およびフェッチディレクトリ210によ
りそれぞれ構成できる。
300, buffer memory 400% and management table 5
00 is the processing device 101 shown in FIG. 2 of Japanese Patent Publication No. 53-25457, the conversion directory 220 shown in FIG. 3, and the cache 200. and fetch directory 210, respectively.

第9図を参照すると、本実施例に用いられるアドレスは
、各形式に共諷しているページ内ブロック指定アドレス
(R:ビット2O−26)およびブロック内バイトアド
レス(X:ビット27−31)に加えて、ページを指定
する情報として論理アドレスではページ番号(P:ピッ
)4−19)、物理アドレスでは物理ページ指定(Q:
ビット4−19)、仮アドレスでは以下の情報が論理ア
ドレス形式か物理アドレス形式かを示すアドレス種別情
報(To:ビット0)およびページ指定アドレス(A:
ピッ)4−19)とから構成されている。
Referring to FIG. 9, the addresses used in this embodiment are the in-page block designation address (R: bits 20-26) and the in-block byte address (X: bits 27-31) that are common to each format. In addition, information specifying the page includes the page number (P: beep 4-19) for logical addresses, and the physical page designation (Q:
bits 4-19), and in the temporary address, the following information is address type information (To: bit 0) indicating whether it is a logical address format or physical address format, and a page specified address (A:
4-19).

仮アドレスのページ指定情報、+lアドレス棟別情報T
の値によりページ番号ptたは物理ページ指定Qと同じ
自答であり、論理アドレスと物理アドレスの両者を統合
し丸形式として表わされる。
Temporary address page designation information, +1 address building information T
The value is the same answer as the page number pt or the physical page designation Q, and both the logical address and the physical address are integrated and expressed as a circle.

物理アドレスはメインメモリへのアクセス時にアドレス
として用いられつる。但し、従来技術で知られるように
メインメモリへのアドレスは常に物理アドレスである必
要はなく、物理アドレスを浮動アドレスレジスタ等によ
り変換されたものでも、またプレフィックス変換により
変換されたものでも良い。論理アドレスはページ番号P
によりソフトウェアが設けたページテーブルをアクセス
し、このテーブルから物理ページ指定Qt−読む出すこ
とにより物理アドレスに変換されるものとして与えらh
る7 第10図を参照すると、88図のバッファ制御手段70
0は、アンドケート701.702および7051オア
ゲー)70(,706および711、F/F707,7
08および709%選択回路712.716および71
7.レジスタ713および715、デコーダ714およ
び置換制御回路718から構成されている。第8図の変
換テーブル300のアドレス変換が有効な場合選択回路
710への選択指示動作は第8図に示すバッファ制御手
段700の上述の制御動作と同一である。
The physical address is used as an address when accessing main memory. However, as is known in the prior art, the address to the main memory does not always have to be a physical address, but may be a physical address converted by a floating address register or the like, or may be converted by prefix conversion. Logical address is page number P
The page table provided by the software is accessed by , and the physical page designation Qt from this table is converted into a physical address by reading h.
7 Referring to FIG. 10, the buffer control means 70 of FIG.
0 is ANDKATE 701, 702 and 7051 or game) 70 (, 706 and 711, F/F 707, 7
08 and 709% selection circuit 712.716 and 71
7. It consists of registers 713 and 715, a decoder 714, and a replacement control circuit 718. When the address conversion in the conversion table 300 of FIG. 8 is valid, the selection instruction operation to the selection circuit 710 is the same as the above-described control operation of the buffer control means 700 shown in FIG.

しかし、第8図のバッファメモリ400に求める情報が
格納されていないことが9610−1および630−1
を介して与えられる比較結果不一致信号により通知妊れ
ると、F/F707−709を動作させ第8図のレジス
タ1010へのセット指示信号およびセットデータf、
@700−4に送用する。これとともに逆変換テーブル
800の各組への書込指示信号および書込データが綴7
00−5を介して送られる。これを詳述すればまず。
However, 9610-1 and 630-1 find that the desired information is not stored in the buffer memory 400 in FIG.
When a comparison result mismatch signal given via the comparison result is successful, the F/Fs 707-709 are operated to send a set instruction signal and set data f to the register 1010 in FIG.
Send it to @700-4. Along with this, the write instruction signal and write data to each set of the inverse conversion table 800 are
Sent via 00-5. Let me explain this in detail.

F/F 707の出力に応答して逆変換テーブル800
への書込み動作は次のようである。咳テーブル800の
各組のアドレスは、バッファメモリ400のデータ置換
アルゴリズムを論理回路で実現′〜た置換制御回路71
8からの選択指示信号に応答して管理テーブル500か
ら@1501−1および502−1’i介して与え′ら
れるバッファメモリ400のアドレスを選択回路712
で選択して決定される。さらに骸テーブル800の4組
のうちのどの組を選択するかはデ:ノーダ714の出力
で決定される。このようにして決定式れた該テーブル8
000ランダム・アクセス命メモリにレジスタ715の
内容が1i1700−5を介して供給される。なお、こ
のF/F 707の出力に応答して書込み動作をする前
にアンドゲート705の出力がオアグー)706t−介
して該テーブル800のアドレスレジスタ1010にア
ドレスセント指示m号として送られる。前記F/F 7
07の出力に応答してF/F 708がセットされる。
In response to the output of F/F 707, inverse conversion table 800
The write operation to is as follows. Each set of addresses in the cough table 800 is determined by a replacement control circuit 71 that implements the data replacement algorithm of the buffer memory 400 using a logic circuit.
In response to the selection instruction signal from 8, the selection circuit 712 selects the address of the buffer memory 400 given from the management table 500 via @1501-1 and 502-1'i.
is selected and determined. Further, which of the four groups in the corpse table 800 is selected is determined by the output of the de:noder 714. The table 8 determined in this way
000 random access instruction memory is provided with the contents of register 715 via 1i1700-5. Note that before a write operation is performed in response to the output of the F/F 707, the output of the AND gate 705 is sent to the address register 1010 of the table 800 as an address point instruction No. m via the OAG) 706t. Said F/F 7
F/F 708 is set in response to the output of 07.

このF/F708の出力はアドレスレジスタ1010の
アドレスセント指示信号としてオアグー) 706に介
して1ii700−4に送出される。この送出とともに
選択回路716でレジスタ110から1m!11〇−2
および110−3t−介して与えられるページおよびペ
ージ内ブロック指定アドレス情報QおよびRが1117
00−4を介してレジスタ1010にセットされる。前
記F/F 708の出力はF/F709をセットする。
The output of this F/F 708 is sent to the 1ii 700-4 via the address register 1010 as an address cent instruction signal. Along with this sending, the selection circuit 716 selects 1m! from the register 110! 110-2
and 110-3t- the page and intra-page block specification address information Q and R given through 1117
It is set in register 1010 via 00-4. The output of F/F 708 sets F/F 709.

F/F 709の出力はオアグー)711を介してデコ
ーダ714に与えられる。デコーダ714は前記テーブ
ル80004組うち1組を選択するアドレス信号i、@
700−5に出力する。このときll11700−5を
介して前記テーブル800に与えられる書込みデータに
は。
The output of the F/F 709 is provided to a decoder 714 via an audio signal 711. The decoder 714 receives an address signal i, @ which selects one of the four tables 80004.
700-5. At this time, the write data given to the table 800 via ll11700-5 is as follows.

%QIから111に変化されたvビット、変換テーブル
300で変換された実アドレスQ1および仮アドレスレ
ジスタ110および置換制御回路718から得られる推
定情報+11)が含壕れる。
It includes the v bit changed from %QI to 111, the real address Q1 converted by the conversion table 300, and the estimated information obtained from the temporary address register 110 and replacement control circuit 718+11).

第11図を参照すると、第8図の前記逆変換テーブル8
00内の一列は4つのランダム・アクセス・メモリ80
1−804で構成されている。これらのランダム・アク
セス・メモリ801−804のそれぞれは、#110図
の前記バッファメモリ制御手段700のレジスタ715
から縁TOO−5を介して与えられる書込みデータを受
ける書込みデータ端子WD、第1θ図の制御手段700
のデコーダ714からl[700−5を介して与えられ
る′信号管ライトイネーブル信号として受けるライトイ
ネーブル端子WE、  レジスタ1010から1101
0−2t−介して与えられるアドレス信号を受けるアド
レス端子Aおよび絖出しブータラ線801−1,802
−1,803−1および80ト4に出力する貌出しデー
タ端子を備えている。第11図のランダム・アクセス・
メモリは通常読出しデータを前記端子RDから出力する
。書込み時はアドレス信号で指定された行に位置する4
つのランダム拳アクセス番メモリ801−804のうち
の1つにライトイネーブル信号が与えられる。この信号
の4見られたランダム・アクセス・メモリに書込みデー
タが与えられる。このとき続出し動作は停止される。
Referring to FIG. 11, the inverse conversion table 8 of FIG.
One column in 00 is 4 random access memories 80
1-804. Each of these random access memories 801-804 is connected to the register 715 of the buffer memory control means 700 in Figure #110.
A write data terminal WD receives write data applied via the edge TOO-5 from the control means 700 of FIG.
A write enable terminal WE receives the signal tube write enable signal from the decoder 714 of the register 1010 to 1101.
0-2t- address terminal A receiving an address signal applied via
-1, 803-1 and 80-4. Random access in Figure 11
The memory normally outputs read data from the terminal RD. When writing, 4 is located in the row specified by the address signal.
A write enable signal is applied to one of the two random access number memories 801-804. Write data is provided to the random access memory seen at four of this signal. At this time, the continuous output operation is stopped.

第12図を参照すると、第8図の一致処理制御部900
は、アンドゲート901−908、F/F912−91
5、ナントゲート909,910゜916〜926およ
び真信号と補信号を発生するケート927から構成嘔れ
ている。
Referring to FIG. 12, the matching processing control unit 900 of FIG.
is AND gate 901-908, F/F912-91
5. It is composed of Nant gates 909, 910° 916-926 and a gate 927 for generating a true signal and a complementary signal.

比較回路910,920,930,940から1M91
0−1.920−1.930−1および940−1t−
介して与えられる出力は、各々対応する組の処置が終了
した事を管理するフリップフロップ912,913,9
14,915が101である条件の下K、判定され、無
効化処理或iu、 一致用スドアデータ書込処11を必
要とする組単位に選択回路850の選択指示を行なうと
ともに、必要なセットに対する書込み指示を管理テーブ
ル500またはバッファメモリ400に対して送出する
Comparison circuits 910, 920, 930, 940 to 1M91
0-1.920-1.930-1 and 940-1t-
The outputs provided through the flip-flops 912, 913, and 9 respectively manage the completion of the corresponding set of treatments.
Under the condition that 14,915 is 101, K is determined, and the invalidation processing or iu, the matching block data writing processing 11 instructs the selection circuit 850 to select each set that requires it, and writes to the necessary set. An instruction is sent to the management table 500 or buffer memory 400.

第13図を参照すると、瀉8図のストアアドレス装置1
000は真信号と補信号とを出力するゲート1001お
よび1002、アンドグー)1003および1006、
F/F1004および1005゜ナンドグー)1007
、選択回路1008および1013およびレジスタ10
09.1011.1012および1014を有している
Referring to FIG. 13, store address device 1 of FIG.
000 are gates 1001 and 1002 that output a true signal and a complementary signal, and (and goo) 1003 and 1006,
F/F1004 and 1005゜nandogoo) 1007
, selection circuits 1008 and 1013 and register 10
09.1011.1012 and 1014.

ストアアドレス装置1000は、メモリ制御装置21お
よびストア制御部50から縁2131−4および50−
1を介して与えられる一致処理要求と、一致処理アドレ
ス、ストアデータを受偏し、一致処理要求を優先順位に
従って受は付けて、これに対応する一致処理アドレスお
よびセット指示をレジスタ1010に41111000
−It−介して送出し、又対応するストアデータを紐1
000−2を介してバッファメモリ400に書込データ
として送出する。
The store address device 1000 receives the memory control device 21 and the store control unit 50 from the edges 2131-4 and 50-.
1, receives the matching processing request, matching processing address, and store data given through 1010, accepts the matching processing request according to the priority order, and stores the corresponding matching processing address and set instruction in the register 1010 (41111000).
-It-, and also sends the corresponding store data through string 1
It is sent as write data to the buffer memory 400 via 000-2.

次に、第2の実施例の動作t−第6図を参照しながら詳
細に説明する。
Next, the operation of the second embodiment will be described in detail with reference to FIG.

まず、バッファメモリ400への絖出し動作について絆
細にIIS!脚する。
First of all, IIS! Legs.

バッファメモリ40θ内の情報にアクセスしようとする
場合、仮アドレスレジスタ110から線110−3、セ
レクタ530および#81530−1を介して与えられ
る仮アドレスによりバッファメモ1J400.管理テー
ブル500の位置が指定さレル。次に、変換子R300
からの物理アドレスと管理テーブル500からの物理ア
ドレスとが比較器610および630で比@され、この
比較結果に応答してバッファメモリiIIJIM1手段
700がバッファメモリ400から読み出された情報が
求めるものか否かを判断し、@700−2を介して選択
回路710t−働かせて処理部100に情報を過器61
0からの比較結果−1kK応答してバッファメモリ40
0の左側部分401の出力を選択して処理部100に送
出する。ま九比較器630からの比較結果一致に応答し
てバッファメモリ400の右側部分402の出力を選択
して処ff1l$100に送出する。
When attempting to access information in buffer memory 40θ, buffer memory 1J400. The location of the management table 500 is specified. Next, converter R300
and the physical address from the management table 500 are compared by the comparators 610 and 630, and in response to the comparison result, the buffer memory IIIJIM1 means 700 determines whether the information read from the buffer memory 400 is the one desired. The selection circuit 710t is activated to send information to the processing unit 100 via the selection circuit 710t via @700-2.
Comparison result from 0 - 1kK response and buffer memory 40
The output of the left side portion 401 of 0 is selected and sent to the processing unit 100. In response to a match in the comparison result from the comparator 630, the output of the right portion 402 of the buffer memory 400 is selected and sent to the processor ff1l$100.

バッファ制御手段700は、比較器610および630
の比較結果に基づいてバッファメモリ400内に求める
情報の存在しない、またはバッファメモリ400に与え
られた仮アドレスに対応する限りは求める情報の存在が
認められない場合に、対応する情報t−第1図のメイン
メモリ11゜12.13および14から読み出してバッ
ファメモリ400に与えるように動作する。新たにバッ
ファメモリ400内に記憶される情報が格納されるべき
バッファメモリ400内の位置は、従来技術で知られる
リプレースメント・アルゴリズムを使用して決定される
。但し、リプレースメント−アルゴリズムで決定される
位置は、バッファメモリ400内のどのセット401.
402かであって、七ノ)401.402内のワード位
置け、バッファメモリ400.管理テーブル500にア
ドレスとして与えられるアクセス要求アドレスである仮
アドレス(ビット19−26)により決められる。ここ
で仮アドレスのビット19は、論理アドレスと物理アド
レスとで同一の情報t−m示する場合でも値が異なりう
る。
Buffer control means 700 includes comparators 610 and 630
If the desired information does not exist in the buffer memory 400 based on the comparison result of It operates to read data from main memories 11, 12, 13 and 14 in the figure and provide it to buffer memory 400. The location within buffer memory 400 where the information newly stored in buffer memory 400 is to be stored is determined using a replacement algorithm known in the art. However, the position determined by the replacement algorithm is determined by which set 401 .
402, seven) 401.402 word position, buffer memory 400. It is determined by a temporary address (bits 19-26) which is an access request address given to the management table 500 as an address. Here, bit 19 of the temporary address may have different values even when the logical address and the physical address indicate the same information tm.

従って、同一情報がバックアメモリ400内の検数の位
置に記憶される可能性が生じる。
Therefore, there is a possibility that the same information is stored in the count position in the backup memory 400.

バッファ制御手段700は、新たにバッファメモリ40
0内に情報を格納する必要が生じると格納丁べき情報の
物理アドレスをレジスタ1010にセットし、ビット1
9−26t−アドレストシて逆変換デープル800に与
えるとともに、格納すべき情報の物理アドレスのうちの
Q(ビット4−19)と、新たに格納されることが決定
されたバッファメモリ400内の位[t−詣定する指定
情報Sとを一組として書込データとして与えることによ
り、逆変換テーブル800内の今まで空でありた位置に
書込みを行なわせる。次に新たに格納されることが決定
されたバッファメモリ内位置に以前から存在してい友情
報の物理アドレスが管理テーブル500から絖み出され
て、レジスタ1010にセットされる。このレジスタ1
01Oの内容はアドレスとして逆変換テーブル800に
与えられ、以前から存在していた情報、すなわち、バッ
ファメモリ400内から消されようとしている情報に対
応する逆変換テーブル800内の実アドレスQと指定情
報Sとの組を無効とする、すなわち、空とするように指
示される。以上の制御により、逆変換テーブル800内
には、バッファメモリ400内に存在する全ての情報に
関する実アドレスQと指定情報Sとを一組とするデータ
が格納されていることが保証される。
The buffer control means 700 newly controls the buffer memory 40.
When it becomes necessary to store information in 0, the physical address of the information to be stored is set in register 1010, and bit 1 is set.
9-26t-address is given to the inverse conversion daple 800, and Q (bits 4-19) of the physical address of the information to be stored and the position in the buffer memory 400 where it has been determined that the new information is to be stored. [t-Specification information S to be visited is given as a set as write data, so that the position in the inverse conversion table 800 that has been empty until now is written. Next, the physical address of the friend information that previously existed at the location in the buffer memory where it has been determined that it will be newly stored is extracted from the management table 500 and set in the register 1010. This register 1
The contents of 01O are given to the inverse translation table 800 as an address, and the real address Q and designated information in the inverse translation table 800 corresponding to the information that existed before, that is, the information that is about to be erased from the buffer memory 400. It is instructed to invalidate the pair with S, that is, to make it empty. The above control ensures that the inverse conversion table 800 stores data including a set of real address Q and designated information S regarding all information existing in the buffer memory 400.

ここで、逆変換テーブル800への新規な実アドレスQ
と指定情報Sとの組の書込みが常に行なわれ得ることを
保証するには、逆変換テーブル800内のエントリ数は
管理テーブル500のエントリ数のn倍以上存在する必
要がある。nの値はバッファメモリ400のアドレスと
して用いられる仮アドレスの一部がA(ビット4−19
)の部分を何ビット含んでいるかにより決定される。
Here, the new real address Q to the inverse translation table 800 is
In order to guarantee that writing of the combination of and specification information S can always be performed, the number of entries in the inverse conversion table 800 needs to be n times or more the number of entries in the management table 500. The value of n indicates that part of the temporary address used as the address of the buffer memory 400 is A (bits 4-19).
) is determined by how many bits it contains.

本実施例においては、ビット19のみの1ビツトである
ため、n−2である。従って、小実施例では、バッファ
メモリ400のセクト数が2であるc/)K対し、 f
fi変換テーブル800のセット数は2倍の4セツトと
なっている。
In this embodiment, since there is only one bit, bit 19, the number is n-2. Therefore, in the small embodiment, for c/)K where the number of sectors of the buffer memory 400 is 2, f
The number of sets in the fi conversion table 800 is doubled to four.

但し、逆変換テーブル800に常に管理テーブル500
のn倍のエントリ数を準備する必要はなく、オーバーフ
ローの確率による性能低下と金物蓋との関係から小容量
の逆変換テーブル5oon設置することも可能である。
However, the management table 500 is always included in the inverse conversion table 800.
It is not necessary to prepare n times the number of entries, and it is also possible to install a small-capacity inverse conversion table 5oon in view of the performance deterioration due to the probability of overflow and the relationship with the hardware cover.

まfc1季実施例におけるバッファメモリ400 、[
変換テーブル800)容量、セット数またはバッフrメ
モ1J40Gへのアクセスにおいて扱われる情報のデー
タ幅等は本発明の本質を成すものではなく、檜々の構成
が考えられる。
Buffer memory 400 in the fc1 season embodiment, [
Conversion table 800) The capacity, number of sets, data width of information handled in accessing the buffer memo 1J40G, etc. do not constitute the essence of the present invention, and various configurations can be considered.

次に主メモリへの書込み動作について第1図および第8
図を参照しながら説明する。
Next, Figures 1 and 8 show the write operation to the main memory.
This will be explained with reference to the figures.

への書込み指示に応答してメインメモリ11−14への
書込みが実行される。メインメモ!J 11−14の内
容の一部が該書込み動作で書き換えられてしまうと、第
8図のバッファメモリ400の内容とメインメモ!Jl
l−14の内容との不一致が生ずる。一般的な情報処理
システムでは、バッファメモリ400の内容はメインメ
モIJII−14の内容の一部のコピーであることが前
提となり動作するため、前記不一致が生ずるときは、バ
ッファメモリ400の内容とメインメモリ11−14の
内容との一致処理を行なう必要が生ずる。
Writing to the main memory 11-14 is executed in response to a write instruction to the main memory 11-14. Main memo! If part of the contents of J11-14 is rewritten by the write operation, the contents of the buffer memory 400 in FIG. 8 and the main memo! Jl
This causes a discrepancy with the contents of 1-14. A general information processing system operates on the assumption that the contents of the buffer memory 400 are a copy of a portion of the contents of the main memo IJII-14. It becomes necessary to perform matching processing with the contents of the memories 11-14.

次に、本発明の特徴を成す一致処理側一について第1図
、#I8図および@14図を参照して説明する。
Next, the matching processing side, which is a feature of the present invention, will be explained with reference to FIG. 1, #I8, and @14.

第8図のストアアドレス装置1000tt、メモリ制御
装置21またはストア制m部5oがら−2131−4お
よび5O−1t−介して送られる一致処理用物理アドレ
スを受信し、これt”1il1000−Ik介してレジ
スタ1010にセットするとともに、ストアデータが送
られてくる場合にはこれi縁1000−2を介してバッ
ファメモリ400に送出する(第14図の21.50.
1000および1010参照)。なお、ストア制御部は
処理装置の命令先取り部または演算処理部で構成される
The store address device 1000tt in FIG. 8 receives the physical address for matching processing sent via the memory control device 21 or the store control unit 5o-2131-4 and 5O-1t-, It is set in the register 1010, and if store data is sent, it is sent to the buffer memory 400 via the i-edge 1000-2 (21.50. in FIG. 14).
1000 and 1010). Note that the store control section is composed of an instruction prefetch section or an arithmetic processing section of the processing device.

第8図のレジスタ1010の内容は、ピッ)19−26
が逆変換テーブル800にアドレスとして与えられ、ビ
ット4−18は比較器910,920゜930および9
40に与えられる(第14図の1010.800,91
0,920,930および940参N)。
The contents of the register 1010 in FIG.
is given as an address to the inverse translation table 800, and bits 4-18 are applied to comparators 910, 920, 930 and 9.
40 (1010.800,91 in Figure 14)
0,920,930 and 940 references N).

第8図の逆変換テーブル800の各七ノ)801゜80
2.803および804け、それぞれレジスタ810,
820,830および840に物理アドレスQと指定情
報Sとの一組を読出して与える(@14図の810,8
20,830および840参照)。
Each number in the inverse conversion table 800 in FIG. 8) 801°80
2.803 and 804 registers 810,
A set of physical address Q and specification information S is read and given to 820, 830 and 840 (810 and 8 in Figure @14).
20, 830 and 840).

第8図の比較器910,920.930および940t
i、逆変換テーブル800から読出された各組の物理ア
ドレスとレジスタ1010の物理アドレス(ビット4−
18)とを比較し一致した場合に、該当する組がストア
アドレスの示す情報を記憶しているバッフアメモリ40
0内位置を指定する有効な指定情報Sを含んでいること
を一致処理制御5900に知らせる(第14図の91O
2920,930および940参照)。
Comparators 910, 920, 930 and 940t in FIG.
i, each set of physical addresses read from the inverse translation table 800 and the physical address of the register 1010 (bits 4-
18) and if they match, the buffer memory 40 stores the information indicated by the store address.
Notify the match processing control 5900 that it contains valid specification information S specifying a position within 0 (91O in FIG. 14).
2920, 930 and 940).

第8図の一致処理111J 11部900と選択回路8
50とから成る一致処理制御手段は、比較器910゜9
20.930および940から一致を示されると一致し
九組全てに関し対応するバッファメモリ400内ブロツ
クに対して一致処理を行なわせる。
Matching process 111J 11 part 900 and selection circuit 8 in FIG.
The matching processing control means consisting of a comparator 910°9
20. When a match is indicated from 930 and 940, matching processing is performed on the corresponding blocks in the buffer memory 400 for all nine sets.

即ち、一致処理制@l@900は、一致を示された組の
全てに対し順次以下のfilim’に行なう。先ず一致
した組の指定情報St−レジスタ810,820゜83
0および840から選択回路850で選択し。
That is, the match processing system @l@900 sequentially performs the following filim' for all pairs that are shown to be matched. First, specifying information St-registers 810, 820° 83 for matched pairs.
The selection circuit 850 selects from 0 and 840.

さらに選択回路53(lf!IIIIglしてバッファ
メモリ400および管理テーブル500にアドレスとし
て与える(第14図の810,820,830゜840
.850および530参照)。次に、ストアデータがス
トアアドレス装置1000からバッファメモリ400に
与えられている場合には指定情報Sの指定するバッファ
メモリ400内の位置にストアデータを書込ませ、スト
アデータが与えられていない場合には指定情報Sの指定
する管理テーブル500内の位置のエントリにバッファ
メモリ400の対応するブロックの無効情報を書込ませ
ることによって一致処理を行なわせる(第14図の40
0および500参照)。このようにしてバッファメモリ
400内の情報の保証を完全なものとする。なお、バッ
ファメモリ400のブロックを無効化1−た場合には、
逆変換テーブル800内の対応する組も無効化すなわち
空としてやる必費があるが、この方法は、前述のバッフ
ァメモリ400への新規登録時に発生した以前の情報の
無効化と同じ中段で行なわれる。
Further, the selection circuit 53 (lf!
.. 850 and 530). Next, if the store data is given to the buffer memory 400 from the store address device 1000, the store data is written to the position in the buffer memory 400 specified by the specification information S, and if the store data is not given, The matching process is performed by writing the invalidity information of the corresponding block in the buffer memory 400 to the entry at the position in the management table 500 specified by the specification information S (40 in FIG. 14).
0 and 500). In this way, the information in the buffer memory 400 is completely guaranteed. Note that when a block of the buffer memory 400 is invalidated,
Although it is necessary to invalidate the corresponding set in the inverse conversion table 800, that is, to make it empty, this method is performed in the same middle stage as the invalidation of the previous information that occurred when new registration to the buffer memory 400 was described above. .

本実施例においては指定情報Sは、仮アドレスとしての
ピノ)19−26と、管理テーブル500の七ノ)50
1.502を指定する指定情報とから構成され、前記仮
アドレスとしてのビット19−26は管理テーブル50
0およびバッファメモリ400へのアドレスとして使用
され、前記指定情報は一致処理制御部900が管理テー
ブル509またはバッファメモリ400への書込み指示
を行なう時のセット指定として使用されるが、指定情報
Sの形式は本実施例以外の形であってもよい。
In this embodiment, the designation information S is Pino) 19-26 as a temporary address and Nan) 50 of the management table 500.
1.502, and bits 19-26 of the temporary address are stored in the management table 50.
0 and as an address to the buffer memory 400, and the specification information is used as a set specification when the matching processing control unit 900 issues a write instruction to the management table 509 or the buffer memory 400. However, the format of the specification information S may be in a form other than that in this example.

例えば、仮アドレスとして与えられてもよく管理テーブ
ル500の対応エントリを指定できればよい。
For example, it may be given as a temporary address, as long as the corresponding entry in the management table 500 can be specified.

発明の効果 本発明には、逆変換テーブル800により一致処理用物
理了ドレ・スから対応する情報のバッフアメモリ400
内格納位置を知り、その全てに対して一致処理を行なう
ことにより同一情報が複数個記憶されうる仮アドレスバ
ックアメモリの記憶する情報の正当性を保証できるとい
う効果がある。
Effects of the Invention In the present invention, the buffer memory 400 of information corresponding to the physical address for matching processing is stored using the inverse conversion table 800.
By knowing the internal storage locations and performing matching processing on all of them, there is an effect that the validity of the information stored in the temporary address backup memory, which can store a plurality of pieces of the same information, can be guaranteed.

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

第1図は本発明を通用するシステム構成の一例を示す図
。 第2図は本発明の第1の実施例を示す図、第3図および
第4図は本発明に適用するアドレス生成t−説明するた
めの図。 第5図は本発明の第1の実施例に採用されるアドレス形
式を示す図、 第6図は第1の実施例の一部t−詳しく示す図、第7図
は第1の実施例の動作t−説明するための図、 第8図は本発明の第2の実施例を示す図。 第9図は第2の実施例に用いるアドレス形式を示す図、 第1O図から第13図はW42の実施例の一部會峰細に
示す図、および @14図は第2の実施例の動作を説明するだめの図、で
ある。11,12,13.14・・・・・・メインメモ
リ、21.22・・・・・・メモリ制御装置、31゜3
2.33.34・・・・・・処理装置、41.42,4
3゜44・・・・・・データ転送装置、51’、52,
53.54・・・・・・バッファメモリ1tllJIi
ブロツク、30・・・・・・処理部、50・・・・・・
ストア’WIJ@@1100・・・・・・アドレス装置
、110・・・・・・仮アドレスレジスタ、101゜1
02・・・・・・パンツアメモリ内セット、200・・
・・・・アドレス変換手段、300・・・・・・変換テ
ーブル、400・・・・・・バッファメモリ% 500
・・・・・・管理テーブル、700・・・・・・バッフ
ァ制御子L718・・・・・・置換制御回路、800・
・・・・・逆変換テーブル、900・・・・・・一致処
理制御部、1000・・・・・・ストアアドレス装置、
111,112,113,310,510,520゜7
13.715,810,820,830,840,10
09゜1010.1011,1012,1014・・・
・・・レジスタ、801.802,803,804・・
・・・・ランダムアクセスメモリ、320,610,6
20,630,640,910゜920.930.94
0・・・・・・比較器、530,650゜710.71
2,716,717,850,1008゜1013・・
・・・・選択回路、707,708,709,912゜
913.914,915,1004.1005・・・・
・・F/F。 714・・・・・・デコーダ、927,1001.10
02・・・・・・ゲート、 701 .702.704
 .705.901゜902.903.904.905
.906.907゜908.1003,1006・・・
・・・アンドゲート、909.910,916,917
,918゜919.921,922,923,924,
925゜926 、1007−−−−・−ナンドケート
、703゜706.711・・・・・・オアゲート。 η 2図  ′ ′jA 4  図 η S l ス 61 η 7 図 y q 図 ] 洒 6 回 りlθ V:、/θ固 ス 72 Ifl η /J 図
FIG. 1 is a diagram showing an example of a system configuration to which the present invention can be applied. FIG. 2 is a diagram showing a first embodiment of the present invention, and FIGS. 3 and 4 are diagrams for explaining address generation applied to the present invention. FIG. 5 is a diagram showing the address format adopted in the first embodiment of the present invention, FIG. 6 is a diagram showing a part of the first embodiment in detail, and FIG. 7 is a diagram showing the details of the first embodiment. FIG. 8 is a diagram showing a second embodiment of the present invention. Fig. 9 is a diagram showing the address format used in the second embodiment, Figs. 1O to 13 are diagrams showing some details of the W42 embodiment, and Fig. This is a diagram for explaining the operation. 11, 12, 13.14...Main memory, 21.22...Memory control device, 31゜3
2.33.34...processing device, 41.42,4
3゜44...data transfer device, 51', 52,
53.54...Buffer memory 1tllJIi
Block, 30... Processing section, 50...
Store'WIJ@@1100...Address device, 110...Temporary address register, 101゜1
02...Pants Amemory set, 200...
... Address conversion means, 300 ... Conversion table, 400 ... Buffer memory % 500
...Management table, 700...Buffer controller L718...Replacement control circuit, 800...
...Inverse conversion table, 900 ... Matching processing control unit, 1000 ... Store address device,
111,112,113,310,510,520゜7
13.715,810,820,830,840,10
09°1010.1011,1012,1014...
...Register, 801.802,803,804...
...Random access memory, 320, 610, 6
20,630,640,910゜920.930.94
0... Comparator, 530,650°710.71
2,716,717,850,1008°1013...
...Selection circuit, 707,708,709,912゜913.914,915,1004.1005...
...F/F. 714...decoder, 927,1001.10
02...Gate, 701. 702.704
.. 705.901゜902.903.904.905
.. 906.907゜908.1003,1006...
...And Gate, 909.910,916,917
,918°919.921,922,923,924,
925°926, 1007----Nandoke, 703°706.711....Orgate. η 2 Figure ′ 'jA 4 Figure η S l S 61 η 7 Figure y q Figure] 6 Turn lθ V:, /θ Firm 72 Ifl η /J Figure

Claims (2)

【特許請求の範囲】[Claims] (1)主記憶をアクセスするための各命令に応答して論
理アドレスと物理アドレスとのどちらか一方で表わされ
第1のフィールド、第2のフィールドおよび第3のフィ
ールドを有するアドレス情報を発生するアドレス情味発
生手段と、 コ17)7ドレス情報発生手段からの論理アドレスを物
理アドレスに変換するアドレス変換手段と。 このアドレス変換手段により変換された物理アドレスを
前記アドレス情報の第1およびII2のフィールドで指
定されるアドレスに記憶する変換テーブル手段と、 前記主記憶の記憶内容の一部と四−の内容でかつ同一ブ
ロックアドレスの内容をブロック単位で前記命令対応に
前記アドレス情報の第2および第3のフィールドに基い
て推定されるアドレスに記憶するバッファメモリ手段と
。 このバッファメモリ手段の記憶内容に対応する同一の物
理アドレスを前記命令対応に前記アドレス情報の第2お
よび第3のフィールドに基いて指定されるアドレスに記
憶する管理テーブル手段と、前記アドレス発生手段と前
記変換テーブル手段とのどちらか一方からの物理アドレ
スと前記管理テーブル手段からの物理アドレスとを比較
する比較手段と。 この比較手段の比較結果に応答して前記バッファメモリ
手段から読み出された内容が有効であるか否かを判定す
る手段と。 前記比較手段の比較結果の不一致に応答して前記アドレ
ス発生手段と前記変換テーブル手段とのどちらか一方か
らの物理アドレスで指定される前記主記憶の記憶内容の
一部と同一の記憶内容でかつ同一ブロックアドレスの内
容をブロック単位で前記命令対応に前記アドレス情報の
第2お上び纂3のフィールドに基いて指定される前記バ
ソファメモリ手段のアドレスに記憶させるとともKこれ
らの記憶内容に対応する同一の物理アドレスを前記命令
対応に前記アドレス情報の第2および第3のフィールド
に基いて指定されるアドレスに記憶させる手段とを備え
たことを%黴とするバッファメモリコントロールシステ
ム。
(1) Generate address information represented by either a logical address or a physical address and having a first field, a second field, and a third field in response to each instruction for accessing main memory. (17) Address conversion means that converts the logical address from the 7 address information generation means into a physical address. conversion table means for storing the physical address converted by the address conversion means in addresses specified by the first and II2 fields of the address information; Buffer memory means for storing contents of the same block address in units of blocks corresponding to the instructions at addresses estimated based on the second and third fields of the address information. management table means for storing the same physical address corresponding to the storage content of the buffer memory means at an address designated based on the second and third fields of the address information in correspondence with the instruction; and the address generation means; comparison means for comparing the physical address from either one of the translation table means and the physical address from the management table means; means for determining whether or not the content read from the buffer memory means is valid in response to the comparison result of the comparison means; The storage contents are the same as a part of the storage contents of the main memory specified by the physical address from either the address generation means or the conversion table means in response to a discrepancy in the comparison result of the comparison means; storing the contents of the same block address in units of blocks corresponding to the instructions in the addresses of the bathophore memory means designated based on the second and third fields of the address information; A buffer memory control system comprising: means for storing the same corresponding physical address in an address specified based on the second and third fields of the address information corresponding to the instruction.
(2)外部から与えられる物理アドレスにより指定され
る記憶位置に情報をブロック単位に記憶する主記憶と、 該主記憶をアクセスするための各命令に応答して論理ア
ドレスと物理アドレスとのどちらか一方で表わされるア
ドレス情報により指定される記憶位置に前記主記憶にお
いてブロック単位に記憶された複数のブロックの記憶内
容の一部と同一の内容を前記ブロック単位に対応1〜た
ブロック単位でかつ前記命令対応に記憶するバッファメ
モリ手段と、 コノバッファメモリ手段のブロックを指示する物理アド
レスを前記命令対応に前記アドレス情報により指定され
る記憶位置に記憶する管理テープ前記主記憶に対する書
込みアドレスを物理アドレスの形で発生する書込みアド
レス発生手段と、前記バッファメモリ手段に記憶されて
いるブロックを指示する物理アドレスの一部ト誼ブロッ
クの物理アドレスが記憶されている前記管理テーブル手
段の記憶位置を特定する指定情報とを対として前記書込
みアドレス発生手段からの書込みアドレスで指定される
記憶位置に複数対記憶する逆変換テーブル手段と、 前記書込みアドレス発生手段からの物理アドレスの一部
と前記逆変換テーブル手段からの物理アドレスの一部と
を比較する比較手段と、この比較手段での比較結果の一
致に応答して前記逆変換テーブルから読み出される皺比
較された物理アドレスの一部に対応する指定情報を前記
管理テーブル手段と前記バッファメモリ手段との少なく
とも一方に与えて対応するブロックの情報を無効にする
か前記主記憶に書き込むための情報を前記バッファメモ
リ手段の対応するブロックに書急込む手段とを含むこと
を特徴とするバッファメモリコントロールシステム。
(2) A main memory that stores information block by block at a storage location specified by a physical address given from the outside, and either a logical address or a physical address in response to each instruction to access the main memory. On the other hand, the same contents as a part of the storage contents of a plurality of blocks stored in block units in the main memory are stored in the storage location specified by the address information expressed on the one hand, in block units corresponding to the block units, and the above-mentioned buffer memory means for storing in correspondence with an instruction; and a management tape for storing a physical address indicating a block of the conobuffer memory means in a storage location specified by the address information in correspondence with the instruction; a write address generating means that generates a write address in the form of a write address generating means; a part of a physical address indicating a block stored in the buffer memory means; and a specification specifying a storage location of the management table means in which the physical address of the block is stored. inverse translation table means for storing a plurality of pairs of information in storage locations specified by the write address from the write address generation means; and part of the physical address from the write address generation means and from the inverse translation table means. a comparison means for comparing the part of the physical address of the wrinkled physical address read from the inverse translation table in response to a match between the comparison results of the comparison means; and means for applying information to at least one of the management table means and the buffer memory means to invalidate information in the corresponding block or write information to be written into the main memory into the corresponding block of the buffer memory means. A buffer memory control system characterized by:
JP57033491A 1982-03-03 1982-03-03 System for controlling buffer memory Granted JPS58150186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57033491A JPS58150186A (en) 1982-03-03 1982-03-03 System for controlling buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57033491A JPS58150186A (en) 1982-03-03 1982-03-03 System for controlling buffer memory

Publications (2)

Publication Number Publication Date
JPS58150186A true JPS58150186A (en) 1983-09-06
JPS6213699B2 JPS6213699B2 (en) 1987-03-28

Family

ID=12388022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57033491A Granted JPS58150186A (en) 1982-03-03 1982-03-03 System for controlling buffer memory

Country Status (1)

Country Link
JP (1) JPS58150186A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03142644A (en) * 1989-10-30 1991-06-18 Hitachi Ltd Cache memory control system
US7492660B2 (en) * 1989-04-13 2009-02-17 Sandisk Corporation Flash EEprom system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5415620A (en) * 1977-07-06 1979-02-05 Nec Corp Buffer memory unit
JPS55122286A (en) * 1979-03-10 1980-09-19 Fujitsu Ltd Data processing system
JPS5616982A (en) * 1979-07-18 1981-02-18 Fujitsu Ltd Buffer memory control system
JPS5644178A (en) * 1979-09-17 1981-04-23 Hitachi Ltd Buffer memory control system
JPS56140575A (en) * 1980-03-17 1981-11-02 Ibm Cash memory system
JPS56145583A (en) * 1980-04-15 1981-11-12 Nec Corp Buffer memory device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5415620A (en) * 1977-07-06 1979-02-05 Nec Corp Buffer memory unit
JPS55122286A (en) * 1979-03-10 1980-09-19 Fujitsu Ltd Data processing system
JPS5616982A (en) * 1979-07-18 1981-02-18 Fujitsu Ltd Buffer memory control system
JPS5644178A (en) * 1979-09-17 1981-04-23 Hitachi Ltd Buffer memory control system
JPS56140575A (en) * 1980-03-17 1981-11-02 Ibm Cash memory system
JPS56145583A (en) * 1980-04-15 1981-11-12 Nec Corp Buffer memory device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7492660B2 (en) * 1989-04-13 2009-02-17 Sandisk Corporation Flash EEprom system
JPH03142644A (en) * 1989-10-30 1991-06-18 Hitachi Ltd Cache memory control system

Also Published As

Publication number Publication date
JPS6213699B2 (en) 1987-03-28

Similar Documents

Publication Publication Date Title
US10983955B2 (en) Data unit cloning in memory-based file systems
US5123101A (en) Multiple address space mapping technique for shared memory wherein a processor operates a fault handling routine upon a translator miss
US3761881A (en) Translation storage scheme for virtual memory system
JP2833062B2 (en) Cache memory control method, processor and information processing apparatus using the cache memory control method
US11210020B2 (en) Methods and systems for accessing a memory
US20050198441A1 (en) Multiprocessor system
JPS6133219B2 (en)
JPS5898893A (en) Information processing device
JPH0526217B2 (en)
JP3439167B2 (en) Method and apparatus for addressing the contents of main memory including a directory structure in a computer system
JPS59213084A (en) Buffer store control system
TW200413917A (en) Method and system of managing virtualized physical memory in a multi-processor system
JPH0194459A (en) Buffer memory controller
KR0175983B1 (en) Data processing system having demand based write through cache with enforced ordering
JPS58150186A (en) System for controlling buffer memory
JPH04174042A (en) Control system for cache memory
JPS5818710B2 (en) memory system
JPS589272A (en) Invalidation processing system for address conversion index buffer
JP2595753B2 (en) Invalidation method of cache memory
JPS61235960A (en) Method for controlling cache memory
JPS628242A (en) Cache memory device
JPH01279342A (en) Cache control system
JPH02101552A (en) Address conversion buffer processing system
JPS5842546B2 (en) Store control method
JPS589452B2 (en) Firmware broom