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
JPH0642214B2 - Address translator - Google Patents
[go: Go Back, main page]

JPH0642214B2 - Address translator - Google Patents

Address translator

Info

Publication number
JPH0642214B2
JPH0642214B2 JP61214373A JP21437386A JPH0642214B2 JP H0642214 B2 JPH0642214 B2 JP H0642214B2 JP 61214373 A JP61214373 A JP 61214373A JP 21437386 A JP21437386 A JP 21437386A JP H0642214 B2 JPH0642214 B2 JP H0642214B2
Authority
JP
Japan
Prior art keywords
entry
address
tlb
auxiliary
data
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
JP61214373A
Other languages
Japanese (ja)
Other versions
JPS6370354A (en
Inventor
浩 川股
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 JP61214373A priority Critical patent/JPH0642214B2/en
Publication of JPS6370354A publication Critical patent/JPS6370354A/en
Publication of JPH0642214B2 publication Critical patent/JPH0642214B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔概要〕 複数のエントリを備える変換索引バッファ(以下TL
B;Translation Lokaside Buffer)を有するアドレス
変換装置において、 補助TLBを設け、障害が検出されたエントリと補助T
LBとに同一のアドレス変換データを所定回数再登録
し、各々の登録データがすべて一致したときそのエント
リを有効とするものである。
DETAILED DESCRIPTION [Outline] A conversion index buffer (hereinafter, referred to as TL) having a plurality of entries.
B; Translation Lokaside Buffer), in an address translation device, an auxiliary TLB is provided, and an entry in which a failure is detected and an auxiliary T
The same address translation data is re-registered in the LB a predetermined number of times, and when all the registered data match, the entry is validated.

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

本発明は、仮想記憶方式におけるアドレス変換装置の改
良に関する。
The present invention relates to improvement of an address translation device in a virtual memory system.

仮想記憶方式のデータ処理装置において、仮想アドレス
を実アドレスに高速に変換するため、TLBが用いられ
る。
In a virtual memory data processor, a TLB is used to convert a virtual address into a real address at high speed.

このTLBは、仮想アドレスのセグメント番号およびペ
ージ番号と、対応する実ページアドレスとで構成される
アドレス変換データを複数組登録する項目(エントリ)
を高速のバッファで構成したもので、プロセッサが出力
する仮想アドレスがこのTLBに登録されていると、実
ページアドレスが出力されて、ページ内変位とともに実
アドレスを生成するものである。
This TLB is an item (entry) for registering a plurality of sets of address conversion data composed of segment numbers and page numbers of virtual addresses and corresponding real page addresses.
Is composed of a high-speed buffer, and when the virtual address output by the processor is registered in this TLB, the real page address is output and the real address is generated together with the displacement within the page.

上記TLBを用いたアドレス変換装置において、エント
リに障害が発生するとそのエントリの切り離しが行われ
るが、一回の検出では必ずしも障害ではない場合もあ
り、限られた数のエントリの切り離しが行われると、T
LBに該当アドレス変換データが存在する確率(ヒット
率)が低下するという問題点がある。
In the address translation device using the TLB, when a failure occurs in an entry, the entry is separated, but a single detection may not necessarily be a failure, and when a limited number of entries are separated. , T
There is a problem that the probability (hit rate) that the corresponding address translation data exists in the LB is lowered.

このため、上記問題点を解消してヒット率の低下を防止
するアドレス変換装置が求められている。
Therefore, there is a demand for an address translation device that solves the above problems and prevents the hit rate from decreasing.

〔従来の技術〕[Conventional technology]

