JPH04160448A - Address conversion system - Google Patents

Address conversion system

Info

Publication number
JPH04160448A
JPH04160448A JP2285102A JP28510290A JPH04160448A JP H04160448 A JPH04160448 A JP H04160448A JP 2285102 A JP2285102 A JP 2285102A JP 28510290 A JP28510290 A JP 28510290A JP H04160448 A JPH04160448 A JP H04160448A
Authority
JP
Japan
Prior art keywords
address
tlb
page
real
page size
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
JP2285102A
Other languages
Japanese (ja)
Inventor
Motoyoshi Hirose
元義 廣瀬
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2285102A priority Critical patent/JPH04160448A/en
Publication of JPH04160448A publication Critical patent/JPH04160448A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • G06F12/1027Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/65Details of virtual memory and virtual address translation
    • G06F2212/652Page size control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To improve the hit ratio of TLB by recognizing a page size with the value of a page size control bit and varying part of an address and the number of bits to be compared according to the recognition result. CONSTITUTION:By dynamic address conversion, an instruction address IA is sent from an instruction decoding part 26 to a TLB address register 19 and an operand address OA is sent from an instruction execution part 27 to the register 19. The access address of the TLB 2 is generated by a TLB address selector 16 and a TLB entry 3 is retrieved. Part of a logical address 1 is inputted to a selector 16 from the register 19 and a page size control bit 4' is also inputted from in a control register 18. A comparing means 5a compares the entry 3 with segment table start points 15 and 14 of the register 18 and outputs 1 when a coincidence is obtained. The process of the address conversion is carried out corresponding to the value of the bit 4.

Description

【発明の詳細な説明】 〔概要〕 本発明は、情報処理装置内で行われる、仮想アドレスか
ら実アドレスへの動的アドレス変換方式ハードウェアと
ソフトウェアとの整合性を保ち、実メモリを有効に使用
できる方法により、ページサイズを拡張することを目的
とし、 仮想アドレス空間と実アドレス空間との対応の最小単位
である実ページの、それぞれの仮想アドレス空間ごとに
異なって設定されるページサイズを示すページサイズ制
御ビットを格納する手段と、前記変換メモリによる前記
アドレス変換時に、前記変換メモリのアドレス対のアク
セスに使用するアドレスの一部を、前記ページサイズ制
御ビットの値により変更する手段と、前記ページサイズ
制御ビットの値に応じて、比較対象とするビット数を変
更してアドレス変換を行なう手段とを有することを特徴
とする。
[Detailed Description of the Invention] [Summary] The present invention maintains consistency between hardware and software of a dynamic address conversion method from virtual addresses to real addresses performed within an information processing device, and makes real memory effective. The purpose is to expand the page size by any available method, and it indicates the page size that is set differently for each virtual address space of the real page, which is the minimum unit of correspondence between the virtual address space and the real address space. means for storing a page size control bit; and means for changing a part of an address used to access a pair of addresses in the translation memory when converting the address by the translation memory, depending on the value of the page size control bit; The present invention is characterized by comprising means for performing address conversion by changing the number of bits to be compared in accordance with the value of the page size control bit.

〔産業上の利用分野〕[Industrial application field]

本発明は、情報処理装置内で行われる、仮想アドレスか
ら実アドレスへの動的アドレス変換方式近年の情報処理
装置においては、その高速大容量化の要求に伴い、仮想
アドレス空間数と、実メモリ容量が増加の一途をたどっ
ている。
The present invention is a dynamic address conversion method from a virtual address to a real address performed in an information processing device.In recent years, information processing devices have been required to increase the speed and capacity of the devices, and the number of virtual address spaces and the real memory Capacity continues to increase.

仮想アドレスから実アドレスへの動的アドレス変換には
、運送メモリによる高速アドレス変換機構(Trans
lation Lookaside Buffer、以
下TLBと称する)に論理ページアドレスと、それに対
応する実ページアドレスとを登録しておき、これらを参
照してアドレス変換を行なう方法が用いられている。こ
の方法を用いることにより、高速なアドレス変換が実現
される。
A high-speed address translation mechanism (Trans) using transportation memory is used for dynamic address translation from a virtual address to a real address.
A method is used in which a logical page address and a corresponding real page address are registered in a lookaside buffer (hereinafter referred to as TLB), and address translation is performed by referring to these addresses. By using this method, high-speed address translation is realized.

しかし、前述の通り実メモリの容量の増加とアドレス空
間数の増加に伴い、TLBによるアドレス変換の成功率
(以下TLBのヒツト率と称する)が低下している。そ
こで、アドレス空間の増加に対応じて、TLBのヒツト
率を向上させることができるアドレス変換方法が望まれ
ている。
However, as described above, as the capacity of real memory and the number of address spaces increase, the success rate of address translation by the TLB (hereinafter referred to as TLB hit rate) is decreasing. Therefore, there is a need for an address translation method that can improve the TLB hit rate in response to the increase in address space.

〔従来の技術〕[Conventional technology]

第5図は、TLBによる動的アドレス変換を示している
。第5図において、31は論理アドレス、32はTLB
、33は実アドレス、34はTLBエントリである。
FIG. 5 shows dynamic address translation by TLB. In FIG. 5, 31 is a logical address, 32 is a TLB
, 33 is a real address, and 34 is a TLB entry.

TLBによるアドレス変換では、論理アドレス31内の
論理アドレス部35などにより、それに対応したTLB
エントリ34を読み出す。TLBエントリ34内には論
理アドレス部36と、それに対応とする実アドレス部3
7とがおさめられている。論理アドレス31の論理アド
レス部35とTLBエントリ34の論理アドレス部36
とを対応させ、この2つが一致した場合に、TLBエン
トリ34の実アドレス部37を出力、論理アドレス31
のページ内変位39と組み合わせることにより、実アド
レス33を得ることができる。
In the address conversion using the TLB, the logical address part 35 in the logical address 31 is used to convert the corresponding TLB.
Read entry 34. The TLB entry 34 includes a logical address section 36 and a corresponding real address section 3.
It contains 7. Logical address part 35 of logical address 31 and logical address part 36 of TLB entry 34
If the two match, the real address part 37 of the TLB entry 34 is output, and the logical address 31
By combining with the intra-page displacement 39 of , the real address 33 can be obtained.

以上の要領によりアドレス変換が行われるが、TLBの
ヒツト率をあげるには、TLBの容量を増やしてTLB
エントリ数を増加させれば可能であることが容易に考え
られる。
Address translation is performed in the manner described above, but in order to increase the TLB hit rate, increase the TLB capacity and
It is easily possible to do this by increasing the number of entries.

