JPS6319858Y2 - - Google Patents

Info

Publication number
JPS6319858Y2
JPS6319858Y2 JP1984065833U JP6583384U JPS6319858Y2 JP S6319858 Y2 JPS6319858 Y2 JP S6319858Y2 JP 1984065833 U JP1984065833 U JP 1984065833U JP 6583384 U JP6583384 U JP 6583384U JP S6319858 Y2 JPS6319858 Y2 JP S6319858Y2
Authority
JP
Japan
Prior art keywords
address
logical
physical
physical address
logical address
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
Application number
JP1984065833U
Other languages
Japanese (ja)
Other versions
JPS6016240U (en
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 filed Critical
Priority to JP6583384U priority Critical patent/JPS6016240U/en
Publication of JPS6016240U publication Critical patent/JPS6016240U/en
Application granted granted Critical
Publication of JPS6319858Y2 publication Critical patent/JPS6319858Y2/ja
Granted legal-status Critical Current

Links

Description

【考案の詳細な説明】 本考案はアドレス変換装置に関し、特に、連続
する論理アドレス空間に対応する物理アドレステ
ーブルを用意し、該物理アドレステーブル内の一
連の物理アドレス群をアドレス変換管理バツフア
に保持して、メモリのアクセスにあたり論理アド
レスにより該アドレス変換管理バツフアをアクセ
スし、論理アドレスから物理アドレスへ変換する
アドレス変換装置に関する。
[Detailed Description of the Invention] The present invention relates to an address translation device, in particular, a physical address table corresponding to a continuous logical address space is prepared, and a series of physical address groups in the physical address table are held in an address translation management buffer. The present invention relates to an address translation device that accesses the address translation management buffer using a logical address when accessing a memory, and converts the logical address into a physical address.

仮想記憶方式においては、膨大な論理アドレス
空間と限られた物理アドレス空間の対応づけを行
なうためにアドレス変換テーブルを用意し、この
アドレス変換テーブルにより論理アドレスを物理
アドレスに変換してからメモリにアクセスするよ
うにしている。
In the virtual memory method, an address translation table is prepared to make a correspondence between a huge logical address space and a limited physical address space, and the logical address is converted into a physical address using this address translation table before accessing the memory. I try to do that.

説明の為に、論理アドレスおよび物理アドレス
のアドレス形式を第1図のようであるとする。す
なわち、論理アドレスは8−31ビツトで16MBの
空間が表現され、また物理アドレスとしては10−
31ビツトすなわち4MBのメモリが実メモリとし
て実装されていて、メモリの単位(ページ)の大
きさは20−31ビツトすなわち4KB単位で管理さ
れるとする。論理アドレスのL部を物理アドレス
のP部に変換することによつて、論理アドレスか
ら物理アドレスへのアドレス変換が行なわれる。
For the sake of explanation, it is assumed that the address formats of logical addresses and physical addresses are as shown in FIG. In other words, the logical address is 8-31 bits representing 16MB of space, and the physical address is 10-31 bits.
Assume that 31 bits, or 4MB, of memory is implemented as real memory, and the size of the memory unit (page) is managed in units of 20-31 bits, or 4KB. Address translation from a logical address to a physical address is performed by converting the L part of the logical address to the P part of the physical address.

ここで第2図に論理アドレス空間と物理アドレ
ス空間を図示してみる。メモリの単位はページす
なわち4KBである。前述のように、アドレス変
換は結局、ページ単位に論理アドレスと物理アド
レとの対応をとることである。そして、従来技術
によれば、論理アドレスに対応するテーブルを用
意して物理アドレスを管理している。しかしなが
ら、論理アドレスが拡張されて、より大きな論理
アドレス空間を表現するようになると、この管理
テーブルも膨大かつ複雑なものとなる。
Here, FIG. 2 illustrates the logical address space and physical address space. The unit of memory is a page, or 4KB. As mentioned above, address translation ultimately involves establishing a correspondence between logical addresses and physical addresses on a page-by-page basis. According to the prior art, a table corresponding to logical addresses is prepared to manage physical addresses. However, as the logical address is expanded to represent a larger logical address space, this management table also becomes enormous and complex.

第3図は、従来の技術による、最も単純化され
た場合の変換管理の為のテーブルを示している。
このテーブルの大きさは全論理アドレス空間分で
あるため、非常に大きなものである。実装されて
いる実メモリすなわち物理アドレス空間は、論理
アドレス空間に比べればはるかに小さい。第4図
は、更に改良された場合のテーブルを示してい
る。すなわち物理アドレス空間が示される分のテ
ーブルがあればよい。なお、ここでは、テーブル
の為のメモリエリアに注目している為、詳細な制
御用情報等は省略して考慮していない。ここで論
理アドレスを0−31ビツト、物理アドレスとして
4−31ビツトに拡張した場合を考えてみる。
FIG. 3 shows a table for conversion management in the simplest case according to the prior art.
The size of this table is the entire logical address space, so it is very large. The implemented real memory, or physical address space, is much smaller than the logical address space. FIG. 4 shows a table that has been further improved. In other words, it is sufficient to have as many tables as the physical address spaces are shown. Note that here, since the focus is on the memory area for the table, detailed control information and the like are omitted and not considered. Let us now consider the case where the logical address is expanded to 0-31 bits and the physical address is expanded to 4-31 bits.

第5図は従来のアドレス変換方式の一例であ
り、変換テーブルをセグメントテーブル(ST)
とページテーブル(PT)の2段階に分けて管理
する方式である。この方式によると、セグメント
テーブル(ST)とページテーブル(PT)を使用
して物理アドレスを求めるためにはメモリから2
回読出し動作を行なわねばならないため、変換に
時間がかかるという欠点を有している。また変換
テーブルも前述のように膨大な量である。
Figure 5 shows an example of the conventional address translation method, where the translation table is converted into a segment table (ST).
This method manages data in two stages: and page table (PT). According to this method, in order to obtain a physical address using the segment table (ST) and page table (PT), two
Since the read operation must be performed multiple times, it has the disadvantage that conversion takes time. Furthermore, as mentioned above, the number of conversion tables is enormous.

そのために上記問題点を解決し、簡単かつ高速
に論理アドレスから物理アドレスへの変換を行な
い得るようにするとともに、また、巨大な論理ア
ドレス空間における巨大な物理アドレス空間の良
好な管理手段を提供し、さらに、そのような巨大
なメモリ空間への多量かつ高速なアクセスを実現
する手段を提供するためのアドレス変換方式が本
発明者等によつて、特願昭54−162536号(特開昭
56−87281号)に提案されている。この提案され
たアドレス変換方式は、メモリのある大きさの単
位をページとして、あらかじめ決められた論理ア
ドレスと物理アドレスの変換表にもとずき、上記
ページ毎にアドレス変換を行ないつつメモリをア
クセスする情報処理装置において、全論理アドレ
ス空間よりも小さな、注目する部分的な論理アド
レス空間について、連続する論理アドレス空間に
対応する物理アドレステーブルを用意し、該複数
のページからなる連続する論理アドレス空間に対
応する物理アドレス群を、アドレス変換管理バツ
フアに保持し、メモリへのアクセスにあたり、論
理アドレスにより該アドレス変換管理バツフアを
アクセスして、論理アドレスから物理アドレスへ
変換することを特徴とするものである。
To this end, the above-mentioned problems are solved, and a logical address can be easily and quickly converted into a physical address, and a method for managing a huge physical address space in a huge logical address space is also provided. Furthermore, the present inventors have proposed an address conversion method for providing a means for realizing large-volume and high-speed access to such a huge memory space, as disclosed in Japanese Patent Application No. 162536/1986 (Japanese Patent Application Laid-Open No.
56-87281). This proposed address conversion method uses a page as a unit of a certain size of memory, and accesses the memory while performing address conversion for each page based on a predetermined logical address and physical address conversion table. In an information processing device, for a partial logical address space of interest that is smaller than the entire logical address space, a physical address table corresponding to consecutive logical address spaces is prepared, and a continuous logical address space consisting of a plurality of pages is prepared. A group of physical addresses corresponding to the address translation management buffer is held in an address translation management buffer, and when accessing the memory, the address translation management buffer is accessed using a logical address to convert the logical address to a physical address. be.

すなわち、このアドレス変換方式は膨大な論理
アドレス空間に対して、注目した連続する論理ア
ドレス空間に対してのみ物理アドレステーブルを
用意し、変換に要するテーブルの管理およびハー
ドウエアを少なくし、かつ高速に変換を行なうも
のである。
In other words, this address conversion method prepares a physical address table only for the contiguous logical address space of interest for a huge logical address space, reduces the table management and hardware required for conversion, and achieves high speed. It performs conversion.

第6図は、上記方式によるアドレス変換の概念
を示している。すなわち論理アドレス空間の連続
する部分空間を、物理アドレス空間に対応ずけ
る。図で実線は、ページ単位の論理アドレスと物
理アドレスの対応関係の一例を示している。
FIG. 6 shows the concept of address translation using the above method. That is, consecutive partial spaces of the logical address space are made to correspond to the physical address space. In the figure, a solid line indicates an example of the correspondence between logical addresses and physical addresses in page units.

第7図は、この時必要とされる物理アドレステ
ーブルを示す。すなわち、物理アドレス空間に相
当する分の物理アドレステーブルのみによつて、
注目する連続した論理アドレス空間との対応をと
ることが可能である。
FIG. 7 shows the physical address table required at this time. In other words, by using only the physical address table corresponding to the physical address space,
It is possible to establish a correspondence with the continuous logical address space of interest.

第8図は、上記方式によるアドレス変換回路の
一例を示すものである。図中、1は論理アドレス
レジスタ、2はアドレス変換された物理アドレス
を保持する物理アドレスレジスタ、3は高速にア
ドレス変換する為に第6図、第7図の関係にある
物理アドレステーブルから作られたアドレス変換
管理バツフア、4は比較回路、Lは論理ページ
部、Pは物理ページ部、Dはページ内アドレス
部、P′は物理アドレス、l′は論理アドレスの一部
である。なお、アドレス変換管理バツフア3の大
きさを物理アドレス空間の大きさと同一としたの
で論理アドレスの一部であるl′が必要となる。
FIG. 8 shows an example of an address conversion circuit according to the above method. In the figure, 1 is a logical address register, 2 is a physical address register that holds the converted physical address, and 3 is a physical address register created from a physical address table having the relationship shown in Figures 6 and 7 for high-speed address conversion. 4 is a comparison circuit, L is a logical page section, P is a physical page section, D is an intra-page address section, P' is a physical address, and l' is a part of the logical address. Note that since the size of the address translation management buffer 3 is made the same as the size of the physical address space, l', which is a part of the logical address, is required.

第8図において、論理アドレスレジスタ1の論
理ページ部Lの下位部分をアドレスとしてアドレ
ス変換管理バツフア3の内容を読出す。そして、
論理ページ部Lの上位部分と読出されたl′を比較
回路4により比較し、一致していれば読出された
P′を物理アドレスレジスタ2の物理ページ部Pに
セツトする。
In FIG. 8, the contents of the address translation management buffer 3 are read out using the lower part of the logical page portion L of the logical address register 1 as an address. and,
The upper part of the logical page part L and the read l' are compared by the comparison circuit 4, and if they match, the page is read out.
Set P' in the physical page portion P of the physical address register 2.

ところで、一般のアドレス変換方式において、
メモリ上の物理アドレステーブル(第5図の例に
おいては、セグメントテーブルST、ページテー
ブルPT)の内容をハードウエア上のアドレス変
換管理バツフアに登録する場合、複雑な手順が必
要であつた。
By the way, in the general address translation method,
When registering the contents of the physical address table on the memory (segment table ST and page table PT in the example shown in FIG. 5) in the address translation management buffer on the hardware, a complicated procedure is required.

本考案は上記提案されたアドレス変換方式にお
いて、物理アドレステーブルの連続性に着目し、
アドレス変換管理バツフアへの登録を少ないハー
ドウエアで高速に簡単に行なえるようにすること
を目的としている。そして、そのため本考案は物
理アドレス空間より大きい論理アドレス空間のう
ち、一部の連続する論理アドレス空間に対応する
物理アドレステーブルを用意し、該物理アドレス
テーブル内の一連の物理アドレス群をアドレス変
換管理バツフアに保持して、メモリのアクセスに
あたり論理アドレスにより該アドレス変換管理バ
ツフアをアクセスし、論理アドレスから物理アド
レスへ変換するアドレス変換装置において、上記
物理アドレステーブルから取出すべきエントリー
の先頭を示す論理アドレスと、該先頭を示す論理
アドレスに対応する論理アドレステーブルエント
リーの存在する物理アドレスとを指示するととも
に、上記アドレス変換管理バツフアをアクセスす
るアドレスのカウンタの桁上りを検出する手段を
設け、上記アドレス変換管理バツフアの作成にあ
たり、上記指示された物理アドレステーブルの内
容を順次読出して、上記指示された論理アドレス
の下位部分で示されるアドレス変換管理バツフア
のアドレス位置より、対応する物理アドレスと上
記指示された論理アドレスの上位部分とを登録
し、上記桁上りを検出したことにより、それ以後
は上記アドレス変換管理バツフア内の論理アドレ
スの上位部分の位置に、上記指示された論理アド
レスの上位部分の値+1をもつて登録することを
特徴とする。
The present invention focuses on the continuity of the physical address table in the address conversion method proposed above, and
The purpose is to enable registration to an address translation management buffer to be performed quickly and easily using less hardware. Therefore, the present invention prepares a physical address table that corresponds to a part of consecutive logical address spaces in a logical address space that is larger than the physical address space, and manages address translation for a series of physical addresses in the physical address table. In an address translation device that converts a logical address into a physical address by accessing the address translation management buffer using a logical address when accessing the memory, a logical address indicating the start of an entry to be taken out from the physical address table. , a means is provided for instructing a physical address where a logical address table entry corresponding to the logical address indicating the head exists, and for detecting an increment in the counter of an address accessing the address translation management buffer, and the address translation management When creating a buffer, the contents of the physical address table specified above are sequentially read out, and from the address position of the address conversion management buffer indicated by the lower part of the logical address specified above, the corresponding physical address and the logical address specified above are determined. By registering the upper part of the address and detecting the carry, from then on, the value of the upper part of the specified logical address + 1 is added to the upper part of the logical address in the address conversion management buffer. It is characterized in that it is also registered.

以下、本考案を図面により説明する。第9図は
本考案による実施例のアドレス変換管理バツフア
の登録制御部のブロツク図であり、図中、10は
論理アドレスレジスタでありメモリ中の物理アド
レステーブルから取出すべきエントリーの先頭が
示す論理アドレスを保持するもの、11は物理ア
ドレスレジスタであり上記先頭を示す論理アドレ
スに対応する物理アドレステーブルエントリーの
存在する物理アドレスを保持するもの、12はア
ドレス変換管理バツフア、13はアドレス変換管
理バツフア12へアクセスするためのアドレスカ
ウンタ、14はアドレス変換管理バツフア12へ
の登録データを保持する書込みレジスタ、15と
16は+1回路、17はアドレスカウンタ13の
桁上りおよびアドレスカウンタ13の一巡を検出
する桁上り・終了検出回路である。
The present invention will be explained below with reference to the drawings. FIG. 9 is a block diagram of the registration control unit of the address translation management buffer according to the embodiment of the present invention. In the figure, 10 is a logical address register, and the logical address indicated by the head of the entry to be taken out from the physical address table in the memory is shown in FIG. , 11 is a physical address register that holds the physical address where the physical address table entry corresponding to the logical address indicating the start is present, 12 is an address translation management buffer, and 13 is to the address translation management buffer 12. Address counter for access; 14 is a write register that holds data registered to the address conversion management buffer 12; 15 and 16 are +1 circuits; 17 is a carry for detecting the carry of the address counter 13 and one cycle of the address counter 13. - Completion detection circuit.

第9図の動作は以下の通りである。まず、論理
アドレスレジスタ10へメモリ中の物理アドレス
テーブルから取出すべきエントリーの先頭が示す
論理アドレスをセツトし、物理アドレスレジスタ
11へ論理アドレスレジスタ10の値に対応する
物理アドレステーブルエントリーの存在する物理
アドレスをセツトする。該セツトすべき物理アド
レスは、上記物理アドレステーブルの作成時の情
報(例えば論理アドレスの何番地から何番地まで
を物理アドレス上に展開したか、等)から求める
ことができる。そして、アドレスカウンタ13へ
論理アドレスレジスタ10内の論理ページ部の下
位ビツト(図示の例では第5〜第11ビツトのb)
をセツトし、書込みレジスタ14の一部(論理ア
ドレス部)へ論理アドレスレジスタ10内の論理
ページ部の上位ビツト(図示の例では第0〜第4
ビツトのa)をセツトする。書込みレジスタ14
の残りの部分(物理アドレス部)へは、物理アド
レスレジスタ11により読出した物理アドレステ
ーブルの内容(図示の例ではPb)をセツトする。
The operation of FIG. 9 is as follows. First, set the logical address indicated by the beginning of the entry to be fetched from the physical address table in memory in the logical address register 10, and set the physical address in the physical address register 11 where the physical address table entry corresponding to the value of the logical address register 10 exists. Set. The physical address to be set can be obtained from the information at the time of creation of the physical address table (for example, from what address to what address of the logical address was expanded on the physical address, etc.). Then, the lower bits of the logical page section in the logical address register 10 are sent to the address counter 13 (in the illustrated example, the 5th to 11th bits b)
is set, and the upper bits (0th to 4th bits in the illustrated example) of the logical page part in the logical address register 10 are set to a part (logical address part) of the write register 14.
Set bit a). write register 14
The contents of the physical address table read by the physical address register 11 (Pb in the illustrated example) are set in the remaining portion (physical address field).

