JPS594783B2 - Kasoukiokuhoshikinojiyouhoushiyorisouchi - Google Patents

Kasoukiokuhoshikinojiyouhoushiyorisouchi

Info

Publication number
JPS594783B2
JPS594783B2 JP50110960A JP11096075A JPS594783B2 JP S594783 B2 JPS594783 B2 JP S594783B2 JP 50110960 A JP50110960 A JP 50110960A JP 11096075 A JP11096075 A JP 11096075A JP S594783 B2 JPS594783 B2 JP S594783B2
Authority
JP
Japan
Prior art keywords
address
logical address
bits
mode
logical
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
JP50110960A
Other languages
Japanese (ja)
Other versions
JPS5235948A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP50110960A priority Critical patent/JPS594783B2/en
Publication of JPS5235948A publication Critical patent/JPS5235948A/en
Publication of JPS594783B2 publication Critical patent/JPS594783B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 本発明は仮想記憶方式を採用した情報処理装置に関する
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device that employs a virtual storage method.

仮想記憶方式を採用した情報処理装置においては、プロ
グラムが指定した命◆、オペランドの番地を仮想メモリ
上の番地(論理アドレス)とみなし、該論理アドレスを
予じめ用意されたアドレス変換テーブルを用いて実アド
レスに変換し、該実アドレスで主記憶装置をアクセスす
る。
In an information processing device that employs a virtual memory method, the address of the command or operand specified by the program is regarded as an address (logical address) in virtual memory, and the logical address is converted using a pre-prepared address conversion table. The real address is converted into a real address, and the main memory is accessed using the real address.

この場合、処理装置から与えられる論理アドレスをその
都度変換テーブルを用いて実アドレスに変換したのでは
主記憶装置へのアクセスが遅くなるので、しばしば使用
される論理アドレスと実アドレスの対を格納するアドレ
ス変換バッファ(TLB)を設けるのが普通である。一
方、ソフトウェアの面から考えると、プログラムは、よ
り大きな論理アドレスを必要とする傾向にあり、現在一
般的に使用されている論理アドレス24ビットがたりな
くなりつつある。
In this case, if the logical address given by the processing unit is converted to a real address each time using a conversion table, access to the main memory will be slow, so it is necessary to store pairs of logical addresses and real addresses that are often used. It is common to provide an address translation buffer (TLB). On the other hand, from a software perspective, programs tend to require larger logical addresses, and the currently commonly used 24-bit logical address is running out of space.

つまり、論理アドレスがより大きくなる方向で、可変に
なることが考えられ、いくつかの論理アドレスモードが
混在可能な処理装置が必要となる。本発明の目的は、論
理アドレスの大きさに対応したモードを設け、各モード
の混在を許すことができる仮想記憶方式を採用した情報
処理装置を提供することである。
In other words, it is conceivable that the logical address will become variable as it becomes larger, and a processing device that can coexist with several logical address modes is required. SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing apparatus that employs a virtual storage system that provides modes corresponding to the size of logical addresses and allows each mode to coexist.

以下、図示の実施例により本発明の内容を詳述する。Hereinafter, the content of the present invention will be explained in detail with reference to illustrated embodiments.

第1図において、1は主記憶装置参照アドレスをカセッ
トするレジスタで、処理装置がアドレス変換モードの場
合は論理アドレスをセットする。便宜上、以下では上記
の参照アドレスは最大32ビットの0〜31のビット構
成(32ビットアドレスモード)を有するものとし、3
2ビットアドレスモードと、24ビットアドレスモード
とが混在した場合について説明する。アドレス変換モー
ドの場合、0〜31ビットをレジスタ1にセットして、
そのうち0〜20ビットでTLB2の参照を行なう。
In FIG. 1, 1 is a register for cassetteing a main memory reference address, and sets a logical address when the processing device is in address translation mode. For convenience, in the following it is assumed that the above reference address has a bit configuration of 0 to 31 with a maximum of 32 bits (32-bit address mode), and 3
A case where the 2-bit address mode and the 24-bit address mode coexist will be described. In address conversion mode, set bits 0 to 31 in register 1,
Of these, bits 0 to 20 are used to refer to TLB2.

なお、21〜31ビットは論理アドレスと実アドレスの
共通部で、これが主記憶装置の所定ブロック(この例で
は2KB)内アドレスに対応する。2はアドレス変換バ
ッファ(TLB)である。
Note that the 21st to 31st bits are a common part of the logical address and the real address, and this corresponds to an address within a predetermined block (2 KB in this example) of the main memory. 2 is an address translation buffer (TLB).

