JPH04266140A - Address conversion buffer device - Google Patents

Address conversion buffer device

Info

Publication number
JPH04266140A
JPH04266140A JP3027008A JP2700891A JPH04266140A JP H04266140 A JPH04266140 A JP H04266140A JP 3027008 A JP3027008 A JP 3027008A JP 2700891 A JP2700891 A JP 2700891A JP H04266140 A JPH04266140 A JP H04266140A
Authority
JP
Japan
Prior art keywords
address
address translation
capacity
register
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3027008A
Other languages
Japanese (ja)
Inventor
Takashi Kanazawa
金澤 敬
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
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 filed Critical NEC Corp
Priority to JP3027008A priority Critical patent/JPH04266140A/en
Publication of JPH04266140A publication Critical patent/JPH04266140A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the deterioration of performance of an address conversion buffer device due to the repetitive updating of a specific address of an address conversion storage of the small capacity. CONSTITUTION:The comparators 50, 51, 52 and 53 of a deciding means decide whether the requested virtual addresses are stored or not in a small capacity address conversion storage 20, the address conversion registers 30 and 31, and a large capacity address conversion storage 40 respectively. A transfer means transfers the address conversion pairs of virtual and real page numbers of the storages 40 and 20 and the register 30 to the storage 20 and the registers 30 and 31 respectively when the virtual address is stored in the storage 40 only.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はアドレス変換バッファ装
置に関し、特に仮想アドレスから実アドレスへのアドレ
ス変換を高速に行うためのアドレス変換バッファ装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an address translation buffer device, and more particularly to an address translation buffer device for performing address translation from a virtual address to a real address at high speed.

【0002】0002

【従来の技術】図4は従来のアドレス変換バッファ装置
の一例を示すブロック図である。
2. Description of the Related Art FIG. 4 is a block diagram showing an example of a conventional address translation buffer device.

【0003】従来のアドレス変換バッファ装置は、図4
に示すように、仮想ページ番号と実ページ番号とを含む
複数のアドレス変換対を格納する高速の小容量アドレス
変換記憶320とより大きな大容量アドレス変換記憶3
40とを有している。
A conventional address translation buffer device is shown in FIG.
As shown in FIG. 3, a high-speed small-capacity address translation memory 320 and a larger large-capacity address translation memory 3 store a plurality of address translation pairs including virtual page numbers and real page numbers.
40.

【0004】そして、これらを使用して、アドレス変換
の要求元からレジスタ310に受けた仮想ページ番号と
そのページ内アドレスとを含む仮想アドレスを、実ペー
ジ番号とそのページ内アドレスとを含む実アドレスに変
換してレジスタ390から出力している。
[0004] Using these, the virtual address including the virtual page number and the address within the page received from the address conversion request source in the register 310 is converted into the real address including the real page number and the address within the page. , and output from the register 390.

【0005】まず、レジスタ310は、アドレス変換の
要求元からアドレス変換を行う仮想アドレスを受取ると
、セレクタ384を通じて仮想ページ番号の下位を小容
量アドレス変換記憶320に与えて、小容量アドレス変
換記憶320から読出した仮想ページ番号と、レジスタ
310にある仮想ページ番号とを比較器350で比較し
ている。
First, when the register 310 receives a virtual address for which address translation is to be performed from an address translation request source, it supplies the lower part of the virtual page number to the small capacity address translation memory 320 through the selector 384. A comparator 350 compares the virtual page number read from the register 310 with the virtual page number stored in the register 310.

【0006】そして、比較器350の比較結果が一致し
た場合には、小容量アドレス変換記憶320から読出し
た実ページ番号とレジスタ310にあるページ内アドレ
スとをそれぞれセレクタ381,382を経由してレジ
スタ390にセットしてアドレス変換を終了している。
If the comparison result of the comparator 350 matches, the actual page number read from the small capacity address conversion memory 320 and the address within the page in the register 310 are transferred to the registers via selectors 381 and 382, respectively. 390 and completes the address conversion.

【0007】一方、比較器350の比較結果が不一致の
場合には、上記に並行して仮想ページ番号の下位を大容
量アドレス変換記憶340に与えて、大容量アドレス変
換記憶340から読出した仮想ページ番号と、レジスタ
310にある仮想ページ番号とを比較器353で比較し
て、その結果がフリップフロップ(F/F)371にセ
ットされ、大容量アドレス変換記憶340から読出した
実ページ番号が、レジスタ370にセットされている。
On the other hand, if the comparison result of the comparator 350 does not match, in parallel with the above, the lower part of the virtual page number is given to the large-capacity address translation memory 340, and the virtual page read from the large-capacity address translation memory 340 is The comparator 353 compares the number with the virtual page number in the register 310, the result is set in a flip-flop (F/F) 371, and the real page number read from the large-capacity address translation memory 340 is stored in the register. It is set to 370.

【0008】そして、レジスタ310の仮想アドレスは
、レジスタ311に移送されて、レジスタ310は、次
の仮想アドレスを受取ることができる。
The virtual address in register 310 is then transferred to register 311, so that register 310 can receive the next virtual address.

【0009】そこで、フリップフロップ371が、一致
を示していれば、レジスタ311の仮想ページ番号の下
位をセレクタ384を通じて、小容量アドレス変換記憶
320に与えて、レジスタ311の仮想ページ番号とレ
ジスタ370の実ページ番号とを格納している。
Therefore, if the flip-flop 371 indicates a match, the lower part of the virtual page number of the register 311 is given to the small capacity address conversion memory 320 through the selector 384, and the virtual page number of the register 311 and the register 370 are combined. It stores the actual page number.

【0010】また、これと並行して、レジスタ370の
実ページ番号とレジスタ311のページ内アドレスとを
それぞれセレクタ381,382を経由してレジスタ3
90にセットしてアドレス変換を終了している。
[0010] In parallel, the real page number of register 370 and the in-page address of register 311 are sent to register 3 via selectors 381 and 382, respectively.
The address conversion is completed by setting the address to 90.

【0011】以上説明したように、従来のアドレス変換
バッファ装置は、アドレス変換の要求元から受けた仮想
アドレスが、小容量アドレス変換記憶になくて、大容量
アドレス変換記憶にあるときには、大容量アドレス変換
記憶にあるアドレス変換対を小容量アドレス変換記憶に
格納して、この仮想アドレスに対する後のアドレス変換
を1マシンサイクルの高速に実行できるようにしている
As explained above, in the conventional address translation buffer device, when a virtual address received from an address translation request source is not in the small-capacity address translation memory but is in the large-capacity address translation memory, the large-capacity address translation buffer device Address translation pairs in the translation memory are stored in a small-capacity address translation memory so that subsequent address translation for this virtual address can be performed at the high speed of one machine cycle.

【0012】0012

【発明が解決しようとする課題】上述した従来のアドレ
ス変換バッファ装置は、小容量アドレス変換記憶が16
ワードで、大容量アドレス変換記憶が512ワードで、
第1オペランド,第2オペランド,第3オペランドを1
6の倍数の仮想ページ番号に割当てた場合などでは、第
1オペランド,第2オペランド,第3オペランドの小容
量アドレス変換記憶の参照ワードが同一となり、第1オ
ペランド,第2オペランドの取出しや第3オペランドの
書込みを繰返す度に、アドレス変換の要求元から受ける
仮想アドレスの仮想ページ番号が、小容量アドレス変換
記憶になく、大容量アドレス変換記憶にある状態を繰返
すために、各オペランドをアクセスする度に1マシンサ
イクルの無駄が発生して演算性能が低下するという欠点
を有している。
Problem to be Solved by the Invention The conventional address translation buffer device described above has a small capacity address translation memory of 16
Word, large capacity address translation memory is 512 words,
1st operand, 2nd operand, 3rd operand
In the case of allocation to a virtual page number that is a multiple of 6, etc., the reference words of the small-capacity address translation memory for the first, second, and third operands are the same, and the Each time an operand is written, the virtual page number of the virtual address received from the address translation request source is not in the small-capacity address translation memory but in the large-capacity address translation memory. This method has the disadvantage that one machine cycle is wasted, resulting in a decrease in calculation performance.