一方、TLBに望まれている機能は、高速度でのアドレ
ス変換であるため、TLBは、高速小容量のメモリなど
により構成されている。従って、容量を増大することに
より、TLBのアクセスタイムが遅くなり、その性能の
低下を招いてしまう。
On the other hand, since the desired function of the TLB is high-speed address translation, the TLB is configured with a high-speed, small-capacity memory. Therefore, increasing the capacity slows down the access time of the TLB, leading to a decline in its performance.

また、あるページを実メモリから外部記憶に移した場合
には、そのページに該当するページテーブルを無効化し
、同時にそのページに該当するTLB内のエントリも無
効化する必要がある。しかし、TLBの構成が論理アド
レスに関する連想メモリであるために、エントリの無効
化に際しては全てのエントリを読み出す必要がある。従
って、TLBの容量を増加することは容易ではなく、エ
ントリ数を増加させないでTLBのヒツト率を上げる方
法が必要となる。
Furthermore, when a certain page is moved from real memory to external storage, it is necessary to invalidate the page table corresponding to that page and at the same time invalidate the entry in the TLB corresponding to that page. However, since the configuration of the TLB is an associative memory related to logical addresses, it is necessary to read all entries when invalidating an entry. Therefore, it is not easy to increase the capacity of the TLB, and a method is needed to increase the hit rate of the TLB without increasing the number of entries.

そこで、TLBエントリを増加させることなく、TLB
ヒツト率を上げる一つの方法として、ページサイズを変
更する方法が考えられている。
Therefore, without increasing TLB entries,
One way to increase the hit rate is to change the page size.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ページサイズを拡張することにより、TLB内のエント
リに対応する実メモリ上の領域を増やすことができる。
By expanding the page size, the area on the real memory corresponding to the entries in the TLB can be increased.

そのために実質的にTLB内のエントリを増加させたの
と同等の効果を上げることが可能となる。
Therefore, it is possible to achieve an effect substantially equivalent to increasing the number of entries in the TLB.

しかし、この方法を適用するには、以下にあげる点が問
題となる。
However, the following problems arise when applying this method.

第一に、あるシステムが稼動しているときに、大きさの
異なる二つ以上のページを設定することができず、ペー
ジサイズを変更する場合には、計算機を一旦停止させる
必要があった。
First, when a certain system is running, it is not possible to set two or more pages of different sizes, and when changing the page size, it is necessary to temporarily stop the computer.

第二に、一つのシステムの運用時にはページサイズが固
定となってしまうことである。実メモリの大きさは、そ
の最小単位がハードウェアの構成により決定されてしま
うので、実メモリ上に大きさの異なるるページを配置し
ていくと、その大きさがあわずに何も配置されない空き
空間ができてしまう。これをフラグメンテーションと呼
ぶが、このフラグメンテーションのため、実メモリの使
用率が低下し、効率が悪くなってしまう。
Second, the page size is fixed when a single system is operated. The size of real memory is determined by the minimum unit of the hardware configuration, so if pages of different sizes are placed on real memory, the sizes will be the same and nothing will be placed. There will be empty space. This is called fragmentation, and because of this fragmentation, the usage rate of real memory decreases, resulting in poor efficiency.

以上にあげた事実により、ページサイズを変更してのア
ドレス変換を実現することが難しかった。
Due to the above-mentioned facts, it was difficult to realize address conversion by changing the page size.

そこで本発明は、ハードウェアとソフトウェアとの整合
性を保ち、実メモリを有効に使用できる方法により、ペ
ージサイズを拡張することを目的とする。
Therefore, an object of the present invention is to expand the page size by a method that maintains consistency between hardware and software and allows effective use of real memory.

〔課題を解決するための手段] 第1図は本発明の原理構成図である。[Means to solve the problem] FIG. 1 is a diagram showing the principle configuration of the present invention.

第1図において、■は論理アドレス、2はTLB、3は
TLBエントリ、4はページサイズ制御ビット、5は変
換比較器、6は実アドレス、8.10はページ内変位で
ある。
In FIG. 1, ■ is a logical address, 2 is a TLB, 3 is a TLB entry, 4 is a page size control bit, 5 is a conversion comparator, 6 is a real address, and 8.10 is an intra-page displacement.

第1図において、論理アドレス1の論理アドレス部7に
より、該当するTLBエントリ3を検索、読みだしを行
なう。TLBエントリ3は、論理アドレス部11と、実
アドレス部12、それにページサイズ制御ビット4によ
り構成されている。
In FIG. 1, the logical address section 7 of the logical address 1 searches for and reads out the corresponding TLB entry 3. The TLB entry 3 is composed of a logical address section 11, a real address section 12, and a page size control bit 4.

次いで変換比較器5で、論理アドレス1とTLBエント
リ3の論理アドレス部11とを比較する。
Next, the conversion comparator 5 compares the logical address 1 with the logical address part 11 of the TLB entry 3.

二つの論理アドレスが一致した場合には、論理アドレス
1に対応するTLBエントリ3の実アドレス6を出力す
ることにより、アドレス変換を行なう。
If the two logical addresses match, address translation is performed by outputting the real address 6 of the TLB entry 3 corresponding to the logical address 1.

このときに、TLBエントリ3内に格納されているペー
ジサイズ制御ビット4の値により、そのページの大きさ
が規定される。
At this time, the value of page size control bit 4 stored in TLB entry 3 defines the size of the page.

変換比較器5は、ページサイズ制御ビット4によりその
動作を制御されている。アドレス変換を行なう時には、
変換比較器5内で論理アドレス1もしくはTLBエント
リ3の一部を、ページサイズ制御ビット4に応じて変更
する。そして、論理アドレス1と、TLBエントリ3の
論理アドレス部11との比較時の比較対象とするビット
数を、ページサイズ制御ビット4に応じて変更する。
The operation of conversion comparator 5 is controlled by page size control bit 4. When performing address translation,
Within the conversion comparator 5, a part of the logical address 1 or the TLB entry 3 is changed according to the page size control bit 4. Then, the number of bits to be compared when logical address 1 is compared with logical address field 11 of TLB entry 3 is changed according to page size control bit 4.

アドレス変換が行われると、変換比較器5より、実アド
レス6が出力される。
When address conversion is performed, a real address 6 is output from the conversion comparator 5.

〔作用〕[Effect]