この状態でまず最初の書込み動作を行ない、ア
ドレス変換管理バツフア12のアドレスbの位置
に論理ページの上位ビツトaと物理アドレスPb
の対を格納する。次に、+1回路15によりアド
レスカウンタ13の内容を+1する。そして同時
に物理アドレスレジスタ11の値に+1したアド
レスでもつて物理アドレステーブルの次のエント
リーの内容(ここではPb+1とする)を読出し
て書込みレジスタ14の物理アドレス部へセツト
する。なお、書込みレジスタ14の論理アドレス
部は後述するアドレスカウンタ13の桁上りが検
出されない限り変更されない。これにより、2回
目の書込み動作においては、アドレス変換管理テ
ーブル12のアドレスb+1の位置に、論理ペー
ジの上位ビツトaと物理アドレスPb+1の対を
格納する。以下、同様にして順次書込み動作を行
なつていき、アドレス変換管理テーブル12の最
終アドレス127番地に、論理ページの上位ビツト
aと物理アドレスP127を格納し終ると、アド
レスカウンタ13は桁上りを生じその内容は
“0”となる。この桁上りは桁上り・終了検出回
路17により検出され、桁上り・終了検出回路1
7は+1回路16を制御して書込みレジスタ14
の論理ページ上位ビツトaをa+1とする。これ
により、次の書込みは、アドレス変換管理バツフ
ア12の先頭アドレス0番地に対して行なうとと
もに、アドレス変換管理バツフア12の論理アド
レス部にはa+1を格納する。また、アドレス変
換管理バツフア12の物理アドレス部には、物理
アドレスP127を保持する物理アドレステーブ
ルエントリの次のエントリ内の物理アドレスP1
28を格納する。以下、同様にして、再びアドレ
スカウンタ13の値を増加させながら書込み動作
を行なつていく。そして、アドレスカウンタ13
の値が最初の設定値bから一巡し、b−1となる
と、該b−1番地への書込み後、桁上り・終了検
出回路17は書込み終了を検出し、書込み動作を
停止させる。このように書込み動作を行なうこと
により、アドレス変換管理バツフア12のアドレ
ス0番地からb−1番地の論理アドレス部にはa
+1が格納され、アドレスb番地から最終127番
地の論理アドレス部にはaが格納されることにな
る。
In this state, the first write operation is performed, and the upper bit a of the logical page and the physical address Pb are written to the address b of the address translation management buffer 12.
Store pairs of . Next, the +1 circuit 15 increments the contents of the address counter 13 by +1. At the same time, the content of the next entry in the physical address table (here, Pb+1) is read out using the address in which the value of the physical address register 11 is increased by 1, and is set in the physical address section of the write register 14. Note that the logical address portion of the write register 14 is not changed unless a carry of the address counter 13, which will be described later, is detected. As a result, in the second write operation, the pair of the upper bit a of the logical page and the physical address Pb+1 is stored at the address b+1 of the address translation management table 12. Thereafter, write operations are performed sequentially in the same manner, and when the upper bit a of the logical page and the physical address P127 are stored in the final address 127 of the address conversion management table 12, the address counter 13 causes a carry. Its content will be "0". This carry is detected by the carry/end detection circuit 17, and the carry/end detection circuit 1
7 controls the +1 circuit 16 and writes the write register 14
Let the upper bit a of the logical page be a+1. As a result, the next write is performed to the starting address 0 of the address translation management buffer 12, and a+1 is stored in the logical address field of the address translation management buffer 12. In addition, in the physical address field of the address translation management buffer 12, the physical address P1 in the next entry of the physical address table entry holding the physical address P127 is stored.
28 is stored. Thereafter, write operations are performed in the same manner while increasing the value of the address counter 13 again. And address counter 13
When the value of is changed from the initial set value b to b-1, after writing to address b-1, the carry/end detection circuit 17 detects the end of writing and stops the write operation. By performing the write operation in this way, the logical address section from address 0 to address b-1 of the address conversion management buffer 12 has a
+1 is stored, and a is stored in the logical address section from address b to the final 127th address.

