JPS63245743A - Memory access system - Google Patents

Memory access system

Info

Publication number
JPS63245743A
JPS63245743A JP62079880A JP7988087A JPS63245743A JP S63245743 A JPS63245743 A JP S63245743A JP 62079880 A JP62079880 A JP 62079880A JP 7988087 A JP7988087 A JP 7988087A JP S63245743 A JPS63245743 A JP S63245743A
Authority
JP
Japan
Prior art keywords
memory
address
physical address
logical
physical
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
JP62079880A
Other languages
Japanese (ja)
Inventor
Junichi Fujii
藤井 準一
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP62079880A priority Critical patent/JPS63245743A/en
Publication of JPS63245743A publication Critical patent/JPS63245743A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To suppress address conversion at its minimum required by selecting the access of an I/O device to a logical address memory or a physical address memory. CONSTITUTION:A logical/physical selection signal line for selecting a physical address or a logical address at the time of accessing a memory from a system bus 1 side is connected to the system bus 1. When the memory 23 is accessed from the system bus 1, a data processor 2 checks said logical/physical selection signal line and accesses the memory 23 by the route of gate 25 physical address 28 memory 23 when the access is based upon the physical address. In case of the access based upon the logical address, the memory 23 is accessed by the route of gate 24 logical address 27 MMU 22 physical address 28 memory 23 and the physical address 28 is outputted to the system bus 1 through the gate 26.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、入出力装置(以下I10装置と称す)がメモ
リをアクセスする方式に係り、特にメモリ管理機構を有
するデータ処理システムにおいて、I10装置がメモリ
をアクセスするためのメモリアクセス方式に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for an input/output device (hereinafter referred to as an I10 device) to access memory, and in particular, in a data processing system having a memory management mechanism. This relates to a memory access method for accessing memory.

〔従来の技術〕[Conventional technology]

論理アドレスをページ単位に物理アドレスに変換する、
メモリ管理装置(以下MMUと称す)を有するデータ処
理装置におけるメモリを、I10装置がアクセスする方
式として従来、次のような各種の方式が知られている。
Converts logical addresses to physical addresses in page units,
Conventionally, the following various methods are known as methods for an I10 device to access memory in a data processing device having a memory management unit (hereinafter referred to as MMU).

1)必ず論理アドレスによって、MMUを介してメモリ
をアクセスする。
1) Always access memory via the MMU using logical addresses.

2)データ演算装置(以下CPUと称す)が■10装置
を起動する際、物理アドレスを指定することによって、
I10装置はMMUを介することなく、物理アドレスで
直接メモリをアクセスする。
2) When the data processing unit (hereinafter referred to as CPU) starts the ■10 device, by specifying the physical address,
I10 devices access memory directly by physical address without going through the MMU.

3)I10装置は、最初のメモリアクセスおよびページ
が切り換わった直後のメモリアクセスに先立って、MM
Uのアドレス変換テーブルを調べることにより物理アド
レスを算出し、その算出した物理アドレスでメモリをア
クセスする。
3) Prior to the first memory access and the memory access immediately after a page switch, the I10 device
A physical address is calculated by checking the address conversion table of U, and the memory is accessed using the calculated physical address.

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

以下、第2図、第3図を用いて従来の各方法を説明し、
それらの問題点を明らかにする。
Below, each conventional method will be explained using FIGS. 2 and 3,
Clarify those problems.

第2図はMMUによるアドレス変換を例示したものであ
って、4は論理アドレス空間、5は物理アドレス空間を
示し、22はメモリ管理装置(MMU)である。
FIG. 2 shows an example of address conversion by an MMU, where 4 indicates a logical address space, 5 indicates a physical address space, and 22 indicates a memory management unit (MMU).

論理アドレス空間4は、ページと呼ばれる一定のサイズ
に分割されている。第2図においては説明を簡単にする
ため、3つのページL1〜L3に分割された場合を例示
している。論理アドレス空間4は、各ページ毎にM M
 U 22によって物理アドレス空間5に投影される。
The logical address space 4 is divided into fixed sizes called pages. In order to simplify the explanation, FIG. 2 illustrates a case where the page is divided into three pages L1 to L3. The logical address space 4 has M M for each page.
It is projected by U 22 into the physical address space 5.