【0013】本発明の目的は、小容量アドレス変換記憶
の内容に対する更新履歴をアドレス変換レジスタに保持
することにより、小容量アドレス変換記憶に対する特定
の繰返し更新による性能低下を防止することができるア
ドレス変換バッファ装置を提供することにある。
An object of the present invention is to maintain an update history for the contents of the small-capacity address translation memory in an address translation register, thereby preventing performance degradation caused by specific repeated updates to the small-capacity address translation memory. The object of the present invention is to provide a buffer device.

【0014】[0014]

【課題を解決するための手段】第1の発明のアドレス変
換バッファ装置は、仮想ページ番号と実ページ番号とを
含む複数のアドレス変換対を格納する小容量アドレス変
換記憶と大容量アドレス変換記憶とを有することにより
、アドレス変換の要求元から受けた仮想ページ番号とそ
のページ内アドレスとを含む仮想アドレスを、実ページ
番号とそのページ内アドレスとを含む実アドレスに変換
するアドレス変換バッファ装置において、(A)仮想ペ
ージ番号と実ページ番号とを含むアドレス変換対を格納
する第1,〜第nのアドレス変換レジスタ、(B)アド
レス変換の要求元から受けた仮想アドレスの仮想ページ
番号が、前記小容量アドレス変換記憶および前記第1,
〜第Nのアドレス変換レジスタの何れかに格納されてい
るか否かを判定するとともに、前記大容量アドレス変換
記憶に格納されているか否かを判定する判定手段、(C
)前記判定手段の判定結果に基いて、アドレス変換の要
求元から受けた仮想アドレスの仮想ページ番号が、前記
小容量アドレス変換記憶および前記第1,〜第nのアド
レス変換レジスタの何れにも格納されていないで、前記
大容量アドレス変換記憶に格納されている場合に、前記
大容量アドレス変換記憶,前記小容量アドレス変換記憶
,前記第1のアドレス変換レジスタ,〜前記第N−1の
アドレス変換レジスタのそれぞれから読出したアドレス
変換対を前記小容量アドレス変換記憶,前記第1のアド
レス変換レジスタ,〜前記第Nのアドレス変換レジスタ
のそれぞれに移送して格納する移送手段、を備えて構成
されている。
[Means for Solving the Problems] The address translation buffer device of the first invention has a small capacity address translation memory and a large capacity address translation memory that store a plurality of address translation pairs including virtual page numbers and real page numbers. In an address translation buffer device that converts a virtual address including a virtual page number and an address within the page received from an address translation request source into a real address including a real page number and an address within the page, (A) first to nth address translation registers that store address translation pairs including a virtual page number and a real page number; (B) a virtual page number of a virtual address received from an address translation request source; a small capacity address translation memory and said first,
- determining means for determining whether the address is stored in any of the N-th address translation registers and determining whether the address is stored in the large-capacity address translation memory; (C
) Based on the determination result of the determination means, the virtual page number of the virtual address received from the address translation request source is stored in either the small-capacity address translation memory and the first to nth address translation registers. and is stored in the large-capacity address translation memory, the large-capacity address translation memory, the small-capacity address translation memory, the first address translation register, ~ the N-1th address translation and a transfer means for transferring and storing the address translation pair read from each of the registers to each of the small capacity address translation memory, the first address translation register, to the Nth address translation register. There is.

【0015】また、第2の発明のアドレス変換バッファ
装置は、仮想ページ番号と実ページ番号とを含む複数の
アドレス変換対を格納する小容量アドレス変換記憶と大
容量アドレス変換記憶とを有することにより、アドレス
変換の要求元から受けた仮想ページ番号とそのページ内
アドレスとを含む仮想アドレスを、実ページ番号とその
ページ内アドレスとを含む実アドレスに変換するアドレ
ス変換バッファ装置において、(A)仮想ページ番号と
実ページ番号とを含むアドレス変換対を格納する第1,
〜第nのアドレス変換レジスタ、(B)アドレス変換の
要求元から受けた仮想アドレスの仮想ページ番号が、前
記小容量アドレス変換記憶の固定アドレスであるときに
は、前記小容量アドレス変換記憶および前記第1,〜第
Nのアドレス変換レジスタの何れかに格納されているか
否かを判定するとともに、前記大容量アドレス変換記憶
に格納されているか否かを判定し、前記小容量アドレス
変換記憶の固定アドレスではないときには、前記小容量
アドレス変換記憶に格納されているか否かを判定すると
ともに、前記大容量アドレス変換記憶に格納されている
か否かを判定する判定手段、(C)前記判定手段の判定
結果に基いて、アドレス変換の要求元から受けた仮想ア
ドレスの仮想ページ番号が、前記小容量アドレス変換記
憶の固定アドレスであるときには、前記小容量アドレス
変換記憶および前記第1,〜第nのアドレス変換レジス
タの何れにも格納されていないで、前記大容量アドレス
変換記憶に格納されている場合に、前記大容量アドレス
変換記憶,前記小容量アドレス変換記憶,前記第1のア
ドレス変換レジスタ,〜前記第N−1のアドレス変換レ
ジスタのそれぞれから読出したアドレス変換対を前記小
容量アドレス変換記憶,前記第1のアドレス変換レジス
タ,〜前記第Nのアドレス変換レジスタのそれぞれに移
送して格納し、前記小容量アドレス変換記憶の固定アド
レスではないときには、前記小容量アドレス変換記憶に
格納されていないで、前記大容量アドレス変換記憶に格
納されている場合に、前記大容量アドレス変換記憶から
読出したアドレス変換対を前記小容量アドレス変換記憶
に移送して格納する移送手段、を備えて構成されている
Further, the address translation buffer device of the second invention has a small capacity address translation memory and a large capacity address translation memory for storing a plurality of address translation pairs including virtual page numbers and real page numbers. , in an address translation buffer device that converts a virtual address including a virtual page number and an address within the page received from an address translation request source into a real address including a real page number and an address within the page, (A) virtual a first, which stores an address translation pair including a page number and an actual page number;
~nth address translation register, (B) when the virtual page number of the virtual address received from the address translation request source is a fixed address of the small capacity address translation memory, the small capacity address translation memory and the first address translation register; , to determine whether the address is stored in any of the N-th address translation registers, and determine whether or not it is stored in the large-capacity address translation memory, and at the fixed address of the small-capacity address translation memory. (C) determining means for determining whether the data is stored in the small-capacity address translation memory and determining whether the data is stored in the large-capacity address translation memory; Based on this, when the virtual page number of the virtual address received from the address translation request source is a fixed address in the small capacity address translation memory, the small capacity address translation memory and the first to nth address translation registers , but is stored in the large-capacity address translation memory, the large-capacity address translation memory, the small-capacity address translation memory, the first address translation register, - the Nth address translation register. - The address translation pair read from each of the first address translation registers is transferred and stored in each of the small capacity address translation memory, the first address translation register, to the Nth address translation register, and If the address is not a fixed address in the address translation memory, the address translation pair read from the large capacity address translation memory is not stored in the small capacity address translation memory but is stored in the large capacity address translation memory. and a transfer means for transferring and storing the data in the small-capacity address conversion memory.