第3図に従来のアドレス変換装置のブロック図を示す。
図中、 1は、複数のエントリ2で構成されるTLBであって、
プロセッサより出力される仮想アドレス53のセグメン
ト番号50およびページ番号51とエントリ2の内容と
をそれぞれ比較し、一致したとき、そのエントリ2に登
録されている主メモリ5上の実ページアドレス(以下ペ
ージアドレス)54を出力する手段と、それぞれのエン
トリ2の障害を検出する障害検出手段を備えるもの、 2はエントリで、セグメント番号50,ページ番号51
および前記ページアドレス54とを登録するバッファよ
り構成されるもので、複数組設けられるもの、 3は登録部で、TLB1において該当アドレスが存在し
ないとき、置換すべきエントリ2を選択してそのアドレ
ス変換データを登録するするもの、 4は、主メモリ5のページアドレス54と仮想アドレス
とを対応させた変換テーブルで、主メモリ5に格納され
るもの、 である。
FIG. 3 shows a block diagram of a conventional address translation device.
In the figure, 1 is a TLB composed of a plurality of entries 2,
The segment number 50 and the page number 51 of the virtual address 53 output from the processor are respectively compared with the contents of the entry 2, and when they match, the real page address in the main memory 5 registered in the entry 2 (hereinafter referred to as page Address) 54 for outputting a failure and failure detection means for detecting a failure of each entry 2. Reference numeral 2 denotes an entry, a segment number 50 and a page number 51.
And a buffer for registering the page address 54, which is provided in a plurality of sets. Reference numeral 3 denotes a registration unit, which selects an entry 2 to be replaced and converts the address when the corresponding address does not exist in the TLB 1. Data is registered. Reference numeral 4 is a conversion table in which a page address 54 of the main memory 5 is associated with a virtual address, which is stored in the main memory 5.

上記構成のアドレス変換装置において、いまプロセッサ
より仮想アドレス53が出力されると、セグメント番号
50,ページ番号51とがTLB1に入力され、各エン
トリ2と比較される。
In the address translation device having the above configuration, when the virtual address 53 is now output from the processor, the segment number 50 and the page number 51 are input to the TLB 1 and compared with each entry 2.

この仮想アドレスが一致したとき、ページアドレス54
が出力され、変位52と加えられて実アドレス56が生
成される。
When this virtual address matches, the page address 54
Is output and added with the displacement 52 to generate a real address 56.

ここで、該当する仮想アドレスがTLB1に存在しなけ
れば、変換テーブル4が参照されて実アドレスを生成す
るとともに、その仮想アドレスおよびページアドレスは
TLB1に登録される。
Here, if the corresponding virtual address does not exist in TLB1, the conversion table 4 is referred to generate a real address, and the virtual address and page address are registered in TLB1.

ここで、エントリ2に障害が検出されると、登録部3に
よりそのエントリは切り離なされ、以後そのエントリへ
の登録は停止される。
Here, when a failure is detected in the entry 2, the registration unit 3 disconnects the entry, and thereafter, registration in the entry is stopped.

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

以上説明したように、エントリ障害が検出されると、そ
のエントリは切り離しされるため、ヒット率が低下して
くる。
As described above, when an entry failure is detected, the entry is separated, and the hit rate decreases.

しかし障害は登録データをチェックして検出されるもの
で、一時的な障害検出の場合もある。
However, the failure is detected by checking the registered data and may be a temporary failure detection.

このため、本発明は、上記のごとき一時的な障害検出に
よるエントリの切り離しを防止し、ヒット率の低下を改
善するアドレス変換装置を提供することを目的とするも
のである。
Therefore, it is an object of the present invention to provide an address translation device that prevents entry separation due to temporary failure detection as described above and improves the reduction in hit rate.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点を解決するため、本発明のアドレス変換装置
は、第1図本発明の原理説明図に示すように、 補助変換索引バッファ(7)と、 障害が検出された該エントリ(2)と前記補助変換索引
バッファ(7)と同一の該アドレス変換データを所定回
数再登録する登録手段(21)と、 前記再登録された該エントリと該補助変換索引バッファ
との対応するそれぞれのアドレス変換データを比較する
比較部(9)と、 前記比較が所定回数一致したとき該エントリを有効とす
る処理手段(20)と、 を設けたものである。
In order to solve the above problems, the address translation device of the present invention includes an auxiliary translation index buffer (7) and an entry (2) in which a failure is detected, as shown in FIG. Registration means (21) for re-registering the same address translation data as the auxiliary translation index buffer (7) a predetermined number of times, and respective address translation data corresponding to the re-registered entry and the auxiliary translation index buffer. And a processing unit (20) for validating the entry when the comparison matches a predetermined number of times.

〔作用〕[Action]

エントリの障害が検出されたとき、そのエントリの有効
/無効を表すビットに無効データを格納し、補助TLB
とともにそのエントリに所定回数再登録する。
When a failure of an entry is detected, invalid data is stored in the bit indicating valid / invalid of the entry, and the auxiliary TLB is stored.
At the same time, the entry is reregistered a predetermined number of times.