第2図においては、ページL1はページP1に、ページ
L2はページP2に、ページL3はページP3に投影さ
れることが示されている。ここでそれぞれのページ内は
、論理アドレス空間、物理アドレス空間とも連続した領
域である。
In FIG. 2, it is shown that page L1 is projected onto page P1, page L2 is projected onto page P2, and page L3 is projected onto page P3. Here, within each page, both the logical address space and the physical address space are continuous areas.

第3図は論理アドレスと物理アドレスとの対応を示した
ものであって、41.42はそれぞれ論理アドレス上位
部と下位部、5L52はそれぞれ物理アドレス上位部と
下位部である。
FIG. 3 shows the correspondence between logical addresses and physical addresses, where 41 and 42 are the upper and lower parts of the logical address, respectively, and 5L52 are the upper and lower parts of the physical address, respectively.

論理アドレス下位部42と物理アドレス下位部52とは
、ページ内オフセットを表す部分であって、全く同じも
のである。論理アドレス上位部41はページを表す部分
であって、M M U 22によって物理アドレス上位
部51に変換される。
The logical address lower part 42 and the physical address lower part 52 are parts representing intra-page offsets, and are completely the same. The logical address upper part 41 is a part representing a page, and is converted into the physical address upper part 51 by the MMU 22.

大半のI10装置においては、論理アドレス空間を連続
的にアクセスするものであるので、ここでは第2図に示
されたページL1→ベージL2→ページL3とアクセス
するものとする。
In most I10 devices, the logical address space is accessed continuously, so here it is assumed that the access is performed in the order of page L1→page L2→page L3 shown in FIG.

1)の方式の問題点: この方式では、I10装置は論理アドレス空間を連続的
にアクセスするため、全アクセスにおいてMMUによる
アドレス変換が行われる。
Problems with method 1): In this method, since the I10 device continuously accesses the logical address space, address translation is performed by the MMU in all accesses.

ところがMMUによるアドレス変換には時間を必要とし
、従ってシステムバスのスループットを低下させること
になる。
However, address conversion by the MMU requires time, which reduces the throughput of the system bus.

2)の方式の問題点: この方式は、1)の方式によるシステムバスのスループ
ットの低下を避けるため、I10装置が直接物理アドレ
スでメモリをアクセスするようにしたものである。
Problems with method 2): In this method, the I10 device directly accesses the memory using a physical address in order to avoid the reduction in system bus throughput caused by method 1).

この場合CPUはページL1〜]、3ではなく、ページ
P1〜P3を■/○装置に通知して起動する必要がある
。ところが、ページP1〜P3は一般に連続した領域で
はないため、CPUはページごとに分割して、ページP
1.ページP2.ページP3の計3回、I10装置を起
動しなくてはならない。そのためCPUのオーバヘッド
が大きくなり、処理能力を低下させる。
In this case, the CPU needs to notify the ■/○ device of pages P1 to P3 instead of pages L1 to L1 to L1 to 3 to start the device. However, since pages P1 to P3 are generally not continuous areas, the CPU divides each page into page P3.
1. Page P2. The I10 device must be activated a total of three times on page P3. Therefore, the overhead of the CPU becomes large and the processing capacity is reduced.

3)の方式の問題点: この方式は、2)の方式におけるCPUのオーバヘッド
を避けるため、CPUは論理アドレスで■/○装置を起
動するが、I10装置側でページ境界を越えるときに、
MMUのアドレス変換テーブルを参照して、論理アドレ
ス上位部41に対応する物理アドレス上位部51を求め
、それを用いて1ページ毎にメモリアクセスを′行うよ
うにしたものである。
Problems with method 3): In this method, in order to avoid the CPU overhead in method 2), the CPU starts the ■/○ device with a logical address, but when crossing a page boundary on the I10 device side,
The physical address upper part 51 corresponding to the logical address upper part 41 is obtained by referring to the address conversion table of the MMU, and memory access is performed for each page using this.

ところがこの方式ではI10装置のオーバへ・ノドが増
え、I10装置のデータ転送能力を低下させる。
However, in this method, the number of overloads of the I10 device increases, reducing the data transfer ability of the I10 device.