ページサイズ制御ビット4の値により、そのページサイ
ズを認識し、それに応じてアドレスの一部並びに比較対
象とするビット数を変更することにより、アドレス変換
を行なう。そのために、それぞれのアドレス空間ごとに
、TLBエントリ3が示す実メモリのページサイズを変
更・設定することが可能となる。従って、プログラムや
データなどのうち、連続性の高い部分を大きなページサ
イズの空間に割りつけることができる。そして、動的ア
ドレス変換に必要となるTLBエントリ3の数を削減す
ることができるようになる。
The page size is recognized from the value of page size control bit 4, and address conversion is performed by changing part of the address and the number of bits to be compared accordingly. Therefore, it is possible to change and set the page size of the real memory indicated by the TLB entry 3 for each address space. Therefore, highly continuous parts of programs, data, etc. can be allocated to a space with a large page size. Then, the number of TLB entries 3 required for dynamic address translation can be reduced.

同時に、ソフトウェアの互換性を保つことが可能となる
At the same time, it becomes possible to maintain software compatibility.

更にTLBエントリ3に対応する実メモリの大きさは、
ハードウェアの構成により定まるメモリの最小単位から
任意に設定することができる。そのために、効率的にペ
ージを配置することができるうになり、主記憶のフラグ
メンテーションがおきることがなくなる。
Furthermore, the size of the real memory corresponding to TLB entry 3 is
It can be set arbitrarily from the minimum unit of memory determined by the hardware configuration. This makes it possible to efficiently allocate pages and prevent main memory fragmentation.

〔実施例〕〔Example〕

第2図は、情報処理装置のうち、TLBによるアドレス
変換に係る部分のシステム構成図である。
FIG. 2 is a system configuration diagram of a portion of the information processing apparatus related to address translation by TLB.

第3図は、本実施例に係る各アドレス並びに変換テーブ
ルである。また、第4図は、本発明の一実施例による動
的アドレス変換の様子を示している。
FIG. 3 shows each address and a conversion table according to this embodiment. Further, FIG. 4 shows the state of dynamic address translation according to an embodiment of the present invention.

以下第2図〜第4図により、本実施例の説明を行なう。The present embodiment will be explained below with reference to FIGS. 2 to 4.

本実施例による情報処理装置は、そのページサイズを4
KBと16にBの二通りに設定することが可能となって
いる。
The information processing device according to this embodiment has a page size of 4
It is possible to set it in two ways: KB and 16 B.

第2図の説明を行なう。21は高速アドレス変換部で、
動的アドレス変換(DAT)に関する処理を行なう。2
2はTLBである。23はバッファ記憶、25は主記憶
装置である。26は命令解読部で、バッファ記憶23へ
の命令取り出し、オペランドの取り出し・格納、命令の
解読などの動作を行なう。27は命令実行部で、命令解
読部26により解読された命令に従って、演算処理を実
行する。
FIG. 2 will be explained. 21 is a high-speed address conversion unit;
Performs processing related to dynamic address translation (DAT). 2
2 is TLB. 23 is a buffer storage, and 25 is a main storage device. Reference numeral 26 denotes an instruction decoding unit, which performs operations such as fetching instructions into the buffer memory 23, fetching and storing operands, and decoding instructions. An instruction execution unit 27 executes arithmetic processing according to the instructions decoded by the instruction decoding unit 26.

命令解読部26は高速アドレス変換部21に対して命令
アドレスIAを発する。同様に、命令実行部27は高速
アドレス変換部21に対してオペランドアドレスOAを
発する。それに従い、高速アドレス変換部21はTLB
22により動的アドレス変換を行ない、変換により得ら
れた実アドレスRAをバッファ記憶23に送る。前記実
アドレスRAにより、バッファ記憶23は主記憶装置2
5に対し読みだし・書き込み要求R/Wを送り、主記憶
装置25はバッファ記憶23に対して、前記実アドレス
に対応したデータを送る。バッファ記憶23は、前記デ
ータに応じて、命令解読部26に対して命令フェッチデ
ータIFDを送る。命令解読部26では、命令フェッチ
データIFDを解読し、高速アドレス変換部21に対し
て命令アドレスIAを送る。
The instruction decoder 26 issues an instruction address IA to the high-speed address converter 21. Similarly, the instruction execution unit 27 issues an operand address OA to the high-speed address conversion unit 21. Accordingly, the high-speed address translation unit 21 uses the TLB
22 performs dynamic address conversion and sends the real address RA obtained by the conversion to the buffer storage 23. According to the real address RA, the buffer memory 23 is transferred to the main memory 2.
The main storage device 25 sends a read/write request R/W to the main storage device 5, and the main storage device 25 sends data corresponding to the real address to the buffer storage 23. The buffer storage 23 sends instruction fetch data IFD to the instruction decoder 26 according to the data. The instruction decoder 26 decodes the instruction fetch data IFD and sends the instruction address IA to the high-speed address converter 21.

第3図は、アドレス変換に用いられる各アドレス並びに
変換テーブルを示している。
FIG. 3 shows each address and a conversion table used for address conversion.

第3図Aは論理アドレスLAであり、SXはセグメント
番号、PXはページ番号で、いずれも論理アドレスであ
る。BXはページ内変位で、実アドレスと等しい。
FIG. 3A is a logical address LA, SX is a segment number, and PX is a page number, both of which are logical addresses. BX is the intra-page displacement and is equal to the real address.

第3図A(1)はページサイズが4KBである場合の論
理アドレスである。第3図A(1)においては、セグメ
ント番号SXは00〜11までの12ビツトを使用して
いる。同様に、ページ番号PXは12〜19の8ビツト
を、ページ内変位BXは20〜31までの12ビツトを
使用している。
FIG. 3A(1) shows logical addresses when the page size is 4KB. In FIG. 3A(1), the segment number SX uses 12 bits from 00 to 11. Similarly, the page number PX uses 8 bits from 12 to 19, and the intra-page displacement BX uses 12 bits from 20 to 31.

第3図A(2)はページサイズが16KBである場合の
論理アドレスである。第3図A(2)において、セグメ
ント番号SXはページサイズが4KBの場合と同しく1
2ビツトを使用している。しかし、ページサイズが大き
くなりページ数が減少しているので、ページ番号PXは
12〜17までの6ビントのみを使用している。また、
1ページあたりの大きさが増加するために、ページ内変
位BXは14ビツトとされる。
FIG. 3A(2) shows logical addresses when the page size is 16 KB. In Figure 3 A (2), the segment number SX is 1, which is the same as when the page size is 4KB.
2 bits are used. However, as the page size increases and the number of pages decreases, only 6 bits from 12 to 17 are used for the page number PX. Also,
Since the size per page increases, the intra-page displacement BX is set to 14 bits.