【0016】さらに、第3の発明のアドレス変換バッフ
ァ装置は、仮想ページ番号と実ページ番号とを含む複数
のアドレス変換対を格納する小容量アドレス変換記憶と
大容量アドレス変換記憶とを有することにより、アドレ
ス変換の要求元から受けた仮想ページ番号とそのページ
内アドレスとを含む仮想アドレスを、実ページ番号とそ
のページ内アドレスとを含む実アドレスに変換するアド
レス変換バッファ装置において、(A)仮想ページ番号
と実ページ番号とを含むアドレス変換対を格納する第1
,〜第nのアドレス変換レジスタ、(B)前記小容量ア
ドレス変換記憶を参照するアドレスとの比較を行う指定
アドレスを保持する比較アドレスレジスタ、(C)アド
レス変換の要求元から受けた仮想アドレスの仮想ページ
番号が、前記比較アドレスレジスタに保持する指定アド
レスであるときには、前記小容量アドレス変換記憶およ
び前記第1,〜第Nのアドレス変換レジスタの何れかに
格納されているか否かを判定するとともに、前記大容量
アドレス変換記憶に格納されているか否かを判定し、前
記比較アドレスレジスタに保持する指定アドレスではな
いときには、前記小容量アドレス変換記憶に格納されて
いるか否かを判定するとともに、前記大容量アドレス変
換記憶に格納されているか否かを判定する判定手段、(
D)前記判定手段の判定結果に基いて、アドレス変換の
要求元から受けた仮想アドレスの仮想ページ番号が、前
記比較アドレスレジスタに保持する指定アドレスである
ときには、前記小容量アドレス変換記憶および前記第1
,〜第nのアドレス変換レジスタの何れにも格納されて
いないで、前記大容量アドレス変換記憶に格納されてい
る場合に、前記大容量アドレス変換記憶,前記小容量ア
ドレス変換記憶,前記第1のアドレス変換レジスタ,〜
前記第N−1のアドレス変換レジスタのそれぞれから読
出したアドレス変換対を前記小容量アドレス変換記憶,
前記第1のアドレス変換レジスタ,〜前記第Nのアドレ
ス変換レジスタのそれぞれに移送して格納し、前記比較
アドレスレジスタに保持する指定アドレスではないとき
には、前記小容量アドレス変換記憶に格納されていない
で、前記大容量アドレス変換記憶に格納されている場合
に、前記大容量アドレス変換記憶から読出したアドレス
変換対を前記小容量アドレス変換記憶に移送して格納す
る移送手段、を備えて構成されている。
Furthermore, the address translation buffer device of the third invention has a small capacity address translation memory and a large capacity address translation memory for storing a plurality of address translation pairs including virtual page numbers and real page numbers. , in an address translation buffer device that converts a virtual address including a virtual page number and an address within the page received from an address translation request source into a real address including a real page number and an address within the page, (A) virtual The first one stores an address translation pair including a page number and a real page number.
, ~ nth address translation register, (B) a comparison address register that holds a designated address to be compared with the address that refers to the small-capacity address translation memory, (C) a virtual address received from the address translation request source. When the virtual page number is a specified address held in the comparison address register, it is determined whether the virtual page number is stored in any of the small-capacity address translation memory and the first to Nth address translation registers; and , determines whether or not the specified address is stored in the large-capacity address translation memory, and if the specified address is not held in the comparison address register, determines whether or not it is stored in the small-capacity address translation memory; Judgment means for determining whether or not the data is stored in the large-capacity address translation memory (
D) Based on the determination result of the determination means, if the virtual page number of the virtual address received from the address translation request source is the specified address to be held in the comparison address register, the small-capacity address translation storage and the 1
, ~n-th address translation register, but is stored in the large-capacity address translation memory, the large-capacity address translation memory, the small-capacity address translation memory, and the first address translation register, ~
The address translation pairs read from each of the N-1 address translation registers are stored in the small capacity address translation memory;
If the address is not a specified address to be transferred and stored in each of the first address translation register to the Nth address translation register and held in the comparison address register, it is not stored in the small capacity address translation memory. , a transfer means for transferring the address translation pair read from the large capacity address translation memory to the small capacity address translation memory and storing the address translation pair when the address translation pair is stored in the large capacity address translation memory. .

【0017】[0017]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0018】図1は第1の発明のアドレス変換バッファ
装置の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an address translation buffer device according to the first invention.

【0019】本実施例のアドレス変換バッファ装置は、
図1に示すように、仮想ページ番号と実ページ番号とを
含む複数のアドレス変換対を格納する高速の小容量アド
レス変換記憶20とより大きな大容量アドレス変換記憶
40とを有している。
The address translation buffer device of this embodiment is as follows:
As shown in FIG. 1, it has a high-speed small-capacity address translation memory 20 and a larger large-capacity address translation memory 40 that store a plurality of address translation pairs including virtual page numbers and real page numbers.

【0020】そして、これらを使用して、アドレス変換
の要求元からレジスタ10に受けた仮想ページ番号とそ
のページ内アドレスとを含む仮想アドレスを、実ページ
番号とそのページ内アドレスとを含む実アドレスに変換
してレジスタ90から出力している。
Using these, the virtual address containing the virtual page number and the address within the page received from the address conversion request source in the register 10 is converted into the real address containing the real page number and the address within the page. , and output from the register 90.

【0021】まず、レジスタ10は、アドレス変換の要
求元からアドレス変換を行う仮想アドレスを受取ると、
セレクタ84を通じて仮想ページ番号の下位を小容量ア
ドレス変換記憶20に与えて、小容量アドレス変換記憶
20から読出した仮想ページ番号と、レジスタ10にあ
る仮想ページ番号とを比較器50で比較している。
First, when the register 10 receives a virtual address to be translated from an address translation request source,
The lower part of the virtual page number is given to the small capacity address translation memory 20 through the selector 84, and the virtual page number read from the small capacity address translation memory 20 and the virtual page number stored in the register 10 are compared by the comparator 50. .

【0022】また、これに並行して、仮想ページ番号と
実ページ番号とを含むアドレス変換対を格納するアドレ
ス変換レジスタ30,31から取出した仮想ページ番号
と、レジスタ10にある仮想ページ番号とを比較器51
,52で比較している。
In parallel with this, the virtual page number taken out from the address translation registers 30 and 31 that store the address translation pair including the virtual page number and the real page number and the virtual page number in the register 10 are Comparator 51
, 52.

【0023】そして、比較器50,51,52の比較結
果の何れかが一致した場合には、OR回路60の出力に
より、小容量アドレス変換記憶20,アドレス変換レジ
スタ30,31の一致したものから読出した実ページ番
号をセレクタ80,81を経由するとともに、レジスタ
10にあるページ内アドレスをセレクタ82を経由して
、レジスタ90にセットしてアドレス変換を終了してい
る。
If any of the comparison results of the comparators 50, 51, and 52 match, the output of the OR circuit 60 causes the small-capacity address conversion memory 20 and the address conversion registers 30, 31 to be selected from the matching results. The read actual page number is passed through selectors 80 and 81, and the in-page address in register 10 is set in register 90 via selector 82, thereby completing the address conversion.

