Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0510695B2 - - Google Patents
[go: Go Back, main page]

JPH0510695B2 - - Google Patents

Info

Publication number
JPH0510695B2
JPH0510695B2 JP60295726A JP29572685A JPH0510695B2 JP H0510695 B2 JPH0510695 B2 JP H0510695B2 JP 60295726 A JP60295726 A JP 60295726A JP 29572685 A JP29572685 A JP 29572685A JP H0510695 B2 JPH0510695 B2 JP H0510695B2
Authority
JP
Japan
Prior art keywords
address translation
address
register
buffer
selector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60295726A
Other languages
Japanese (ja)
Other versions
JPS62154154A (en
Inventor
Naoto Kaji
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP60295726A priority Critical patent/JPS62154154A/en
Publication of JPS62154154A publication Critical patent/JPS62154154A/en
Publication of JPH0510695B2 publication Critical patent/JPH0510695B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置におけるアドレス変換装
置に関し、特にアドレス変換バツフアを用いたア
ドレス変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an address translation device in an information processing device, and more particularly to an address translation device using an address translation buffer.

(従来の技術) 従来、アドレス変換を行う処理装置において
は、第2図に示されるようにTLB(Transla−
tion Lookaside Buffer)と呼ばれるバツフア2
1を用いてアドレス変換が行われている。すなわ
ち、アドレスレジスタ22の論理部L1で上記バ
ツフア21(TLB)のエントリ方向にアクセス
し、得られた実アドレスをアドレスレジスタ22
の論理部L2と比較器23で比較し、ヒツトであ
るか、あるいはミスヒツトであるかを検出し、ミ
スヒツト時には主記憶装置の内部のアドレス変換
表をこのエントリにロードしてから、アドレス変
換を行う方式が一般的に採用されている。
(Prior Art) Conventionally, in a processing device that performs address translation, TLB (Translator) is used as shown in FIG.
tion Lookaside Buffer)
1 is used for address translation. That is, the logic section L1 of the address register 22 accesses the entry direction of the buffer 21 (TLB), and the obtained real address is transferred to the address register 22.
The comparator 23 compares the logic part L2 with the comparator 23 to detect whether it is a hit or a miss.If there is a miss, the address translation table inside the main memory is loaded into this entry, and then the address translation is performed. method is generally adopted.

(発明が解決しようとする問題点) 上述した従来のTLBを採用した方式では、各
エントリごとにアドレス変換データの有効/無効
を指示する有効ビツトをもつているので、アドレ
ス変換表を読出してからアドレスの論理部を比較
し、ヒツト/ミスヒツトを検出するパスが遅延時
間上のネツクになるので、マシンサイクルを決定
する大きな要因となる。また、ミスヒツトが発生
するごとに、アドレス変換バツフアのなかの必要
なエントリのみをロードしてくるので、ミスヒツ
トが多発したときにはメモリからバツフアへのロ
ードが頻繁に行われ、装置全体の処理速度が大き
く低下するという欠点があつた。
(Problems to be Solved by the Invention) In the above-mentioned conventional TLB system, each entry has a valid bit that indicates whether address translation data is valid or invalid. The path that compares the logical parts of addresses and detects hits/misses becomes a link in delay time and is therefore a major factor in determining machine cycles. In addition, each time a mishit occurs, only the necessary entries in the address translation buffer are loaded, so when there are many mishits, loading from memory to the buffer is performed frequently, which greatly increases the processing speed of the entire device. The disadvantage was that it decreased.

