JPS62126447A - Address conversion method - Google Patents

Address conversion method

Info

Publication number
JPS62126447A
JPS62126447A JP60266095A JP26609585A JPS62126447A JP S62126447 A JPS62126447 A JP S62126447A JP 60266095 A JP60266095 A JP 60266095A JP 26609585 A JP26609585 A JP 26609585A JP S62126447 A JPS62126447 A JP S62126447A
Authority
JP
Japan
Prior art keywords
address
job
data
cache
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.)
Pending
Application number
JP60266095A
Other languages
Japanese (ja)
Inventor
Masaharu Ejiri
江尻 雅晴
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60266095A priority Critical patent/JPS62126447A/en
Publication of JPS62126447A publication Critical patent/JPS62126447A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To reduce the capacity of a transferring image table for converting a logical address to a cache address by making the same logical address correspond to data on a physical address to be used among respective jobs in common. CONSTITUTION:An arithmetic unit 11 inputs a logical address 12 to a cache transfer image table address converting circuit 13 to obtain a cache address 14 directly. In such a case, the same logical address is made to correspond to the data on the physical address to be used among respective jobs in common and these plural transfer image tables are formed on one physical address space, so that the part to be used by respective jobs in the transfer image tables in common can be prevented from being overlapped. Thus, the capacity of the transfer image tables can be sharply reduced by the prevention of overlap.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置に設けられた記憶装置の、デー
タアクセスのためのアドレス変換方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an address conversion method for accessing data in a storage device provided in an information processing device.

〔従来の技術〕[Conventional technology]

一般に、情報処理装置において、所定の作業(ジョブ)
を実行する場合、このジョブの実行に必要なプログラム
やデータを、前もって、主記憶装置等の演算処理用の記
憶装置に格納しておく。
Generally, in an information processing device, a predetermined work (job)
When executing a job, programs and data necessary for executing this job are stored in advance in a storage device for arithmetic processing such as a main storage device.

なお、プログラムもデータも、本質的差異が無いので、
以下双方ともデータと呼ぶことにする。
Furthermore, since there is no essential difference between the program and the data,
In the following, both will be referred to as data.

上記ジョブは、一連の作業手順から構成され、作業の各
ステップには、そのステップを識別する番号が付される
。この番号は論理アドレスと呼ばれる。ジョブは論理ア
ドレス順に実行され、また、この論理アドレスは、ジョ
ブ中でのいわゆるジャンプ命令等の指示にも使用される
The job is composed of a series of work procedures, and each step of the work is given a number that identifies that step. This number is called a logical address. Jobs are executed in the order of logical addresses, and these logical addresses are also used for instructions such as so-called jump instructions within the job.

一方、演算処理用の記憶装置には、ここに格納されたデ
ータを例えば1バイト単位で特定する、物理アドレスが
付される。
On the other hand, a storage device for arithmetic processing is assigned a physical address that specifies the data stored therein, for example, in units of one byte.

演算処理の実行にあたっては、ジョブの論理アドレスに
対応する物理アドレスに格納されたデー夕を、ジョブの
流れに従って演算装置がアクセスし、各種の処理を進め
る。
In executing arithmetic processing, the arithmetic device accesses data stored in the physical address corresponding to the logical address of the job according to the flow of the job, and proceeds with various processing.

この論理アドレスと物理アドレスとを対応づけるために
、一般に写像テーブルと呼ばれるテーブルデータを作成
する。演算処理においては、この写像テーブルを参照し
ながらアドレス変換を行い、目的のデータを得るように
している。
In order to associate this logical address with a physical address, table data generally called a mapping table is created. In arithmetic processing, address conversion is performed while referring to this mapping table to obtain target data.