第3図Bは制御レジスタ1 (CRI)の内部であり、
STOはセグメントテーブルの先頭アドレス、STLは
セグメントテーブルの長さ、Bはページサイズ制御ビッ
トをあられす。ページサイズ制御ビットは、それぞれの
ページサイズに応じてその値が決定される。本実施例の
場合、ページサイズが4KBの場合には“0”、16K
Bの場合には“1”が設定される。
Figure 3B shows the inside of control register 1 (CRI),
STO is the start address of the segment table, STL is the length of the segment table, and B is the page size control bit. The value of the page size control bit is determined according to the size of each page. In the case of this example, if the page size is 4KB, it is “0” and 16K.
In the case of B, "1" is set.

第3図CはセグメントテーブルエントリSTEで、PT
Oはページテーブルの先頭アドレス、PTLはページテ
ーブルの長さをあられしている。
Figure 3C shows segment table entry STE and PT
O is the start address of the page table, and PTL is the length of the page table.

第3図りはページテーブルエントリPTEで、PFRA
はページフレーム実アドレスをあらゎす。
The third diagram is the page table entry PTE, PFRA
represents the page frame real address.

第3図E(1)は、ページサイズが4KBの場合の実ア
ドレスRAである。また、第3図E(2)は、ページサ
イズが16KBの場合の実アドレスRAである。
FIG. 3E(1) shows the real address RA when the page size is 4KB. Further, FIG. 3E(2) shows the real address RA when the page size is 16 KB.

ここで、SXRは実セグメント番号、PXRは実へ’;
番号、BXRはページ内変位である。実セグメントテー
ブルSXRと、実ページ番号PXRとをあわせたものを
ページフレーム実アドレスPFRAと呼ぶ。
Here, SXR is the real segment number, PXR is the real segment number;
The number, BXR, is the within-page displacement. The combination of the real segment table SXR and the real page number PXR is called a page frame real address PFRA.

続いて、本実施例の説明を行なう。Next, the present embodiment will be explained.

第4図は、本実施例におけるTLB検索によりアドレス
変換を行なうシステム、即ち第2図における高速アドレ
ス変換部21の構成図である。
FIG. 4 is a block diagram of the system for performing address translation by TLB search in this embodiment, that is, the high-speed address translation unit 21 in FIG. 2.

第4図において、第1図と同じ部位には、同一の符号を
付している。ただし、5a〜5cは比較手段、5dは選
択手段、5eはOR回路、5fはAND回路である。
In FIG. 4, the same parts as in FIG. 1 are given the same reference numerals. However, 5a to 5c are comparison means, 5d is a selection means, 5e is an OR circuit, and 5f is an AND circuit.

またTLBエントリ3において、13はバリッドビット
、14はTLBエントリ3内のセグメントテーブル起点
である。15は制御レジスタ18内のセグメントチ−プ
ル起点、16はTLBアドレスセレクタ、18は制御レ
ジスタである。
Further, in TLB entry 3, 13 is a valid bit, and 14 is the starting point of the segment table in TLB entry 3. 15 is a segment triple starting point in the control register 18, 16 is a TLB address selector, and 18 is a control register.

TLBアクセスレジスタ19内の論理アドレス1は、セ
グメント番号7a、ページ番号7bとページ内変位8と
から構成される。同様に、TLBエントリ3内の論理ア
ドレス部は、セグメント番号11aとページ番号11b
とから、実アドレス部は、実セグメント番号12aと実
ページ番号12bとから構成される。
Logical address 1 in TLB access register 19 is composed of segment number 7a, page number 7b, and intra-page displacement 8. Similarly, the logical address part in TLB entry 3 includes segment number 11a and page number 11b.
Therefore, the real address part is composed of a real segment number 12a and a real page number 12b.

動的アドレス変換を行なう場合には、まず、TLBアド
レスレジスタ19に接続された命令解読部26から、T
LBアドレスレジスタ19に対して命令アドレスIAが
送られる。同様に、TLBアドレスレジスタ19に接続
された命令実行部27からTAR19に対してオペラン
ドアドレスOAが送られる。
When performing dynamic address translation, first, the TLB address register 19 is connected to the TLB address register 19.
The instruction address IA is sent to the LB address register 19. Similarly, an operand address OA is sent from the instruction execution unit 27 connected to the TLB address register 19 to the TAR 19.

上記二つのアドレスは論理アドレスで送られて来、TL
Bアドレスレジスタ19内には、論理アドレス1がセッ
トされる。
The above two addresses are sent as logical addresses, and the TL
A logical address 1 is set in the B address register 19.

TLB2のアクセスアドレスは、TLBアドレスセレク
タ16により作成され、TLBエントリ3の検索を行な
うために使用される。TLBアトしスセレクタ16には
、TLBアドレスレジスタ19より論理アドレス1の一
部が、制御レジスタ18内よりページサイズ制御ビット
(以下Bビット)4’が入力される。
The access address of TLB2 is created by TLB address selector 16 and used to search for TLB entry 3. The TLB address selector 16 receives a part of the logical address 1 from the TLB address register 19 and a page size control bit (hereinafter referred to as B bit) 4' from the control register 18.

TLBアクセスアドレスの作成は、以下の要顛により行
われる。
Creation of a TLB access address is performed according to the following steps.

TAS出力(0:5) −TAR(12:17)   
 (1)TAS出力(6)  =TAR(10)・B十
TAR(1B)・コB(2) TAS出力(7)  −TAR(11)・B十TAR(
19)・コB(3) ここで、TAS出力とはTLBアドレスセレクタ16の
出力即ちTLBアクセスアドレス、TAR(−)とある
のはTLBアドレスレジスタ19の内部即ち論理アドレ
スlで、括弧内は何ビット目であるかを示している。
TAS output (0:5) -TAR (12:17)
(1) TAS output (6) = TAR(10)・B×TAR(1B)・KOB(2) TAS output(7) −TAR(11)・B×TAR(
19)・B(3) Here, TAS output is the output of TLB address selector 16, that is, the TLB access address, TAR(-) is the internal, or logical address l of TLB address register 19, and what is in parentheses is Indicates whether it is the bit number.