本発明の目的は、各論理アドレス空間が同一ペ
ージ数をもつた複数の部分空間に分割され、アド
レス変換を高速に行うために全論理アドレス空間
に対するアドレス変換表の写しを保持するアドレ
ス変換バツフアを備え、さらにアドレス変換バツ
フアは上記部分空間単位に複数に分割された分割
単位ごとにアドレス変換表の写しの有効性を示す
表示子を備え、上記表示子によつて前記アドレス
変換バツフアへの参照およびロードを上記分割単
位ごとに制御することによつて上記欠点を除去
し、処理速度の低下しないように構成したアドレ
ス変換装置を提供することにある。
An object of the present invention is to provide an address translation buffer in which each logical address space is divided into a plurality of subspaces having the same number of pages, and which holds a copy of an address translation table for the entire logical address space in order to perform address translation at high speed. Further, the address translation buffer is provided with an indicator indicating the validity of the copy of the address translation table for each division unit divided into a plurality of subspace units, and the indicator allows reference to the address translation buffer and It is an object of the present invention to provide an address translation device that eliminates the above-mentioned drawbacks by controlling the load for each division unit, and is configured so that the processing speed does not decrease.

(問題点を解決するための手段) 本発明によるアドレス変換装置はアドレス変換
バツフアと、制御手段とを具備して構成したもの
である。
(Means for Solving the Problems) An address translation device according to the present invention includes an address translation buffer and control means.

アドレス変換バツフアは、同一容量のページに
分割された論理アドレス空間と同一のページ数を
有して複数の部分空間に分割され、全論理アドレ
ス空間に対するアドレス変換表の写しを保持する
とともに、アドレス変換表の写しの有効性を示す
表示子を有してアドレス変換を高速に行うための
ものである。
The address translation buffer is divided into a plurality of subspaces having the same number of pages as the logical address space divided into pages of the same capacity, and holds a copy of the address translation table for the entire logical address space. It has an indicator indicating the validity of the copy of the table and is used to perform address conversion at high speed.

制御手段は、表示子によつてアドレス変換バツ
フアへの参照/ロードを分割の単位ごとに制御す
るためのものである。
The control means is for controlling reference/load to the address translation buffer for each division unit by the indicator.

(実施例) 次に、本発明について図面を参照して説明す
る。
(Example) Next, the present invention will be described with reference to the drawings.

第1図は本発明によるアドレス変換装置の一実
施例を示すブロツク図である。第1図において1
は第1のレジスタ、2はアドレス変換バツフア、
3は主記憶装置、4は第2のレジスタ、5は第1
のセレクタ、6はロード制御回路、7は第2のセ
レクタ、8は第3のレジスタである。
FIG. 1 is a block diagram showing an embodiment of an address translation device according to the present invention. In Figure 1, 1
is the first register, 2 is the address translation buffer,
3 is the main memory, 4 is the second register, and 5 is the first register.
6 is a load control circuit, 7 is a second selector, and 8 is a third register.