尚、以上のようにして作成したアドレス変換管
理バツフアを使用中に、該バツフア中に登録され
ていない、他の論理アドレスをアクセスする必要
が生じたときは、該論理アドレスを論理アドレス
レジスタ12にセツトして、上記と同様の処理を
すればよい。またさらに、当該他の論理アドレス
が上記物理アドレステーブルにも存在しない論理
アドレスである場合には、いわゆるペーシングを
行なつて物理アドレステーブルを変更したうえ
で、上記と同様にアドレス変換管理バツフアへの
登録を行なえばよい。
Note that while using the address translation management buffer created as described above, if it becomes necessary to access another logical address that is not registered in the buffer, the logical address is stored in the logical address register 12. All you have to do is set it and perform the same process as above. Furthermore, if the other logical address is a logical address that does not exist in the physical address table, perform so-called pacing to change the physical address table, and then change the physical address table to the address translation management buffer in the same way as above. All you have to do is register.

第10図は256エントリーを有する物理アドレ
ステーブル内の一連の物理アドレス群を、128エ
ントリーを有するアドレス変換管理バツフアに保
持するときの格納態様の例を示すものである。第
10図において、物理アドレステーブルの第50〜
第177エントリーをアドレス変換管理バツフアへ
格納するとき、物理アドレステーブルの第50〜第
127エントリーはアドレス変換管理バツフアの同
じく第50〜第127エントリーに格納され、物理ア
ドレステーブルの第128〜第177エントリーはアド
レス変換管理バツフアの第0〜第49エントリーに
格納される。ここで物理アドレステーブルの第0
〜第127エントリーに対応する論理アドレスと同
第128〜第255エントリーに対応する論理アドレス
とでは、第9図図示の論理アドレスレジスタの第
0〜第4ビツトの値が1だけ異なつており、後者
の方が前者より大きい値を有する。そのために、
第10図に示すの部分を格納するときは、第9
図の実施例で説明したように、アドレス変換管理
バツフアの論理アドレス部を+1するわけであ
る。なお、実施例においては、物理アドレステー
ブルを256エントリー、アドレス変換管理バツフ
アを128エントリーとしたが、さらに大きなメモ
リ空間を有するシステムにおいては、例えば、物
理アドレステーブルが4Kエントリー、アドレス
変換管理バツフアが256エントリーというような
値を有する。
FIG. 10 shows an example of how a series of physical addresses in a physical address table having 256 entries is stored in an address translation management buffer having 128 entries. In Figure 10, the 50th to
When storing the 177th entry to the address translation management buffer, the 50th to 50th entries of the physical address table
The 127th entry is stored in the 50th to 127th entries of the address translation management buffer, and the 128th to 177th entries of the physical address table are stored in the 0th to 49th entries of the address translation management buffer. Here, the 0th address of the physical address table is
The values of the 0th to 4th bits of the logical address register shown in FIG. 9 differ by 1 between the logical address corresponding to the 127th entry and the logical addresses corresponding to the 128th to 255th entries, and the latter has a larger value than the former. for that,
When storing the part shown in FIG.
As explained in the embodiment shown in the figure, the logical address part of the address translation management buffer is incremented by 1. In the embodiment, the physical address table has 256 entries and the address translation management buffer has 128 entries, but in a system with a larger memory space, for example, the physical address table has 4K entries and the address translation management buffer has 256 entries. It has a value such as entry.

