[go: up one dir, main page]

JPS6350738B2 - - Google Patents

Info

Publication number
JPS6350738B2
JPS6350738B2 JP56000996A JP99681A JPS6350738B2 JP S6350738 B2 JPS6350738 B2 JP S6350738B2 JP 56000996 A JP56000996 A JP 56000996A JP 99681 A JP99681 A JP 99681A JP S6350738 B2 JPS6350738 B2 JP S6350738B2
Authority
JP
Japan
Prior art keywords
memory
address
output
access
common bus
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
JP56000996A
Other languages
Japanese (ja)
Other versions
JPS57114930A (en
Inventor
Masahiko Koike
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP56000996A priority Critical patent/JPS57114930A/en
Publication of JPS57114930A publication Critical patent/JPS57114930A/en
Publication of JPS6350738B2 publication Critical patent/JPS6350738B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/0292User address space allocation, e.g. contiguous or non contiguous base addressing using tables or multilevel address translation means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 本発明はアクセス装置に関する。[Detailed description of the invention] The present invention relates to access devices.

共通バスによつてプロセツサ、メモリ、および
入出力装置を結合する共通バス方式は、結合の容
易性と拡張性に優れているので広く計算機システ
ムに用いられている。共通バス方式では各プロセ
ツサおよび各入出力装置がそれぞれ別個にメモリ
へアクセスすることができるので、プロセツサは
入出力装置にメモリ範囲の始点と長さとを与える
だけで、後は入出力装置とメモリとの間だけでデ
ータ転送が行われる、いわゆるDMA転送が効率
良く実行される。しかし近年の計算機システムで
はプロセツサなどの要求する固有のアドレス空間
が必ずしもメモリの物理アドレス空間と同一の番
地には対応せず、セグメンテーシヨン、ページン
グなどの手法によつてプロセツサなどのアドレス
ブロツクが離散的にメモリの物理アドレス空間に
対応させられている。このような場合、プロセツ
サは入出力装置などに前記DMA転送指令を出し
始点のアドレスと長さとを与えて入出力装置がメ
モリと直接データ転送を行うことになるが、入出
力装置ではこの範囲のアドレスで指定されたメモ
リアドレスが必ずしもメモリのひとつながりの物
理アドレスに対応しているとは限らず、もしそれ
らのアドレスが離散的に対応されている場合には
入出力装置は始点のアドレスから順番にメモリア
クセスをして行くので、メモリ対応の切れめで不
在メモリアドレスにそう遇してしまうことにな
る。このような局面は、単一バス方式の場合は比
較的対応が容易であるが、2本以上のバスを結合
した、いわゆる複数バス方式でそれぞれのバスに
あるメモリにまたがつたDMA転送指令を出した
場合は大きな問題が発生する。たとえば一方のバ
スにあるプロセツサから他方のバスにある入出力
装置にDMA転送指令を出す場合、プロセツサ側
から見て両方のバスにあるメモリが連続して対応
されているとすればプロセツサ側ではメモリのア
ドレス境界がわからないので、2つのバスにまた
がつたメモリ範囲のDMA転送指令を出してしま
うことになる。またこの場合他方のバスにある入
出力装置側から見て両方のバスにあるメモリアド
レスがそれぞれ離散的に対応されているとすれば
不在メモリアドレスにそう遇してしまうという問
題がある。
A common bus system in which processors, memories, and input/output devices are connected via a common bus is widely used in computer systems because it is easy to connect and has excellent expandability. In the common bus method, each processor and each input/output device can access memory independently, so the processor only needs to give the input/output device the starting point and length of the memory range, and then the input/output device and memory So-called DMA transfer, in which data is transferred only between However, in recent computer systems, the unique address space required by a processor, etc. does not necessarily correspond to the same address as the physical address space of memory, and techniques such as segmentation and paging have made it possible to separate the address blocks of the processor, etc. It corresponds to the physical address space of memory. In such a case, the processor issues the DMA transfer command to the input/output device, gives the start point address and length, and the input/output device transfers data directly to the memory, but the input/output device cannot handle data within this range. The memory address specified by the address does not necessarily correspond to a series of physical addresses in memory, and if these addresses are discretely associated, the input/output device will be operated in order from the starting address. Since memory accesses are made to memory addresses, memory addresses are treated as non-existent memory addresses at the end of the memory correspondence. This kind of situation is relatively easy to deal with in the case of a single bus system, but in a so-called multiple bus system that combines two or more buses, it is possible to handle DMA transfer commands across the memories on each bus. If you do, a big problem will occur. For example, when issuing a DMA transfer command from a processor on one bus to an input/output device on the other bus, if the memory on both buses is handled contiguously from the processor's perspective, then the Since the address boundary of the address boundary is not known, a DMA transfer command for a memory range spanning two buses will be issued. Furthermore, in this case, if the memory addresses on both buses correspond to each other discretely when viewed from the side of the input/output device on the other bus, there is a problem that such memory addresses will be treated as absent memory addresses.

従来のアクセス装置ではDMA転送指令を出す
前にメモリのアドレス境界が両方のバスにまたが
らないか否かをプロセツサ側で調べていた。しか
し前述の複数バス方式の場合などは、システムの
構成まで調べないとわからないのでプロセツサ側
の負担が増大するという欠点があつた。
In conventional access devices, before issuing a DMA transfer command, the processor checks whether the memory address boundary spans both buses. However, in the case of the above-mentioned multiple bus system, etc., there is a drawback that the burden on the processor side increases because the system configuration cannot be known until it is investigated.

本発明の目的は上記の欠点を除去したアクセス
装置を提供することにある。
The object of the invention is to provide an access device which eliminates the above-mentioned drawbacks.

本発明のアクセス装置は各装置の要求する固有
のアドレス空間が共通バス上でメモリの物理アド
レス空間と離散的に対応されている共通バス方式
の前記共通バス上にあつてあらかじめ定められた
範囲のメモリアドレスへのアクセスが要求された
ことを検出しその検出時点のアクセスの状態を保
持する検出器と、前記検出に対して応答を行う応
答器と、前記固有アドレス空間を前記保持された
アクセスの状態に対応してあらかじめ定められた
メモリの物理アドレス空間に変換を行うアドレス
変換器と、前記応答により前記変換されたアドレ
スで示されたメモリに対し前記保持されたアクセ
スの状態に対応したアクセスを行う代行器とを含
み構成されることを特徴とする。
The access device of the present invention has a common bus system in which the unique address space required by each device corresponds discretely with the physical address space of the memory on the common bus, and is arranged on the common bus within a predetermined range. a detector that detects that an access to a memory address is requested and holds the state of the access at the time of the detection; a responder that responds to the detection; an address converter that performs translation into a physical address space of a memory predetermined in accordance with the state; and an address converter that performs translation into a physical address space of a memory determined in advance according to the state; The present invention is characterized in that it includes a proxy device that performs the following operations.

次に本発明の実施例について図面を参照して説
明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すアクセス装置
のブロツク図である。検出器1は共通バス10か
ら来るアクセス要求101を入力し、あらかじめ
定められた範囲のメモリアドレスすなわち離散的
に対応づけられているアドレス境界を越えた結果
生じた不在メモリのアドレスへのアクセスが要求
されたことを検出して検出出力104を出し、続
いてその検出時点のアクセス要求101の状態を
保持して保持出力105を出力する。応答器3は
検出出力104を入力すると、共通バス10に応
答102を行い応答出力106を出す。一方アド
レス変換器2は保持出力105を入力すると、保
持出力105をそれに対応してあらかじめ定めら
れたメモリの物理アドレスへ変換しアドレス変換
出力107を出す。また代行器4は応答出力10
6を入力すると、アドレス変換出力107に対応
するメモリアドレスへ保持出力105に対応した
アクセスをするために代行アクセス103を共通
バス10に行う。上述したように、ある装置から
出された不在メモリに対するアクセス要求101
は一時受付けられアドレスが変換されて代行アク
セス103の形で実際のメモリに正しく伝達され
る。
FIG. 1 is a block diagram of an access device showing one embodiment of the present invention. The detector 1 inputs an access request 101 coming from the common bus 10, requesting access to a memory address in a predetermined range, that is, an address of an absent memory resulting from crossing a discretely associated address boundary. The state of the access request 101 at the time of detection is then held and a holding output 105 is output. When the responder 3 receives the detection output 104, it sends a response 102 to the common bus 10 and outputs a response output 106. On the other hand, when the address converter 2 receives the held output 105, it converts the held output 105 into a corresponding physical address of a predetermined memory and outputs an address translation output 107. Also, the proxy device 4 has a response output of 10
6, a proxy access 103 is made to the common bus 10 in order to access the memory address corresponding to the address translation output 107 in accordance with the holding output 105. As mentioned above, an access request 101 for unavailable memory issued from a certain device
is temporarily accepted, the address is converted, and the address is correctly transmitted to the actual memory in the form of proxy access 103.

第2図は第1図に示す検出器1の構成例を示す
ブロツク図である。アドレステーブル21はアク
セス要求101の到来を示すスタート信号202
によつてアクセス要求101のアドレス部203
を入力し、そのアドレス部203がアドレステー
ブル21内にあらかじめ設定されている値と一致
するか否かを調べ、その結果一致したときのみ検
出出力104を出す。次に保持器22は検出出力
104を入力すると、その検出時点のアクセス要
求101の状態を保持して保持出力105を出
す。
FIG. 2 is a block diagram showing an example of the configuration of the detector 1 shown in FIG. The address table 21 receives a start signal 202 indicating the arrival of the access request 101.
The address part 203 of the access request 101 by
is input, it is checked whether the address field 203 matches a value set in advance in the address table 21, and a detection output 104 is output only when the result is a match. Next, when the holder 22 receives the detection output 104, it holds the state of the access request 101 at the time of the detection and outputs a holding output 105.

第3図は第1図に示す応答器3の構成例を示す
ブロツク図である。応答回路31はスタート信号
202と検出出力104とを入力すると、応答1
02の内の承認出力301を出し同時に応答出力
106を出す。スタート信号202が解除される
と承認出力301と応答出力106とを解除す
る。
FIG. 3 is a block diagram showing an example of the configuration of the transponder 3 shown in FIG. 1. When the response circuit 31 receives the start signal 202 and the detection output 104, the response circuit 31 generates a response 1.
Outputs the approval output 301 of 02 and outputs the response output 106 at the same time. When the start signal 202 is canceled, the approval output 301 and the response output 106 are canceled.

第4図は第1図に示すアドレス変換器2の構成
例を示すブロツク図である。アドレス変換メモリ
41はその内容にあらかじめメモリの物理アドレ
スを入力しておくことにより、保持出力105の
アドレス部401を入力したとき読み出しデータ
としてアドレス変換出力107を得る。
FIG. 4 is a block diagram showing an example of the structure of the address converter 2 shown in FIG. 1. By inputting the physical address of the memory in advance to its contents, the address translation memory 41 obtains the address translation output 107 as read data when the address part 401 of the holding output 105 is input.

第5図は第1図に示す代行器4の構成例を示す
ブロツク図である。制御回路51は応答出力10
6を入力すると共通バス10に使用要求501を
出し、続いて使用承認502を入力するとスター
ト信号202とゲート出力信号505とを出す。
次にゲート回路52はゲート出力信号505を入
力すると、アドレス変換出力107を共通バス1
0のアドレス503に出力し、さらに保持出力1
05を構成するアクセス状態508を共通バス1
0のアクセス状態506へ出力しメモリに対し書
き込みあるいは読み出し要求なでの指定を行う。
一方ゲート回路53はゲート出力信号505を入
力すると保持出力105を構成するデータ部50
7を共通バス10のデータ部504へ出力し、メ
モリ書き込みのときは書き込みデータが、また読
み出しのときは先に読み出し要求を行つた装置の
アドレスがそのままメモリへ伝えられる。次に制
御回路51は共通バス10より承認出力301を
入力すると、使用要求501、スタート信号20
2およびゲート出力信号505を解除して代行ア
クセス103の動作を終了する。
FIG. 5 is a block diagram showing an example of the configuration of the proxy device 4 shown in FIG. 1. The control circuit 51 has a response output 10
When 6 is input, a use request 501 is issued to the common bus 10, and when a use approval 502 is subsequently input, a start signal 202 and a gate output signal 505 are output.
Next, when the gate circuit 52 receives the gate output signal 505, the address conversion output 107 is input to the common bus 1.
0 address 503, and further holds output 1
The access state 508 constituting 05 is transferred to the common bus 1.
It outputs to the access state 506 of 0 and specifies a write or read request to the memory.
On the other hand, when the gate circuit 53 receives the gate output signal 505, the data section 50 constituting the holding output 105
7 is output to the data section 504 of the common bus 10, and when writing to the memory, the write data is transmitted to the memory, and when reading, the address of the device that made the read request first is transmitted to the memory as is. Next, when the control circuit 51 receives the approval output 301 from the common bus 10, it receives a use request 501 and a start signal 20.
2 and the gate output signal 505 are released to end the operation of the proxy access 103.

本発明によれば、各装置から発せられる固有の
アドレスによるアクセス要求が離散的に対応づけ
られているメモリの物理アドレス境界を越えた結
果生じた不在メモリアドレスへのアクセス要求で
あつてもこれを検出し、このアクセス要求を有効
なものとするために一度応答を返し、一方でアド
レスを変換して実際の対応する物理アドレスのメ
モリにアクセスを代行することによつてアクセス
がメモリへ正しく伝達され不在メモリへのアクセ
スを救済できるので、プロセツサの負担が少なく
なり効率の良いアクセス装置が得られるという効
果が生じる。
According to the present invention, even if an access request using a unique address issued from each device exceeds the physical address boundary of discretely associated memory, this request can be made to a non-existent memory address. The access is correctly transmitted to the memory by detecting the access request and returning a response once to make it valid, while converting the address and delegating the access to the memory at the actual corresponding physical address. Since the access to the absent memory can be relieved, the burden on the processor is reduced and an efficient access device can be obtained.

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

第1図は本発明の一実施例を示すアクセス装置
のブロツク図、第2図乃至第5図は第1図におけ
る検出器、応答器、アドレス変換器、代行器のそ
れぞれの構成例を示すブロツク図である。 1……検出器、2……アドレス変換器、3……
応答器、4……代行器、10……共通バス、21
……アドレステーブル、22……保持器、31…
…応答回路、41……アドレス変換メモリ、51
……制御回路、52,53……ゲート回路。
FIG. 1 is a block diagram of an access device showing one embodiment of the present invention, and FIGS. 2 to 5 are block diagrams showing respective configuration examples of the detector, responder, address converter, and agent in FIG. 1. It is a diagram. 1...Detector, 2...Address converter, 3...
Responder, 4... Acting device, 10... Common bus, 21
...address table, 22...retainer, 31...
...Response circuit, 41...Address conversion memory, 51
...Control circuit, 52, 53...Gate circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 各装置の要求する固有のアドレス空間が共通
バス上でメモリの物理アドレス空間と離散的に対
応されている共通バス方式の前記共通バス上にあ
つてあらかじめ定められた範囲のメモリアドレス
へのアクセスが要求されたことを検出しその検出
時点のアクセスの状態を保持する検出器と、前記
検出に対して応答を行う応答器と、前記固有アド
レス空間を前記保持されたアクセスの状態に対応
してあらかじめ定められたメモリの物理アドレス
空間に変換を行うアドレス変換器と、前記応答に
より前記変換されたアドレスで示されたメモリに
対し前記保持されたアクセスの状態に対応したア
クセスを行う代行器とを含み構成されることを特
徴とするアクセス装置。
1 Access to memory addresses in a predetermined range on the common bus of a common bus system in which the unique address space requested by each device corresponds discretely with the physical address space of the memory on the common bus. a detector that detects that a request has been made and holds the access state at the time of the detection; a responder that responds to the detection; an address translator that performs translation into a predetermined physical address space of memory; and a proxy device that accesses the memory indicated by the translated address in response to the response in accordance with the maintained access state. An access device comprising:
JP56000996A 1981-01-07 1981-01-07 Access device Granted JPS57114930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56000996A JPS57114930A (en) 1981-01-07 1981-01-07 Access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56000996A JPS57114930A (en) 1981-01-07 1981-01-07 Access device

Publications (2)

Publication Number Publication Date
JPS57114930A JPS57114930A (en) 1982-07-17
JPS6350738B2 true JPS6350738B2 (en) 1988-10-11

Family

ID=11489199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56000996A Granted JPS57114930A (en) 1981-01-07 1981-01-07 Access device

Country Status (1)

Country Link
JP (1) JPS57114930A (en)

Also Published As

Publication number Publication date
JPS57114930A (en) 1982-07-17

Similar Documents

Publication Publication Date Title
US5857080A (en) Apparatus and method for address translation in bus bridge devices
US5029074A (en) Bus adapter unit for digital processing system
JPH0137773B2 (en)
US5749093A (en) Enhanced information processing system using cache memory indication during DMA accessing
JPH07225727A (en) Computer system
EP0297931A2 (en) Bus adapter unit for digital data processing system
JPH01298457A (en) Computer system
JPS6350738B2 (en)
JPS59173828A (en) Data processing system
GB2233481A (en) Magnetic disk storage with cache
JPS62184549A (en) Terminal equipment with shared memory occupying function
JPH0256693B2 (en)
JP3036809B2 (en) Buffer management method in microcomputer
JPS6120172A (en) Multi-microprocessor system
JPH05189311A (en) Cache memory system
TW480404B (en) Memory card with signal processing element
JP2503059B2 (en) Connection device between different types of buses
JPH02116346U (en)
JPH04337851A (en) Memory access system
JPS58213371A (en) Data processing system
JPH0379583U (en)
JPH035619B2 (en)
JPH0561763A (en) Memory controller
JPS5836380B2 (en) Direct memory access method in multiprocessor systems
JPH04342047A (en) Cache memory control system