JPS63168752A - Address conversion buffer control system - Google Patents

Address conversion buffer control system

Info

Publication number
JPS63168752A
JPS63168752A JP62001466A JP146687A JPS63168752A JP S63168752 A JPS63168752 A JP S63168752A JP 62001466 A JP62001466 A JP 62001466A JP 146687 A JP146687 A JP 146687A JP S63168752 A JPS63168752 A JP S63168752A
Authority
JP
Japan
Prior art keywords
address
address translation
buffer
processor chip
address conversion
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
JP62001466A
Other languages
Japanese (ja)
Inventor
Haruo Kohama
小浜 晴雄
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP62001466A priority Critical patent/JPS63168752A/en
Publication of JPS63168752A publication Critical patent/JPS63168752A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To improve the processing capability of a processor by providing two buffers, an address conversion buffer in a processor chip and an address conversion buffer at the outside of the processor chip. CONSTITUTION:Even when no objective address conversion information exists in the address conversion buffer 2 in the processor chip, when the information exists in the address conversion buffer 7 at the outside of the processor chip, since the information is used for registration on an address conversion buffer in the processor chip and for address conversion, the address conversion processing is applied at a high speed. Moreover, the entry number and the constitution of the address conversion buffer 2 in processor chip are decided independently, the rate of indexing the address conversion list on the memory in case of the address conversion is reduced without giving affect on the processor chip by increasing the number of entries of the address conversion buffer 7 at the outside of the processor chip.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、仮想記憶方式を採用し、アドレス変換バッフ
ァをプロセッサチップ内に持つマイクロプロセッサ等で
のアドレス変換バッファの制御方式に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for an address translation buffer in a microprocessor or the like which employs a virtual memory method and has an address translation buffer within a processor chip.

〔従来の技術〕[Conventional technology]

アドレス変換バッファは、メモリのページ単位での論理
アドレスと実アドレスのアドレス変換対を保持し、論理
アドレスから笑アドレスへのアドレス変換を、メモリ上
のアドレス変換表を索引することなく、高速に行うため
に設けたものである。
The address translation buffer holds address translation pairs of logical addresses and real addresses in memory page units, and performs address translation from logical addresses to logical addresses at high speed without indexing the address translation table in memory. It was established for this purpose.