再登録ごとに、そのエントリと補助TLBとのアドレス
変換データは比較され、不一致が発生したとき、例えば
エントリごとに設けられた切り離し通知ビットにフラグ
を立て、そのエントリを切り離す。
For each re-registration, the address translation data of the entry and the auxiliary TLB are compared, and when a mismatch occurs, the detachment notification bit provided for each entry is flagged and the entry is detached.

この間、前記無効データにより、そのエントリからペー
ジアドレスは出力されない。
During this period, the page address is not output from the entry due to the invalid data.

所定回数登録してすべて一致したエントリは、有効/無
効ビットに有効データが格納されて登録状態とする。
For the entries that have been registered a predetermined number of times and have all matched, the valid data is stored in the valid / invalid bit and the entry is brought into the registered state.

以上のごとく、障害が検出されたエントリは所定回数再
登録され、補助TLBと比較されてすべて一致したと
き、そのエントリを有効として、一時的障害検出による
切り離しを防止する。
As described above, the entry in which the failure is detected is re-registered a predetermined number of times, and when the entries are compared with the auxiliary TLB and all match, the entry is validated to prevent disconnection due to temporary failure detection.

〔実施例〕〔Example〕

本発明の実施例を第2図を参照しつつ説明する。 An embodiment of the present invention will be described with reference to FIG.

第2図(a)に実施例のアドレス変換装置ブロック図、第
2図(b)に動作フローチャート図を示す。
FIG. 2 (a) shows a block diagram of the address translation device of the embodiment, and FIG. 2 (b) shows an operation flowchart.

本実施例は、TLBのエントリごとに、有効/無効ビッ
トおよび切り離し通知ビットを格納する領域を設けたも
のである。図中、 6は、エントリ2ごとにそれぞれ有効/無効ビット58
および切り離し通知ビット59を付加したTLB、 7は、1組以上のエントリを備えた補助TLBで、ゲー
ト8によりアドレス変換データが格納されるもの、 9は比較部であり、エントリ2および補助TLB7に登
録されたそれぞれのページアドレス54を比較するも
の、 10は開閉制御部であって、ゲート8と比較部9との動
作を開閉するもの、 14は登録部であり、従来の登録機能を有するととも
に、登録手段(21)と前記有効/無効ビット58およ
び切り離し通知ビット59をセットする処理手段(2
0)とを有するもの、 11は、設定値12と再登録回数を計数するカウンタ1
3とを比較し、一致したとき開閉制御部10に通知する
比較器、 15は、TLB6を参照したとき該エントリ2が有効な
らば開かれるゲート、 であり、その他、全図を通じて、同一符号は同一対象物
を表している。
In this embodiment, an area for storing a valid / invalid bit and a separation notification bit is provided for each TLB entry. In the figure, 6 is a valid / invalid bit 58 for each entry 2.
And a TLB to which the separation notification bit 59 is added, 7 is an auxiliary TLB provided with one or more sets of entries, and the address translation data is stored by the gate 8. 9 is a comparison unit, and the entry 2 and the auxiliary TLB 7 are provided. Comparing the registered page addresses 54, 10 is an opening / closing control unit that opens and closes the operations of the gate 8 and the comparing unit 9, and 14 is a registration unit having a conventional registration function. A registering means (21) and a processing means (2) for setting the valid / invalid bit 58 and the disconnection notification bit 59.
0), and 11 is a counter 1 for counting the set value 12 and the number of re-registrations.
3 is a comparator for notifying the switching control unit 10 when they match with each other, and 15 is a gate that is opened if the entry 2 is valid when the TLB 6 is referred to. It represents the same object.

以上構成のアドレス変換装置において、エントリ2に障
害が検出されたとき、登録部14の再登録動作を第2図
(b)を参照しつつ説明する。
FIG. 2 shows the re-registration operation of the registration unit 14 when a failure is detected in the entry 2 in the address translation device configured as described above.
An explanation will be given with reference to (b).