第1図において、第1のレジスタ1に入力され
た論理アドレスのうち、空間番号Sは信号線10
1により第1のセレクタ5、および第2のセレク
タ7に送出され、ページ番号Pは信号線102に
よりアドレス変換バツフア2に送出され、ページ
内アドレスDは信号線103により第3のレジス
タ8に送出される。主記憶装置3から信号線10
4によりロードデータがアドレス変換バツフア2
に送出され、信号線102により送出されたペー
ジ番号によりアドレス変換バツフア2のそれぞれ
のバツフア2−0〜2−7からそれぞれエントリ
が選択され、信号線105により第2のセレクタ
7に送出される。第2のセレクタ7では、アドレ
ス変換バツフア2−0〜2−7から送出されたア
ドレスの実部Rのひとつを信号線101の情報S
により選択して、信号線106から第3のレジス
タ8のR部に送出する。第2のレジスタ4−0〜
4−7からなる8ビツトのレジスタで、アドレス
変換バツフア2に保持されているアドレス変換表
の写しの有効性を示す表示子を一時記憶するため
のものであり、4−0〜4−7は、それぞれアド
レス変換バツフア2−0〜2−7に対応し、有効
なアドレス変換データがアドレス変換バツフア2
に入力されると、ロード制御回路6によつて第2
のレジスタ4−0〜4−7に対応するビツト位置
に“1”がセツトされる。レジスタ4の出力は信
号線107により第1のセレクタ5に出力され、
第1のセレクタ5では第2のレジスタ4−0〜4
−7の出力から1ビツトを信号線101の情報S
により選択し、ヒツト/ミスヒツト信号としてロ
ード制御回路6に出力する。ロード制御回路6は
ミスヒツト時にリクエストを抑止し、ミスヒツト
が発生したアドレス変換バツフア2の分割単位に
アドレス変換データのロードを指示し、対応する
第2のレジスタ4の該当分割単位に“1”をセツ
トする。
In FIG. 1, among the logical addresses input to the first register 1, the space number S is the signal line 10.
1 to the first selector 5 and second selector 7, the page number P is sent to the address conversion buffer 2 via the signal line 102, and the intra-page address D is sent to the third register 8 via the signal line 103. be done. Main storage device 3 to signal line 10
4, the load data is transferred to address conversion buffer 2.
An entry is selected from each buffer 2-0 to 2-7 of the address conversion buffer 2 according to the page number sent out through the signal line 102, and sent out to the second selector 7 through the signal line 105. The second selector 7 converts one of the real parts R of the addresses sent from the address conversion buffers 2-0 to 2-7 into the information S on the signal line 101.
and sends it to the R section of the third register 8 from the signal line 106. Second register 4-0~
This is an 8-bit register consisting of 4-7, which is used to temporarily store an indicator indicating the validity of the copy of the address translation table held in the address translation buffer 2, and 4-0 to 4-7 are , respectively correspond to address translation buffers 2-0 to 2-7, and valid address translation data is stored in address translation buffer 2.
When the second
"1" is set in the bit positions corresponding to registers 4-0 to 4-7. The output of the register 4 is output to the first selector 5 via the signal line 107,
The first selector 5 selects the second registers 4-0 to 4.
-1 bit from the output of signal line 101
and outputs it to the load control circuit 6 as a hit/miss signal. The load control circuit 6 suppresses the request when a mishit occurs, instructs the load of address translation data to the division unit of the address translation buffer 2 where the mishit has occurred, and sets "1" in the corresponding division unit of the corresponding second register 4. do.

以上の構成により、本発明をさらに詳細に説明
する。第1図において説明を簡単にするため、空
間番号5は5ビツト、ページ番号Pは9ビツト
し、アドレス変換バツフア2のエントリ数は512
×8=4096エントリ、アドレスの実部Rは9ビツ
ト、ページ内アドレスDは12ビツトとする。
With the above configuration, the present invention will be explained in more detail. To simplify the explanation in FIG. 1, space number 5 is 5 bits, page number P is 9 bits, and the number of entries in address translation buffer 2 is 512.
x8=4096 entries, the real part R of the address is 9 bits, and the intra-page address D is 12 bits.

いま、S=4、P=146、D=2748である論理
アドレスがレジスタ1に入力されると、アドレス
変換バツフア2−0〜2−7からはP=146に対
応するアドレスの実部R0〜R7が読出される。
S=4に対応したR4が第2のセレクタ7によつ
て選択され、第3のレジスタ8のR部にセツトさ
れる。いつぽう、ページ内アドレスD=2748は、
直接、第3のレジスタ8の内部に入力される。そ
こで、R4=239であると、第3のレジスタ8から
662392748”が実アドレスとして出力される。第
2のレジスタ4の内容を10101111であるとすれ
ば、レジスタ4−4の内容は“1”であるので、
第1のセレクタ5によつて“1”が選択され、ロ
ード制御回路6にヒツト信号として報告され、実
アドレスは有効であることがわかる。
Now, when a logical address with S=4, P=146, and D=2748 is input to register 1, the real parts R0 to R0 of the address corresponding to P=146 are input from address conversion buffers 2-0 to 2-7. R7 is read.
R4 corresponding to S=4 is selected by the second selector 7 and set in the R section of the third register 8. By the way, address D=2748 on the page is,
It is directly input into the third register 8. Therefore, if R4=239, from the third register 8
662392748" is output as the real address. If the content of second register 4 is 10101111, the content of register 4-4 is "1", so
"1" is selected by the first selector 5 and reported to the load control circuit 6 as a hit signal, indicating that the real address is valid.