本発明は、システムバスのスループットを低下させず、
かつ、CPUおよびI10装置のオーバヘッドを増加さ
せることなく、メモリ管理機構を有するデータ処理装置
のメモリを、I10装置がアクセスするための方式を提
供することを目的とするものである。
The present invention does not reduce the throughput of the system bus,
Another object of the present invention is to provide a method for an I10 device to access the memory of a data processing device having a memory management mechanism without increasing the overhead of the CPU and the I10 device.

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

CPUから出力される論理アドレスをページ単位に物理
アドレスに変換するメモリ管理装置(MMU)を具えM
MUから出力される物理アドレスによってメモリをアク
セスするデータ処理装置と、このデータ処理装置のメモ
リをアクセスする入出力装置とをシステムバスを介して
接続してなるデータ処理システムにおいて、メモリを論
理アドレスでアクセスするか、物理アドレスでアクセス
するかを区別する信号線をシステムバスに設けて、デー
タ処理装置は、システムバスからメモリアクセス要求を
受けたとき、そのアクセスが物理アドレスによるアクセ
スであれば直接メモリをアクセスし、論理アドレスによ
るアクセスであればMMUを介して物理アドレスに変換
してメモリをアクセスするとともに、システムバスにM
MUにより変換された物理アドレスを出力し、入出力装
置は最初のメモリアクセス時およびページが切換った直
後のメモリアクセス時には、論理アドレスでメモリをア
クセスするとともにデータ処理装置から出力される物理
アドレスを記憶し、その他のメモリアクセス時には、こ
の記憶した物理アドレスでメモリをアクセスするように
したものである。
M includes a memory management unit (MMU) that converts logical addresses output from the CPU into physical addresses in page units.
In a data processing system in which a data processing device that accesses memory using physical addresses output from an MU and an input/output device that accesses the memory of this data processing device are connected via a system bus, memory is accessed using logical addresses. A signal line is provided on the system bus to distinguish whether the data is accessed by a physical address or by a physical address. If the access is by a logical address, it is converted to a physical address via the MMU and the memory is accessed.
The input/output device outputs the physical address converted by the MU, and when accessing the memory for the first time and immediately after the page is switched, the input/output device accesses the memory using the logical address and also outputs the physical address output from the data processing device. The stored physical address is used to access the memory during other memory accesses.

〔作 用〕[For production]

本発明は、ページ単位でアドレス変換を行うメモリ管理
方式においては、ページ内では論理アドレス、物理アド
レスとも連続であること、および多くのI10装置にお
いて、論理アドレス空間で連続した領域をアクセスする
ことに着目して成されたものである。
The present invention is based on the fact that in a memory management method that performs address translation on a page-by-page basis, both logical addresses and physical addresses are continuous within a page, and that in many I10 devices, continuous areas in the logical address space are accessed. This was done with attention to it.

すなわちシステムバスおよびCPU、MMU。That is, the system bus, CPU, and MMU.

メモリを有するデータ処理装置において、I10装置が
論理アドレスでメモリをアクセスするか、物理アドレス
でメモリをアクセスするかを選択できる手段と、論理ア
ドレスアクセス時には変換した物理アドレスをI10装
置に通知する手段とを設けることにより、I10装置は
、物理アドレスが不明である最初のメモリアクセス時と
、ページが切り換った直後のメモリアクセス時のみ論理
アドレスでメモリをアクセスするとともに、対応する物
理アドレスを受は取り、引続く同一ページ内のメモリア
クセス時には、その受は取った物理アドレスを基に物理
アドレスでメモリをアクセスするようにしたものである
In a data processing device having a memory, means for allowing the I10 device to select whether to access the memory using a logical address or a physical address, and means for notifying the I10 device of a converted physical address when accessing the logical address. By providing the I10 device, the I10 device accesses the memory using the logical address only during the first memory access when the physical address is unknown and when accessing the memory immediately after the page is switched, and does not receive the corresponding physical address. When a memory is accessed within the same page, the memory is accessed using a physical address based on the physical address that was retrieved.