ここで、演算処理用の記憶装置が大容量になると、この
アドレス変換やアクセスに要する時間が無視できないほ
ど長くなり、演算の高速化を妨げることになる。そこで
、まさに演算処理中のデータや使用する確立の高い一部
のデータを、別の小容量のメモリに転記し、このメモリ
をアクセスして演算を行う手法が採用されている。この
メモリはキャッシュメモリと呼ばれ、各データはキャッ
シュアドレスによって特定される場所に格納される。演
算処理中に、このキャッシュアドレスに所望のデータが
無いと判断された場合、そのつど必・要なデータを含む
適当な量のデータがキャッシュメモリに転記される。こ
うして演算装置は、常に小容量のキャッシュメモリをア
クセスして高速演算を進めることができる。
Here, if the storage device for arithmetic processing has a large capacity, the time required for address conversion and access becomes so long that it cannot be ignored, which impedes speeding up of arithmetic operations. Therefore, a method has been adopted in which data that is currently undergoing calculation processing or a portion of data that is likely to be used is transferred to another small-capacity memory, and this memory is accessed to perform calculations. This memory is called a cache memory, and each piece of data is stored in a location specified by a cache address. During arithmetic processing, if it is determined that the desired data does not exist at this cache address, an appropriate amount of data including the required data is transferred to the cache memory. In this way, the arithmetic device can always access the small-capacity cache memory and perform high-speed arithmetic operations.

このような手法をとる場合、ジョブの実行にあたっては
、論理アドレスからキャッシュアドレスへのアドレス変
換を行う必要がある。
When such a method is adopted, it is necessary to perform address conversion from a logical address to a cache address when executing a job.

この場合、ジョブの開始に先立って作成された、論理ア
ドレスと物理アドレスの間の写像テーブルに加えて、物
理アドレスとキャッシュアドレスの写像テーブルを作成
し、論理アドレス→物理アドレスーキャッシュアドレス
という順にアドレス変換を行って所望のデータをアクセ
スすることになる。
In this case, in addition to the mapping table between logical addresses and physical addresses created before the start of the job, a mapping table between physical addresses and cache addresses is created, and the addresses are arranged in the order of logical address → physical address → cache address. The conversion is performed to access the desired data.

第11図はこのような従来のアドレス変換の手順を示す
ブロック図である。
FIG. 11 is a block diagram showing such a conventional address conversion procedure.

演算装置21は、論理アドレス22を論理・物理写像テ
ーブルアドレス変換回路23に人力し、物理アドレス2
4を得る。こうして得られた物理アドレス24は、次に
、キャッシニ写像テーブルアドレス変換回路25に入力
し、キャッシュアドレス26が得られる。
The arithmetic unit 21 inputs the logical address 22 to the logical/physical mapping table address conversion circuit 23, and converts the logical address 22 into the physical address 2.
Get 4. The physical address 24 thus obtained is then input to a Cassini mapping table address conversion circuit 25, and a cache address 26 is obtained.

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

ところがこのような従来の方法では、アドレス変換を2
段階で行うため、アクセス時間が長くなり、処理の高速
化を妨げる重大な要因となっていた。
However, in this conventional method, address conversion is performed in two steps.
Since the process is performed in stages, the access time becomes long, which is a serious factor that hinders speeding up the processing.

これに対して、論理アドレスとキャッジニアドレスとを
直接対応づける写像テーブルを作成することが考えられ
る。
On the other hand, it is conceivable to create a mapping table that directly associates logical addresses with cashier addresses.

しかし、この写像テーブルは比較的大きなものとなる。However, this mapping table is relatively large.

しかも、複数のジョブが並行して実行されているような
場合、各ジョブごとにこのテーブルを作成すると、これ
らのテーブルを格納するメモリが大容量となり実行的で
ない。
Moreover, if a plurality of jobs are being executed in parallel, creating this table for each job would require a large amount of memory to store these tables, making it impractical.

本発明は以上の点に着目してなされたもので、上記論理
アドレスとキャッジニアドレスとのアドレス変換用写像
テーブルの小容量化を図ったアドレス変換方法を提供す
ることを目的とするものである。
The present invention has been made with attention to the above points, and an object of the present invention is to provide an address conversion method that reduces the capacity of a mapping table for address conversion between the logical address and the cashier address. .

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

本発明のアドレス変換方法は、物理アドレスにより特定
される場所にデータを格納した記憶装置と、この記憶装
置のデータの一部を、キャッシュアドレスにより特定さ
れる場所に転記したキャッシュメモリとを設け、上記デ
ータをこのキャッシュメモリから読み出して、複数のジ
ョブを並行させて実行する場合において、上記各ジョブ
ごとに、それぞれのジョブの各ステップに付された論理
アドレスと上記キャッシュアドレスとの対応関係を示す
写像テーブルを、1つの論理アドレス空間上に作成し、
各ジョブ間で共通に使用する上記物理アドレス上のデー
タに、それぞれ同一の論理アドレスを対応づけたことを
特徴とするものである。
The address translation method of the present invention includes a storage device that stores data in a location specified by a physical address, and a cache memory that transfers a part of the data in this storage device to a location specified by a cache address, When the above data is read from this cache memory and multiple jobs are executed in parallel, the correspondence relationship between the logical address attached to each step of each job and the above cache address is shown for each above job. Create a mapping table on one logical address space,
This method is characterized in that the same logical address is associated with each of the data on the physical address that is commonly used among the jobs.