プロセッサ上で実行さnるfoダラムの所要ページ数よ
り、アドレス変換バッファに登録できるアドレス変換対
の数(すなわちアドレス変換バ。
The number of address translation pairs that can be registered in the address translation buffer (i.e., the number of address translation pairs that can be registered in the address translation buffer) is determined by the number of required pages of the fo daram executed on the processor.

ファのエントリ数)が多いと、そのプログラム実行中は
、メモリ上のアドレス変換表を索引することなく(すな
わち、アドレス変換バッファに登録さnた情報のみで)
アドレス変換が行え、プログラム処理が高速に行える。
If the number of entries in the address translation buffer is large, the address translation table in memory will not be indexed during program execution (i.e., only the information registered in the address translation buffer will be used).
Address conversion can be performed and program processing can be performed at high speed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、マイクロプロセッサ等、プロセッサチップ内に
アドレス変換バッファを内蔵したプロセッサでに、1チ
ツプに収容可能なハードウェア量のIIJ [から、ア
ドレス変換バッファのエントリ数が少なく、プロセッサ
でのプログラム実行中に、たびたび、メモリ上のアドレ
ス変換バッファを索引する必要がちシ、その分プログラ
ム処理時間が遅くなっていた。
However, in processors such as microprocessors that have an address translation buffer built into the processor chip, the amount of hardware that can be accommodated in one chip is small. , it was often necessary to index the address translation buffer in memory, which slowed down program processing time.

本発明の目的はマイクロプロセッサ等、プロセッサチッ
プ内にアドレス変換バッファを内蔵したプロセッサにお
いて、プロセッサチップのハードウェア量の増加なしに
、アドレス変換バッファのエントリ数を増やす手段を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a means for increasing the number of entries in an address translation buffer in a processor such as a microprocessor that has an address translation buffer built into the processor chip without increasing the amount of hardware in the processor chip.

〔問題点を解決する友めの手段と作用〕本発明は、仮想
記憶方式の情報処理システムのCPU (中央処理装置
)において、プロセッサチップ外に低速・大容量のアド
レス変換バッファを設け、アドレス変換において、プロ
セッサチップ内の高速・小容量のアドレス変換バッファ
に求める情報がなくても、プロセッサチップ外のアドレ
ス変換バッファに求めるアドレス変換情報がちnば、フ
ロセッサチップ外のアドレス変換バッファから読出した
アドレス変換情報によりアドレス変換を行うとともに該
アドレス変換情報をプロセッサチップ内のアドレス変換
バッファに登録することを最も主要な特徴とする。
[Companion means and effects for solving the problem] The present invention provides a low-speed, large-capacity address translation buffer outside the processor chip in a CPU (central processing unit) of a virtual memory type information processing system, and performs address translation. In this case, even if the high-speed, small-capacity address translation buffer inside the processor chip does not have the required information, if the address translation buffer outside the processor chip tends to have the address translation information, the address read from the address translation buffer outside the processor chip. The most important feature is that address translation is performed using translation information and the address translation information is registered in an address translation buffer within the processor chip.

従来の技術とは、プロセッサチップ内のアドレス変換バ
ッファと、プロセッサチップ外のアドレス変換バッファ
の2つを持つことが異なる。
This technology differs from the conventional technology in that it has two address translation buffers: an address translation buffer inside the processor chip and an address translation buffer outside the processor chip.

〔実施例〕〔Example〕

第1図は本発明の一実施例を説明する図であって、1は
プロセッサチップ内で論理ページアドレスを保持するレ
ジスタ、2はプロセッサチップ内のアドレス変換バッフ
ァ、3はアドレスレジスタ1の値とアドレス変換バッフ
ァ2の論理アドレス部の内容を比較する回路、41はア
ドレス変換バッファ2の実アドレス部の出力のダート回
路、5はメモリ上のアドレス変換表を索引して実アドレ
スを求める制御回路、6はプロセッサチップ内で実ペー
ジアドレスを保持するレジスタ、8はアンド回路、11
はフロセッサチップ外で論理ページアドレスを保持する
レジスタ、7はプロセッサチップ外のアドレス変換バッ
ファ、31はアドレスレジスタ11の値とアドレス変換
バッファ7の論理アドレス部の内容を比較する回路、4
2はアドレス変換バッファ7の実アドレス部の出力のダ
ート回路である。
FIG. 1 is a diagram explaining one embodiment of the present invention, in which 1 is a register that holds a logical page address within a processor chip, 2 is an address translation buffer within the processor chip, and 3 is a value of address register 1. A circuit for comparing the contents of the logical address section of the address translation buffer 2; 41 a dirt circuit for outputting the real address section of the address translation buffer 2; 5 a control circuit for indexing the address translation table on the memory to obtain a real address; 6 is a register that holds the real page address within the processor chip; 8 is an AND circuit; 11
4 is a register that holds a logical page address outside the processor chip; 7 is an address conversion buffer outside the processor chip; 31 is a circuit that compares the value of the address register 11 with the contents of the logical address section of the address conversion buffer 7;
2 is a dart circuit for outputting the real address part of the address translation buffer 7.

プロセッサチップ内のアドレス変換バッファ2は、アド
レスレジスタlの下位2ビツトでアドレスさnる4つの
エントリ(201〜2o4)から成り、フロセッサチッ
プ外のアドレス変換バッファ7は、アドレスレジスタ1
ノの下位4ピツトでアドレスさnる16のエントリ (
701〜716)から成る。ま之、アドレス変換バッフ
ァの各エントリは、論理ページアドレスの上位ビットを
保持する論理アドレス部と、実ページアドレスを保持す
る笑アドレス部から成る。
Address translation buffer 2 inside the processor chip consists of four entries (201 to 2o4) addressed by the lower two bits of address register l, and address translation buffer 7 outside the processor chip consists of four entries (201 to 2o4) addressed by the lower two bits of address register l.
16 entries addressed in the lower four pits of (
701 to 716). Each entry in the address translation buffer consists of a logical address section that holds the upper bits of the logical page address and an address section that holds the real page address.

プロセッサでアドレス変換を行う際には、論理ページア
ドレス(Lビット)をアドレスレジスタ1および11の
両方に設定する。
When the processor performs address conversion, a logical page address (L bit) is set in both address registers 1 and 11.

アドレスレジスタlに論理ページアドレスが設定さnる
と、比較回路3は、アドレス変換バッファ2のエントリ
の内、アドレスレジスタlの下位2ビ、トで示さnるエ
ントリ201を読出し、読出し几エントリ201の論理
アドレス部の内容と、アドレスレジスタ1の上位(L−
2)ビットとを比較する。エントリ201の論理アドレ
ス部の内容とアドレスレジスタ1の上位(L−2)ビッ
トが一致した場合、エン) リ201の実アドレス部の
内容が求める実ページアドレスであり、ダート回路41
を介してアドレスレジスタ6に設定する。
When a logical page address is set in the address register l, the comparator circuit 3 reads out the entry 201 indicated by the lower two bits of the address register l among the entries in the address translation buffer 2, and reads out the entry 201. The contents of the logical address field and the upper part of address register 1 (L-
2) Compare with bit. If the content of the logical address field of the entry 201 and the upper (L-2) bit of the address register 1 match, the content of the real address field of the entry 201 is the desired real page address, and the dart circuit 41
is set in the address register 6 via the address register 6.