こうすることにより、■/○装置は起動されるとき論理
アドレスだけを通知されればよく、またMMUを介して
のメモリアクセスも必要最小限で済むことになる。
By doing this, the ■/○ device only needs to be notified of the logical address when it is started up, and memory access via the MMU is also kept to a minimum.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示したものであり、ここで
はアドレス線の関係だけを示しである。同図において、
1はシステムバス、2はデータ処理装置、3は入出力装
置(■10装置)、21はデータ演算装置(CPU)、
22はメモリ管理装置(MMU) 、詔はメモリ、24
.25.26はゲート、27は論理アドレス、器は物理
アドレス、31は下位アドレスカウンタ、32は上位論
理アドレスカウンタ、33は上位物理アドレスレジスタ
、34は上位アドレスセレクタ、35.36.37は信
号線、38は下位アドレスカウンタキャリーである。 
データ処理装置2とI10装置3はシステムバス1で接
続されている。データ処理装置2はCPU21と、論理
アドレス27を物理アドレス28にページ単位で変換す
るM M U 22と、物理アドレス28でアクセスさ
れるメモリ詔とで構成されている。
FIG. 1 shows an embodiment of the present invention, and only the relationship between address lines is shown here. In the same figure,
1 is a system bus, 2 is a data processing device, 3 is an input/output device (10 devices), 21 is a data processing unit (CPU),
22 is the memory management unit (MMU), the edict is the memory, 24
.. 25 and 26 are gates, 27 is a logical address, 3 is a physical address, 31 is a lower address counter, 32 is an upper logical address counter, 33 is an upper physical address register, 34 is an upper address selector, 35, 36 and 37 are signal lines , 38 is a lower address counter carry.
The data processing device 2 and the I10 device 3 are connected by a system bus 1. The data processing device 2 includes a CPU 21, an MMU 22 that converts a logical address 27 into a physical address 28 in page units, and a memory address accessed by the physical address 28.

ここでシステムバス1に、システムバス1側からメモリ
23をアクセスする際、物理アドレスでアクセスするか
論理アドレスでアクセスするかを選択する論理/物理選
択信号線を設ける。データ処理装置2は、システムバス
1からメモリ23をアクセスされた時、上述の論理/物
理選択信号線を調ベ、物理アドレスによるアクセスであ
ればゲート25→物理アドレス28→メモリ23のルー
トでメモリ23をアクセスし、一方論理アドレスによる
アクセスであればゲート24→論理アドレス27→M 
M U 22→物理アドレス28→メモリ23のルート
でメモリ23をアクセスするとともに、そのときの物理
アドレス28をゲート26経由でシステムバス1に出力
する。
Here, the system bus 1 is provided with a logical/physical selection signal line for selecting whether to access the memory 23 from the system bus 1 side using a physical address or a logical address. When the memory 23 is accessed from the system bus 1, the data processing device 2 checks the above-mentioned logical/physical selection signal line, and if the access is by a physical address, the memory is routed from the gate 25 to the physical address 28 to the memory 23. 23, while if access is by logical address, gate 24 → logical address 27 → M
The memory 23 is accessed via the route MU 22 → physical address 28 → memory 23, and the physical address 28 at that time is output to the system bus 1 via the gate 26.

この際システムバス1に出力する物理アドレスは、専用
の信号線を使ってもよいし、システムバス1のアドレス
線を時分割に使用してアドレス線に出力してもよい。
At this time, the physical address to be output to the system bus 1 may be outputted to the address line by using a dedicated signal line or by using the address line of the system bus 1 in a time-sharing manner.

I10装置3における下位アドレスカウンタ31は、ペ
ージ内オフセント部に相当する部分のアドレスカウンタ
であり、第3図の論理アドレス下位部42.物理アドレ
ス下位部52に相当するものであって、論理アドレス、
物理アドレスに共通であり、その内容は信号線35を経
てシステムバス1に出力される。上位論理アドレスカウ
ンタ32は、論理アドレスのページ指定部に相当するア
ドレスカウンタであり、第3図の論理アドレス上位部4
1に相当するものであって、下位アドレスカウンタ31
からの下位アドレスカウンタキャリー38により、下位
アドレスカウンタ31と連続したアドレスカウンタにな
っている。一方上位物理アドレスレジスタ33は、論理
アドレスのページ指定部に対応する物理アドレスを保持
するレジスタであり、第3図の物理アドレス上位部51
に相当するものであって、論理アドレでメモリをアクセ
スした際、データ処理装置より通知される物理アドレス
を信号線37経出でセットする。
The lower address counter 31 in the I10 device 3 is an address counter for a portion corresponding to the intra-page offset portion, and is a lower address counter for a portion corresponding to the logical address lower portion 42 . It corresponds to the physical address lower part 52, and includes a logical address,
This is common to physical addresses, and its contents are output to the system bus 1 via the signal line 35. The upper logical address counter 32 is an address counter corresponding to the page designation part of the logical address, and is the upper logical address part 4 of FIG.
1, the lower address counter 31
The lower address counter carry 38 from the lower address counter 38 makes the address counter continuous with the lower address counter 31. On the other hand, the upper physical address register 33 is a register that holds a physical address corresponding to the page designation part of the logical address, and is a register that holds the physical address corresponding to the page designation part of the logical address, and is a register that holds the physical address upper part 51 of the physical address in FIG.
When the memory is accessed using a logical address, the physical address notified by the data processing device is set via the signal line 37.