〔作用〕 このように、各ジョブ間で共用する物理アドレス上のデ
ータにそれぞれ同一の論理アドレスを対応づけるように
し、この複数の写像テーブルを1つの論理アドレス空間
上に作成するようにすると、写像テーブルの各ジョブが
共通に使用する部分について、重複を防止することがで
きる。
[Operation] In this way, by associating the same logical address with the data on the physical address shared between each job, and creating these multiple mapping tables on one logical address space, the mapping It is possible to prevent duplication of portions of the table that are commonly used by each job.

すなわち、ジョブごとに別個に写像テーブルを作成する
と、同一の物理アドレスのデータについて、それぞれ独
自の論理アドレスが付されることになる。従って、論理
アドレスとキャッシュアドレスとを対応づける写像テー
ブルはそれぞれ別々に必要となる。主記憶装置の容量は
ほぼ一定であり、その一部分が複数のジョブに共用され
る場合があり、この重複を防止すれば、写像テーブルの
容量を大幅に縮小化できる。
That is, if a mapping table is created separately for each job, a unique logical address will be assigned to each piece of data at the same physical address. Therefore, separate mapping tables for associating logical addresses and cache addresses are required. The capacity of the main memory device is approximately constant, and a portion of it may be shared by multiple jobs.If this duplication is prevented, the capacity of the mapping table can be significantly reduced.

〔実施例〕〔Example〕

第1図は本発明のアドレス変換方法の基本的な概念図で
ある。
FIG. 1 is a basic conceptual diagram of the address translation method of the present invention.

本発明においては、演算装置11が論理アドレス12を
キャッシュ写像テーブルアドレス変換回路13に人力し
て、直接キャッシュアドレス14を得る。
In the present invention, the arithmetic unit 11 manually inputs the logical address 12 to the cache mapping table address conversion circuit 13 to obtain the cache address 14 directly.

第2図から第4図は、並行して実行される3種のジョブ
A、B、Cの構成を示す概念図である。
2 to 4 are conceptual diagrams showing the configuration of three types of jobs A, B, and C that are executed in parallel.

第2図は、ジョブAが、CAL、CA2、UAI、UA
2、UA3、UA4、という6ペ一ジ分のデータ領域か
ら構成されていることを示したものである。ここで、デ
ータとはプログラム等を含むものであることは先に述べ
たとおりである。
Figure 2 shows that job A is CAL, CA2, UAI, UA.
This figure shows that the data area is composed of six pages worth of data areas: 2, UA3, and UA4. As mentioned above, data includes programs and the like.

また、1ペ一ジ分の領域は、例えば100バイト分のデ
ータに対応しているものとする。例えばCALの領域に
ついては、論理アドレスがLAOからLA99までのデ
ータに対応している。
Further, it is assumed that the area for one page corresponds to, for example, 100 bytes of data. For example, in the CAL area, logical addresses correspond to data from LAO to LA99.

なお、このようなページ化により、データがページ単位
でアクセスされ、高速アクセスを容易にしていることは
よく知られていることである。
It is well known that such pagination allows data to be accessed in page units, facilitating high-speed access.

第3図は、ジョブBがCAI、CA2および、UBIか
らUB7までの9ペ一ジ分の領域から構成されているこ
とを示す。
FIG. 3 shows that job B consists of an area of CAI, CA2, and nine pages from UBI to UB7.

第4図は、同様に、ジョブCがCAL、CA2およびU
CI〜UC6の8ペ一ジ分の領域から構成されているこ
とを示す。
Similarly, in FIG. 4, job C is CAL, CA2 and U.
It shows that it is composed of an area of 8 pages from CI to UC6.

ここで、CAL、CA2は、各ジョブASB。Here, CAL and CA2 are each job ASB.