TLBアクセスアドレスのビット数はTLB2の容量に
応じて定められる。本実施例でのTLB2の大きさは2
56エントリであり、TLBアクセスアドレスは8ビツ
ト必要となる。第(1)弐〜第(3)式かられかるよう
に、TLBアクセスアドレスとして、TLBアドレスセ
レクタ16内におさめられた、論理アドレス1のページ
番号7bが出力される。
The number of bits of the TLB access address is determined according to the capacity of TLB2. The size of TLB2 in this example is 2
There are 56 entries, and the TLB access address requires 8 bits. As can be seen from equations (1)2 to (3), the page number 7b of the logical address 1 stored in the TLB address selector 16 is output as the TLB access address.

また、Bビット4の値によって、即ちページサイズが大
きい場合にはビット数が足りないため、セグメント番号
7aの下位2ビツトが、TLBアクセスアドレスの下位
2ビツトとして出力される。
Depending on the value of B bit 4, that is, when the page size is large, the number of bits is insufficient, so the lower two bits of segment number 7a are output as the lower two bits of the TLB access address.

TLBエントリ3は、以下のような構成となっている。TLB entry 3 has the following configuration.

13はバリッドビットで、読みだしたTLBエントリ3
が有効であるかどうかを示している。
13 is a valid bit, read TLB entry 3
indicates whether it is valid or not.

TLBエントリ3が有効である場合には、その値は“′
1″である。14はセグメントテーブル起点(STOT
) 、llaは論理セグメント番号(SXT) 、ll
bは論理ページ番号(PXT)、4はBビット、12a
は実セグメント番号(RA(SX))、12bは実ペー
ジ番号(RA (PX))である。
If TLB entry 3 is valid, its value is "'
1''. 14 is the segment table starting point (STOT
), lla is the logical segment number (SXT), ll
b is logical page number (PXT), 4 is B bit, 12a
is a real segment number (RA (SX)), and 12b is a real page number (RA (PX)).

バリッドビット13が“1”である場合には、TLBエ
ントリ3が有効であるので、アドレス変換を行なうこと
ができる。
If the valid bit 13 is "1", the TLB entry 3 is valid, so address translation can be performed.

アドレス変換時には、まずTLBアクセスアドレスによ
り読み出されたTLBエントリ3のセグメント番号11
aとTLBアドレスレジスタ19のセグメント番号7a
、TLBエントリ3のページ番号11bとTLBアドレ
スレジスタ19のページ番号7b、T、、LBエントリ
3のセグメントテーブル起点14と制御レジスタ18内
のセグメントテーブル起点15とがそれぞれ比較される
。これらの比較は、比較手段58〜5cにおいて行われ
る。
During address conversion, first segment number 11 of TLB entry 3 read by the TLB access address.
a and segment number 7a of TLB address register 19
, page number 11b of TLB entry 3 and page number 7b of TLB address register 19, T, , segment table starting point 14 of LB entry 3 and segment table starting point 15 in control register 18 are compared, respectively. These comparisons are performed in comparison means 58-5c.

TLBヒツトは、以下の論理を満たした場合である。A TLB hit occurs when the following logic is satisfied.

TLBヒツト= TLB(ν) ・ (TLB(STOT) =CR1(STO))−(
TLB(SXT)=TAR(SX)  )・ (TLB
(12:17) =TAR(12:17) )・ ((
TLB(18:19) =TAR(18:19) )+
 TLB (B) )  (4) ここで、CRI (STO)は制御レジスタ18のセグ
メントテーブル起点、TLB (B)は制御しジスタ1
8のページサイズ制御ビット4゛である。
TLB hit = TLB (ν) ・ (TLB (STOT) = CR1 (STO)) - (
TLB(SXT)=TAR(SX) )・(TLB
(12:17) = TAR (12:17) )・((
TLB (18:19) = TAR (18:19) )+
TLB (B) ) (4) Here, CRI (STO) is the segment table starting point of the control register 18, and TLB (B) is the control register 1.
8 page size control bits 4'.

第(4)式に従って、TLBエントリ3のセグメントテ
ーブル起点15と制御レジスタ18のセグメントテーブ
ル起点14との一致性が比較手段5aによりみられる。
According to equation (4), the comparison means 5a determines whether the segment table starting point 15 of the TLB entry 3 matches the segment table starting point 14 of the control register 18.

二つが一致した場合には、比較手段5aから“′1゛が
出力される。
If the two match, "'1" is output from the comparing means 5a.

同様に、TLBエントリ3のセグメント番号7aとTL
Bアドレスレジスタ19のセグメント番号11aとの一
致性が、比較手段5bにより調べられ、−致した場合に
は“′1”が出力される。
Similarly, segment number 7a of TLB entry 3 and TL
The comparison means 5b checks whether the segment number 11a of the B address register 19 matches the segment number 11a, and if they match, "'1" is output.

TLBエントリ3のページ番号7bとTLBアドレスレ
ジスタ19のページ番号11bとの一致性は、布片第4
.第5項に従ってページサイズ制御ビット4の値に応じ
て調べられる。この比較は、比較手段5cと、OR回路
5eとにより行われる。ページ番号の比較の論理式が、
第4項と第5項とにわけられているのは、ページサイズ
が4KBの場合と16KBの場合とでは、ページ番号7
bのビット数が異なるために、比較対象とするビット数
を変える必要があるからである。
The consistency between page number 7b of TLB entry 3 and page number 11b of TLB address register 19 is
.. It is checked according to the value of page size control bit 4 according to Section 5. This comparison is performed by the comparison means 5c and the OR circuit 5e. The logical expression for page number comparison is
The reason for the 4th and 5th terms is that if the page size is 4KB or 16KB, page number 7
This is because since the number of bits of b is different, it is necessary to change the number of bits to be compared.

第4項により比較されたページ番号上位6ビツトの比較
結果は、比較手段5CからAND回路5fに入力される
(19A)。一致の場合には、II I IIが出力さ
れる。
The comparison result of the upper six bits of the page number compared in the fourth term is inputted from the comparing means 5C to the AND circuit 5f (19A). In case of a match, II II II is output.

一方、第5項による比較対象となるページ番号下位2ビ
ツトの比較結果は、比較手段5CからOR回路5eに入
力される(19B)。OR回路5eには、Bビット4も
同時に入力される。ページ番号の下位2ビツトが一致し
た場合、あるいはBビット4が“1″である場合には、
OR回路5eから1”が出力される。
On the other hand, the comparison result of the lower two bits of the page number to be compared according to the fifth term is inputted from the comparison means 5C to the OR circuit 5e (19B). B bit 4 is also input to OR circuit 5e at the same time. If the lower two bits of the page numbers match, or if B bit 4 is “1”,
1'' is output from the OR circuit 5e.

