JP2642035B2 - Storage access processor - Google Patents
Storage access processorInfo
- Publication number
- JP2642035B2 JP2642035B2 JP5069400A JP6940093A JP2642035B2 JP 2642035 B2 JP2642035 B2 JP 2642035B2 JP 5069400 A JP5069400 A JP 5069400A JP 6940093 A JP6940093 A JP 6940093A JP 2642035 B2 JP2642035 B2 JP 2642035B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- address space
- information
- holding
- held
- 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
Links
Landscapes
- Detection And Correction Of Errors (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は記憶アクセス処理装置に
関し、特にアドレス変換テーブルを有する記憶アクセス
処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage access processing device, and more particularly to a storage access processing device having an address conversion table.
【0002】[0002]
【従来の技術】従来、この種の記憶アクセス処理装置に
おいては、図2に示すように、複数のアドレス変換テー
ブル(Address Transtration B
uffer;ATB)4−1〜4−nを用いて、論理ア
ドレス保持部1に保持された論理アドレスを物理アドレ
スに変換して物理アドレス保持部6に保持している。2. Description of the Related Art Conventionally, in this type of storage access processing apparatus, as shown in FIG. 2, a plurality of address translation tables (Address Translation B) are used.
UTF (ATB) 4-1 to 4-n, the logical address held in the logical address holding unit 1 is converted into a physical address and held in the physical address holding unit 6.
【0003】ここで、論理アドレス保持部1は空間番号
保持部1aとページ番号保持部1bとページ内アドレス
保持部1cとからなり、物理アドレス保持部6は物理ペ
ージ番号保持部6aとページ内アドレス保持部6bとか
らなる。The logical address holding unit 1 comprises a space number holding unit 1a, a page number holding unit 1b, and an in-page address holding unit 1c, and the physical address holding unit 6 includes a physical page number holding unit 6a and an in-page address. And a holding portion 6b.
【0004】論理アドレスを物理アドレスに変換する場
合、アドレス変換テーブル4−1〜4−nは夫々1つの
空間内の論理アドレスのページ番号を物理アドレスの物
理ページ番号に変換している。したがって、アドレス変
換テーブル4−1〜4−nが夫々どの空間に対応するの
かを示すためにアドレス変換テーブル4−1〜4−n各
々の空間番号を保持するディレクトリ2が設けられてい
る。ここで、ディレクトリ2は各々アドレス変換テーブ
ル4−1〜4−nに対応する空間番号保持部2a−1〜
2a−n及びパリティ(P)保持部2b−1〜2b−n
からなる。When converting a logical address into a physical address, each of the address conversion tables 4-1 to 4-n converts a page number of a logical address in one space into a physical page number of a physical address. Therefore, a directory 2 is provided which holds the space numbers of the address conversion tables 4-1 to 4-n in order to indicate which space the address conversion tables 4-1 to 4-n correspond to. Here, the directory 2 stores space number holding units 2a-1 to 2a-1 corresponding to the address conversion tables 4-1 to 4-n, respectively.
2a-n and parity (P) holding units 2b-1 to 2b-n
Consists of
【0005】論理アドレスが与えられると、コンパレー
タ3−1〜3−nは夫々論理アドレス保持部1の空間番
号101と、対応するディレクトリ2の空間番号104
−1〜104−nとを比較し、空間番号101と同じ空
間番号を持つアドレス変換テーブル4−1〜4−nを検
索する。When a logical address is given, the comparators 3-1 to 3-n respectively provide a space number 101 of the logical address holding unit 1 and a space number 104 of the corresponding directory 2.
The address conversion tables 4-1 to 4-n having the same space number as the space number 101 are searched by comparing -1 to 104-n.
【0006】セレクタ5はコンパレータ3−1〜3−n
の比較結果106−1〜106−nに応じて、論理アド
レス保持部1のページ番号102によってアドレス変換
テーブル4−1〜4−nから読出されたページ番号10
7−1〜107−nのうち一つを選択する。The selector 5 includes comparators 3-1 to 3-n
Page numbers 10 read from the address conversion tables 4-1 to 4-n by the page numbers 102 of the logical address holding unit 1 in accordance with the comparison results 106-1 to 106-n of
One of 7-1 to 107-n is selected.
【0007】これによって、セレクタ5で選択されたペ
ージ番号108は物理アドレス保持部6の物理ページ番
号保持部6aに保持され、論理アドレス保持部1のペー
ジ内アドレス103はページ内アドレス保持部6bに保
持される。Thus, the page number 108 selected by the selector 5 is held in the physical page number holding section 6a of the physical address holding section 6, and the in-page address 103 of the logical address holding section 1 is held in the in-page address holding section 6b. Will be retained.
【0008】よって、検索されたアドレス変換テーブル
4−1〜4−nの論理アドレスのページ番号に相当する
物理アドレスのページ番号を得ることができ、これら物
理ページ番号保持部6aのページ番号とページ内アドレ
ス保持部6bのページ内アドレスとによって物理アドレ
スが生成される。Thus, the page numbers of the physical addresses corresponding to the page numbers of the logical addresses of the searched address conversion tables 4-1 to 4-n can be obtained, and the page numbers and page numbers of these physical page number holding sections 6a can be obtained. A physical address is generated based on the in-page address of the internal address holding unit 6b.
【0009】上記ディレクトリ2の空間番号に対して
は、パリティチェック回路(P.C.)9−1〜9−n
でディレクトリ2の空間番号104−1〜104−nと
パリティ105−1〜105−nとを基に常時パリティ
チェックが行われている。For the space number of the directory 2, parity check circuits (PC) 9-1 to 9-n are used.
, A parity check is always performed based on the space numbers 104-1 to 104-n of the directory 2 and the parities 105-1 to 105-n.
【0010】[0010]
【発明が解決しようとする課題】上述した従来の記憶ア
クセス処理装置では、ディレクトリの空間番号保持部に
保持された空間番号が正しいかどうかをパリティチェッ
ク回路で常時チェックしているので、パリティチェック
回路を大量に必要とするという問題がある。In the above-mentioned conventional storage access processing device, the parity check circuit constantly checks whether the space number held in the space number holding section of the directory is correct. Is required in large quantities.
【0011】そこで、本発明の目的は上記問題点を解消
し、ハードウェア量を大幅に削減することができる記憶
アクセス処理装置を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a storage access processing apparatus which can solve the above problems and can greatly reduce the amount of hardware.
【0012】[0012]
【課題を解決するための手段】本発明による記憶アクセ
ス処理装置は、各々1つのアドレス空間内の論理アドレ
スのページ番号を物理アドレスの物理ページ番号に変換
するための複数のアドレス変換テーブルと、前記複数の
アドレス変換テーブル各々に対応して設けられかつ少な
くとも自テーブルがどのアドレス空間に対応するのかを
示すアドレス空間番号を保持する複数の保持手段と、前
記複数のアドレス変換テーブル各々に対応して設けられ
かつ前記論理アドレスが属するアドレス空間番号と前記
保持手段に保持されたアドレス空間番号とを比較する複
数の比較手段とを有する記憶アクセス処理装置であっ
て、前記複数の比較手段各々の比較結果に応じて前記複
数の保持手段各々の保持内容のうち一つを選択する選択
手段と、前記複数のアドレス変換テーブル各々に共通し
て設けられかつ前記選択手段で選択された保持内容の正
常性を検査する検査手段とを備えている。A storage access processing apparatus according to the present invention comprises a plurality of address conversion tables for converting a page number of a logical address in one address space into a physical page number of a physical address. It is provided corresponding to each of the plurality of address conversion tables, and at least determines which address space the own table corresponds to.
A plurality of holding means for holding the address space numbers shown, and provided corresponding to each of the plurality of address conversion tables.
And a memory access processing unit and a plurality of comparing means for comparing been an address space number held in said holding means and the address space number where the logical address belongs, according to the plurality of comparing means each comparison result selection means for selecting one of the contents held in the plurality of holding means each Te, checking the health of the selected content held by and said selecting means is provided in common to said plurality of address translation tables each Inspection means.
【0013】[0013]
【実施例】次に、本発明の一実施例について図面を参照
して説明する。Next, an embodiment of the present invention will be described with reference to the drawings.
【0014】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、本発明の一実施例はディレ
クトリ2のパリティ105−1〜105−nのうち一つ
をコンパレータ3−1〜3−nの比較結果106−1〜
106−nに応じて選択するセレクタ7と、このセレク
タ7で選択されたパリティ109と論理アドレス保持部
1の空間番号101とを基にパリティチェックを行うパ
リティチェック回路(P.C.)8とを設けた以外は図
2に示す従来例と同様の構成となっており、同一構成要
素には同一符号を付してある。また、それらの同一構成
要素の動作は従来例の動作と同様であるので、その動作
の説明は省略する。FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, in one embodiment of the present invention, one of the parities 105-1 to 105-n of the directory 2 is compared with the comparison results 106-1 to 103-1 of the comparators 3-1 to 3-n.
And a parity check circuit (PC) 8 for performing a parity check based on the parity 109 selected by the selector 7 and the space number 101 of the logical address holding unit 1. The configuration is the same as that of the conventional example shown in FIG. 2 except for the provision of. The operations of the same components are the same as those of the conventional example, and the description of the operations will be omitted.
【0015】論理アドレスが与えられると、物理アドレ
ス保持部6のページ内アドレス保持部6bに論理アドレ
ス保持部1のページ内アドレス103が保持され、物理
ページ番号保持部6aにセレクタ5で選択されたページ
番号108が保持される。When a logical address is given, the in-page address 103 of the logical address holding unit 1 is held in the in-page address holding unit 6b of the physical address holding unit 6, and is selected by the selector 5 in the physical page number holding unit 6a. The page number 108 is held.
【0016】これら物理ページ番号保持部6aのページ
番号とページ内アドレス保持部6bのページ内アドレス
とによって物理アドレスが生成されるとき、セレクタ7
はコンパレータ3−1〜3−nの比較結果106−1〜
106−nを基にディレクトリ2のパリティ105−1
〜105−nのうち一つを選択する。When a physical address is generated by the page number of the physical page number holding unit 6a and the in-page address of the in-page address holding unit 6b, the selector 7
Is the comparison result 106-1 of the comparators 3-1 to 3-n.
Parity 105-1 of directory 2 based on 106-n
One is selected from -105-n.
【0017】パリティチェック回路8は論理アドレス保
持部1の空間番号101とセレクタ7で選択されたパリ
ティ109とを基にパリティチェックを行う。アクセス
する論理アドレスの空間部分と一致したディレクトリ2
内の空間番号104−1〜104−nは論理アドレス保
持部1の空間番号109に等しい。したがって、パリテ
ィチェック回路8におけるパリティチェックはディレク
トリ2内の空間番号104−1〜104−nとパリティ
105−1〜105−nとを基にしたパリティチェック
と同じである。The parity check circuit 8 performs a parity check based on the space number 101 of the logical address holding unit 1 and the parity 109 selected by the selector 7. Directory 2 that matches the space of the logical address to be accessed
Are the space numbers 109 of the logical address holding unit 1. Therefore, the parity check in the parity check circuit 8 is the same as the parity check based on the space numbers 104-1 to 104-n and the parities 105-1 to 105-n in the directory 2.
【0018】尚、セレクタ7でコンパレータ3−1〜3
−nの比較結果106−1〜106−nを基にディレク
トリ2の空間番号104−1〜104−n及びパリティ
105−1〜105−nのうち各々一つを選択するよう
にすれば、パリティチェック回路8でディレクトリ2内
の空間番号104−1〜104−nとパリティ105−
1〜105−nとを基にしたパリティチェックを行うこ
ともできる。Note that the selector 7 uses comparators 3-1 to 3-3.
If one of the space numbers 104-1 to 104-n and the parity 105-1 to 105-n of the directory 2 is selected based on the comparison results 106-1 to 106-n of -n, the parity can be obtained. In the check circuit 8, the space numbers 104-1 to 104-n in the directory 2 and the parity 105-
Parity check based on 1 to 105-n can also be performed.
【0019】このように、コンパレータ3−1〜3−n
の比較結果106−1〜106−nを基にセレクタ7で
選択されたディレクトリ2のパリティ105−1〜10
5−nと論理アドレス保持部1の空間番号101とを基
にパリティチェック回路8でパリティチェックを行うこ
とによって、ディレクトリ2の空間番号104−1〜1
04−nのパリティチェックをアドレス変換テーブル4
−1〜4−n各々に共通に行うことができる。As described above, the comparators 3-1 to 3-n
Of the directory 2 selected by the selector 7 based on the comparison results 106-1 to 106-n
Parity check is performed by the parity check circuit 8 based on the space number 101 of the directory 2 based on the space number 101 of the directory 2 and the space number 101 of the directory 2.
04-n parity check to address conversion table 4
-1 to 4-n can be performed in common.
【0020】よって、従来、アドレス変換テーブル4−
1〜4−n各々に対応して設けられているパリティチェ
ック回路がパリティチェック回路8一つで済むので、ハ
ードウェア量を大幅に削減することができる。Therefore, conventionally, the address conversion table 4-
Since only one parity check circuit provided for each of 1 to 4-n is required, the amount of hardware can be significantly reduced.
【0021】[0021]
【発明の効果】以上説明したように本発明によれば、論
理アドレスのアドレス空間情報と自テーブルのアドレス
空間を特定するアドレス空間情報とを比較する比較手段
各々の比較結果に応じて、複数のアドレス変換テーブル
各々に対応するアドレス空間情報のパリティ情報の中か
ら一つを選択し、このパリティ情報を基に該アドレス空
間情報の正常性を検査することによって、ハードウェア
量を大幅に削減することができるという効果がある。As described above, according to the present invention, a plurality of comparison means for comparing the address space information of the logical address with the address space information specifying the address space of the own table are used. By selecting one of parity information of address space information corresponding to each address translation table and checking the normality of the address space information based on the parity information, the amount of hardware can be significantly reduced. There is an effect that can be.
【図1】本発明の一実施例の構成を示すブロック図であ
る。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
【図2】従来例の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a conventional example.
1 論理アドレス保持部 1a 空間番号保持部 1b ページ番号保持部 2 ディレクトリ 2a−1〜2a−n 空間番号保持部 2b−1〜2b−n パリティ保持部 3−1〜3−n コンパレータ 4−1〜4−n アドレス変換テーブル 5,7 セレクタ 8 パリティチェック回路 1 Logical Address Holder 1a Space Number Holder 1b Page Number Holder 2 Directory 2a-1 to 2a-n Space Number Holder 2b-1 to 2b-n Parity Holder 3-1 to 3-n Comparator 4-1 4-n address conversion table 5, 7 selector 8 parity check circuit
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭55−105882(JP,A) 特開 平1−297743(JP,A) 特開 平3−263252(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-55-105882 (JP, A) JP-A-1-297743 (JP, A) JP-A-3-263252 (JP, A)
Claims (3)
スのページ番号を物理アドレスの物理ページ番号に変換
するための複数のアドレス変換テーブルと、前記複数の
アドレス変換テーブル各々に対応して設けられかつ少な
くとも自テーブルがどのアドレス空間に対応するのかを
示すアドレス空間番号を保持する複数の保持手段と、前
記複数のアドレス変換テーブル各々に対応して設けられ
かつ前記論理アドレスが属するアドレス空間番号と前記
保持手段に保持されたアドレス空間番号とを比較する複
数の比較手段とを有する記憶アクセス処理装置であっ
て、前記複数の比較手段各々の比較結果に応じて前記複
数の保持手段各々の保持内容のうち一つを選択する選択
手段と、前記複数のアドレス変換テーブル各々に共通し
て設けられかつ前記選択手段で選択された保持内容の正
常性を検査する検査手段とを有することを特徴とする記
憶アクセス処理装置。1. A plurality of address conversion tables for converting a page number of a logical address in one address space into a physical page number of a physical address , and provided corresponding to each of the plurality of address conversion tables. At least what address space your table corresponds to
A plurality of holding means for holding the address space numbers shown, and provided corresponding to each of the plurality of address conversion tables.
And a memory access processing unit and a plurality of comparing means for comparing been an address space number held in said holding means and the address space number where the logical address belongs, according to the plurality of comparing means each comparison result selection means for selecting one of the contents held in the plurality of holding means each Te, checking the health of the selected content held by and said selecting means is provided in common to said plurality of address translation tables each A storage access processing device comprising: a check unit.
空間情報と該アドレス空間情報の正常性を確認するため
のパリティ情報とを保持し、 前記選択手段が前記複数の比較手段各々の比較結果に応
じて前記複数の保持手段のうち一つに保持されたアドレ
ス空間情報及びパリティ情報を選択し、 前記検査手段が前記選択手段で選択されたアドレス空間
情報及びパリティ情報を基に該アドレス空間情報の正常
性を検査するようにしたことを特徴とする請求項1記載
の記憶アクセス処理装置。2. The method according to claim 1, wherein each of the plurality of holding units holds the address space information and parity information for confirming the normality of the address space information. The address space information and parity information held in one of the plurality of holding units are selected accordingly, and the checking unit determines the address space information based on the address space information and parity information selected by the selection unit. 2. The storage access processing device according to claim 1, wherein a normality is checked.
空間情報と該アドレス空間情報の正常性を確認するため
のパリティ情報とを保持し、 前記選択手段が前記複数の比較手段各々の比較結果に応
じて前記複数の保持手段のうち一つに保持されたパリテ
ィ情報を選択し、 前記検査手段が前記論理アドレスのアドレス空間情報と
前記選択手段で選択されたパリティ情報とを基に該パリ
ティ情報を保持する保持手段のアドレス空間情報の正常
性を検査する検査手段とを有することを特徴とする請求
項1記載の記憶アクセス処理装置。3. The plurality of holding units hold the address space information and parity information for confirming the normality of the address space information, and the selection unit stores a comparison result of each of the plurality of comparison units. And selecting the parity information held in one of the plurality of holding units in accordance with the parity information. The checking unit converts the parity information based on the address space information of the logical address and the parity information selected by the selecting unit. 2. The storage access processing device according to claim 1, further comprising a checking unit that checks the normality of the address space information of the holding unit that holds the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5069400A JP2642035B2 (en) | 1993-03-03 | 1993-03-03 | Storage access processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5069400A JP2642035B2 (en) | 1993-03-03 | 1993-03-03 | Storage access processor |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06259332A JPH06259332A (en) | 1994-09-16 |
JP2642035B2 true JP2642035B2 (en) | 1997-08-20 |
Family
ID=13401520
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5069400A Expired - Lifetime JP2642035B2 (en) | 1993-03-03 | 1993-03-03 | Storage access processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2642035B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7181589B2 (en) * | 2003-04-30 | 2007-02-20 | Silicon Graphics, Inc. | System and method for performing address translation in a computer system |
-
1993
- 1993-03-03 JP JP5069400A patent/JP2642035B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH06259332A (en) | 1994-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0137773B2 (en) | ||
JPH05165715A (en) | Information processor | |
JP2642035B2 (en) | Storage access processor | |
JP3190700B2 (en) | Address translator | |
JP2625346B2 (en) | Storage access processor | |
JP2007520014A (en) | Address translation technology in a situation switching environment | |
JPS62115554A (en) | Storage protection system in multi-processor system | |
JPH01193961A (en) | Address converting device | |
JP2720792B2 (en) | TEI mapping search method for frame multiplexing protocol | |
JPH01161553A (en) | Address converting buffer controlling system | |
JPH04266140A (en) | Address conversion buffer device | |
JPH02143347A (en) | Information processor | |
JPH0567001A (en) | Cache memory circuit | |
JPH0439099B2 (en) | ||
JPS61275947A (en) | Address converter | |
JPH03257643A (en) | Information processor | |
JPS6336537B2 (en) | ||
JPH04190440A (en) | Address conversion control system | |
JPH01161554A (en) | Address converting buffer controlling system | |
JPS6222165A (en) | Control system for access to main storage device | |
JPH08202624A (en) | Address conversion control circuit | |
JPS63189955A (en) | Data transferring and processing system in virtual computer system | |
JPS61165144A (en) | Memory access control method | |
JPS5811655B2 (en) | Buffer storage device address control method | |
JP2000305843A (en) | Address conversion device and its method |