【0024】一方、比較器50,51,52の比較結果
の何れもが不一致の場合には、上記に並行して仮想ペー
ジ番号の下位を大容量アドレス変換記憶40に与えて、
大容量アドレス変換記憶40から読出した仮想ページ番
号と、レジスタ10にある仮想ページ番号とを比較器5
3で比較して、その結果がフリップフロップ(F/F)
71にセットされ、大容量アドレス変換記憶40から読
出した実ページ番号が、レジスタ70にセットされてい
る。
On the other hand, if any of the comparison results of the comparators 50, 51, and 52 do not match, in parallel with the above, the lower part of the virtual page number is given to the large-capacity address conversion memory 40,
A comparator 5 compares the virtual page number read from the large-capacity address translation memory 40 with the virtual page number stored in the register 10.
3, the result is a flip-flop (F/F)
71, and the real page number read from the large-capacity address conversion memory 40 is set in the register 70.

【0025】そして、レジスタ10の仮想アドレスは、
レジスタ11に移送されて、レジスタ10は、次の仮想
アドレスを受取ることができる。
[0025]The virtual address of register 10 is
Transferred to register 11, register 10 can receive the next virtual address.

【0026】そこで、フリップフロップ71が、一致を
示していれば、アドレス変換レジスタ30のアドレス変
換対をアドレス変換レジスタ31に移送し、レジスタ1
1の仮想ページ番号の下位をセレクタ84を通じて、小
容量アドレス変換記憶20に与えて、読出したアドレス
変換対をアドレス変換レジスタ30に移送し、レジスタ
11の仮想ページ番号とレジスタ70の実ページ番号と
を小容量アドレス変換記憶20に格納している。
Therefore, if the flip-flop 71 indicates a match, the address translation pair of the address translation register 30 is transferred to the address translation register 31, and the address translation pair of the address translation register 30 is transferred to the address translation register 31.
The lower part of the virtual page number 1 is given to the small-capacity address translation memory 20 through the selector 84, and the read address translation pair is transferred to the address translation register 30, where the virtual page number of the register 11 and the real page number of the register 70 are combined. is stored in the small capacity address conversion memory 20.

【0027】また、これと並行して、レジスタ70の実
ページ番号とレジスタ11のページ内アドレスとをそれ
ぞれセレクタ81,82を経由してレジスタ90にセッ
トしてアドレス変換を終了している。
Further, in parallel with this, the actual page number of the register 70 and the in-page address of the register 11 are set in the register 90 via the selectors 81 and 82, respectively, and the address conversion is completed.

【0028】図2は第2の発明のアドレス変換バッファ
装置の一実施例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of the address translation buffer device according to the second invention.

【0029】本実施例のアドレス変換バッファ装置は、
図2に示すように、仮想ページ番号と実ページ番号とを
含む複数のアドレス変換対を格納する高速の小容量アド
レス変換記憶120とより大きな大容量アドレス変換記
憶140とを有している。
The address translation buffer device of this embodiment is as follows:
As shown in FIG. 2, it has a high-speed small-capacity address translation memory 120 and a larger large-capacity address translation memory 140 that store a plurality of address translation pairs including virtual page numbers and real page numbers.

【0030】そして、これらを使用して、アドレス変換
の要求元からレジスタ110に受けた仮想ページ番号と
そのページ内アドレスとを含む仮想アドレスを、実ペー
ジ番号とそのページ内アドレスとを含む実アドレスに変
換してレジスタ190から出力している。
Using these, the virtual address including the virtual page number and the address within the page received from the address conversion request source in the register 110 is converted into the real address including the real page number and the address within the page. , and output from the register 190.

【0031】まず、レジスタ110は、アドレス変換の
要求元からアドレス変換を行う仮想アドレスを受取ると
、セレクタ184を通じて仮想ページ番号の下位を小容
量アドレス変換記憶120に与えて、小容量アドレス変
換記憶120から読出した仮想ページ番号と、レジスタ
110にある仮想ページ番号とを比較器150で比較し
ている。
First, when the register 110 receives a virtual address for which address translation is to be performed from an address translation request source, it supplies the lower part of the virtual page number to the small capacity address translation memory 120 through the selector 184. A comparator 150 compares the virtual page number read from the register 110 with the virtual page number stored in the register 110.

【0032】また、これに並行して、仮想ページ番号と
実ページ番号とを含むアドレス変換対を格納するアドレ
ス変換レジスタ130,131から取出した仮想ページ
番号と、レジスタ110にある仮想ページ番号とを比較
器151,152で比較している。
Additionally, in parallel with this, the virtual page number taken out from the address translation registers 130 and 131 that store the address translation pair including the virtual page number and the real page number, and the virtual page number in the register 110 are Comparators 151 and 152 compare.

【0033】そして、AND回路161,162は、比
較器155で、小容量アドレス変換記憶120に与えた
仮想ページ番号の下位が、あらかじめ定めた小容量アド
レス変換記憶120の固定アドレスであるときには、比
較器151,152の比較結果が一致した場合にそれぞ
れ出力を発生しているので、OR回路160は、比較器
150,151,152の比較結果の何れかが一致した
場合に出力を発生している。
AND circuits 161 and 162 use a comparator 155 to perform a comparison when the lower value of the virtual page number given to the small capacity address translation memory 120 is a predetermined fixed address of the small capacity address translation memory 120. Since the OR circuit 160 generates an output when the comparison results of the comparators 151 and 152 match, the OR circuit 160 generates an output when any of the comparison results of the comparators 150, 151, and 152 match. .

【0034】そして、OR回路160の出力により、小
容量アドレス変換記憶120,アドレス変換レジスタ1
30,131の一致したものから読出した実ページ番号
をセレクタ180,181を経由するとともに、レジス
タ110にあるページ内アドレスをセレクタ182を経
由して、レジスタ190にセットしてアドレス変換を終
了している。
Then, the output of the OR circuit 160 causes the small capacity address conversion memory 120 and the address conversion register 1 to be
The actual page number read from the matched page number 30 and 131 is passed through selectors 180 and 181, and the in-page address in register 110 is set in register 190 via selector 182 to complete the address conversion. There is.

【0035】一方、比較器150,151,152の比
較結果の何れもが不一致の場合には、上記に並行して仮
想ページ番号の下位を大容量アドレス変換記憶140に
与えて、大容量アドレス変換記憶140から読出した仮
想ページ番号と、レジスタ110にある仮想ページ番号
とを比較器153で比較して、その結果がフリップフロ
ップ(F/F)171にセットされ、大容量アドレス変
換記憶140から読出した実ページ番号が、レジスタ1
70にセットされている。
On the other hand, if any of the comparison results of the comparators 150, 151, and 152 do not match, in parallel with the above, the lower part of the virtual page number is given to the large-capacity address conversion memory 140, and large-capacity address conversion is performed. A comparator 153 compares the virtual page number read from the memory 140 and the virtual page number in the register 110, and the result is set in a flip-flop (F/F) 171 and read out from the large-capacity address translation memory 140. The actual page number is in register 1.
It is set to 70.

【0036】そして、レジスタ110の仮想アドレスは
、レジスタ111に移送されて、レジスタ110は、次
の仮想アドレスを受取ることができる。
The virtual address in register 110 is then transferred to register 111, so that register 110 can receive the next virtual address.

【0037】そこで、フリップフロップ171が、一致
を示していれば、アドレス変換レジスタ130のアドレ
ス変換対をアドレス変換レジスタ131に移送し、レジ
スタ111の仮想ページ番号の下位をセレクタ184を
通じて、小容量アドレス変換記憶120に与えて、読出
したアドレス変換対をアドレス変換レジスタ130に移
送し、レジスタ111の仮想ページ番号とレジスタ17
0の実ページ番号とを小容量アドレス変換記憶120に
格納している。
Therefore, if the flip-flop 171 indicates a match, the address translation pair in the address translation register 130 is transferred to the address translation register 131, and the lower virtual page number of the register 111 is transferred to the small capacity address through the selector 184. The address translation pair is transferred to the translation memory 120 and read out to the address translation register 130, and the virtual page number of the register 111 and the register 17 are transferred.
The real page number 0 is stored in the small capacity address conversion memory 120.