34は上位アドレスカウンタであって、上位論理アドレ
スカウンタ32の内容と上位物理アドレスレジスタ33
の内容とを選択して、信号線36を経てシステムバス1
に出力する。
34 is an upper address counter, which stores the contents of the upper logical address counter 32 and the upper physical address register 33.
and the contents of the system bus 1 via the signal line 36.
Output to.

I10装置3は、CPU21から論理アドレスを指定さ
れて起動されると、その指定された論理アドレスを、下
位アドレスカウンタ31.上位論理アドレスカウンタ3
2にセットして、メモリアクセスを開始する。その際最
初のメモリアクセス時およびページが切り換わった直後
、すなわち下位アドレスカウンタ31からの下位アドレ
スカウンタキャリー38が発生して、上位論理アドレス
カウンタ32がカウントされた直後のメモリアクセス時
には、上位アドレスセレクタ34は上位論理アドレスカ
ウンタ32を選択し、論理アドレスでメモリをアクセス
するとともに、CPU21から通知された物理アドレス
を上位物理アドレスレジスタ33にセットする。その他
のメモリアクセス時には上位アドレスセレクタ34は上
位物理アドレスレジスフ33を選択し、物理アドレスで
メモリをアクセスする。
When the I10 device 3 is activated with a logical address specified by the CPU 21, the I10 device 3 stores the specified logical address in the lower address counter 31. Upper logical address counter 3
Set to 2 to start memory access. In this case, at the time of the first memory access and immediately after the page is switched, that is, immediately after the lower address counter carry 38 from the lower address counter 31 has occurred and the upper logical address counter 32 has been counted, the upper address selector 34 selects the upper logical address counter 32, accesses the memory using the logical address, and sets the physical address notified from the CPU 21 in the upper physical address register 33. During other memory accesses, the upper address selector 34 selects the upper physical address register 33 and accesses the memory using the physical address.

このようにすることにより、CPU21はI10装置3
を起動する際、論理アドレスを指定すればよく、従って
CPU21のオーバヘッドは増加しない。またアドレス
変換時間を必要とする論理アドレスによる、M M U
 22経由のメモリアクセスは、最初とページが切り換
わった直後との必要最小限のメモリアクセス時だけでよ
く、システムバス1のスループット低下も極小に押えら
れる。
By doing this, the CPU 21
When activating the , it is sufficient to specify a logical address, so the overhead of the CPU 21 does not increase. In addition, MMU is based on logical addresses that require address conversion time.
The memory access via 22 is only required for the minimum necessary memory access time, which is the first time and immediately after the page is switched, and the decrease in the throughput of the system bus 1 can be kept to a minimum.

またI10装置3が論理アドレスから物理アドレスを知
るために、M M U 22のアドレス変換テーブルを
参照するといった、特別なシーケンスは不要であり、従
ってI10装置3のオーバヘッドは増加しない。
Further, in order for the I10 device 3 to know the physical address from the logical address, there is no need for a special sequence such as referring to the address conversion table of the MMU 22, so the overhead of the I10 device 3 does not increase.

さらに本発明によるハードウェア量の増加は、データ処
理装置が論理アドレスでアクセスされたとき、物理アド
レスをシステムバス1に出力する手段であるゲート26
と、■/○装置3がその物理アドレスを保持する手段で
ある上位物理アドレスレジスタ33と、論理アドレスと
物理アドレスとを選択する手段である上位アドレスセレ
クタ34だけであり、従って簡単なハードウェアで本発
明を実現することができる。
Furthermore, the amount of hardware according to the present invention is increased by a gate 26 which is a means for outputting a physical address to the system bus 1 when the data processing device is accessed by a logical address.
and ■/○ The device 3 only has an upper physical address register 33, which is a means for holding its physical address, and an upper address selector 34, which is a means for selecting a logical address and a physical address.Therefore, it can be implemented using simple hardware. The present invention can be realized.

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