上記したように本考案によれば、連続する論理
アドレス空間に対応する物理アドレステーブルを
用意し、該物理アドレステーブル内の一連の物理
アドレス群をアドレス変換管理バツフアに保持す
るアドレス変換装置において、アドレス変換管理
バツフアのアドレスカウンタの桁止りを検出し、
このとき論理アドレスの上位部分を+1してアド
レス変換管理バツフアに書込むようにしたので、
簡単な構成でかつ高速に連続してアドレス変換バ
ツフアへの登録動作を行なうことができる。
As described above, according to the present invention, in an address translation device that prepares a physical address table corresponding to a continuous logical address space and holds a series of physical address groups in the physical address table in an address translation management buffer, Detects a digit stop in the address counter of the conversion management buffer,
At this time, I added 1 to the upper part of the logical address and wrote it to the address translation management buffer, so
With a simple configuration, the registration operation to the address translation buffer can be performed continuously at high speed.

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

第1図は論理アドレスと物理アドレスのアドレ
ス形式例、第2図は論理アドレス空間と物理アド
レス空間の例、第3図と第4図はアドレス変換管
理テーブルの従来例、第5図は従来のアドレス変
換方式の一例、第6図は本考案が前提とするアド
レス変換方式の概念を示す図、第7図は本考案の
前提とするアドレス変換において必要とされる論
理アドレス順に物理アドレスがおかれた物理アド
レステーブルの例、第8図は本考案が適用される
実施例のアドレス変換回路、第9図は本考案によ
る実施例のアドレス変換管理バツフアの登録制御
部のブロツク図、第10図は物理アドレステーブ
ルの内容をアドレス変換管理バツフアに保持する
ときの格納態様の例を示す図である。 第9図において、10は論理アドレスレジス
タ、11は物理アドレスレジスタ、12はアドレ
ス変換管理バツフア、13はアドレスカウンタ、
14は書込みレジスタ、15と16は+1回路、
17は桁上り・終了検出回路である。
Figure 1 is an example of the address format of a logical address and physical address, Figure 2 is an example of a logical address space and physical address space, Figures 3 and 4 are conventional examples of address translation management tables, and Figure 5 is a conventional example of an address translation management table. An example of an address conversion method, FIG. 6 is a diagram showing the concept of the address conversion method on which the present invention is based, and FIG. 7 is a diagram showing the concept of the address translation method on which the present invention is based. 8 is an example of a physical address table according to an embodiment of the present invention, FIG. 9 is a block diagram of a registration control unit of an address translation management buffer according to an embodiment of the present invention, and FIG. FIG. 6 is a diagram illustrating an example of a storage mode when the contents of a physical address table are held in an address translation management buffer. In FIG. 9, 10 is a logical address register, 11 is a physical address register, 12 is an address translation management buffer, 13 is an address counter,
14 is a write register, 15 and 16 are +1 circuits,
17 is a carry/end detection circuit.