【0038】また、これと並行して、レジスタ170の
実ページ番号とレジスタ111のページ内アドレスとを
それぞれセレクタ181,182を経由してレジスタ1
90にセットしてアドレス変換を終了している。
In parallel, the real page number of register 170 and the in-page address of register 111 are sent to register 1 via selectors 181 and 182, respectively.
The address conversion is completed by setting the address to 90.

【0039】他方、AND回路161,162は、比較
器155で、小容量アドレス変換記憶120に与えた仮
想ページ番号の下位が、あらかじめ定めた小容量アドレ
ス変換記憶120の固定アドレスではないときには、そ
れぞれ出力を発生しないので、OR回路160は、比較
器150が一致した場合に出力を発生している。
On the other hand, AND circuits 161 and 162 each use a comparator 155 when the lower part of the virtual page number given to small capacity address translation memory 120 is not a predetermined fixed address of small capacity address translation memory 120. Since it does not generate an output, OR circuit 160 generates an output when comparator 150 matches.

【0040】そして、OR回路160の出力により、小
容量アドレス変換記憶120から読出した実ページ番号
をセレクタ180,181を経由するとともに、レジス
タ110にあるページ内アドレスをセレクタ182を経
由して、レジスタ190にセットしてアドレス変換を終
了している。
Then, by the output of the OR circuit 160, the actual page number read from the small capacity address conversion memory 120 is passed through selectors 180 and 181, and the address within the page in the register 110 is passed through the selector 182, and the address is sent to the register. The address conversion is completed by setting the address to 190.

【0041】一方、比較器150の比較結果が不一致の
場合には、上記に並行して仮想ページ番号の下位を大容
量アドレス変換記憶140に与えて、大容量アドレス変
換記憶140から読出した仮想ページ番号と、レジスタ
110にある仮想ページ番号とを比較器153で比較し
て、その結果がフリップフロップ(F/F)171にセ
ットされ、大容量アドレス変換記憶140から読出した
実ページ番号が、レジスタ170にセットされている。
On the other hand, if the comparison result of the comparator 150 does not match, the lower virtual page number is given to the large-capacity address translation memory 140 in parallel to the above, and the virtual page read from the large-capacity address translation memory 140 is The comparator 153 compares the number with the virtual page number in the register 110, the result is set in the flip-flop (F/F) 171, and the real page number read from the large-capacity address conversion memory 140 is stored in the register. It is set to 170.

【0042】そして、レジスタ110の仮想アドレスは
、レジスタ111に移送されて、レジスタ110は、次
の仮想アドレスを受取ることができる。
The virtual address in register 110 is then transferred to register 111, so that register 110 can receive the next virtual address.

【0043】そこで、フリップフロップ171が、一致
を示していれば、レジスタ111の仮想ページ番号の下
位をセレクタ184を通じて、小容量アドレス変換記憶
120に与えて、レジスタ111の仮想ページ番号とレ
ジスタ170の実ページ番号とを小容量アドレス変換記
憶120に格納している。
Therefore, if the flip-flop 171 indicates a match, the lower part of the virtual page number of the register 111 is given to the small capacity address conversion memory 120 through the selector 184, and the virtual page number of the register 111 and the register 170 are combined. The actual page number is stored in the small capacity address conversion memory 120.

【0044】また、これと並行して、レジスタ170の
実ページ番号とレジスタ111のページ内アドレスとを
それぞれセレクタ181,182を経由してレジスタ1
90にセットしてアドレス変換を終了している。
In parallel, the real page number of register 170 and the in-page address of register 111 are sent to register 1 via selectors 181 and 182, respectively.
The address conversion is completed by setting the address to 90.

【0045】図3は第3の発明のアドレス変換バッファ
装置の一実施例を示すブロック図である。
FIG. 3 is a block diagram showing an embodiment of an address translation buffer device according to the third invention.

【0046】本実施例のアドレス変換バッファ装置は、
図3に示すように、仮想ページ番号と実ページ番号とを
含む複数のアドレス変換対を格納する高速の小容量アド
レス変換記憶220とより大きな大容量アドレス変換記
憶240とを有している。
The address translation buffer device of this embodiment is as follows:
As shown in FIG. 3, it has a high-speed small-capacity address translation memory 220 and a larger large-capacity address translation memory 240 that store a plurality of address translation pairs including virtual page numbers and real page numbers.

【0047】そして、これらを使用して、アドレス変換
の要求元からレジスタ210に受けた仮想ページ番号と
そのページ内アドレスとを含む仮想アドレスを、実ペー
ジ番号とそのページ内アドレスとを含む実アドレスに変
換してレジスタ290から出力している。
Using these, the virtual address including the virtual page number and the address within the page received in the register 210 from the address conversion request source is converted into the real address including the real page number and the address within the page. It is converted into and output from the register 290.

【0048】まず、レジスタ210は、アドレス変換の
要求元からアドレス変換を行う仮想アドレスを受取ると
、セレクタ284を通じて仮想ページ番号の下位を小容
量アドレス変換記憶220に与えて、小容量アドレス変
換記憶220から読出した仮想ページ番号と、レジスタ
210にある仮想ページ番号とを比較器250で比較し
ている。
First, when the register 210 receives a virtual address for which address translation is to be performed from an address translation request source, it supplies the lower part of the virtual page number to the small capacity address translation memory 220 through the selector 284. A comparator 250 compares the virtual page number read from the register 210 with the virtual page number stored in the register 210.

【0049】また、これに並行して、仮想ページ番号と
実ページ番号とを含むアドレス変換対を格納するアドレ
ス変換レジスタ230,231から取出した仮想ページ
番号と、レジスタ210にある仮想ページ番号とを比較
器251,252で比較している。
In parallel, the virtual page number retrieved from the address translation registers 230 and 231 that store the address translation pair including the virtual page number and the real page number and the virtual page number in the register 210 are Comparators 251 and 252 compare.

【0050】そして、AND回路261,262は、比
較器255で、小容量アドレス変換記憶220に与えた
仮想ページ番号の下位が、あらかじめ指定して比較アド
レスレジスタ235に保持する小容量アドレス変換記憶
220の指定アドレスであるときには、比較器251,
252の比較結果が一致した場合にそれぞれ出力を発生
しているので、OR回路260は、比較器250,25
1,252の比較結果の何れかが一致した場合に出力を
発生している。
The AND circuits 261 and 262 use the comparator 255 to select the lower value of the virtual page number given to the small-capacity address translation memory 220 from the small-capacity address translation memory 220 specified in advance and held in the comparison address register 235. , the comparator 251,
Since the OR circuit 260 generates an output when the comparison results of the comparators 250 and 252 match, the OR circuit 260
An output is generated when any of the 1,252 comparison results match.

【0051】そして、OR回路260の出力により、小
容量アドレス変換記憶220,アドレス変換レジスタ2
30,231の一致したものから読出した実ページ番号
をセレクタ280,281を経由するとともに、レジス
タ210にあるページ内アドレスをセレクタ282を経
由して、レジスタ290にセットしてアドレス変換を終
了している。
Then, the output of the OR circuit 260 causes the small capacity address conversion memory 220 and the address conversion register 2
The real page number read from the matched one of 30 and 231 is passed through selectors 280 and 281, and the in-page address in register 210 is set in register 290 via selector 282 to complete the address conversion. There is.