比較手段58〜5C並びにOR回路5eからの出力が“
1”であり、かつ、バリッドピッ目3が“1”の場合に
、TLBヒツトとなり、AND回路5fからTLBヒツ
ト信号がが出力される。
The outputs from the comparison means 58 to 5C and the OR circuit 5e are “
1" and valid pitch 3 is "1", it becomes a TLB hit, and a TLB hit signal is output from the AND circuit 5f.

TLBヒツトの場合には、続いてアドレス変換が行われ
る。アドレス変換により、以下の論理式に従って実アド
レス6が出力される。
In the case of a TLB hit, address translation follows. By address conversion, real address 6 is output according to the following logical formula.

RA(00:11) =TLB(RA(SX))   
     (5)RA(12)   =TLB(RA(
PX0))       (6)RA(17)   =
TLB(RA(PX5))         (7)R
A(18)  =TLB(RA(PX6))・コB十T
AR(PX6)・B(8) RA(19)  =TLB(RA(PX7)) ・コB
十TAR(PX7) ・B    (9)RA(20:
31)=  TAR(BX)            
       GO)この式において、RA (−)は
実アドレス、TLB (RA (SX))はTLBエン
トリ3の実セグメント番号12a、TLB (RA (
PX))はTLBエントリ3の実ページ番号12b、T
AR(PX)はTLBアドレスレジスタ19のページ番
号7b、TAR(BX)はTLBアドレスレジスタ16
のページ内変移8をそれぞれ示す。
RA(00:11) =TLB(RA(SX))
(5) RA(12) =TLB(RA(
PX0)) (6)RA(17) =
TLB(RA(PX5)) (7)R
A(18) =TLB(RA(PX6))・koB0T
AR(PX6)・B(8) RA(19) =TLB(RA(PX7))・CoB
10 TAR (PX7) ・B (9) RA (20:
31) = TAR(BX)
GO) In this formula, RA (-) is the real address, TLB (RA (SX)) is the real segment number 12a of TLB entry 3, TLB (RA (
PX)) is the real page number 12b of TLB entry 3, T
AR (PX) is page number 7b of TLB address register 19, TAR (BX) is TLB address register 16
Intra-page transitions 8 of .

まず、第(5)式により、TLB2内の実アドレス番号
12aが、実アドレス6の先頭12ビツトに移し変えら
れる。
First, according to equation (5), real address number 12a in TLB2 is transferred to the first 12 bits of real address 6.

ページ変位10は、第00式に従って、TLBアドレス
レジスタ19内のページ変移8が移し変えられる。
Page displacement 10 is shifted by page displacement 8 in TLB address register 19 according to equation 00.

実アドレス6のページ番号9bは第(6)弐〜第(9)
式に従い、以下のように求められる。TLBアドレスレ
ジスタ19内のページ番号7b、TLBエントリ3内の
実ページ番号12b、Bビット4が選択手段5dに入力
され、その値に応じて出力値が決定される。Bビット4
が“0”の場合(ページサイズが4KBの場合)には、
第(8)式並びに第(9)式により、TLBエントリ3
の実ページ番号12bの6,7ビツト目が実アドレスの
ページ番号9bとしてそのまま出力される。Bビット4
が1”の場合(ページサイズが16KBの場合)には、
TLBアドレスレジスタ19のページ番号7bの下位2
ビツトである6、7ビツト目が出力される。
Page number 9b of real address 6 is number (6) 2 to number (9)
According to the formula, it is calculated as follows. The page number 7b in the TLB address register 19, the real page number 12b in the TLB entry 3, and the B bit 4 are input to the selection means 5d, and an output value is determined according to the values. B bit 4
If is “0” (page size is 4KB),
By equations (8) and (9), TLB entry 3
The 6th and 7th bits of the real page number 12b are output as they are as the real address page number 9b. B bit 4
is 1” (page size is 16KB),
Lower 2 of page number 7b of TLB address register 19
The 6th and 7th bits are output.

これらの処理を経て、第3図E(1)並びに第3図E(
2)に示される実アドレス6が作成され、得られた実ア
ドレス6により、主記憶装置25への読みだし並びに書
き込み要求が行われる。
After these processes, Fig. 3 E (1) and Fig. 3 E (
The real address 6 shown in 2) is created, and read and write requests to the main storage device 25 are made using the obtained real address 6.

ここで、ページサイズが4KBと16KBのそれぞれの
場合におけるアドレス変換について述べる。
Here, address conversion in the case where the page size is 4 KB and 16 KB will be described.

ページサイズが4にBの場合には、Bビット4は“0°
゛が設定される。それに対し、16KBの場合にはII
 I IIが設定される。アドレス変換は、このBビッ
ト4の値に従って行われる。
If the page size is 4 and B, the B bit 4 is “0°
゛ is set. On the other hand, in the case of 16KB, II
I II is set. Address conversion is performed according to the value of this B bit 4.

ページサイズが4KBの場合には第(1)式から第(3
)弐に従って、TLBアドレスレジスタ19の12〜1
9ビツト目、つまり論理アドレスlのページ番号7b(
第3図A(1)・px)がTLBアクセスアドレスとし
て用いられる。
If the page size is 4KB, the equations (1) to (3)
)2, TLB address register 19 12-1
The 9th bit, that is, page number 7b of logical address l (
A(1).px) in FIG. 3 is used as the TLB access address.

一方、ページサイズが16KBの場合には、第(1)式
に従いTLBアクセスアドレスの先頭6ビツトは、TL
Bアドレスレジスタ19の12〜17ビツト目、つまり
、論理アドレスlのページ番号7b (第3図A(2)
・PX)が用いられる。しかし、これだけではビット数
がページサイズ4KBの場合と合わない。
On the other hand, if the page size is 16KB, the first 6 bits of the TLB access address are
The 12th to 17th bits of the B address register 19, that is, the page number 7b of the logical address l (Fig. 3 A (2)
・PX) is used. However, this alone does not match the number of bits when the page size is 4KB.

TLBアドレスレジスタ19の18.19ビツト目は、
実アドレスであるページ内変位8なので、4KBの場合
と同様に用いる訳にはいかない。そこで、第(2)式並
びに第(3)式に従って、TLBアドレスレジスタ19
の10.11ビツト目、つまり論理アドレス1のセグメ
ント番号7aの10.11ビット目を使用し、ページ番
号7bの後ろにつなげる。
The 18th and 19th bits of the TLB address register 19 are
Since the displacement within the page is 8, which is a real address, it cannot be used in the same way as in the case of 4KB. Therefore, according to equations (2) and (3), the TLB address register 19
The 10th and 11th bits of segment number 7a of logical address 1 are used, and are connected to the end of page number 7b.