Claims (1)

【実用新案登録請求の範囲】 物理アドレス空間より大きい論理アドレス空間
のうち、一部の連続する物理アドレス空間に対応
する物理アドレステーブルを用意し、該物理アド
レステーブル内の一連の物理アドレス群をアドレ
ス変換管理バツフアに保持して、メモリのアクセ
スにあたり論理アドレスにより該アドレス変換管
理バツフアをアクセスし、論理アドレスから物理
アドレスへ変換するアドレス変換装置において、
上記物理アドレステーブルから取出すべきエント
リーの先頭を示す論理アドレスと、該先頭を示す
論理アドレスに対応する論理アドレステーブルエ
ントリーの存在する物理アドレスを指示するとと
もに、 上記アドレス変換管理バツフア(第9図の1
2)をアクセスするアドレスカウンタ13と、該
カウンタの桁上りを検出する手段17と、論理ア
ドレスの上位部分を保持するレジスタ(14の
a)および+1する手段16とを設け、上記アド
レス変換管理バツフアの作成にあたり、上記指示
された物理アドレス11より物理アドレステーブ
ルの内容を順次読み出して、上記指示された論理
アドレス10の下位部分(10のb)で示される
アドレス変換管理バツフアのアドレス位置より、
対応する物理アドレス(14のPb)と上記指示
された論理アドレスの上位部分(14のa)とを
登録し、上記桁上りを検出17したことによりそ
れ以後は上記アドレス変換管理バツフア内の論理
アドレスの上位部分の位置に、上記指示された論
理アドレスの上位部分(10のa)の値+1をも
つて登録し、上記手順により予め設定された物理
アドレステーブルからアドレス変換管理バツフア
に予めアドレス変換対を設定することを特徴とす
るアドレス変換装置。
[Claims for Utility Model Registration] A physical address table corresponding to a portion of consecutive physical address spaces is prepared in a logical address space larger than a physical address space, and a series of physical addresses in the physical address table are used as addresses. An address translation device that stores an address in a translation management buffer, accesses the address translation management buffer using a logical address when accessing memory, and converts a logical address into a physical address,
Instructs the logical address indicating the head of the entry to be extracted from the physical address table and the physical address where the logical address table entry corresponding to the logical address indicating the head exists,
2), an address counter 13 for accessing the counter, a means 17 for detecting a carry of the counter, a register (14a) for holding the upper part of the logical address, and a means 16 for incrementing the logical address by 1 are provided. In creating , the contents of the physical address table are sequentially read from the specified physical address 11, and from the address position of the address translation management buffer indicated by the lower part (10b) of the specified logical address 10,
By registering the corresponding physical address (14 Pb) and the upper part (14 a) of the logical address specified above, and detecting the above carry 17, from then on, the logical address in the address translation management buffer is The value of the upper part (a of 10) of the specified logical address + 1 is registered in the upper part position of the logical address specified above, and the address translation pair is registered in the address translation management buffer from the physical address table set in advance by the above procedure. An address translation device characterized by setting.
JP6583384U 1984-05-04 1984-05-04 address translation device Granted JPS6016240U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6583384U JPS6016240U (en) 1984-05-04 1984-05-04 address translation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6583384U JPS6016240U (en) 1984-05-04 1984-05-04 address translation device