図示の例の場合、このアドレス変換バツフア2は64個
レジスタプロツクに分割され、それらの各レジスタプロ
ツクはレジスタ1にセツトされる15〜20ビツトで指
定される。TLB2の各プロツクは、それぞれTLBV
エリア、TLBRエリア、その他の必要なエリアからな
り、TLBエリアは論理アドレスの0〜14ビツトを、
TLBRエリアはそれに対応する実アドレスのO〜20
ビツトを含んでいる。このTLB2の各プロツクにより
、主記憶装置における2KBエリア対応の論理アドレス
と実アドレスの対を参照することになる。3,4は比較
回路で、それぞれ、レジスタ1、TLBのO〜7ビツト
、8〜14ビツトを人力としている。
In the illustrated example, this address translation buffer 2 is divided into 64 register blocks, each of which is specified by 15 to 20 bits set in register 1. Each block of TLB2 has TLBV
area, TLBR area, and other necessary areas. The TLB area stores 0 to 14 bits of the logical address.
The TLBR area is the corresponding real address O~20
Contains bits. Each block of TLB2 refers to a pair of a logical address and a real address corresponding to a 2KB area in the main memory. Reference numerals 3 and 4 are comparison circuits in which register 1, bits 0 to 7, and bits 8 to 14 of TLB are operated manually, respectively.

5は特殊なアンド回路であり、比較回路3,4を入力と
している。
5 is a special AND circuit, which receives the comparison circuits 3 and 4 as inputs.

アンド回路5は、制御信号によつて両入力のアンドを取
るか、あるいは、一比較回路4の結果をそのまま出すか
が制御される。この制御信号は24ビツトアドレスモー
ドか32ビツトアドレスモードかを選択するための制御
信号である。6は実際に主記憶装置をアクセスするため
の実アドレスレジスタである。
The AND circuit 5 is controlled by a control signal to determine whether to AND the two inputs or to output the result of the comparison circuit 4 as is. This control signal is a control signal for selecting 24-bit address mode or 32-bit address mode. 6 is a real address register for actually accessing the main memory.

次に第1図の動作を詳述する。Next, the operation shown in FIG. 1 will be explained in detail.

処理装置で主記憶装置に対するアクセス要求が生じると
、メモリ参照アドレスは主記憶装置へアクセスされる前
にレジスタ1にセツトされて、そのビツト15〜20の
内容によりTLB2の対応するプロツクがアクセスされ
、該当プロツクに登録されているTLB,TLBR等の
内容が読み出される。読み出されたTLBVの0〜7ビ
ツトとレジスタ1のO〜7ビツトが比較回路3で比較さ
れ、TLBの8〜14ビツトとレジスタ1の8〜14ビ
ツトが比較回路4で比較される。容易に理解されるよう
に、この両者の比較が共に一致した場合、レジスタ1に
セツトされたメモリ参照アドレスがTLB2に登録され
ていることを意味し、一致信号(InTLB)がアンド
回路5から出されるとともに、対応したTLBRの内容
(実アドレス)がアドレスレジスタ6のO〜20ビツト
にセツトされる。32ビツトアドレスモードの場合は、
上記の方法で実アドレスを求めればよいが、24ビツト
モードの場合、レジスタ1にセツトされたO〜7は意味
のないビツトであり、何かがセツトされるかは不明確で
あり、32ビツトアドレスモードと同じアドレス変換処
理をすると正しい結果が得られないことは明らかである
When an access request to the main memory is generated in the processing device, the memory reference address is set in register 1 before the main memory is accessed, and the corresponding block in TLB2 is accessed according to the contents of bits 15 to 20. The contents of TLB, TLBR, etc. registered in the corresponding block are read. Bits 0 to 7 of the read TLBV and bits 0 to 7 of register 1 are compared in comparison circuit 3, and bits 8 to 14 of TLB and bits 8 to 14 of register 1 are compared in comparison circuit 4. As is easily understood, if both of these comparisons match, it means that the memory reference address set in register 1 is registered in TLB 2, and a match signal (InTLB) is output from AND circuit 5. At the same time, the contents of the corresponding TLBR (real address) are set in bits 0 to 20 of the address register 6. In 32-bit address mode,
The real address can be found using the method described above, but in 24-bit mode, bits 0 to 7 set in register 1 are meaningless bits, and it is unclear whether anything is set. It is clear that correct results will not be obtained if the same address translation processing as in the mode is performed.

そこで、24ビツトモードのときは、レジスタ1のO〜
7ビツトとTLBのO〜7ビツトを比較する比較回路3
の結果を無視すればよい。第1図をみると、比較回路3
の出力は、アンド回路5の人力となり、制御信号によつ
て24ビツトモードのときには、比較回路3からの入力
は無視され、比較回路4の結果をそのままアンド回路5
の出力となる。32ビツトモードのときは、アンド回路
5は制御信号によつて比較回路3の出力と比較回路4の
アンドがとられる。
Therefore, in 24-bit mode, register 1 O~
Comparison circuit 3 that compares 7 bits and O to 7 bits of TLB
You can ignore the result. Looking at Figure 1, comparison circuit 3
The output of the comparator circuit 3 becomes the input power of the AND circuit 5, and when the control signal is set to 24-bit mode, the input from the comparator circuit 3 is ignored, and the result of the comparator circuit 4 is sent directly to the AND circuit 5.
The output is In the 32-bit mode, the AND circuit 5 ANDs the output of the comparator circuit 3 and the comparator circuit 4 according to the control signal.