次に、S=3、P=146、D=2748である論理
アドレスが第1のレジスタ1に入力されるものと
仮定すれば、“4952748”なる実アドレスが第3の
レジスタ8から出力される。このとき、レジスタ
4−3の内容は0であるので、第1のセレクタ5
から“0”がミスヒツト信号としてロード制御回
路6に出力される。
Next, assuming that the logical address S=3, P=146, D=2748 is input to the first register 1, the real address “4952748” is output from the third register 8. . At this time, the contents of the register 4-3 are 0, so the first selector 5
"0" is output to the load control circuit 6 as a miss signal.

このとき、ロード制御回路6は上記実アドレス
に対するリクエストを抑止し、アドレス変換バツ
フア2−3に対する主記憶装置3の内部のアドレ
ス変換テーブルの先頭アドレスを生成し、アドレ
ス変換バツフア2−3の全エントリに対するアド
レス変換データの一括ロードを指示する。アドレ
ス変換データのロードが終了すると、第2のレジ
スタ4−3に“1”を書込み、アドレス変換バツ
フア2−3が有効になつたことを指示し、リクエ
ストの抑止を解除する。
At this time, the load control circuit 6 suppresses the request for the above-mentioned real address, generates the first address of the address translation table inside the main storage device 3 for the address translation buffer 2-3, and saves all entries of the address translation buffer 2-3. Instructs to load address translation data all at once. When the loading of the address translation data is completed, "1" is written in the second register 4-3, indicating that the address translation buffer 2-3 has become valid, and the request suppression is released.

以上が一連の動作であり、本発明ではヒツト/
ミスヒツトの検出は第2のレジスタ4の出力を第
1のセレクタ5によつて選択して行う。従つて、
従来のTLBのように有効ビツトをアドレス変換
バツフアから読出して検出するというパスが存在
せず、マシンタイム上のネツクにはならない。ま
た、ミスヒツト時にはミスヒツトが発生したエン
トリを含むアドレス変換バツフアの分割単位の全
エントリにアドレス変換データをロードするの
で、ロド後はミスヒツトが連続して発生し難い。
The above is a series of operations, and in the present invention, the human/
Mishit detection is performed by selecting the output of the second register 4 with the first selector 5. Therefore,
Unlike conventional TLBs, there is no path for reading and detecting valid bits from the address translation buffer, and this does not become a bottleneck in machine time. Further, in the event of a mishit, address translation data is loaded into all entries in the divided unit of the address translation buffer including the entry where the mishit has occurred, so that it is difficult for misses to occur continuously after loading.

(発明の効果) 以上説明したように本発明は、全論理空間に対
するアドレス変換バツフアを備えるとともに、等
容量に分割されたアドレス変換バツフアに対して
有効性を示す表示を独立に設けることにより、マ
シンサイクル上のネツクにならずにヒツト/ミス
ヒツトを検出することができるので、マシンサイ
クルの向上を図ることができると云う効果があ
る。また、ミスヒツト時には対応する部分空間の
アドレス変換バツフアのすべてにアドレス変換デ
ータをロードすることができるので、連続してミ
スヒツトが発生し難く、結果的には処理速度の大
幅な向上を図ることができるという効果がある。
(Effects of the Invention) As explained above, the present invention provides an address translation buffer for the entire logical space, and also provides an independent display indicating the validity of the address translation buffer divided into equal capacities. Since hits/misses can be detected without creating a bottleneck in the cycle, the machine cycle can be improved. Additionally, when a mishit occurs, address translation data can be loaded into all address translation buffers in the corresponding subspace, making it difficult for consecutive misses to occur, resulting in a significant improvement in processing speed. There is an effect.

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