Cで共通に使用されるデータ領域とし、その他はジョブ
ごとに独自に使用されるデータとする。
The data area is commonly used by C, and the other data is used uniquely for each job.

なお、論理アドレスは、各ジョブを識別するためのアド
レスと各ジョブ内のデータ領域に付されたアドレス(L
AO,LAloo等)とが合成されたものとする。各ジ
ョブについては、ジョブAに″00″、ジョブ已に01
”、ジョブCに10”というジョブアドレスを付した。
Note that the logical address includes an address for identifying each job and an address (L) attached to the data area within each job.
AO, LAloo, etc.) are synthesized. For each job, "00" for job A and 01 for job
A job address of ``10'' was attached to job C.

第5図には、これらのジョブが実行されているときのあ
る時点の論理アドレスとキャッシュアドレスとを対応す
る写像テーブルの概念図を示した。
FIG. 5 shows a conceptual diagram of a mapping table that corresponds to a logical address and a cache address at a certain point in time when these jobs are being executed.

この写像テーブルは、3つのジョブASB、Cについて
作成し、かつこれらを同一の論理アドレス空間に作成し
ている。各ジョブはこの写像テーブルを使用して、それ
ぞれの論理アドレスとキャッシュアドレスとのアドレス
変換を行う。
This mapping table is created for three jobs ASB and C, and these are created in the same logical address space. Each job uses this mapping table to perform address conversion between its respective logical address and cache address.

このとき、各ジョブASBSC間で共通の領域CAIと
CA2については、ジョブAと同一のジョブアドレス“
00”を付しており、他のジョブアドレスからは、CA
L、CA2に該当する部分が除外されている。
At this time, the common areas CAI and CA2 between each job ASBSC have the same job address "
00” is attached, and from other job addresses, CA
The parts corresponding to L and CA2 are excluded.

すなわち、この図で例えばジョブBのLIB2は、上位
ビット“01″、下位ビット“300”という内容の論
理アドレスからキャッシュアドレスを求める。また、ジ
ョブCのCA2は、上位ビット“OO” 、下位ビット
“100″という内容の論理アドレスからキャッシュア
ドレスを求める。
That is, in this figure, for example, LIB2 of job B obtains a cache address from a logical address with contents of upper bit "01" and lower bit "300". Further, CA2 of job C obtains a cache address from a logical address with contents of upper bit "OO" and lower bit "100".

第6図はこのときのキャッシュメモリの状態を示す概念
図である。
FIG. 6 is a conceptual diagram showing the state of the cache memory at this time.

このキャッシュメモリにはROからR800までのキャ
ッシュアドレスが付されているが、そのROからR19
9までの領域に、上記CA l。
This cache memory has cache addresses from RO to R800, but from RO to R19
In the area up to 9, the above CA l.

CA2に該当するデータが格納されている。以下、各ジ
ョブの進行にあわせて、UAI、UB3、UA2、tJ
B4、LIC6、UB5とそれぞれの領域のデータが格
納され、かつ書き換えられていく。
Data corresponding to CA2 is stored. Below, as each job progresses, UAI, UB3, UA2, tJ
Data in each area of B4, LIC6, and UB5 is stored and rewritten.

第7図に上記論理アドレスの具体的な構成例を示した。FIG. 7 shows a specific example of the configuration of the logical address.

この論理アドレスは、例えば、ジョブアドレス(JI)
71に2ビツト、CAL、UAI等の領域を特定するア
ドレス(LAP)?2に6ビツト、および、こうして特
定されたページ内の各バイトごとのデータを特定するア
ドレス73(ディスプレースメント(DISP)と呼ぶ
)に8ビツトを割り当てた。
This logical address is, for example, a job address (JI)
71 contains 2 bits, an address (LAP) that specifies areas such as CAL and UAI? 2, and 8 bits to address 73 (referred to as displacement (DISP)) which specifies data for each byte in the thus specified page.

第8図に第5図の写像テーブルの内容を具体的に示した
FIG. 8 specifically shows the contents of the mapping table shown in FIG.

この写像テーブルは、論理アドレス(CSL)82とキ
ャッシュアドレス(C3A)83と、マスク情報(C3
M)81とで構成される。
This mapping table includes a logical address (CSL) 82, a cache address (C3A) 83, and mask information (C3
M) consists of 81.