この方式により、24ビツトアドレスモード、32ビツ
トアドレスモードの両方のモードで動作可能である。
This method allows operation in both 24-bit address mode and 32-bit address mode.

これまで、アドレス変換バツフアの構成を64カラム×
1ローとして説明してきたが、これは単なる一例にすぎ
ず、口一の数を増すことにより処理装置の性能を更に向
上し得ることは容易に類推できよう。
Up until now, the address translation buffer has been configured with 64 columns x
Although the explanation has been made assuming one row, this is just an example, and it can be easily inferred that the performance of the processing device can be further improved by increasing the number of rows.

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

第1図は本発明の一実施例のプロツク図である。 1・・・・・・論理アドレス・実アドレス格納用レジス
タ、2・・・・・・アドレス変換バツフア、3,4・・
・・・・比較回路、5・・・・・・アンド回路、6・・
・・・・実アドレス・レジスタ。
FIG. 1 is a block diagram of one embodiment of the present invention. 1... Logical address/real address storage register, 2... Address conversion buffer, 3, 4...
...Comparison circuit, 5...AND circuit, 6...
...Real address register.

Claims (1)

【特許請求の範囲】[Claims] 1 論理アドレスのビット数が異なる複数の論理アドレ
スモードを扱うことのできる情報処理装置であつて、論
理アドレスと該論理アドレスに対応する実アドレスの対
がセットされたアドレス変換バッファを持ち、アドレス
変換のために与えられた論理アドレスと上記アドレス変
換バッファ内の論理アドレスとを比較し、一致する論理
アドレスと対の実アドレスを得ることによつてアドレス
変換動作を行なう場合、ある論理アドレスモードにおい
ては前記論理アドレス比較の対象となつた論理アドレス
の一部分を、前記論理アドレスモードとは異なる論理ア
ドレスモードにおいては前記論理アドレス比較の対象と
しないことを特徴とする情報処理装置。
1. An information processing device capable of handling multiple logical address modes in which the number of bits of a logical address differs, which has an address translation buffer in which a pair of a logical address and a real address corresponding to the logical address is set, and which performs address translation. When an address translation operation is performed by comparing the logical address given to the logical address with the logical address in the address translation buffer and obtaining the matching logical address and the paired real address, in a certain logical address mode, An information processing device characterized in that a part of the logical address that is the target of the logical address comparison is not used as the target of the logical address comparison in a logical address mode different from the logical address mode.
JP50110960A 1975-09-16 1975-09-16 Kasoukiokuhoshikinojiyouhoushiyorisouchi Expired JPS594783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP50110960A JPS594783B2 (en) 1975-09-16 1975-09-16 Kasoukiokuhoshikinojiyouhoushiyorisouchi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP50110960A JPS594783B2 (en) 1975-09-16 1975-09-16 Kasoukiokuhoshikinojiyouhoushiyorisouchi

Publications (2)

Publication Number Publication Date
JPS5235948A JPS5235948A (en) 1977-03-18
JPS594783B2 true JPS594783B2 (en) 1984-01-31

Family

ID=14548868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP50110960A Expired JPS594783B2 (en) 1975-09-16 1975-09-16 Kasoukiokuhoshikinojiyouhoushiyorisouchi

Country Status (1)

Country Link
JP (1) JPS594783B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58213361A (en) * 1982-06-07 1983-12-12 Hitachi Ltd Storage controller
JPS60110056A (en) * 1983-10-31 1985-06-15 Nec Corp Dynamic changing method for memory address generation of data processing system
JPS6016240U (en) * 1984-05-04 1985-02-04 富士通株式会社 address translation device

Also Published As

Publication number Publication date
JPS5235948A (en) 1977-03-18

Similar Documents

Publication Publication Date Title
US4495575A (en) Information processing apparatus for virtual storage control system
US4218743A (en) Address translation apparatus
KR910006856A (en) Microcomputers Dynamically Perform Bus Control Using Address Registers
US5749093A (en) Enhanced information processing system using cache memory indication during DMA accessing
US4888688A (en) Dynamic disable mechanism for a memory management unit
JPS594783B2 (en) Kasoukiokuhoshikinojiyouhoushiyorisouchi
JPS5951069B2 (en) Virtual memory information processing device
JPH0540694A (en) Cache memory device
JPS59173828A (en) Data processing system
JPS5821352B2 (en) Buffer memory control method
JPH07146839A (en) Dma circuit
JPH0553916A (en) Address converting device
JPH01260552A (en) Virtual memory controller
JPH01161553A (en) Address converting buffer controlling system
JPS63301340A (en) Virtual storage system
JPH03276357A (en) I/o address conversion system
JPS646492B2 (en)
JPS62126447A (en) Address conversion method
JPH0553915A (en) Address converting device
JPH0251755A (en) Virtual/real address converter for cash memory access
JPH01161554A (en) Address converting buffer controlling system
JPS6148049A (en) Check device of mamory-access
JPS6380324A (en) Microcomputer circuit
JPS63180171A (en) Information processor
JPH0812637B2 (en) Address translation method