以上説明したように本発明にれば、物理アドレスによる
アクセスであれば直接メモリをアクセスし、論理アドレ
スによるアクセスであればMMUを介して物理アドレス
に変換してメモリをアクセスするとともに、システムバ
スにMMUにより変換された物理アドレスを出力し、入
出力装置は最初のメモリアクセス時およびページが切換
った直後のメモリアクセス時には、論理アドレスでメモ
リをアクセスするとともにデータ処理装置から出力され
る物理アドレスを記憶して、その−他のメモリアクセス
時には、この記憶した物理アドレスでメモリをアクセス
するようにしたので、入出力装置は起動時、CPUから
論理アドレスを通知されればよく、従ってCPUはペー
ジ単位に分割して物理アドレスを通知する処理が不要と
なり、またアドレス変換時間が必要なMMUを介しての
論理アドレスによるメモリアクセスは必要最小限に抑え
られ、システムのスルーブツト低下も極小となる。
As explained above, according to the present invention, when accessing by a physical address, the memory is directly accessed, and when accessing by a logical address, the memory is accessed by converting it to a physical address via the MMU, and the system bus The input/output device outputs the physical address converted by the MMU, and when accessing the memory for the first time and immediately after the page is switched, the input/output device accesses the memory using the logical address and also outputs the physical address output from the data processing device. Since the memory is accessed using the stored physical address during other memory accesses, the input/output device only needs to be notified of the logical address by the CPU at startup, and therefore the CPU can access the memory in page units. There is no need for the process of dividing the memory address into two parts and notifying the physical address, and memory access using logical addresses via the MMU, which requires address conversion time, is kept to the minimum necessary, and the drop in system throughput is also minimized.

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

第1図は本発明の一実施例を示す図、 第2図はメモリ管理装置によるアドレス変換を例示する
図、 第3図は論理アドレスと物理アドレスとの対応を示す図
である。 1−システムバス 2−データ処理装置 3・−・入出力装置(I10装置) 21・・・データ演算装置(CPU) 22−メモリ管理装置(MMU) 詔−・−メモリ 24、25.26−−−ゲート 27−・・論理アドレス 28−物理アドレス 31−下位アドレスカウンタ 32−上位論理アドレスカウンタ 33−上位物理アドレスレジスタ 34−上位アドレスセレクタ 35、36.37一−−信号線
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a diagram illustrating address conversion by a memory management device, and FIG. 3 is a diagram showing the correspondence between logical addresses and physical addresses. 1-System bus 2-Data processing device 3--Input/output device (I10 device) 21--Data processing unit (CPU) 22-Memory management unit (MMU) Edict---Memory 24, 25.26-- - Gate 27 - Logical address 28 - Physical address 31 - Lower address counter 32 - Upper logical address counter 33 - Upper physical address register 34 - Upper address selector 35, 36.37 - Signal line

Claims (1)