第1図は、本発明によるアドレス変換装置の一
実施例を示すブロツク図である。第2図は、従来
技術によるアドレス変換を説明するためのブロツ
ク図である。 1,4,4−0〜4−7,8…レジスタ、2,
2−0〜2−7…アドレス変換バツフア、3…主
記憶装置、5,7…セレクタ、6…ロード制御回
路、101〜110…信号線。
FIG. 1 is a block diagram showing an embodiment of an address translation device according to the present invention. FIG. 2 is a block diagram for explaining address translation according to the prior art. 1, 4, 4-0 to 4-7, 8...Register, 2,
2-0 to 2-7...Address conversion buffer, 3...Main storage device, 5, 7...Selector, 6...Load control circuit, 101 to 110...Signal line.

Claims (1)

【特許請求の範囲】 1 同一容量のページに分割された各論理アドレ
ス空間と同一のページ数を有する複数の部分空間
に分割され、全論理アドレス空間に対するアドレ
ス変換表の写しを保持するとともに、前記アドレ
ス変換表の写しの有効性を示す表示子を有してア
ドレス変換を行うアドレス変換バツフアと、 前記表示子によつて前記アドレス変換バツフア
への参照/ロードを前記分割の単位ごとに制御す
るための制御手段とを具備して構成したことを特
徴とするアドレス変換装置。
[Scope of Claims] 1. Each logical address space divided into pages of the same capacity is divided into a plurality of subspaces having the same number of pages, and holds a copy of the address translation table for the entire logical address space, and an address translation buffer for performing address translation having an indicator indicating the validity of a copy of an address translation table; and controlling references/loads to the address translation buffer for each division unit by the indicator; 1. An address translation device comprising: control means.
JP60295726A 1985-12-27 1985-12-27 Address converting device Granted JPS62154154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60295726A JPS62154154A (en) 1985-12-27 1985-12-27 Address converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60295726A JPS62154154A (en) 1985-12-27 1985-12-27 Address converting device

Publications (2)

Publication Number Publication Date
JPS62154154A JPS62154154A (en) 1987-07-09
JPH0510695B2 true JPH0510695B2 (en) 1993-02-10

Family

ID=17824372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60295726A Granted JPS62154154A (en) 1985-12-27 1985-12-27 Address converting device

Country Status (1)

Country Link
JP (1) JPS62154154A (en)

Also Published As

Publication number Publication date
JPS62154154A (en) 1987-07-09

Similar Documents

Publication Publication Date Title
US4785398A (en) Virtual cache system using page level number generating CAM to access other memories for processing requests relating to a page
US4317168A (en) Cache organization enabling concurrent line castout and line fetch transfers with main storage
US5119290A (en) Alias address support
US5023777A (en) Information processing system using domain table address extension for address translation without software modification
US5461718A (en) System for sequential read of memory stream buffer detecting page mode cycles availability fetching data into a selected FIFO, and sending data without aceessing memory
JPH0137773B2 (en)
JPH11161547A (en) Storage device for data processing device and method of accessing storage location
KR920001282B1 (en) Buffer memory controller
US5276829A (en) Data processing system including cache memory for rapidly converting a logical address into a physical address using shared memory flag
KR19980034438A (en) Computing system with one cycle access to split lines across page boundaries
JPH0550776B2 (en)
US5924125A (en) Method and apparatus for parallel access to consecutive TLB entries
US5386530A (en) Address translation device capable of obtaining a real address from a virtual address in a shorter time
JPH0510695B2 (en)
JPH02308349A (en) Buffer storage control system
JPH0679295B2 (en) Address translator
JP3015528B2 (en) Address translation buffer mechanism
GB2282471A (en) Cache storage with invalid-line flags
JPH06124237A (en) Address translation buffer device
JP2507785B2 (en) Pageable entry invalidation device
JPH10105458A (en) Cache memory system
JPH0654477B2 (en) Storage device
JP2564377B2 (en) Information processing device with cache memory
JPH0337217B2 (en)
JPH04337833A (en) Data processor