JPH0343650B2 - - Google Patents

Info

Publication number
JPH0343650B2
JPH0343650B2 JP60268517A JP26851785A JPH0343650B2 JP H0343650 B2 JPH0343650 B2 JP H0343650B2 JP 60268517 A JP60268517 A JP 60268517A JP 26851785 A JP26851785 A JP 26851785A JP H0343650 B2 JPH0343650 B2 JP H0343650B2
Authority
JP
Japan
Prior art keywords
address
physical page
local memory
page address
bit
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
JP60268517A
Other languages
Japanese (ja)
Other versions
JPS62127954A (en
Inventor
Hiroko Kamisaka
Masayoshi Takei
Ryoichi Nishimachi
Kazuyasu Nonomura
Yasutomo Sakurai
Akitoshi Kamimura
Takeshi Murata
Takahito Noda
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 JP60268517A priority Critical patent/JPS62127954A/en
Publication of JPS62127954A publication Critical patent/JPS62127954A/en
Publication of JPH0343650B2 publication Critical patent/JPH0343650B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔概要〕 論理ページアドレスをアドレス変換処理して得
られた物理ページアドレスをそれよりも少いデー
タビツト幅を持つたローカルメモリに格納する場
合、過剰アドレスビツトレジスタを別個に設け、
物理ページアドレス中のローカルメモリのデータ
ビツト幅以内のビツト部分をローカルメモリ内の
特定領域に格納し、そのビツト幅を越えた物理ペ
ージアドレスのビツト部分を過剰アドレスビツト
レジスタに格納させる。これにより、ローカルメ
モリのデータビツト幅を増加させることなくそれ
よりもビツト数の多い物理ページアドレスを前記
ローカルメモリを用いて格納することが出来る。
[Detailed Description of the Invention] [Summary] When a physical page address obtained by address translation processing of a logical page address is stored in a local memory having a data bit width smaller than the physical page address, an excess address bit register is separately set. established in
The bit portion of the physical page address that is within the data bit width of the local memory is stored in a specific area in the local memory, and the bit portion of the physical page address that exceeds the bit width is stored in an excess address bit register. As a result, a physical page address having a larger number of bits can be stored using the local memory without increasing the data bit width of the local memory.

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

本発明は、論理ページアドレスをアドレス変換
処理して得られた物理ページアドレスをローカル
メモリ中のある特定の領域に格納する変換アドレ
ス格納方式、特に物理ページアドレスのビツト数
がローカルメモリのデータビツト幅を越えた場合
の変換アドレス格納方式に関する。
The present invention provides a converted address storage method in which a physical page address obtained by address conversion processing of a logical page address is stored in a specific area in a local memory. This paper relates to a method for storing converted addresses when the number exceeds .

〔従来の技術〕[Conventional technology]

情報処理装置においては、論理ページアドレス
から実際にバツフアストレージや主記憶をアクセ
スする場合の物理ページアドレスを作成する為に
アドレス変換処理が行われるが、このアドレス変
換は動的アドレス変換(DAT:Dynamic
Address Translation)機構によつてプログラム
の実行時に動的に行われること、そして、この
DATを高速に行う為に、例えば変換索引バツフ
ア(TLB:Translation Lookaside Buffer)が
用いられることは良く知られている。
In information processing devices, address translation processing is performed to create a physical page address from a logical page address when actually accessing buffer storage or main memory, and this address translation is performed using dynamic address translation (DAT: Dynamic
This is done dynamically during program execution by the Address Translation mechanism, and
It is well known that, for example, a translation lookaside buffer (TLB) is used to perform DAT at high speed.

TLBには論理ページアドレスとそれに対応す
る物理ページアドレスが組になつて登録されてい
る。従つて、TLB中に目的の物理ページアドレ
スが登録されていれば、TLBの参照だけで論理
ページアドレスからその物理ページアドレスを直
ちに求めることが出来る。
A logical page address and a corresponding physical page address are registered in the TLB as a pair. Therefore, if the target physical page address is registered in the TLB, the physical page address can be immediately obtained from the logical page address by simply referencing the TLB.

この様にTLB等を用いることにより、アドレ
ス変換は高速化されているが、更に、このアドレ
ス変換を高速化する為、一度アドレス変換した結
果の物理ページアドレスは、ページクロスや命令
の終了までは何度もアドレス変換されないのが通
常であることから、一度物理ページアドレスを得
たら、それをローカルメモリ中のある特定領域に
格納して利用する変換アドレス格納方式が提案さ
れている。
In this way, by using TLB etc., address translation is speeded up, but in order to further speed up this address translation, the physical page address as a result of address translation is Since addresses are usually not translated many times, a translated address storage method has been proposed in which once a physical page address is obtained, it is stored in a specific area in local memory for use.

第3図は、この従来の変換アドレス格納方式の
構成をブロツク図で示したものである。
FIG. 3 is a block diagram showing the structure of this conventional translated address storage system.

第3図において、210はローカルメモリで、
CUP内に設けられ、内部に情報処理時の演算回
路等のデータ及びTLB等によるアドレス変換処
理によつて得られた物理ページアドレスが格納さ
れる。物理ページアドレスは、ローカルメモリ2
10内のある特定領域に格納される。
In FIG. 3, 210 is a local memory;
It is provided in the CUP, and stores therein data such as arithmetic circuits during information processing and physical page addresses obtained through address conversion processing by TLB and the like. The physical page address is local memory 2
It is stored in a specific area within 10.

220はアドレス選択回路で、ローカルメモリ
210内に格納されている通常のデーダ領域をア
クセスする通常のアドレス(a側)と物理ページ
アドレスの格納されている領域をアクセクする物
理ページアクセス用アドレス(b側)の一方を選
択する。
220 is an address selection circuit that selects a normal address (a side) that accesses a normal data area stored in the local memory 210 and a physical page access address (b side) that accesses an area where a physical page address is stored. side).

230はアドレスレジスタ入力選択回路で、図
示しないTLB等によりアドレス変換処理されて
得られた物理ページアドレス(b側)とローカル
メモリ210より読み出された物理ページアドレ
ス(a側)の一方を選択して、アドレスレジスタ
240にセツトする。
230 is an address register input selection circuit that selects either the physical page address (b side) obtained by address conversion processing by a TLB or the like (not shown) or the physical page address (a side) read from the local memory 210. and sets it in the address register 240.

アドレスレジスタ240には、アドレスレジス
タ入力選択回路230から入力された物理ページ
アドレスと論理アドレス中のページ内アドレスが
セツトされる。物理ページアドレス部分は取り出
されて書き込みデータ選択回路250に入力さ
れ、物理ページアドレスとページ内アドレスは一
体となつて主記憶(図示せず)をアクセスする実
アドレスを形成する。
In the address register 240, the physical page address input from the address register input selection circuit 230 and the intra-page address among the logical addresses are set. The physical page address portion is extracted and input to write data selection circuit 250, and the physical page address and intra-page address together form a real address for accessing main memory (not shown).

書き込みデータ選択回路250は、アドレスレ
ジスタ240から読み出された物理ページアドレ
ス(b側)と演算回路等からの通常のデータ(a
側)の一方を選択して、ローカルメモリ210に
格納する。
The write data selection circuit 250 selects the physical page address (b side) read from the address register 240 and normal data (a
side) and stores it in the local memory 210.

260はオア回路で、通常のデータをローカル
メモリ210に格納するクロツクをローカルメモ
リ210に入力する。
260 is an OR circuit which inputs a clock to the local memory 210 for storing normal data in the local memory 210.

この構成において、通常のデータをローカルメ
モリ210に格納するときは、選択回路220及
び250は、通常のデータ側aを選択する。
In this configuration, when storing normal data in the local memory 210, the selection circuits 220 and 250 select the normal data side a.

通常のデータは、書き込みデータ選択回路25
0を通つてローカルメモリ210に加えられる。
一方、アドレス選択回路220を通つて通常のア
ドレスがローカルメモリ210に加えられるの
で、オア回路260より加えられる通常データセ
ツトクロツクに同期して、入力された通常データ
をローカルメモリ210内の前記所定アドレス領
域に格納する。
For normal data, write data selection circuit 25
0 to local memory 210.
On the other hand, since the normal address is added to the local memory 210 through the address selection circuit 220, the input normal data is transferred to the predetermined address in the local memory 210 in synchronization with the normal data set clock applied from the OR circuit 260. Store in address area.

通常のデータを読み出すときは、アドレス選択
回路220により通常のアドレス側aを選択し
て、ローカルメモリ210をアクセスする。ロー
カルメモリ210より読み出された通常のデータ
は、端子Tを通つて図示しない演算回路等へ転送
される。
When reading normal data, the address selection circuit 220 selects the normal address side a to access the local memory 210. Normal data read from the local memory 210 is transferred to an arithmetic circuit (not shown) through a terminal T.

次に、物理ページアドレスをローカルメモリ2
10に格納するときは、各選択回路220,23
0及び250は、物理ページアドレス側bを選択
する。
Next, set the physical page address to local memory 2.
10, each selection circuit 220, 23
0 and 250 select physical page address side b.

アドレス変換処理によつて得られた物理ページ
アドレスは、アドレスレジスタ入力選択回路23
0を通つて、アドレスレジスタ240にセツトさ
れた後、書き込みデータ選択回路250を通つて
ローカルメモリ210に加えられる。
The physical page address obtained by the address conversion process is sent to the address register input selection circuit 23.
After being set in address register 240 through 0, it is applied to local memory 210 through write data selection circuit 250.

一方、アドレス選択回路220を通つて物理ペ
ージアクセス用アドレスがローカルメモリ210
に加えられるので、オア回路260から送られる
物理ページアドレスセツトクロツクに同期して、
入力された物理ページアドレスをローカルメモリ
210内の前記所定アドレス領域に格納する。
On the other hand, the physical page access address is transferred to the local memory 210 through the address selection circuit 220.
is added to the physical page address set clock sent from the OR circuit 260.
The input physical page address is stored in the predetermined address area in the local memory 210.

物理ページアドレスをローカルメモリ210か
ら読み出すときは、アドレス選択回路220はb
側を選択し、アドレスレジスタ入力回路230は
a側を選択する。
When reading the physical page address from the local memory 210, the address selection circuit 220 selects b
The address register input circuit 230 selects the a side.

アドレス選択回路220から加えられた物理ペ
ージアドレスアクセス用アドレスによつてローカ
ルメモリ210から読み出された物理ページアド
レスは、アドレスレジスタ入力回路230を通つ
て、アドレスレジスタ240にセツトされる。
The physical page address read from the local memory 210 by the physical page address access address applied from the address selection circuit 220 is set in the address register 240 through the address register input circuit 230.

アドレスレジスタ240には、この物理ページ
アドレスと共に論理アドレス中のページ内アドレ
スがセツトされ、この両者が取り出されて主記憶
(図示せず)をアクセスする実アドレスを形成す
る。
The physical page address and the in-page address in the logical address are set in the address register 240, and both are taken out to form a real address for accessing main memory (not shown).

以上の様にして、一度アドレス変換により物理
ページが得られると、それをローカルメモリ21
0中のある特定領域に格納し、同じページ内をア
クセスする場合には、ページクロス等が発生しな
い限りこのローカルメモリ210の物理ページア
ドレスを利用し、ページ内アドレスのみを作成す
ることにより主記憶をアクセスする実アドレスが
得られるので、TLBを参照する場合よりもアド
レス変換処理を更に高速化することが出来る。
As described above, once a physical page is obtained by address translation, it is transferred to the local memory 21.
When storing data in a specific area in 0 and accessing the same page, the physical page address of this local memory 210 is used unless a page cross occurs, and only the address within the page is created. Since the real address for accessing the TLB can be obtained, the address translation process can be made faster than when referring to the TLB.

また、アドレス変換後の物理ページアドレスが
ローカルメモリ210中のある特定領域に格納さ
れることを利用して効率の良いフアームウエーア
を構成することが出来る。即ち、あるマクロ命令
の処理中にその物理ページアドレスが必要になつ
た場合に、ローカルメモリ210中の前記特定領
域の物理ページアドレスを使用する様にすれば、
アドレス変換処理を共通化することが出来るので
フアームウエアを簡単化すると共にアドレス変換
処理を高速化することが出来る。
Further, efficient firmware can be constructed by utilizing the fact that the physical page address after address conversion is stored in a specific area in the local memory 210. That is, if the physical page address of the specific area in the local memory 210 is used when the physical page address is needed during the processing of a certain macro instruction,
Since the address conversion process can be shared, the firmware can be simplified and the address conversion process can be speeded up.

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

従来の変換アドレス格納方式は、前述の様に、
アドレス変換して得られた物理ページアドレスを
ローカルメモリ210中の特定領域に格納するこ
とによりアドレス変換処理の一層の高速化を計つ
ていた。
As mentioned above, the conventional translated address storage method is
By storing the physical page address obtained by address conversion in a specific area in the local memory 210, the speed of the address conversion process is further increased.

所で、このローカルメモリ210は、他の処
理、例えばALU演算等の結果の一時保管領域と
して通常は用いられている。そして、このローカ
ルメモリ210に格納されるデータのビツト幅
は、ローカルメモリ210中のどのアドレスでも
同じである。従つて、このローカルメモリ210
中に格納される物理ページアドレスのビツト幅
は、ローカルメモリ210のビツト幅によつて制
限されることになり、もし物理ページアドレスの
ビツト幅がローカルメモリ210のビツト幅以上
になつた場合、従来方式では、ローカルメモリの
全アドレスに対し、不足したビツト幅だけデータ
ビツトを増加させることが必要であつた。
Incidentally, this local memory 210 is normally used as a temporary storage area for the results of other processes, such as ALU operations. The bit width of data stored in this local memory 210 is the same at any address in the local memory 210. Therefore, this local memory 210
The bit width of the physical page address stored in the local memory 210 is limited by the bit width of the local memory 210. If the bit width of the physical page address exceeds the bit width of the local memory 210, the conventional In this method, it was necessary to increase the data bits by the insufficient bit width for all addresses in local memory.

この為、従来方式では、物理ページアドレスの
ビツト幅がローカルメモリ210のビツト幅以上
になつた場合には、ローカルメモリ210のデー
タビツト数を大幅に増加しなければならないとい
う問題があつた。
Therefore, in the conventional system, when the bit width of the physical page address exceeds the bit width of the local memory 210, there is a problem in that the number of data bits in the local memory 210 must be significantly increased.

本発明は、物理ページアドレスのビツト幅がロ
ーカルメモリのビツト幅以上になつた場合でも、
そのローカルメモリのビツト幅を増加させること
なく、従来のローカルメモリをそのまま用いてそ
れよりもビツト幅の大きい物理ページアドレスを
格納することが可能な変換アドレス格納方式を提
供することを目的とする。
In the present invention, even if the bit width of the physical page address exceeds the bit width of the local memory,
To provide a converted address storage system capable of storing a physical page address with a larger bit width by using a conventional local memory without increasing the bit width of the local memory.

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

従来の変換アドレス格納方式における前述の問
題点を解決する為に本発明が講じた手段と、第1
図を参照して説明する。
Means taken by the present invention to solve the above-mentioned problems in the conventional translated address storage method, and the first
This will be explained with reference to the figures.

第1図は、本発明の構成をブロツク図で示した
ものである。
FIG. 1 is a block diagram showing the structure of the present invention.

第1図において、110はローカルメモリで、
通常の情報処理時のデータと共にそのある特定領
域にアドレス変換処理によつて得られた物理ペー
ジアドレスが格納される。
In FIG. 1, 110 is a local memory;
A physical page address obtained by address translation processing is stored in a certain specific area along with data during normal information processing.

120は過剰アドレスビツトレジスタで、ロー
カルメモリ110のデータビツト幅を越えた物理
ページアドレスのビツト部分が格納される。
Reference numeral 120 denotes an excess address bit register in which the bit portion of the physical page address exceeding the data bit width of the local memory 110 is stored.

130は物理ページアドレス処理手段で、入力
された物理ページアドレス中のローカルメモリ1
10のデータビツト幅以内のビツト部分をローカ
ルメモリ110内の特定領域に格納し、ローカル
メモリ110のデータビツト幅を越えた物理ペー
ジアドスのビツト部分を過剰アドレスビツトレジ
スタ120に格納させる。
Reference numeral 130 denotes a physical page address processing means for processing local memory 1 in the input physical page address.
The bit portion within the data bit width of 10 is stored in a specific area in the local memory 110, and the bit portion of the physical page address exceeding the data bit width of the local memory 110 is stored in the excess address bit register 120.

〔作用〕[Effect]

アドレス変換処理によつて得られた物理ページ
アドレスが物理ページアドレス処理手段130に
入力されると、物理ページアドレス処理手段13
0は、入力された物理ページアドレス中のローカ
ルメモリ110のデータビツト幅以内のビツト部
をローカルメモリ110内の特定番地に格納し、
ローカルメモリ110のデータビツト幅を越えた
物理ページアドレスのビツト部分、即ち過剰アド
レスビツト部分を過剰アドレスビツトレジスタ1
20に格納させる。
When the physical page address obtained by the address conversion process is input to the physical page address processing means 130, the physical page address processing means 13
0 stores the bit part within the data bit width of the local memory 110 in the input physical page address at a specific address in the local memory 110,
The bit portion of the physical page address that exceeds the data bit width of the local memory 110, that is, the excess address bit portion, is stored in the excess address bit register 1.
Store it in 20.

この場合、過剰アドレスビツト部分は、物理ペ
ージアドレスの上位や下位ビツトに特定されるも
のでなく、物理ページアドレスの任意の部分でよ
い。
In this case, the excess address bit portion is not specified by the upper or lower bits of the physical page address, but may be any portion of the physical page address.

物理ページアドレスを取り出す場合は、ローカ
ルメモリ110から読み出された物理ページアド
レス部分と過剰アドレスビツトレジスタ120か
ら読み出された過剰アドレスビツト部分を組合せ
て元の物理ページアドレスに戻す。更に、この物
理ページアドレスとページ内アドレスから図示し
ない主記憶をアクセスする実アドレスを作成す
る。
When extracting a physical page address, the physical page address portion read from the local memory 110 and the excess address bit portion read from the excess address bit register 120 are combined to return the original physical page address. Furthermore, a real address for accessing the main memory (not shown) is created from this physical page address and intra-page address.

以上の様にして、ローカルメモリ110に入り
切れなかつた物理ページアドレスの過剰アドレス
ビツト部分のみをローカルメモリ110とは別個
の過剰アドレスビツトレジスタ120に格納させ
ることにより、従来のローカルメモリ110を用
いて、そのデータビツト幅よりもビツト数の多い
物理ページアドレスの格納を行うことが出来る。
As described above, by storing only the excess address bit portion of the physical page address that could not fit into the local memory 110 in the excess address bit register 120 that is separate from the local memory 110, it is possible to use the conventional local memory 110. , it is possible to store a physical page address that has more bits than the data bit width.

〔実施例〕〔Example〕

本発明の一実施例を、第2図を参照して説明す
る。第2図は、本発明の一実施例の構成をブロツ
ク図で示したものである。
An embodiment of the present invention will be described with reference to FIG. FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.

(A) 実施例の構成 第2図において、ローカルメモリ110、過剰
アドレスビツトレジスタ120、物理ページアド
レス処理手段130については、第1図に説明し
た通りである。
(A) Configuration of Embodiment In FIG. 2, the local memory 110, excess address bit register 120, and physical page address processing means 130 are as described in FIG.

物理ページアドレス処理手段130において、
131はアドレス選択回路で、ローカルメモリ1
10内に格納されている通常のデータ領域をアク
セスする通常のアドレス(a側)と物理ページア
ドレスの格納されている領域をアクセスする物理
ページアクセス用アドレス(b側)の一方を選択
する。
In the physical page address processing means 130,
131 is an address selection circuit, which selects local memory 1.
One of the normal address (a side) that accesses the normal data area stored in the 10 and the physical page access address (b side) that accesses the area where the physical page address is stored is selected.

132はアドレスレジスタで、物理ページアド
レス中の過剰アドレスビツト部分がセツトされる
過剰アドレス部、ローカルメモリ110中に格納
される物理ページアドレス部分(物理ページアド
レス本体部分)がセツトされるページアドレス本
体部及びページ内アドレスがセツトされるベージ
内アドレス部を有している。この実施例では、物
理ページアドレスの下位部分から順番にローカル
メモリ110に格納し、ローカルメモリ110に
入り切れない物理ページアドレスの上位アドレス
ビツト部分が過剰アドレスビツト部分となる様に
する。この様にすることにより、物理ページアド
レスをアドレスレジスタ132のページアドレス
本体部及び過剰アドレス部に簡単に分配してセツ
トすることが可能となると共に、過剰アドレス部
とページアドレス本体部の読み出しが容易とな
り、更に、物理ページの作成と読み出しを容易に
行うことが出来る。
Reference numeral 132 denotes an address register, which includes an excess address part in which the excess address bit part in the physical page address is set, and a page address body part in which the physical page address part (physical page address body part) stored in the local memory 110 is set. and an intra-page address section in which an intra-page address is set. In this embodiment, the physical page address is stored in the local memory 110 in order from the lower part, so that the upper address bit part of the physical page address that cannot fit into the local memory 110 becomes the excess address bit part. By doing this, it is possible to easily distribute and set the physical page address to the page address body part and the excess address part of the address register 132, and it is also easy to read out the excess address part and the page address body part. Furthermore, creation and reading of physical pages can be easily performed.

133は第1アドレスレジスタ入力選択回路
(ADRSEL(1))で、物理ページアドレス中のペー
ジアドレス本体部にセツトされるアドレス部分
(b側)とローカルメモリ110より読み出され
た物理ページアドレス本体部分(a側)の一方を
選択して、ページアドレス本体部にセツトする。
133 is a first address register input selection circuit (ADRSEL(1)), which selects the address part (b side) set in the page address body part of the physical page address and the physical page address body part read from the local memory 110. Select one (side a) and set it in the page address body.

134は第2アドレスレジスタ入力選択回路
(ADRSEL(2))で、物理ページアドレス中の過剰
アドレスビツト部分(b側)と過剰アドレスビツ
トレジスタ120より読み出された過剰アドレス
ビツト部分(a側)の一方を選択して、過剰アド
レス部にセツトする。ADRSEL(1)133及び
ADRSEL(2)134は、共通の選択信号で動作す
る。T1はローカルメモリ110より読み出され
た通常のデータの出力端子であり、T2は実アド
レスの出力端子である。
134 is a second address register input selection circuit (ADRSEL(2)), which selects the excess address bit part (b side) in the physical page address and the excess address bit part (a side) read from the excess address bit register 120. Select one and set it in the excess address section. ADRSEL(1)133 and
ADRSEL(2) 134 operates on a common selection signal. T 1 is an output terminal for normal data read from the local memory 110, and T 2 is an output terminal for real addresses.

140は書き込みデータ選択回路で、アドレス
レジスタ132から読み出された物理ページアド
レス(b側)と演算回路等からの通常のデータ
(a側)の一方を選択して、ローカルメモリ11
0に格納する。
140 is a write data selection circuit that selects either the physical page address (b side) read from the address register 132 or the normal data (a side) from the arithmetic circuit, etc., and writes the data to the local memory 11.
Store at 0.

150はオア回路で、通常のデータをローカル
メモリ110に格納するクロツク及び物理ページ
アドレス本体部分をローカルメモリ110に格納
するクロツクをローカルメモリ110に入力す
る。
150 is an OR circuit which inputs to the local memory 110 a clock for storing normal data in the local memory 110 and a clock for storing the physical page address body part in the local memory 110.

(B) 実施例の動作 実施例の動作を、通常のデータの格納動作、
動作のデータの読出し動作、物理ページアド
レスを格納動作、物理ページアドレスの読出し
動作に分けて説明する。
(B) Operation of the embodiment The operation of the embodiment is a normal data storage operation,
The operations will be explained separately into a data read operation, a physical page address storage operation, and a physical page address read operation.

通常のデータの格納動作 アドレス選択回路131及び書き込みデータ
選択回路140は、通常のデータ側aを選択す
る。通常のデータは、書き込みデータ選択回路
140を通つてローカルメモリ110に加えら
れる。
Normal data storage operation The address selection circuit 131 and the write data selection circuit 140 select the normal data side a. Normal data is applied to local memory 110 through write data selection circuit 140.

一方、アドレス選択回路131を通つて通常
のアドレスがローカルメモリ110に加えられ
るので、オア回路150より加えられる通常デ
ータセツトクロツクに同期して、入力された通
常データをローカルメモリ110内の前記所定
アドレス領域に格納する。
On the other hand, since the normal address is added to the local memory 110 through the address selection circuit 131, the input normal data is transferred to the predetermined address in the local memory 110 in synchronization with the normal data set clock applied from the OR circuit 150. Store in address area.

通常のデータの読出し動作 アドレス選択回路131により通常のアドレ
ス側aを選択して、ローカルメモリ110をア
クセスする。ローカルメモリ110より読み出
された通常のデータは、出力端子T1を通つて
図示しない演算回路等へ転送される。
Normal data read operation The address selection circuit 131 selects the normal address side a to access the local memory 110. Normal data read from the local memory 110 is transferred to an arithmetic circuit (not shown) through the output terminal T1 .

物理ページアドレスの格納動作 アドレシス選択回路131、ADRSEL(1)1
33、ADRSEL(2)134及び書き込みデータ
選択回路140は、いずれも物理ページアドレ
ス側bを選択する。
Physical page address storage operation Address selection circuit 131, ADRSEL(1)1
33, ADRSEL(2) 134 and write data selection circuit 140 both select the physical page address side b.

アドレス変換処理によつて得られた物理ペー
ジアドレスがADRSEL(1)133及びADRSEL
(2)134に入力されると、ADRSEL(1)133
は、ローカルメモリ110に格納される以下の
物理ページアドレス部分、即ち物理ページアド
レス本体部分を選択して、アドレスレジスタ1
32のページアドレス本体部にセツトする。一
方、ADRSEL(2)134は、ローカルメモリ1
10に入り切れない上位の物理ページアドレス
部分、即ち過剰アドレスビツト部分を選択し
て、アドレスレジスタ132の過剰アドレス部
にセツトする。
The physical page address obtained through address conversion processing is ADRSEL(1)133 and ADRSEL
(2) When input to 134, ADRSEL(1)133
selects the following physical page address part stored in the local memory 110, that is, the physical page address body part, and stores it in the address register 1.
32 page address body. On the other hand, ADRSEL(2) 134 is local memory 1
The upper physical page address portion that cannot fit into 10, that is, the excess address bit portion, is selected and set in the excess address portion of the address register 132.

アドレスレジスタ132のページアドレス本
体部にセツトされた物理ページアドレス本体部
分は、取り出されると書き込みデータ選択回路
140を通つて、ローカルメモリ110に加え
られる。
When the physical page address body part set in the page address body part of the address register 132 is taken out, it is added to the local memory 110 through the write data selection circuit 140.

一方、アドレス選択回路131を通つて物理
ページアクセス用アドレスがローカルメモリ1
10に加えられるので、オア回路150から送
られる物理ページアドレスセツトクロツクに同
期して、入力された物理ページアドレス本体部
分をローカルメモリ110内の前記所定アドレ
ス領域に格納する。
On the other hand, the physical page access address is passed through the address selection circuit 131 to the local memory 1.
10, the input physical page address body part is stored in the predetermined address area in the local memory 110 in synchronization with the physical page address set clock sent from the OR circuit 150.

アドレスレジスタ132の過剰アドレス部に
セツトされた過剰アドレスビツト部分は、取り
出されて過剰アドレスビツトレジスタ120に
セツトされる。
The excess address bit portion set in the excess address portion of address register 132 is taken out and set in excess address bit register 120.

物理ページアドレスの読出し動作 アドレス選択回路131はb側を選択し、
ADRSEL(1)133及びADRSEL(2)134は共
にa側を選択する。書き込みデータ選択回路1
40は動作しない。
Physical page address read operation The address selection circuit 131 selects the b side,
ADRSEL(1) 133 and ADRSEL(2) 134 both select the a side. Write data selection circuit 1
40 does not work.

アドレス選択回路131から加えられた物理
ページアドレスアクセス用アドレスによつてロ
ーカルメモリ110から読み出された物理ペー
ジアドレス本体部分は、ADRSEL(1)133を
通つて、アドレスレジスタ132のページアド
レス本体部にセツトされる。
The physical page address body part read from the local memory 110 by the physical page address access address added from the address selection circuit 131 is sent to the page address body part of the address register 132 through the ADRSEL(1) 133. is set.

一方、過剰アドレスビツトレジスタ120に
ある過剰アドレスビツト部分は、アドレスレジ
スタ132の過剰アドレス部にセツトされる。
On the other hand, the excess address bit portion in excess address bit register 120 is set to the excess address portion of address register 132.

更に、アドレスレジスタ132のページ内ア
ドレス部には、所定のページ内アドレスがセツ
トされる。
Furthermore, a predetermined intra-page address is set in the intra-page address field of the address register 132.

これら過剰アドレス部及びページアドレス本
体部にセツトされた物理ページアドレス並びに
ページ内アドレス部にセツトされたページ内ア
ドレスは一体となつて出力端子T2に取り出さ
れ、図示しない主記憶をアクセスする実アドレ
スを形成する。
The physical page address set in the excess address section and the page address main section, and the intra-page address set in the intra-page address section are taken out together to the output terminal T2 , and are used as a real address for accessing the main memory (not shown). form.

以上、本発明の一実施例について説明したが、
本発明の各構成は、この実施例の各構成に限定さ
れるものではない。
Although one embodiment of the present invention has been described above,
Each configuration of the present invention is not limited to each configuration of this embodiment.

物理ページアドレスの過剰アドレスビツト部分
は物理ページアドレスの上位ビツト部分に限定さ
れるものでなく、物理ページアドレス中の任意の
部分でよいことは、既に述べた通りである。
As already stated, the excess address bit portion of the physical page address is not limited to the upper bit portion of the physical page address, but may be any portion of the physical page address.

また過剰アドレスビツトはローカルメモリ中の
ある特定の1番地に限定されるものでなく、ロー
カルメモリの複数番地に複数個存在しても良い。
Furthermore, the excess address bits are not limited to one specific address in the local memory, but may exist in a plurality of addresses in the local memory.

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

以上説明した様に、本発明によれば、次の諸効
果が得られる。
As explained above, according to the present invention, the following effects can be obtained.

(イ) 入力された物理ページアドレスのビツト数が
ローカルメモリのデータビツト幅を越えた場合
も、ローカルメモリのデータビツト幅を増加さ
せることなくそのローカルメモリをそのまま用
いて格納することが出来る。
(b) Even if the number of bits of the input physical page address exceeds the data bit width of the local memory, the local memory can be used for storage without increasing the data bit width of the local memory.

(ロ) 過剰アドレスビツトレジスタを設ける様にし
たので、ローカルメモリのデータビツト幅を増
加させる従来方式に比べてハードウエアの増加
を大幅に低減させることが出来る。
(b) Since an excess address bit register is provided, the increase in hardware can be significantly reduced compared to the conventional method in which the data bit width of the local memory is increased.

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

第1図……本発明の構成の説明図、第2図……
本発明の一実施例の構成の説明図、第3図……従
来の変換アドレス格納方式の説明図、 第1図及び第2図において、110……ローカ
ルメモリ、120……過剰アドレスビツトレジス
タ、130……物理ページ処理手段、140……
書き込みデータ選択回路。
Fig. 1...Explanatory diagram of the configuration of the present invention, Fig. 2...
FIG. 3 is an explanatory diagram of the configuration of an embodiment of the present invention. In FIGS. 1 and 2, 110... local memory, 120... excess address bit register, 130...Physical page processing means, 140...
Write data selection circuit.

Claims (1)

【特許請求の範囲】 1 論理ページアドレスをアドレス変換処理して
得られた物理ページアドレスローカルメモリ11
0中のある特定領域に格納する変換アドレス格納
方式において、 (a) ローカルメモリ110のデータビツト幅を越
えた物理ページアドレスのビツト部分を格納す
る過剰アドレスビツトレジスタ120と、 (b) 入力された物理ページアドレス中のローカル
メモリ110のデータビツト幅以内のビツト部
分をローカルメモリ110内の特定領域に格納
し、ローカルメモリ110のデータビツト幅を
越えた物理ページアドレスのビツト部分を過剰
アドレスビツトレジスタ120に格納させる物
理ページアドレス処理手段130、 を備えたことを特徴とする変換アドレス格納方
式。
[Claims] 1. Physical page address local memory 11 obtained by address conversion processing of logical page address
In the converted address storage method in which the converted address is stored in a specific area in 0, (a) an excess address bit register 120 that stores the bit portion of the physical page address that exceeds the data bit width of the local memory 110, and (b) an The bit portion of the physical page address that is within the data bit width of the local memory 110 is stored in a specific area within the local memory 110, and the bit portion of the physical page address that exceeds the data bit width of the local memory 110 is stored in the excess address bit register 120. A translated address storage method comprising: physical page address processing means 130 for storing physical page addresses in a physical page address storage system.
JP60268517A 1985-11-29 1985-11-29 Conversion address storage system Granted JPS62127954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60268517A JPS62127954A (en) 1985-11-29 1985-11-29 Conversion address storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60268517A JPS62127954A (en) 1985-11-29 1985-11-29 Conversion address storage system

Publications (2)

Publication Number Publication Date
JPS62127954A JPS62127954A (en) 1987-06-10
JPH0343650B2 true JPH0343650B2 (en) 1991-07-03

Family

ID=17459613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60268517A Granted JPS62127954A (en) 1985-11-29 1985-11-29 Conversion address storage system

Country Status (1)

Country Link
JP (1) JPS62127954A (en)

Also Published As

Publication number Publication date
JPS62127954A (en) 1987-06-10

Similar Documents

Publication Publication Date Title
JPH0137773B2 (en)
JPH0248931B2 (en)
JPS59213084A (en) Buffer store control system
JPH07120312B2 (en) Buffer memory controller
JPS59188764A (en) memory device
JPH0343650B2 (en)
JPS601655B2 (en) Data prefetch method
JPH0552539B2 (en)
JPS62171058A (en) address translation device
JP2612173B2 (en) Virtual computer
JP2510317B2 (en) TLB access device
JPH0322053A (en) Move in buffer control system
JPS6360427B2 (en)
JP3171289B2 (en) Information processing device
JPH0650481B2 (en) Data processing device
JPS6019534B2 (en) Transfer control device
JPS6180331A (en) Variable length data processor
JP2573711B2 (en) Micro subroutine control method
JPH02101552A (en) Address conversion buffer processing system
JP2570407B2 (en) Programmable controller
JPS6161142B2 (en)
JPS60175161A (en) Memory access system
JPH0447344B2 (en)
JPH01287760A (en) Virtual storage control system
JPH06139148A (en) Addressing circuit