【0052】一方、比較器250,251,252の比
較結果の何れもが不一致の場合には、上記に並行して仮
想ページ番号の下位を大容量アドレス変換記憶240に
与えて、大容量アドレス変換記憶240から読出した仮
想ページ番号と、レジスタ210にある仮想ページ番号
とを比較器253で比較して、その結果がフリップフロ
ップ(F/F)271にセットされ、大容量アドレス変
換記憶240から読出した実ページ番号が、レジスタ2
70にセットされている。
On the other hand, if any of the comparison results of the comparators 250, 251, and 252 do not match, in parallel with the above, the lower part of the virtual page number is given to the large-capacity address conversion memory 240, and large-capacity address conversion is performed. A comparator 253 compares the virtual page number read from the memory 240 and the virtual page number in the register 210, and the result is set in a flip-flop (F/F) 271 and read out from the large-capacity address conversion memory 240. The actual page number is in register 2.
It is set to 70.

【0053】そして、レジスタ210の仮想アドレスは
、レジスタ211に移送されて、レジスタ210は、次
の仮想アドレスを受取ることができる。
The virtual address in register 210 is then transferred to register 211, so that register 210 can receive the next virtual address.

【0054】そこで、フリップフロップ271が、一致
を示していれば、アドレス変換レジスタ230のアドレ
ス変換対をアドレス変換レジスタ231に移送し、レジ
スタ211の仮想ページ番号の下位をセレクタ284を
通じて、小容量アドレス変換記憶220に与えて、読出
したアドレス変換対をアドレス変換レジスタ230に移
送し、レジスタ211の仮想ページ番号とレジスタ27
0の実ページ番号とを小容量アドレス変換記憶220に
格納している。
If the flip-flop 271 indicates a match, the address translation pair in the address translation register 230 is transferred to the address translation register 231, and the lower virtual page number of the register 211 is transferred to the small capacity address through the selector 284. The address translation pair read out is transferred to the translation memory 220 and transferred to the address translation register 230, and the virtual page number of the register 211 and the register 27 are transferred.
The real page number 0 is stored in the small capacity address conversion memory 220.

【0055】また、これと並行して、レジスタ270の
実ページ番号とレジスタ211のページ内アドレスとを
それぞれセレクタ281,282を経由してレジスタ2
90にセットしてアドレス変換を終了している。
In parallel, the real page number of register 270 and the in-page address of register 211 are sent to register 2 via selectors 281 and 282, respectively.
The address conversion is completed by setting the address to 90.

【0056】他方、AND回路261,262は、比較
器255で、小容量アドレス変換記憶220に与えた仮
想ページ番号の下位が、あらかじめ指定して比較アドレ
スレジスタ235に保持する小容量アドレス変換記憶2
20の指定アドレスではないときには、それぞれ出力を
発生しないので、OR回路260は、比較器250が一
致した場合に出力を発生している。
On the other hand, the AND circuits 261 and 262 use the comparator 255 to select the lower value of the virtual page number given to the small capacity address translation memory 220 from the small capacity address translation memory 2 specified in advance and held in the comparison address register 235.
Since the OR circuit 260 does not generate an output when the address is not the designated address of 20, the OR circuit 260 generates an output when the comparator 250 matches.

【0057】そして、OR回路260の出力により、小
容量アドレス変換記憶220から読出した実ページ番号
をセレクタ280,281を経由するとともに、レジス
タ210にあるページ内アドレスをセレクタ282を経
由して、レジスタ290にセットしてアドレス変換を終
了している。
Then, by the output of the OR circuit 260, the actual page number read from the small capacity address conversion memory 220 is passed through the selectors 280 and 281, and the address within the page in the register 210 is passed through the selector 282, and the address is sent to the register. 290 and completes the address conversion.

【0058】一方、比較器250の比較結果が不一致の
場合には、上記に並行して仮想ページ番号の下位を大容
量アドレス変換記憶240に与えて、大容量アドレス変
換記憶240から読出した仮想ページ番号と、レジスタ
210にある仮想ページ番号とを比較器253で比較し
て、その結果がフリップフロップ(F/F)271にセ
ットされ、大容量アドレス変換記憶240から読出した
実ページ番号が、レジスタ270にセットされている。
On the other hand, if the comparison result of the comparator 250 does not match, in parallel with the above, the lower part of the virtual page number is given to the large-capacity address translation memory 240, and the virtual page read from the large-capacity address translation memory 240 is The comparator 253 compares the number with the virtual page number in the register 210, the result is set in the flip-flop (F/F) 271, and the real page number read from the large-capacity address translation memory 240 is stored in the register. It is set to 270.

【0059】そして、レジスタ210の仮想アドレスは
、レジスタ211に移送されて、レジスタ210は、次
の仮想アドレスを受取ることができる。
The virtual address in register 210 is then transferred to register 211, so that register 210 can receive the next virtual address.

【0060】そこで、フリップフロップ271が、一致
を示していれば、レジスタ211の仮想ページ番号の下
位をセレクタ284を通じて、小容量アドレス変換記憶
220に与えて、レジスタ211の仮想ページ番号とレ
ジスタ270の実ページ番号とを小容量アドレス変換記
憶220に格納している。
Therefore, if the flip-flop 271 indicates a match, the lower part of the virtual page number of the register 211 is given to the small capacity address conversion memory 220 through the selector 284, and the virtual page number of the register 211 and the register 270 are combined. The actual page number is stored in the small capacity address conversion memory 220.

【0061】また、これと並行して、レジスタ270の
実ページ番号とレジスタ211のページ内アドレスとを
それぞれセレクタ281,282を経由してレジスタ2
90にセットしてアドレス変換を終了している。
In parallel, the real page number of register 270 and the in-page address of register 211 are sent to register 2 via selectors 281 and 282, respectively.
The address conversion is completed by setting the address to 90.

【0062】[0062]

【発明の効果】以上説明したように、第1の発明のアド
レス変換バッファ装置は、小容量アドレス変換記憶の内
容全体に対する更新履歴をN個のアドレス変換レジスタ
に保持することにより、小容量アドレス変換記憶の内容
全体に対する特定アドレスの繰返し更新による性能低下
を防止することができるという効果を有している。
As explained above, the address translation buffer device of the first invention can perform small-capacity address translation by holding the update history for the entire contents of the small-capacity address translation memory in N address translation registers. This has the effect of preventing performance degradation due to repeated updating of a specific address for the entire stored content.

【0063】また、第2の発明のアドレス変換バッファ
装置は、小容量アドレス変換記憶の固定アドレスの内容
に対する更新履歴をN個のアドレス変換レジスタに保持
することにより、小容量アドレス変換記憶の固定アドレ
スの内容に対する特定アドレスの繰返し更新による性能
低下を防止することができるという効果を有している。
Further, the address translation buffer device of the second invention maintains the update history for the contents of the fixed address in the small capacity address translation memory in the N address translation registers, so that the fixed address in the small capacity address translation memory can be updated. This has the effect of being able to prevent performance degradation due to repeated updates of a specific address for the contents of the file.

【0064】さらに、第3の発明のアドレス変換バッフ
ァ装置は、比較アドレスレジスタに指定アドレスを設定
して、小容量アドレス変換記憶の指定アドレスの内容に
対する更新履歴をN個のアドレス変換レジスタに保持す
ることにより、小容量アドレス変換記憶の指定アドレス
の内容に対する特定アドレスの繰返し更新による性能低
下を防止することができるという効果を有している。
Furthermore, the address translation buffer device of the third invention sets a designated address in the comparison address register, and holds the update history for the contents of the designated address in the small capacity address translation memory in the N address translation registers. This has the effect that it is possible to prevent performance degradation due to repeated updates of a specific address to the contents of a specified address in the small capacity address translation storage.

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