【特許請求の範囲】 データ演算処置(以下CPUと称す)から出力される論
理アドレスをページ単位に物理アドレスに変換するメモ
リ管理装置(以下MMUと称す)を具え該MMUから出
力される物理アドレスによつてメモリをアクセスするデ
ータ処理装置と、該データ処理装置のメモリをアクセス
する入出力装置とをシステムバスを介して接続してなる
データ処理システムにおいて、 該システムバスに前記メモリを論理アドレスでアクセス
するか、物理アドレスでアクセスするかを区別する信号
線を設け、 前記データ処理装置は、システムバスからメモリアクセ
ス要求を受けたとき、該アクセスが物理アドレスによる
アクセスであれば直接メモリをアクセスし、論理アドレ
スによるアクセスであれば前記MMUを介して物理アド
レスに変換してメモリをアクセスするとともに、システ
ムバスにMMUにより変換された物理アドレスを出力し
、入出力装置は最初のメモリアクセス時およびページが
切り換わつた直後のメモリアクセス時には、論理アドレ
スでメモリをアクセスするとともにデータ処理装置から
出力される物理アドレスを記憶し、その他のメモリアク
セス時には、該記憶した物理アドレスでメモリをアクセ
スすることを特徴とするメモリアクセス方式。
[Scope of Claims] A memory management unit (hereinafter referred to as MMU) that converts logical addresses output from a data processing unit (hereinafter referred to as CPU) into physical addresses in page units; In a data processing system in which a data processing device that accesses a memory and an input/output device that accesses the memory of the data processing device are connected via a system bus, the memory is accessed using a logical address on the system bus. A signal line is provided to distinguish whether the access is by a physical address or by a physical address, and when the data processing device receives a memory access request from the system bus, if the access is by a physical address, the data processing device directly accesses the memory; If the access is based on a logical address, the memory is accessed by converting it to a physical address via the MMU, and the physical address converted by the MMU is output to the system bus. When accessing the memory immediately after switching, the memory is accessed using a logical address and the physical address output from the data processing device is stored, and during other memory accesses, the memory is accessed using the stored physical address. A memory access method that uses
JP62079880A 1987-04-01 1987-04-01 Memory access system Pending JPS63245743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62079880A JPS63245743A (en) 1987-04-01 1987-04-01 Memory access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62079880A JPS63245743A (en) 1987-04-01 1987-04-01 Memory access system

Publications (1)

Publication Number Publication Date
JPS63245743A true JPS63245743A (en) 1988-10-12

Family

ID=13702553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62079880A Pending JPS63245743A (en) 1987-04-01 1987-04-01 Memory access system

Country Status (1)

Country Link
JP (1) JPS63245743A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008102850A (en) * 2006-10-20 2008-05-01 Toshiba Corp Information processor and processing method
KR20170038873A (en) * 2014-08-27 2017-04-07 어드밴스드 마이크로 디바이시즈, 인코포레이티드 Routing direct memory access requests in a virtualized computing environment
JP2017208087A (en) * 2016-05-09 2017-11-24 インフィネオン テクノロジーズ アーゲーInfineon Technologies Ag Method and apparatus for use in accessing memory

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008102850A (en) * 2006-10-20 2008-05-01 Toshiba Corp Information processor and processing method
KR20170038873A (en) * 2014-08-27 2017-04-07 어드밴스드 마이크로 디바이시즈, 인코포레이티드 Routing direct memory access requests in a virtualized computing environment
JP2017529606A (en) * 2014-08-27 2017-10-05 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッドAdvanced Micro Devices Incorporated Routing direct memory access requests in virtualized computing environments
US10162765B2 (en) 2014-08-27 2018-12-25 Advanced Micro Devices, Inc. Routing direct memory access requests in a virtualized computing environment
JP2017208087A (en) * 2016-05-09 2017-11-24 インフィネオン テクノロジーズ アーゲーInfineon Technologies Ag Method and apparatus for use in accessing memory
US10782884B2 (en) 2016-05-09 2020-09-22 Infineon Technologies Ag Method and apparatus for use in accessing a memory

Similar Documents

Publication Publication Date Title
JPS61141055A (en) Information processor
JP2774862B2 (en) DMA control device and information processing device
US5594878A (en) Bus interface structure and system for controlling the bus interface structure
US6253290B1 (en) Multiprocessor system capable of circumventing write monitoring of cache memories
JP3444154B2 (en) Memory access control circuit
JPH04308953A (en) Virtual address computer system
JPS63245743A (en) Memory access system
JP2010244165A (en) Semiconductor integrated circuit and method for controlling the same
JPS59173828A (en) Data processing system
JPH08202646A (en) Input and output controller
JPH0442342A (en) Bus arbitration circuit
JPH0235551A (en) Address conversion system for channel device
JPH1011411A (en) Interruption control system
JPH0546462A (en) Multi-cpu address conversion mechanism
JPS59146344A (en) Advance control system of virtual stack
JP2504500B2 (en) Address translation device
JPS6389951A (en) Cache memory device
JPH04195234A (en) Data transfer system
JPH04160458A (en) Dma controller peripheral circuit
JP2000181788A (en) File managing method for file system
JPS6385842A (en) Information processor
JPS6243737A (en) Interruption control system
JPH0528085A (en) Address conversion system for electronic computer
JPH0546482A (en) Address conversion system
JPS63180171A (en) Information processor