(1)登録時またはアドレス時に障害検出信号60が出力
されると、そのエントリ2に対応する有効/無効ビット
58に無効データをセットするとともに、ゲート8およ
び比較部9とを動作させて再登録する。(イ,ロ) 即ち、出力されている仮想アドレスに該当するページア
ドレス54を変換テーブル4より読出し、その仮想アド
レスとともに、障害が検出されたエントリ2と補助TL
B7とに再登録する。
(1) When the fault detection signal 60 is output at the time of registration or address, invalid data is set in the valid / invalid bit 58 corresponding to the entry 2, and the gate 8 and the comparison unit 9 are operated to re-register. To do. (A, b) That is, the page address 54 corresponding to the output virtual address is read from the conversion table 4, and along with the virtual address, the entry 2 and the auxiliary TL in which the failure is detected are detected.
Re-register with B7.

(2)この結果、エントリ2および補助TLB7に登録さ
れたページアドレス54が比較部9により比較され、不
一致のとき切り離し通知ビット59にフラグを立てて、
再登録動作を終了する。(ヘ,ト) (3)一致のときは、同一エントリ2に再び登録し、(2)の
項の動作を繰り返す。(ニ,ロ,ハ) (4)比較器11より所定回数終了の通知があるか、ゲー
ト8および比較器9の動作を停止し、すべて一致である
から、有効/無効ビット58に有効データをセットす
る。(ホ) これにより、そのエントリ2より上記登録したページア
ドレス54が出力されるとともに、以後の登録に使用さ
れる。
(2) As a result, the page addresses 54 registered in the entry 2 and the auxiliary TLB 7 are compared by the comparison unit 9, and when they do not match, the disconnection notification bit 59 is flagged,
The re-registration operation ends. (F, G) (3) If they match, register again in the same entry 2 and repeat the operation in item (2). (D, b, c) (4) Whether or not the comparator 11 notifies the end of the predetermined number of times or the operations of the gate 8 and the comparator 9 are stopped and they are all in agreement, valid data is set in the valid / invalid bit 58. set. (E) As a result, the registered page address 54 is output from the entry 2 and is used for subsequent registration.

なお、上記動作において、再登録中有効/無効ビット5
8を無効とすることにより、ゲート15が閉じて、その
エントリよりページアドレス54が出力されることはな
い。
In the above operation, valid / invalid bit 5 during re-registration
By making 8 invalid, the gate 15 is closed and the page address 54 is not output from that entry.

また切り離し通知ビット59をTLB6に設けたが、登
録部14に設けて管理することもできる。
Although the disconnection notification bit 59 is provided in the TLB 6, it may be provided in the registration unit 14 for management.

以上のごとく、補助のTLBを設け、これと障害の検出
されたエントリに所定回数同一アドレス変換データを登
録して比較することにより、一時的に検出された障害を
チェックすることができ、ヒット率の低下を防止するこ
とができる。
As described above, by providing the auxiliary TLB, and registering the same address translation data a predetermined number of times in the entry in which the failure is detected and comparing it, the failure detected temporarily can be checked, and the hit rate can be checked. Can be prevented.

〔発明の効果〕〔The invention's effect〕

本発明、補助TLBを設け、障害が検出されたとき、そ
のエントリと補助TLBとに再登録して比較し、所定回
数一致したとき、そのエントリを有効とするアドレス変
換装置を提供するものであるから、ヒット率の低下を防
止する効果は極めて大きい。
The present invention is to provide an address translation device which is provided with an auxiliary TLB, and when a failure is detected, re-registers the entry and the auxiliary TLB for comparison, and makes the entry valid when they match a predetermined number of times. Therefore, the effect of preventing the hit rate from decreasing is extremely large.

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