以上の要領により、TLBアクセスアドレスが作成され
、TLBエントリ3が検索される。
As described above, a TLB access address is created and TLB entry 3 is searched.

TLBヒツトは、第(4)式に従って行われる。The TLB hit is performed according to equation (4).

ページサイズが4KBの場合には、Bビット4が“0”
なので、第(4)式第5項は、 TLB(18:19) = TAR(18:19)が残
る。従って、TLBエントリ3のページ番号11bと、
TLBアドレスレジスタ19のページ番号7bとは、8
ビツトが一致した場合にOR回路5eから1″が出力さ
れる。
If the page size is 4KB, B bit 4 is “0”
Therefore, the fifth term of equation (4) remains: TLB (18:19) = TAR (18:19). Therefore, page number 11b of TLB entry 3,
The page number 7b of the TLB address register 19 is 8.
When the bits match, 1'' is output from the OR circuit 5e.

ページサイズが16KBの場合には、Bビット4が“1
”であるので、第(4)式第5項は、TLB (B) がul”となる、従って、OR回路5eから、“1”が
出力されるためには、第(4)式第5項の −TLB(
18:19) = TAR(18:19)を満たす必要
がない。つまり、TLBエントリ3のページ番号11b
と、TLBアドレスレジスタ19のページ番号7bとは
、先頭6ビツトのみの一致が確認されればよく、うしろ
の2ビツトは比較の対象とはされないことになる。
If the page size is 16KB, B bit 4 is “1”.
” Therefore, the fifth term of equation (4) indicates that TLB (B) is ul. Therefore, in order for “1” to be output from the OR circuit 5e, the fifth term of equation (4) -TLB(
18:19) = There is no need to satisfy TAR (18:19). In other words, page number 11b of TLB entry 3
and page number 7b of the TLB address register 19, it is sufficient to confirm that only the first 6 bits match, and the latter 2 bits are not compared.

アドレス変換は、第(5)弐〜第00式により行われる
Address conversion is performed using equations (5) 2 to 00.

ページサイズが4KBの場合には、Bビットは“0”で
あるので、第(8)式、第(9)式はそれぞれTLB 
(RA (PX6) ) TLB (RA (PX7) ) かのこり、実アドレス6の実ページ9bとして、TLB
エントリ3の実ページ番号12bが出力される。
When the page size is 4KB, the B bit is “0”, so equations (8) and (9) are TLB
(RA (PX6)) TLB (RA (PX7)) Then, as real page 9b of real address 6, TLB
The real page number 12b of entry 3 is output.

ページサイズが16KBの場合には、Bビットは“1”
が設定されている。従って、第(8)式、第(9)式に
より、TLBアドレスレジスタ190ページ番号7bの
6,7ビツト目が選択される。このページ番号7bの6
.7ビツト目は、ページ内変位8の先頭を兼ねているた
め、実アドレス60ページ内変位10の先頭2ビツトと
して出力されることになる。
If the page size is 16KB, the B bit is “1”
is set. Therefore, the 6th and 7th bits of page number 7b of the TLB address register 190 are selected by equations (8) and (9). This page number 7b-6
.. Since the 7th bit also serves as the beginning of intra-page displacement 8, it is output as the first 2 bits of real address 60, intra-page displacement 10.

以上の通り、アドレス変換に関する処理は、ページサイ
ズ制御ビット(Bビット)4の値に応じて行われる。
As described above, processing related to address conversion is performed according to the value of the page size control bit (B bit) 4.

TLBヒツトにミスした場合には、論理アドレス1のセ
グメント番号7aと、制御レジスタ18のセグメントテ
ーブル先頭アドレス15 (第3図B −5To)に基
づきセグメントテーブルが検索される。
If a TLB hit is missed, the segment table is searched based on the segment number 7a of the logical address 1 and the segment table start address 15 (FIG. 3B-5To) of the control register 18.

そして、第5図CのセグメントテーブルエントリSTE
が読みだされる。
And segment table entry STE in Figure 5C
is read out.

次いで、読み出されたセグメントテーブルエントリST
Hのページテーブル先頭アドレス(第3図C−PTO)
を参照し、ページテーブルの検索、第5図りのページテ
ーブルエントリPTEの読みたしが行われる。
Then, the read segment table entry ST
H page table start address (Figure 3 C-PTO)
, the page table is searched and the page table entry PTE shown in Figure 5 is read.

読み出されたページテーブルエントリPTE内のページ
フレーム(第3図D−PFRA)=と、論理アドレス1
内のページ内変位8により、実アドレス12が形成され
、セグメントテーブル起点14、論理アドレス11とと
もにTLB2に登録される。
The page frame (D-PFRA in FIG. 3) in the read page table entry PTE and the logical address 1
A real address 12 is formed by the intra-page displacement 8 within, and is registered in the TLB 2 along with the segment table starting point 14 and the logical address 11.

以降のアドレス変換には、このTLB2の登録内容、即
ちTLBエントリ3によりおこなわれる。
Subsequent address translation is performed using the registered contents of TLB2, ie, TLB entry 3.

このTLB2への実アドレス12登録時に、ぺ一ジサイ
ズを示すBビット4を同時に格納することにより、以降
のアドレス変換時にページサイズに応じた変換を行なう
ことが可能となる。
By simultaneously storing the B bit 4 indicating the page size when registering the real address 12 in the TLB 2, it becomes possible to perform conversion according to the page size during subsequent address conversion.

尚、本実施例では、ページサイズを4KBと16にBの
二種類としたが、Bビ、7トのビ、7ト数や定義方法を
変えることにより、他のページサイズや、その種類に対
応することができる。
In this example, there are two types of page sizes: 4 KB and 16 B, but by changing the number of B bits, 7 bits, 7 bits, and the definition method, other page sizes and types can be used. can be accommodated.

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

以上述べてきたように、本発明によれば、ページサイズ
を拡張することが動的に可能であるため、TLBの容量
を増加させることなくTLBのヒツト率を向上させるこ
とが可能となり、実質的なTLBの容量増大を可能とす
る。更に、TLBエントリに対応する実メモリの大きさ
を空間ごとに変化させることができるので、実メモリの
フラグメンテ−シランを起こすことなく、情報処理能力
の向上をはかることができる。
As described above, according to the present invention, since it is possible to dynamically expand the page size, it is possible to improve the TLB hit rate without increasing the TLB capacity, and this makes it possible to improve the TLB hit rate without increasing the TLB capacity. This makes it possible to increase the capacity of TLB. Furthermore, since the size of the real memory corresponding to the TLB entry can be changed for each space, it is possible to improve the information processing capacity without causing fragmentation of the real memory.

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