【図1】第1の発明のアドレス変換バッファ装置の一実
施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an address translation buffer device according to a first invention.

【図2】第2の発明のアドレス変換バッファ装置の一実
施例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of an address translation buffer device according to a second invention.

【図3】第3の発明のアドレス変換バッファ装置の一実
施例を示すブロック図である。
FIG. 3 is a block diagram showing an embodiment of an address translation buffer device according to a third invention.

【図4】従来のアドレス変換バッファ装置の一例を示す
ブロック図である。
FIG. 4 is a block diagram showing an example of a conventional address translation buffer device.

【符号の説明】[Explanation of symbols]

10,11,70,90,110,111,170,1
90,210,211,270,290,310,31
1,370,390    レジスタ 20,120,220,320    小容量アドレス
変換記憶 30,31,130,131,230,231,330
,331    アドレス変換レジスタ40,140,
240,340    大容量アドレス変換記憶 50,51,52,53,150,151,152,1
53,155,250,251,252,253,25
5,350,351,352,353    比較器6
0,160,260,360    OR回路71,1
71,271,371    フリップフロップ(F/
F) 80,81,82,83,180,181,182,1
83,280,281,282,283,380,38
1,382,383    セレクタ 161,162,261,262    AND回路2
35    比較アドレスレジスタ
10, 11, 70, 90, 110, 111, 170, 1
90, 210, 211, 270, 290, 310, 31
1,370,390 Register 20, 120, 220, 320 Small capacity address translation memory 30, 31, 130, 131, 230, 231, 330
, 331 Address translation register 40, 140,
240, 340 Large capacity address translation memory 50, 51, 52, 53, 150, 151, 152, 1
53,155,250,251,252,253,25
5,350,351,352,353 Comparator 6
0,160,260,360 OR circuit 71,1
71,271,371 Flip-flop (F/
F) 80, 81, 82, 83, 180, 181, 182, 1
83,280,281,282,283,380,38
1,382,383 Selector 161,162,261,262 AND circuit 2
35 Comparison address register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  仮想ページ番号と実ページ番号とを含
む複数のアドレス変換対を格納する小容量アドレス変換
記憶と大容量アドレス変換記憶とを有することにより、
アドレス変換の要求元から受けた仮想ページ番号とその
ページ内アドレスとを含む仮想アドレスを、実ページ番
号とそのページ内アドレスとを含む実アドレスに変換す
るアドレス変換バッファ装置において、(A)仮想ペー
ジ番号と実ページ番号とを含むアドレス変換対を格納す
る第1,〜第nのアドレス変換レジスタ、(B)アドレ
ス変換の要求元から受けた仮想アドレスの仮想ページ番
号が、前記小容量アドレス変換記憶および前記第1,〜
第Nのアドレス変換レジスタの何れかに格納されている
か否かを判定するとともに、前記大容量アドレス変換記
憶に格納されているか否かを判定する判定手段、(C)
前記判定手段の判定結果に基いて、アドレス変換の要求
元から受けた仮想アドレスの仮想ページ番号が、前記小
容量アドレス変換記憶および前記第1,〜第nのアドレ
ス変換レジスタの何れにも格納されていないで、前記大
容量アドレス変換記憶に格納されている場合に、前記大
容量アドレス変換記憶,前記小容量アドレス変換記憶,
前記第1のアドレス変換レジスタ,〜前記第N−1のア
ドレス変換レジスタのそれぞれから読出したアドレス変
換対を前記小容量アドレス変換記憶,前記第1のアドレ
ス変換レジスタ,〜前記第Nのアドレス変換レジスタの
それぞれに移送して格納する移送手段、を備えることを
特徴とするアドレス変換バッファ装置。
1. By having a small-capacity address translation memory and a large-capacity address translation memory for storing a plurality of address translation pairs including virtual page numbers and real page numbers,
In an address translation buffer device that converts a virtual address including a virtual page number and an address within the page received from an address translation request source into a real address including a real page number and an address within the page, (A) a virtual page (B) a virtual page number of a virtual address received from an address translation request source is stored in the small-capacity address translation memory; and said first, ~
(C) determining means for determining whether the address is stored in any of the N-th address translation registers and determining whether the address is stored in the large-capacity address translation memory;
Based on the determination result of the determination means, the virtual page number of the virtual address received from the address translation request source is stored in any of the small capacity address translation memory and the first to nth address translation registers. not stored in the large-capacity address translation memory, the large-capacity address translation memory, the small-capacity address translation memory,
The address translation pairs read from each of the first address translation register and the N-1th address translation register are stored in the small capacity address translation storage, the first address translation register and the N-th address translation register. An address translation buffer device comprising a transfer means for transferring and storing data in each of the addresses.
【請求項2】  仮想ページ番号と実ページ番号とを含
む複数のアドレス変換対を格納する小容量アドレス変換
記憶と大容量アドレス変換記憶とを有することにより、
アドレス変換の要求元から受けた仮想ページ番号とその
ページ内アドレスとを含む仮想アドレスを、実ページ番
号とそのページ内アドレスとを含む実アドレスに変換す
るアドレス変換バッファ装置において、(A)仮想ペー
ジ番号と実ページ番号とを含むアドレス変換対を格納す
る第1,〜第nのアドレス変換レジスタ、(B)アドレ
ス変換の要求元から受けた仮想アドレスの仮想ページ番
号が、前記小容量アドレス変換記憶の固定アドレスであ
るときには、前記小容量アドレス変換記憶および前記第
1,〜第Nのアドレス変換レジスタの何れかに格納され
ているか否かを判定するとともに、前記大容量アドレス
変換記憶に格納されているか否かを判定し、前記小容量
アドレス変換記憶の固定アドレスではないときには、前
記小容量アドレス変換記憶に格納されているか否かを判
定するとともに、前記大容量アドレス変換記憶に格納さ
れているか否かを判定する判定手段、(C)前記判定手
段の判定結果に基いて、アドレス変換の要求元から受け
た仮想アドレスの仮想ページ番号が、前記小容量アドレ
ス変換記憶の固定アドレスであるときには、前記小容量
アドレス変換記憶および前記第1,〜第nのアドレス変
換レジスタの何れにも格納されていないで、前記大容量
アドレス変換記憶に格納されている場合に、前記大容量
アドレス変換記憶,前記小容量アドレス変換記憶,前記
第1のアドレス変換レジスタ,〜前記第N−1のアドレ
ス変換レジスタのそれぞれから読出したアドレス変換対
を前記小容量アドレス変換記憶,前記第1のアドレス変
換レジスタ,〜前記第Nのアドレス変換レジスタのそれ
ぞれに移送して格納し、前記小容量アドレス変換記憶の
固定アドレスではないときには、前記小容量アドレス変
換記憶に格納されていないで、前記大容量アドレス変換
記憶に格納されている場合に、前記大容量アドレス変換
記憶から読出したアドレス変換対を前記小容量アドレス
変換記憶に移送して格納する移送手段、を備えることを
特徴とするアドレス変換バッファ装置。
2. By having a small-capacity address translation memory and a large-capacity address translation memory for storing a plurality of address translation pairs including virtual page numbers and real page numbers,
In an address translation buffer device that converts a virtual address including a virtual page number and an address within the page received from an address translation request source into a real address including a real page number and an address within the page, (A) a virtual page (B) a virtual page number of a virtual address received from an address translation request source is stored in the small-capacity address translation memory; If the address is a fixed address, it is determined whether or not it is stored in either the small-capacity address translation memory and the first to Nth address translation registers, and whether or not it is stored in the large-capacity address translation memory. If the address is not a fixed address in the small-capacity address translation memory, it is determined whether the address is stored in the small-capacity address translation memory and whether or not it is stored in the large-capacity address translation memory. (C) based on the determination result of the determination means, when the virtual page number of the virtual address received from the address translation request source is a fixed address of the small capacity address translation storage; If the data is not stored in the small-capacity address translation memory and the first to n-th address translation registers, but is stored in the large-capacity address translation memory, the large-capacity address translation memory and the small Address translation pairs read from each of the capacity address translation memory, the first address translation register, and the N-1th address translation register are stored in the small capacity address translation memory, the first address translation register, and the N-1th address translation register. If the address is not a fixed address in the small-capacity address translation memory, the address is not stored in the small-capacity address translation memory, but is stored in the large-capacity address translation memory. 2. An address translation buffer device comprising: a transfer means for transferring and storing an address translation pair read from said large capacity address translation memory into said small capacity address translation memory when the address translation pair is read from said large capacity address translation memory.
【請求項3】  仮想ページ番号と実ページ番号とを含
む複数のアドレス変換対を格納する小容量アドレス変換
記憶と大容量アドレス変換記憶とを有することにより、
アドレス変換の要求元から受けた仮想ページ番号とその
ページ内アドレスとを含む仮想アドレスを、実ページ番
号とそのページ内アドレスとを含む実アドレスに変換す
るアドレス変換バッファ装置において、(A)仮想ペー
ジ番号と実ページ番号とを含むアドレス変換対を格納す
る第1,〜第nのアドレス変換レジスタ、(B)前記小
容量アドレス変換記憶を参照するアドレスとの比較を行
う指定アドレスを保持する比較アドレスレジスタ、(C
)アドレス変換の要求元から受けた仮想アドレスの仮想
ページ番号が、前記比較アドレスレジスタに保持する指
定アドレスであるときには、前記小容量アドレス変換記
憶および前記第1,〜第Nのアドレス変換レジスタの何
れかに格納されているか否かを判定するとともに、前記
大容量アドレス変換記憶に格納されているか否かを判定
し、前記比較アドレスレジスタに保持する指定アドレス
ではないときには、前記小容量アドレス変換記憶に格納
されているか否かを判定するとともに、前記大容量アド
レス変換記憶に格納されているか否かを判定する判定手
段、(D)前記判定手段の判定結果に基いて、アドレス
変換の要求元から受けた仮想アドレスの仮想ページ番号
が、前記比較アドレスレジスタに保持する指定アドレス
であるときには、前記小容量アドレス変換記憶および前
記第1,〜第nのアドレス変換レジスタの何れにも格納
されていないで、前記大容量アドレス変換記憶に格納さ
れている場合に、前記大容量アドレス変換記憶,前記小
容量アドレス変換記憶,前記第1のアドレス変換レジス
タ,〜前記第N−1のアドレス変換レジスタのそれぞれ
から読出したアドレス変換対を前記小容量アドレス変換
記憶,前記第1のアドレス変換レジスタ,〜前記第Nの
アドレス変換レジスタのそれぞれに移送して格納し、前
記比較アドレスレジスタに保持する指定アドレスではな
いときには、前記小容量アドレス変換記憶に格納されて
いないで、前記大容量アドレス変換記憶に格納されてい
る場合に、前記大容量アドレス変換記憶から読出したア
ドレス変換対を前記小容量アドレス変換記憶に移送して
格納する移送手段、を備えることを特徴とするアドレス
変換バッファ装置。
3. By having a small-capacity address translation memory and a large-capacity address translation memory for storing a plurality of address translation pairs including virtual page numbers and real page numbers,
In an address translation buffer device that converts a virtual address including a virtual page number and an address within the page received from an address translation request source into a real address including a real page number and an address within the page, (A) a virtual page (B) a comparison address that holds a specified address to be compared with an address that refers to the small-capacity address translation memory; register, (C
) When the virtual page number of the virtual address received from the address translation request source is the specified address to be held in the comparison address register, either the small capacity address translation memory or the first to Nth address translation registers It is determined whether the address is stored in the large-capacity address translation memory, and if it is not the specified address to be held in the comparison address register, the address is stored in the small-capacity address translation memory. (D) determining whether or not the address translation is stored in the large-capacity address translation memory; When the virtual page number of the virtual address obtained is the designated address held in the comparison address register, it is not stored in either the small capacity address translation memory or the first to nth address translation registers; When stored in the large-capacity address translation memory, reading from each of the large-capacity address translation memory, the small-capacity address translation memory, the first address translation register, and the N-1th address translation register. The address translation pair is transferred to and stored in each of the small-capacity address translation memory, the first address translation register, to the Nth address translation register, and when the address is not a specified address to be held in the comparison address register, If the address translation pair is not stored in the small-capacity address translation memory but is stored in the large-capacity address translation memory, the address translation pair read from the large-capacity address translation memory is transferred to the small-capacity address translation memory. An address translation buffer device comprising: a storage transfer means.
JP3027008A 1991-02-21 1991-02-21 Address conversion buffer device Pending JPH04266140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3027008A JPH04266140A (en) 1991-02-21 1991-02-21 Address conversion buffer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3027008A JPH04266140A (en) 1991-02-21 1991-02-21 Address conversion buffer device