第1図は本発明の原理説明図、 第2図(a)は実施例のアドレス変換装置ブロック図、 第2図(b)は動作フローチャート図、 第3図は従来のアドレス変換装置ブロック図、である。
図中、 1は変換索引バッファTLB、 2はエントリ、3は登録部、 4は変換テーブル、5は主メモリ、 6は実施例のTLB、7は補助TLB、 8はゲート、9は比較部、 10は開閉制御部、11は比較器、 12は設定値、13はカウンタ、 14は登録部、15はゲート、 20は処理手段、21は登録手段、 50はセグメント番号、 51はページ番号、52は変位、 53は仮想アドレス、 54はページアドレス、 56は実アドレス、 58は有効/無効ビット、 59は切り離し通知ビット、 60は障害通知信号、 である。
FIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 (a) is a block diagram of an address translator of the embodiment, FIG. 2 (b) is an operation flowchart diagram, and FIG. 3 is a block diagram of a conventional address translator. Is.
In the figure, 1 is a conversion index buffer TLB, 2 is an entry, 3 is a registration unit, 4 is a conversion table, 5 is a main memory, 6 is a TLB of the embodiment, 7 is an auxiliary TLB, 8 is a gate, 9 is a comparison unit, Reference numeral 10 is an opening / closing control unit, 11 is a comparator, 12 is a set value, 13 is a counter, 14 is a registration unit, 15 is a gate, 20 is a processing unit, 21 is a registration unit, 50 is a segment number, 51 is a page number, 52. Is a displacement, 53 is a virtual address, 54 is a page address, 56 is a real address, 58 is a valid / invalid bit, 59 is a disconnection notification bit, and 60 is a failure notification signal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】アドレス変換データを登録するエントリ
(2)を複数組備えた変換索引バッファを有するアドレ
ス変換装置において、 補助変換索引バッファ(7)と、 障害が検出された該エントリ(2)と前記補助変換索引
バッファ(7)とに同一の該アドレス変換データを所定
回数再登録する登録手段(21)と、 前記再登録された該エントリと該補助変換索引バッファ
との対応するそれぞれのアドレス変換データを比較する
比較部(9)と、 前記比較が所定回数一致したとき該エントリを有効とす
る処理手段(20)と、 を設けたことを特徴とするアドレス変換装置。
1. An address translation device having a translation index buffer comprising a plurality of entries (2) for registering address translation data, an auxiliary translation index buffer (7), and an entry (2) in which a fault is detected. Registration means (21) for re-registering the same address conversion data in the auxiliary conversion index buffer (7) a predetermined number of times, and corresponding address conversion of the re-registered entry and the auxiliary conversion index buffer. An address translation device comprising: a comparison unit (9) for comparing data; and a processing unit (20) for validating the entry when the comparison matches a predetermined number of times.
JP61214373A 1986-09-11 1986-09-11 Address translator Expired - Lifetime JPH0642214B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61214373A JPH0642214B2 (en) 1986-09-11 1986-09-11 Address translator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61214373A JPH0642214B2 (en) 1986-09-11 1986-09-11 Address translator

Publications (2)

Publication Number Publication Date
JPS6370354A JPS6370354A (en) 1988-03-30
JPH0642214B2 true JPH0642214B2 (en) 1994-06-01

Family

ID=16654712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61214373A Expired - Lifetime JPH0642214B2 (en) 1986-09-11 1986-09-11 Address translator

Country Status (1)

Country Link
JP (1) JPH0642214B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2701703B2 (en) * 1993-09-03 1998-01-21 日本電気株式会社 Cache memory

Also Published As

Publication number Publication date
JPS6370354A (en) 1988-03-30

Similar Documents

Publication Publication Date Title
EP0098168B1 (en) Address translation buffer control system
JP3936378B2 (en) Address translation device
JP2005509946A (en) Memory management system and memory access security grant method based on linear address
JPH02271444A (en) Address converting circuit
JPH0193847A (en) Address extension method
JPH0642214B2 (en) Address translator
US12259821B2 (en) Lookup circuitry for secure and non-secure storage
JP3190700B2 (en) Address translator
JPH046025B2 (en)
JPH02254553A (en) Information processor
JP3030037B2 (en) Main storage device
JPH01166148A (en) Memory access device
EP0382234B1 (en) Microprocessor having improved functional redundancy monitor mode arrangement
JPS59117658A (en) Common bus access managing device of multimicroprocessor system
JPS62115554A (en) Storage protection system in multi-processor system
JP2559398B2 (en) Virtual computer system
JPS6073759A (en) Address conversion buffer
JPH0368421B2 (en)
JPS6010338B2 (en) Multiple virtual memory control method
JPH08147217A (en) Processor
JPS6129070Y2 (en)
JPH09504627A (en) Virtual indexable cache memory
JPS5812186A (en) information processing equipment
JPS59117772A (en) Multiplex virtual storage data processing system
JPH0595372A (en) Access check circuit