第1図は本発明の原理構成図、第2図は一実施例のTL
Bによるアドレス変換に係る部分のシステム構成図、第
3図はアドレス変換に係るアドレス並びに変換テーブル
、第4図は一実施例におけるTLB検索によるアドレス
変換システム、第5図はTLBによるアドレス変換であ
る。 図において、1は論理アドレス、2はTLB、3はTL
Bエントリ、4はページサイズ制御ビ・ノド、6は実ア
ドレスである。 本発明へ原土里楕仄図 第 1 図 −実売例の千LBIこよるアドレス変換((係る部分の
システム構成図 第Z図 ページ゛テーブルニジトリ 第3図 D (1〕欠−ジサイス′4にB (2)公−5リイス″16にB 突アドレス 第3図E TLB4.’よる7ドルス変挟 第5図
Fig. 1 is a diagram of the principle configuration of the present invention, and Fig. 2 is a TL diagram of one embodiment.
A system configuration diagram of the part related to address conversion by B, FIG. 3 is an address and conversion table related to address conversion, FIG. 4 is an address conversion system using TLB search in one embodiment, and FIG. 5 is address conversion using TLB. . In the figure, 1 is the logical address, 2 is the TLB, and 3 is the TL.
B entry, 4 is the page size control bit, and 6 is the real address. Figure 1 - Address conversion by 1,000 LBI of actual sales example ((System configuration diagram of the relevant part Figure Z page Table storage Figure 3 D 4 to B (2) Public - 5 Reis'' 16 to B Thrust address Figure 3 E TLB4.' 7 dollar transposition Figure 5

Claims (1)

【特許請求の範囲】 1、仮想アドレス(1)から実アドレス(6)への動的
アドレス変換時に、前記仮想アドレス(1)とそれに対
応する実アドレス(6)とのアドレス対(3)を格納す
る変換メモリ(2)を用い、格納された前記アドレス対
(3)と前記仮想アドレス(1)とを比較することによ
りアドレス変換を行なうアドレス変換装置を有する情報
処理装置において、 仮想アドレス空間と実アドレス空間との対応の最小単位
である実ページの、それぞれの仮想アドレス空間ごとに
異なって設定されるページサイズを示すページサイズ制
御ビット(4)を格納する手段と、 前記変換メモリ(2)による前記アドレス変換時に、前
記変換メモリ(2)のアドレス対(3)のアクセスに使
用するアドレスの一部を、前記ページサイズ制御ビット
(4)の値により変更する手段と、 前記ページサイズ制御ビット(4)の値に応じて、比較
対象とするビット数を変更してアドレス変換を行なう手
段とを有することを特徴とする、アドレス変換方式。 2、前記変換メモリ(2)によるアドレス変換において
、前記ページサイズ制御ビット(4)は、前記変換メモ
リ(2)のアドレス対(3)内に格納されていることを
特徴とする、請求項1記載のアドレス変換方式。
[Claims] 1. At the time of dynamic address conversion from virtual address (1) to real address (6), address pair (3) of the virtual address (1) and the corresponding real address (6) is An information processing device having an address translation device that performs address translation by comparing the stored address pair (3) and the virtual address (1) using a translation memory (2) for storing the virtual address space. means for storing a page size control bit (4) indicating a page size that is set differently for each virtual address space of a real page, which is the minimum unit of correspondence with the real address space; and the translation memory (2). means for changing a part of the address used for accessing the address pair (3) of the translation memory (2) by the value of the page size control bit (4) during the address conversion by the page size control bit; (4) An address conversion method characterized by comprising means for performing address conversion by changing the number of bits to be compared in accordance with the value of (4). 2. In address translation by the translation memory (2), the page size control bit (4) is stored in an address pair (3) of the translation memory (2). Address translation method described.
JP2285102A 1990-10-23 1990-10-23 Address conversion system Pending JPH04160448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2285102A JPH04160448A (en) 1990-10-23 1990-10-23 Address conversion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2285102A JPH04160448A (en) 1990-10-23 1990-10-23 Address conversion system

Publications (1)

Publication Number Publication Date
JPH04160448A true JPH04160448A (en) 1992-06-03

Family

ID=17687151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2285102A Pending JPH04160448A (en) 1990-10-23 1990-10-23 Address conversion system

Country Status (1)

Country Link
JP (1) JPH04160448A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08115261A (en) * 1994-10-14 1996-05-07 Hitachi Ltd Address conversion circuit
JPH08320830A (en) * 1994-09-09 1996-12-03 Hitachi Ltd Data processor
JP2011204247A (en) * 2006-02-22 2011-10-13 Sony Computer Entertainment Inc Method and apparatus for providing independent logical address space and access management

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08320830A (en) * 1994-09-09 1996-12-03 Hitachi Ltd Data processor
JPH08115261A (en) * 1994-10-14 1996-05-07 Hitachi Ltd Address conversion circuit
JP2011204247A (en) * 2006-02-22 2011-10-13 Sony Computer Entertainment Inc Method and apparatus for providing independent logical address space and access management
US8533426B2 (en) 2006-02-22 2013-09-10 Sony Corporation Methods and apparatus for providing independent logical address space and access management

Similar Documents

Publication Publication Date Title
US8151085B2 (en) Method for address translation in virtual machines
US5475827A (en) Dynamic look-aside table for multiple size pages
JPH02189659A (en) Address converter
JP3666689B2 (en) Virtual address translation method
JPH04319747A (en) Address converting mechanism
JP4920378B2 (en) Information processing apparatus and data search method
US7269825B1 (en) Method and system for relative address translation
JPS6159554A (en) Cache memory control circuit
JP3449487B2 (en) Conversion index buffer mechanism
JPS61148551A (en) Address converting system
KR910001314B1 (en) Method for operating data processing system
JPH04160448A (en) Address conversion system
JPH05100956A (en) Address converter
KR960008320B1 (en) System equipped with processor and method of converting addresses in the said system
JPH0540694A (en) Cache memory device
JPH04335431A (en) Information processor
JPS623354A (en) Cache memory access system
WO1999057642A1 (en) Data processing device and method
US20200117613A1 (en) Configuration Cache For The ARM SMMUv3
JPS6410858B2 (en)
JPS589452B2 (en) Firmware broom
JPS61271572A (en) Cache memory
JPH05197622A (en) Cache subsystem
JPS6324337A (en) Cache memory managing system
JPH11296431A (en) Information processor and mapping method for cache memory