アドレス変換バッファ2に、求めるアドレス変換情報が
あっ之(すなわち、アドレスレゾスタ1の下位2ビツト
で示さnるエントリ201の論理アドレス部の内容と、
アドレスレジスタ1の上位(L−2)ビットとが一致し
た)@合、プロセ。
The desired address translation information is present in the address translation buffer 2 (that is, the contents of the logical address part of the entry 201 indicated by n indicated by the lower two bits of the address register 1,
If the upper (L-2) bit of address register 1 matches), the processor.

サチッグ外のアドレス変換バッファ7から読出した情報
はダート回路42によp抑止する。
Information read from the address conversion buffer 7 outside the satig is suppressed by the dart circuit 42.

プロセッサチップ外のアドレスレジスタ11/C論理ペ
ージアドレスが設定さすると、比較回路31ii、アド
レス変換バッファ7のエントリの内、アドレスレジスタ
11の下位4ビツトで示さn、るエントリ705を読出
し、読出し次エントリ705の論理アドレス部の内容と
、アドレスレジスタ11の上位(L−4)ビットとを比
較する。工/トリフ05の論理アドレス部の内容とアド
レスレジスタ11の上位(L−4)ビットが一致しfc
s合、エントリ705の笑アドレス部の内容が求める実
ページアドレスであシ、プロセッサチップ内のアドレス
変換バッファ2に求めるアドレス変換情報がなけnば(
すなわち、アドレスレジスタ1の下位2ビ、トで示さn
るエントリ201の論理アドレス部の内容と、アドレス
レジスタ1の上位(L−2)ビットとが一致しなけnば
)、エントリ705の実アドレス部の内容をダート回路
42を介してアドレスレジスタ6に設定する。te、プ
ロセッサチップ内のアドレス変換バッファ2のアドレス
レジスタ1の下位2ビ、トで示さnたエントリ201に
、アドレスレジスタ1の上位(L−2)ビットの値と、
アドレス変換バッファ7のエントリ705の実アドレス
部から読出した実ページアドレスを登録する。
When the address register 11/C logical page address outside the processor chip is set, the comparator circuit 31ii reads out the entry 705 indicated by the lower 4 bits of the address register 11 among the entries in the address conversion buffer 7, and reads out the next entry. The contents of the logical address field 705 and the upper (L-4) bit of the address register 11 are compared. If the contents of the logical address field of the process/triff 05 and the upper (L-4) bit of the address register 11 match, fc
If the content of the address section of entry 705 is the desired real page address, and there is no desired address translation information in the address translation buffer 2 in the processor chip, then (
In other words, the lower two bits of address register 1, indicated by
If the contents of the logical address field of the entry 201 and the upper (L-2) bit of the address register 1 do not match), the contents of the real address field of the entry 705 are sent to the address register 6 via the dart circuit 42. Set. te, the lower 2 bits of the address register 1 of the address translation buffer 2 in the processor chip, and the value of the upper (L-2) bit of the address register 1 in the entry 201 indicated by g,
The real page address read from the real address field of entry 705 of address translation buffer 7 is registered.