論理アドレス82は、第7図に示したもののうち、ペー
ジを特定する上位8ビツトのみで構成される。
The logical address 82 is made up of only the upper 8 bits of those shown in FIG. 7 that specify the page.

キャッシュアドレス83は、この場合、3ビツト構成と
した。
In this case, the cache address 83 has a 3-bit configuration.

マスク情報81は、先に説明した各ジョブ間に共通な領
域の論理アドレスについて“10”と付され、各ジョブ
ごとに独自の領域の論理アドレスに“00”と付きれる
よう構成される。
The mask information 81 is configured such that "10" is added to the logical address of the area common to each job as described above, and "00" is added to the logical address of the unique area for each job.

第9図はこのような写像テーブルを使用してアドレス変
換を行う回路の一例を示す結線図である。
FIG. 9 is a wiring diagram showing an example of a circuit that performs address conversion using such a mapping table.

この回路は、照合すべき論理アドレスを人力する入力レ
ジスタ91と、写像テーブルを人力するテーブルレジス
タ92と、両レジスタのデータを比較する論理回路93
と、対応するキャッシュアドレスを出力する出力レジス
タ94とから構成されている。
This circuit consists of an input register 91 for manually inputting logical addresses to be compared, a table register 92 for manually inputting a mapping table, and a logic circuit 93 for comparing data in both registers.
and an output register 94 that outputs the corresponding cache address.