Publications (2)

Publication Number Publication Date
JPS6016240U JPS6016240U (en) 1985-02-04
JPS6319858Y2 true JPS6319858Y2 (en) 1988-06-02

Family

ID=30196046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6583384U Granted JPS6016240U (en) 1984-05-04 1984-05-04 address translation device

Country Status (1)

Country Link
JP (1) JPS6016240U (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5235948A (en) * 1975-09-16 1977-03-18 Hitachi Ltd Information processing unit for imaginary memory system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5235948A (en) * 1975-09-16 1977-03-18 Hitachi Ltd Information processing unit for imaginary memory system

Also Published As

Publication number Publication date
JPS6016240U (en) 1985-02-04

Similar Documents

Publication Publication Date Title
JPS6319858Y2 (en)
JP3190700B2 (en) Address translator
JPS6362083A (en) Projection data generation system
US5652855A (en) Memory circuit, method of access, and method of preparation of data in memory
JPH0234074B2 (en)
JPS63129438A (en) Memory controller
JP2507399B2 (en) Database equipment
JPS623466B2 (en)
JPS62157934A (en) Memory address system
JPS6349772Y2 (en)
JPS6218065B2 (en)
JPH0477948A (en) Memory access control system and information processor using the system
JPS6349771Y2 (en)
JP3019627B2 (en) Data retrieval device
JPS6034159Y2 (en) conversion circuit
JPH0573424A (en) High speed address converting system
JPS6061851A (en) Input and output processor
JPS58196680A (en) Address converting system for virtual machine system
JPS5837884A (en) Address converting system
JPS6286432A (en) High speed data retrieval circuit
JPH04101252A (en) Address conversion buffer clearing system
JPS6244353B2 (en)
JPS63189955A (en) Data transferring and processing system in virtual computer system
JPS58196678A (en) Address converting system for virtual machine system
JPH069038B2 (en) Direct memory access controller