プロセッサチップ内のアドレス変換バッファ2に求める
アドレス変換情報がなく(すなわち、アドレスレジスタ
1の下位2ビ、トで示されるエントリ201の論理アド
レス部の内容と、アドレスレジスタ1の上位(L−2)
ビットとが一致しない)、プロセッサチップ外のアドレ
ス変換バッファ7にも求めるアドレス変換情報がない(
すなわち、アドレスレジスタ11の下位4ビツトで示さ
nるエントリ705の論理アドレス部の内容と、アドレ
スレジスタ11の上位(L−4)ビットとが一致しない
)場合、制御回路5が、メモリ上のアドレス変換表を索
引し、論理ベーソアドレスを実ページアドレスに変換し
、アドレスレジスタ6に設定する。また、プロセッサチ
ップ内のアドレス変換バッファ2のアドレスレジスタ1
の下位2ビツトで示さnるエントリ201に、アドレス
レジスタ1の上位(L−2)ビットの値と、アドレス変
換表から求めた実ページアドレスを登録するとともに、
プロセッサチップ外のアドレス変換バッファ7のアドレ
スレジスタ11の下位4ビツトで示さnるエントリ70
5に、アドレスレジスタ11の上位(L−4)ビットの
値と、アドレス変換表から求めた実ページアドレスを登
録する。
There is no required address translation information in the address translation buffer 2 in the processor chip (that is, the contents of the logical address part of the entry 201 indicated by the lower 2 bits of the address register 1 and the upper (L-2) of the address register 1)
bits do not match), and there is no required address translation information in the address translation buffer 7 outside the processor chip (
In other words, if the contents of the logical address section of the entry 705 indicated by n indicated by the lower 4 bits of the address register 11 do not match the upper (L-4) bits of the address register 11, the control circuit 5 The conversion table is indexed, the logical baso address is converted to a real page address, and the address is set in the address register 6. Also, address register 1 of address translation buffer 2 in the processor chip
The value of the upper (L-2) bits of address register 1 and the real page address obtained from the address conversion table are registered in the entry 201 indicated by the lower two bits of
Entry 70 indicated by the lower 4 bits of the address register 11 of the address translation buffer 7 outside the processor chip
5, the value of the upper (L-4) bit of the address register 11 and the real page address obtained from the address conversion table are registered.

このように本発明では、プロセッサチップ内のアドレス
変換バッファ2に求めるアドレス変換情報がない場合で
も、プロセッサチップ外のアドレス変換バッファ7に求
める情報があnば、該情報によりアドレス変換とプロセ
ッサチップ内アドレス変換バッファへの登録を行うため
、メモリ上のアドレス変換表を索引して実ページアドレ
スを求めるケースに比べ、アドレス変換処理が高速に行
光る。
In this way, in the present invention, even if there is no address translation information required in the address translation buffer 2 within the processor chip, if there is information required in the address translation buffer 7 outside the processor chip, the address translation and internal processing are performed using this information. Because registration is performed in the address translation buffer, the address translation process is faster than in the case where the real page address is obtained by indexing an address translation table in memory.

また、プロセッサチップ外のアドレス変換ノ4ッ7ア7
のエントリ数、構成(セクシ璽ン数、セクシ日ン内エン
トリ数)は、プロセッサチップ内のアドレス変換バッフ
ァ2のエントリ数、構成とは独立に決定することができ
る。このため、プロセ、サチ、プ外のアドレス変換バッ
ファ7のエントリ数を増やすことにより、プロセッサチ
ップに影響なく、アドレス変換に際してメモリ上のアド
レス変換表を索引する割合を低減することができる。
In addition, address conversion outside the processor chip
The number of entries and configuration (number of sexy lines, number of entries in sexy days) can be determined independently of the number of entries and configuration of the address translation buffer 2 in the processor chip. Therefore, by increasing the number of entries in the address translation buffer 7 outside the processor, search, and program, the ratio of indexing the address translation table in memory during address translation can be reduced without affecting the processor chip.

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

本発明により、マイクロプロセッサ等、プロセッサチッ
プ内にアドレス変換バッファを内蔵したプロセ、すにお
いて、プロセッサチップの71−ドウエア量の増加なし
に、アドレス変換バッファのエントリ数を増やすことが
可能になり、アドレス変換処理が高速に行え、プロセッ
サの処理能力の向上が図nる。
The present invention makes it possible to increase the number of entries in the address translation buffer without increasing the amount of hardware on the processor chip in a processor such as a microprocessor that has an address translation buffer built into the processor chip. Conversion processing can be performed at high speed, and the throughput of the processor can be improved.

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

第1図は本発明の一実施例を示す溝底説明図である。 1・・・プロセッサチップ内で論理ページアドレスを保
持するレジスタ、2・・・プロセッサチップ内のアドレ
ス変換バッファ、3・・・アドレスレジスタ1の値とア
ドレス変換バッファ2の論理アドレス部の内容を比較す
る回路、41・・・アドレス変換パ。 ノア2の実アドレス部の出力のダート回路、5・・・メ
モリ上のアドレス変換表を索引して実アドレスを求める
制御回路、6・・・プロセッサチップ内で実ページアド
レスを保持するレジスタ、8・・・アンド回路、1ノ・
・・グロセッテチップ外で論理(−ノアドレスを保持す
るレジスタ、7・・・グロセッサチッ7’外のアドレス
変換バッファ、31・・・アドレスレジスタIIO値と
アドレス変換バッファ7の論理アドレス部の内容を比較
する回路、42・・・アドレス変換バッファ7の実アド
レス部の出力のダート回路。
FIG. 1 is an explanatory diagram of a groove bottom showing an embodiment of the present invention. 1... A register that holds a logical page address in the processor chip, 2... Address translation buffer in the processor chip, 3... Compare the value of address register 1 and the contents of the logical address part of address translation buffer 2. 41...address conversion circuit. A dart circuit for the output of the real address section of NOA 2, 5... A control circuit that indexes the address conversion table on the memory to obtain a real address, 6... A register that holds a real page address in the processor chip, 8 ...AND circuit, 1 no.
...A register that holds logic (-) addresses outside the grossette chip, 7...An address translation buffer outside the grosser chip 7', 31...The contents of the address register IIO value and the logical address part of the address translation buffer 7 are stored. Comparison circuit 42: a dirt circuit for outputting the real address part of the address conversion buffer 7.

Claims (1)

【特許請求の範囲】[Claims] 仮想記憶方式の情報処理システムのCPUにおいて、高
速・小容量の第1のアドレス変換バッファと、低速・大
容量の第2のアドレス変換バッファを設け、論理アドレ
スから実アドレスへのアドレス変換を行う際に、求める
アドレス変換情報が第1のアドレス変換バッファに登録
されている場合は、第1のアドレス変換バッファから読
出したアドレス変換情報によりアドレス変換を行い、求
めるアドレス変換情報が第1のアドレス変換バッファに
なく、第2のアドレス変換バッファに登録されている場
合は、第2のアドレス変換バッファから読出したアドレ
ス変換情報によりアドレス変換を行うとともに、該アド
レス変換情報を第1のアドレス変換バッファに登録し、
求めるアドレス変換情報が第1、第2のいずれのアドレ
ス変換バッファにもない場合は、メモリ上のアドレス変
換表を参照して求めたアドレス変換情報によりアドレス
変換を行うとともに、該アドレス変換情報を第1のアド
レス変換バッファと第2のアドレス変換バッファの両方
に登録することを特徴とするアドレス変換バッファ制御
方式。
In a CPU of a virtual memory type information processing system, a high-speed, small-capacity first address translation buffer and a low-speed, large-capacity second address translation buffer are provided to perform address translation from a logical address to a real address. If the desired address translation information is registered in the first address translation buffer, address translation is performed using the address translation information read from the first address translation buffer, and the desired address translation information is registered in the first address translation buffer. If the address translation information is not registered in the second address translation buffer, address translation is performed using the address translation information read from the second address translation buffer, and the address translation information is registered in the first address translation buffer. ,
If the desired address translation information is not in either the first or second address translation buffer, address translation is performed using the address translation information obtained by referring to the address translation table in memory, and the address translation information is transferred to the second address translation buffer. An address translation buffer control method characterized by registering in both a first address translation buffer and a second address translation buffer.
JP62001466A 1987-01-07 1987-01-07 Address conversion buffer control system Pending JPS63168752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62001466A JPS63168752A (en) 1987-01-07 1987-01-07 Address conversion buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62001466A JPS63168752A (en) 1987-01-07 1987-01-07 Address conversion buffer control system

Publications (1)

Publication Number Publication Date
JPS63168752A true JPS63168752A (en) 1988-07-12

Family

ID=11502240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62001466A Pending JPS63168752A (en) 1987-01-07 1987-01-07 Address conversion buffer control system

Country Status (1)

Country Link
JP (1) JPS63168752A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03175548A (en) * 1989-12-04 1991-07-30 Fujitsu Ltd Microprocessor and address control system
JPH03218546A (en) * 1990-01-24 1991-09-26 Nec Corp Address conversion mechanism

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03175548A (en) * 1989-12-04 1991-07-30 Fujitsu Ltd Microprocessor and address control system
JPH03218546A (en) * 1990-01-24 1991-09-26 Nec Corp Address conversion mechanism

Similar Documents

Publication Publication Date Title
US6901501B2 (en) Data processor
JPH0630075B2 (en) Data processing device having cache memory
JPH0512126A (en) Device and method for address conversion for virtual computer
KR910001314B1 (en) Method for operating data processing system
US5226132A (en) Multiple virtual addressing using/comparing translation pairs of addresses comprising a space address and an origin address (sto) while using space registers as storage devices for a data processing system
US5440708A (en) Microprocessor and storage management system having said microprocessor
JPH0550776B2 (en)
JP3190700B2 (en) Address translator
JPS63168752A (en) Address conversion buffer control system
JPS60107156A (en) Data processing system
JPS59173828A (en) Data processing system
JPH0552539B2 (en)
JPH03189749A (en) Address converting device
JPH0546462A (en) Multi-cpu address conversion mechanism
JPH0547856B2 (en)
JPH02176839A (en) Information processor
JPH0679296B2 (en) Multiple virtual address space access method and data processing device
JPS63240651A (en) Cache memory
JPS59107478A (en) Translation lookaside buffer memory
JPH04148352A (en) Address converting system for information processor equipped with plural processor
JPH06139148A (en) Address specifying circuit
JPH03271859A (en) Information processor
JPH04190440A (en) Address conversion control system
JPH04205535A (en) Copy on write system
JPH0573424A (en) High speed address converting system