この論理回路93には、テーブルレジスタ92の論理ア
ドレス部分82と、人力レジスタ91の論理アドレスと
の一致を調べる、イクスクルーンブオアゲート群931
と、テーブルレジスタ92のキャッシュアドレス部分8
3を、出力レジスタ94に出力するゲート群932と、
上記両輪理アドレスが一致したときゲート群932を開
(ためのアンドゲート933が設けられている。
This logic circuit 93 includes an exclusive or gate group 931 that checks whether the logical address part 82 of the table register 92 matches the logical address of the manual register 91.
and cache address portion 8 of table register 92
3 to the output register 94;
An AND gate 933 is provided to open the gate group 932 when the above-mentioned two-wheel drive addresses match.

また、このアンドゲート933に人力する論理・アドレ
スの上位側のビットの照合結果を、マスク情報81の内
容に応じて遮断するマスク用ゲート群934が設けられ
ている。
Further, a masking gate group 934 is provided that blocks the comparison result of the upper bits of the logic/address inputted to the AND gate 933 according to the contents of the masking information 81.

この回路において、入力レジスタ91に照合すべき論理
アドレスが、例えば図のように“00000001”と
入力したとする。このレジスタ91は、写像テーブルの
参照が終了するまで、この論理アドレスを保持する。
In this circuit, it is assumed that the logical address to be checked in the input register 91 is inputted as, for example, "00000001" as shown in the figure. This register 91 holds this logical address until the mapping table reference is completed.

一方、テーブルレジスタ92には、所定の周期で写像テ
ーブルの論理アドレスデータが順に入力し、そのつど照
合が行われる。
On the other hand, logical address data of the mapping table is sequentially input to the table register 92 at a predetermined period, and verification is performed each time.

イクスクルーシブオアゲート群931は、それぞれ入力
レジスタ91とテーブルレジスタ92の論理アドレス8
2を1ビツトずつ比較し、すべてのビットが一致したと
きのみアンドゲート933からゲート932を開く旨の
信号が出力されるように動作する。
Exclusive OR gate group 931 corresponds to logical address 8 of input register 91 and table register 92, respectively.
2 are compared bit by bit, and only when all bits match, the AND gate 933 outputs a signal to open the gate 932.

ここで、論理アドレス“00000001″は、ジョブ
Aが領域CA2をアクセスする要求を出したことを意味
する。
Here, the logical address "00000001" means that job A has issued a request to access area CA2.

この領域CA2は各ジョブに共通で、第8図に示すよう
に、写像テーブルの上から2番目に一致情報が格納され
ている。また、そのマスク情報は10”となっている。
This area CA2 is common to each job, and as shown in FIG. 8, matching information is stored second from the top of the mapping table. Further, the mask information is 10''.

第9図の回路は、マスク情報が“00”のときは単純に
論理アドレスの全ビットの照合を行うが、マスク情報が
10”のときは、論理アドレスの上位2ビツト、すなわ
ち、ジョブアドレス71(第7図)をマスクし、この2
ビツトを無視して照合を行うよう動作する。これにより
、キャッシュアドレス” o o t”が得られる。
The circuit shown in FIG. 9 simply checks all bits of the logical address when the mask information is "00", but when the mask information is "10", the upper two bits of the logical address, that is, job address (Figure 7) and mask this 2
The bit is ignored and the verification is performed. As a result, the cache address "o ot" is obtained.

すなわち、マスクゲート群934は、論理アドレスの上
位2ビツトの照合結果がアンドゲート933に出力され
るのを阻止する。
That is, the mask gate group 934 prevents the verification result of the upper two bits of the logical address from being output to the AND gate 933.

この結果、例えば論理アドレスが “01000001”というジョブ已に関するものであ
っても、第8図の上から2番目の一致情報によって先と
同一のキャッシュアドレス”001”が得られる。
As a result, for example, even if the logical address is related to the job name "01000001", the same cache address "001" as before is obtained by the matching information second from the top in FIG.

また、第10図に示すように、例えば、論理アドレス“
10000111”が入力したとき、これはジョブCの
固有の領域tJc6をアクセスするものであり、第8図
の上から6番目に一致情報が存在することになる。この
場合、マスク情報は“00″だから、論理アドレスの全
ビットが照合されてキャッシュアドレス“110”を得
る。
Furthermore, as shown in FIG. 10, for example, the logical address "
10000111" is input, this accesses the unique area tJc6 of job C, and the matching information exists in the sixth position from the top in FIG. 8. In this case, the mask information is "00". Therefore, all bits of the logical address are verified to obtain the cache address "110".

以上のようにして、本発明のアドレス変換方法によれば
、写像テーブルの重複を防止し、比較的小容量の写像テ
ーブルを用いて、論理アドレスからキャッシュアドレス
に直接アドレス変換をすることができる。
As described above, according to the address conversion method of the present invention, duplication of mapping tables can be prevented and addresses can be directly converted from logical addresses to cache addresses using a relatively small-capacity mapping table.

〔変形例〕[Modified example]

本発明のアドレス変換方法は以上の実施例に限定されな
い。
The address translation method of the present invention is not limited to the above embodiments.

写像テーブルの構成や使用ビット数、ジョブの数等は、
任意に選定してさしつかえない。
The configuration of the mapping table, the number of bits used, the number of jobs, etc.
You may select it arbitrarily.

また、共通の論理アドレスは必ずしも各ジョブの先頭に
設定される必要はない。また、共有する部分は一部でも
全部であってもさしつかえない。
Further, the common logical address does not necessarily need to be set at the beginning of each job. In addition, it does not matter if some or all of the parts are shared.

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

以上説明した本発明のアドレス変換方法は、複数のジョ
ブの写像テーブルを1つの論理アドレス空間上に設け、
これらの一部あるいは全部を共通化したので、写像テー
ブルの容量が縮小され、論理アドレスから直接キャッシ
ュアドレスを得る写像テーブルの採用を現実的にしたも
のである。
The address conversion method of the present invention described above provides mapping tables for a plurality of jobs on one logical address space,
By making some or all of these parts common, the capacity of the mapping table is reduced, making it practical to use a mapping table that directly obtains a cache address from a logical address.

これにより、演算処理をより高速化できることはいうま
でもない。
It goes without saying that this makes it possible to speed up arithmetic processing.

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

第1図は本発明のアドレス変換方法の実施例を説明する
基本的な概念図、第2図から第4図までは、各ジョブの
内容を示す概念図、第5図は本発明のアドレス変換方法
で使用する論理アドレスとキャッシュアドレスを対応づ
ける写像テーブルの構成図、第6図はキャッシュメモリ
の内容の一例を示す概念図、第7図はその、論理アドレ
スの例を示す構成図、第8図は第5図の写像テーブルの
一部を具体的に示した構成図、第9図は本発明の実施に
適するアドレス変換回路の結、線図、第11)図はその
回路の別の動作の説明図、第11図は従来のアドレス変
換方法を示す概念図である。 12・・・・・・論理アドレス、 13・・・・・・写像テーブル、 14・・・・・・キャッシュメモリ。 出  願  人 日本電気株式会社 代  理  人
Figure 1 is a basic conceptual diagram explaining an embodiment of the address conversion method of the present invention, Figures 2 to 4 are conceptual diagrams showing the contents of each job, and Figure 5 is an address conversion method of the present invention. FIG. 6 is a conceptual diagram showing an example of the contents of the cache memory; FIG. 7 is a diagram showing an example of the logical addresses; FIG. The figure is a block diagram specifically showing a part of the mapping table in Figure 5, Figure 9 is a connection diagram of an address conversion circuit suitable for implementing the present invention, and Figure 11) shows another operation of the circuit. FIG. 11 is a conceptual diagram showing a conventional address conversion method. 12...Logical address, 13...Mapping table, 14...Cache memory. Applicant: NEC Corporation Representative