Publications (1)

Publication Number Publication Date
JPH04266140A true JPH04266140A (en) 1992-09-22

Family

ID=12209087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3027008A Pending JPH04266140A (en) 1991-02-21 1991-02-21 Address conversion buffer device

Country Status (1)

Country Link
JP (1) JPH04266140A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6895492B2 (en) 2002-07-05 2005-05-17 Fujitsu Limited Method of and apparatus for performing two-layer address translation
GB2542315A (en) * 2014-12-08 2017-03-15 Crrc Qingdao Sifang Co Ltd Air conditioning unit of track vehicle mounted under vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6895492B2 (en) 2002-07-05 2005-05-17 Fujitsu Limited Method of and apparatus for performing two-layer address translation
GB2542315A (en) * 2014-12-08 2017-03-15 Crrc Qingdao Sifang Co Ltd Air conditioning unit of track vehicle mounted under vehicle

Similar Documents

Publication Publication Date Title
US10860326B2 (en) Multi-threaded instruction buffer design
JPH0362144A (en) Method of quickening memory access in information processing system and apparatus for executing the same
JP2561261B2 (en) Buffer storage access method
JPH07121437A (en) Computer system
JPH04266140A (en) Address conversion buffer device
JP2009199384A (en) Data processing apparatus
JPH05143451A (en) Data processor
JP3132566B2 (en) Instruction precedence controller
JP2636485B2 (en) Cache storage
GB2037466A (en) Computer with cache memory
JPH0520350A (en) Vector processing device
JPS59112479A (en) High speed access system of cache memory
JPH10116191A (en) Processor equipped with buffer for compressed instruction
JPS61228540A (en) Cache memory control system
JP2576589B2 (en) Virtual storage access control method
JP2864548B2 (en) Instruction cache device
JPS6124734B2 (en)
JPH0363094B2 (en)
JP2636564B2 (en) Move-in control method for cache memory
JPH02156352A (en) Cache memory
JPS6120907B2 (en)
JPS63266560A (en) Buffer storage control system
JPS5837747A (en) Instruction read only buffer storage device
JPS61177557A (en) Control system for cache memory
JPS59157886A (en) Memory control system