Claims (1)

【特許請求の範囲】[Claims] 物理アドレスにより特定される場所にデータを格納した
記憶装置と、この記憶装置のデータの一部を、キャッシ
ュアドレスにより特定される場所に転記したキャッシュ
メモリとを設け、前記データをこのキャッシュメモリか
ら読み出して、複数のジョブを並行させて実行する場合
において、前記各ジョブごとに、それぞれのジョブの各
ステップに付された論理アドレスと前記キャッシュアド
レスとの対応関係を示す写像テーブルを、1つの論理ア
ドレス空間上に作成し、各ジョブ間で共通に使用する前
記物理アドレス上のデータに、それぞれ同一の論理アド
レスを対応づけたことを特徴とするアドレス変換方法。
A storage device that stores data in a location specified by a physical address and a cache memory that transfers a part of the data in this storage device to a location specified by a cache address are provided, and the data is read from the cache memory. When multiple jobs are executed in parallel, a mapping table indicating the correspondence between the logical addresses assigned to each step of each job and the cache address is stored in one logical address for each job. An address conversion method characterized in that data on the physical address created in space and used in common between jobs is associated with the same logical address.
JP60266095A 1985-11-28 1985-11-28 Address conversion method Pending JPS62126447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60266095A JPS62126447A (en) 1985-11-28 1985-11-28 Address conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60266095A JPS62126447A (en) 1985-11-28 1985-11-28 Address conversion method

Publications (1)

Publication Number Publication Date
JPS62126447A true JPS62126447A (en) 1987-06-08

Family

ID=17426251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60266095A Pending JPS62126447A (en) 1985-11-28 1985-11-28 Address conversion method

Country Status (1)

Country Link
JP (1) JPS62126447A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH023801A (en) * 1988-06-17 1990-01-09 Hitachi Ltd Method for controller execution of program
JP2004178571A (en) * 2002-11-11 2004-06-24 Matsushita Electric Ind Co Ltd Cache controller, cache control method, computer system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH023801A (en) * 1988-06-17 1990-01-09 Hitachi Ltd Method for controller execution of program
JP2004178571A (en) * 2002-11-11 2004-06-24 Matsushita Electric Ind Co Ltd Cache controller, cache control method, computer system
JP4664586B2 (en) * 2002-11-11 2011-04-06 パナソニック株式会社 Cache control device, cache control method, and computer system

Similar Documents

Publication Publication Date Title
EP0086380B1 (en) Data processing apparatus for virtual memory system
KR950007448B1 (en) Integrated circuit memory system
US6061783A (en) Method and apparatus for manipulation of bit fields directly in a memory source
CA1332984C (en) Dual cache memory
JPH0315211B2 (en)
JPH03108042A (en) Multiple virtual space address system and computer system
GB1477977A (en) Apparatus for forming an absolute address for accessing a memory of a computer
JPS62126447A (en) Address conversion method
JPH07281948A (en) Memory controller
JPS6137654B2 (en)
US3593312A (en) Data processor having operand tags to identify as single or double precision
JPH0594370A (en) Computer memory system and virtual memory addressing partitioning method
JPS60134937A (en) Address extension device
JPH01273132A (en) Microprocessor
JPH0363094B2 (en)
JPH04160448A (en) Address conversion system
JPH0385636A (en) Instruction advance control device
JPH0315772B2 (en)
JPH0336643A (en) Data processing method
JPH02168332A (en) Data processor
JPS594783B2 (en) Kasoukiokuhoshikinojiyouhoushiyorisouchi
JPS626350A (en) Tlb controller
JPS5951070B2 (en) address translation device
JPS6010336B2 (en) Address comparison method
JPS59173865A (en) Idle space retrieving method