JPH07120329B2 - Bus controller - Google Patents

Bus controller

Info

Publication number
JPH07120329B2
JPH07120329B2 JP24091090A JP24091090A JPH07120329B2 JP H07120329 B2 JPH07120329 B2 JP H07120329B2 JP 24091090 A JP24091090 A JP 24091090A JP 24091090 A JP24091090 A JP 24091090A JP H07120329 B2 JPH07120329 B2 JP H07120329B2
Authority
JP
Japan
Prior art keywords
bus
master
virtual address
address
slave
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 - Fee Related
Application number
JP24091090A
Other languages
Japanese (ja)
Other versions
JPH04119447A (en
Inventor
誠 道上
雅宏 佐々木
Original Assignee
松下電送株式会社
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 松下電送株式会社 filed Critical 松下電送株式会社
Priority to JP24091090A priority Critical patent/JPH07120329B2/en
Publication of JPH04119447A publication Critical patent/JPH04119447A/en
Publication of JPH07120329B2 publication Critical patent/JPH07120329B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、複数のマスターとそれによりアクセスされる
スレーブ(例えばメモリ)とをバス接続し、マスターか
ら仮想アドレスによりスレーブをアクセスするためのア
クセス方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an access method for connecting a plurality of masters and a slave (for example, a memory) to be accessed by the bus via a bus, and accessing the slaves by a virtual address from the master. .

従来の技術 第3図は、従来のこの種のアクセス方式の構成図であっ
て、11はスレーブ、12及び13はマスター、14はデータバ
ス、15はアドレスバス、16はバス調停回路と仮想アドレ
スから物理アドレスへの変換を行う機能を持ったメモリ
マネージメントユニット(MMU)とを組み合わせた制御
部である。
2. Description of the Related Art FIG. 3 is a block diagram of a conventional access method of this type, in which 11 is a slave, 12 and 13 are masters, 14 is a data bus, 15 is an address bus, 16 is a bus arbitration circuit and a virtual address. Is a control unit that is combined with a memory management unit (MMU) that has the function of translating from a physical address to a physical address.

マスター12からスレーブ11をアクセスするサイクルにお
いては、マスター12より仮想アドレスがデータバス14に
送出され、これが制御部16によって物理アドレスに変換
されてアドレスバス15へ送出され、スレーブ11とマスタ
ー12との間でデータ転送が実行される。このサイクルが
終わるまで、各バスはマスター12に占有されるので、他
方のマスター13はスレーブをアクセスできない。
In the cycle of accessing the slave 11 from the master 12, the virtual address is sent from the master 12 to the data bus 14, this is converted to a physical address by the control unit 16 and sent to the address bus 15, and the slave 11 and the master 12 Data transfer is performed between them. Until the end of this cycle, each bus is occupied by the master 12, so the other master 13 cannot access the slaves.

発明が解決しようとする課題 したがって、従来のアクセス方式のタイミング図は第4
図の如くになり、仮想アドレスから物理アドレスへの変
換時間がそのまま実効アクセス時間の増加を招くという
問題があった。
Therefore, the timing diagram of the conventional access method is as follows.
As shown in the figure, there is a problem that the conversion time from the virtual address to the physical address leads to an increase in the effective access time.

本発明は、上述の問題点に鑑みてなされたもので、アド
レス変換時間によるアクセス時間の増大を実質的に排除
できるアクセス方式を提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an access method that can substantially eliminate an increase in access time due to address translation time.

課題を解決するための手段 本発明は、上述の目的を達成するため、複数のマスター
と、前記各マスターによってアクセスされるスレーブ
と、前記各マスターと前記スレーブとの間のデータ転送
のためのデータバスと、前記スレーブへ物理アドレスを
転送するための物理アドレスバスと、前記各マスターか
ら仮想アドレスを転送するための仮想アドレスバスと、
前記一つのマスターから前記仮想アドレスバスへ出され
た仮想アドレスを受け付けてこれを物理アドレスに変換
して前記物理アドレスバスへ送出すると共に前記仮想ア
ドレスバスを解放し、前記データバスを介して前記マス
ターと前記スレーブとがデータ転送を行っている間に、
他のマスターからの仮想アドレスを受け付けて物理アド
レスへの変換を行い、前記マスターと前記スレーブとの
間のデータ転送が終了した直後に、変換した物理アドレ
スを前記物理アドレスバスへ送出して前記仮想アドレス
バスを解放する調停・変換手段という構成を備えたもの
である。
Means for Solving the Problems In order to achieve the above-mentioned object, the present invention provides a plurality of masters, slaves accessed by each master, and data for data transfer between each master and the slave. A bus, a physical address bus for transferring a physical address to the slave, and a virtual address bus for transferring a virtual address from each master,
The master receives a virtual address output from the one master to the virtual address bus, converts the virtual address into a physical address, sends the physical address to the physical address bus, releases the virtual address bus, and the master via the data bus. And while the slave is performing data transfer,
Virtual addresses from other masters are accepted and converted into physical addresses, and immediately after the data transfer between the master and the slave is completed, the converted physical addresses are sent to the physical address bus to transmit the virtual addresses. It is provided with a configuration of arbitration / conversion means for releasing the address bus.

作 用 本発明は上述の構成によって、一つのマスターのアクセ
ス・サイクル中のデータ転送と他のマスターのアクセス
・サイクル中のアドレス変換とが時間的に重なるため、
仮想アドレスから物理アドレスへの変換時間が見掛け上
ゼロになる結果、仮想アドレスによる実効アクセス時間
を大幅に短縮可能である。
Operation The present invention has the above-described configuration, so that the data transfer during the access cycle of one master and the address translation during the access cycle of another master temporally overlap each other.
As a result of apparently zero conversion time from the virtual address to the physical address, the effective access time by the virtual address can be significantly shortened.

実施例 第1図は、本発明の一実施例によるアクセス方式の構成
図であって、1はスレーブ(例えばメモリ)、2及び3
はマスター、4はデータバス、5は物理アドレスバス、
6は本発明による追加された仮想アドレスバス、7はバ
ス調停回路と仮想アドレスから物理アドレスへの変換を
行う機能を持ったメモリマネージメントユニット(MM
U)と組み合わせた制御部である。なお、第1図におい
ては、アドレスとデータのバス以外の制御信号類はすべ
て省略されている。
Embodiment FIG. 1 is a block diagram of an access method according to an embodiment of the present invention, in which 1 is a slave (for example, memory), 2 and 3
Is a master, 4 is a data bus, 5 is a physical address bus,
6 is a virtual address bus added according to the present invention, 7 is a bus arbitration circuit and a memory management unit (MM) having a function of converting a virtual address to a physical address.
This is a control unit combined with U). In FIG. 1, all control signals other than the address and data buses are omitted.

次に、マスター(A)2とマスター(B)3のアクセス
サイクルが連続して実行される場合の動作を説明する。
第2図はこの場合のタイミング図である。
Next, the operation when the access cycles of the master (A) 2 and the master (B) 3 are continuously executed will be described.
FIG. 2 is a timing chart in this case.

マスター(A)2からスレーブ1をアクセスするサイク
ル(第2図の「1回目のサイクル」)においては、マス
ター(A)2より仮想アドレスが仮想アドレスバス6に
送出され、制御部7によって、この仮想アドレスから物
理アドレスへの変換が実行され、この変換が終わると物
理アドレスが物理アドレスバス5へ送出される。その
後、スレーブ1とマスター(A)2との間でデータバス
4を通してデータ転送が実行され、当該アクセスサイク
ルが終わる。
In the cycle of accessing the slave 1 from the master (A) 2 (“first cycle” in FIG. 2), the virtual address is sent from the master (A) 2 to the virtual address bus 6, and the control unit 7 The conversion from the virtual address to the physical address is executed, and when this conversion is completed, the physical address is sent to the physical address bus 5. After that, data transfer is executed between the slave 1 and the master (A) 2 through the data bus 4, and the access cycle ends.

このマスター(A)2のアクセスサイクルにおいて、仮
想アドレスから物理アドレスへの変換が終了し物理アド
レスが物理アドレスバス5に出力されると同時に、制御
部7では、マスター(A)2に占有されていた仮想アド
レスバス6を解放する。
In the access cycle of the master (A) 2, the conversion from the virtual address to the physical address is completed and the physical address is output to the physical address bus 5, and at the same time, the control unit 7 is occupied by the master (A) 2. The virtual address bus 6 is released.

したがって、この時点でマスター(B)3はアクセスサ
イクル(第2図の「2回目のサイクル」)を開始するこ
とができ、仮想アドレスが仮想アドレスバス6へ送出さ
れ、それに対するアドレス変換が制御部7において実行
される。そして、マスター(A)2のアクセスサイクル
が終了し、データバス4及び物理アドレスバス5が解放
されると、制御部7より物理アドレスが物理アドレスバ
ス5に送出され、マスター(B)3とスレーブ1との間
でデータバス4を経由してデータ転送が実行される。制
御部7では、物理アドレスを送出すると同時に仮想アド
レスバス6を解放するので、マスター(A)2は次のア
クセスサイクルを開始することが可能である。
Therefore, at this point, the master (B) 3 can start an access cycle (“second cycle” in FIG. 2), the virtual address is sent to the virtual address bus 6, and the address translation for the virtual address bus 6 is performed by the control unit. Executed at 7. Then, when the access cycle of the master (A) 2 ends and the data bus 4 and the physical address bus 5 are released, the physical address is sent from the control unit 7 to the physical address bus 5, and the master (B) 3 and the slave Data transfer is executed with the data bus 1 via the data bus 4. Since the control unit 7 releases the virtual address bus 6 at the same time as sending out the physical address, the master (A) 2 can start the next access cycle.

なお、各マスターからのアクセスの受付け順番は、制御
部7内のMMUと密接に組み合わされたバス調停回路で決
定される。したがって、あるマスターのアクセスサイク
ルにおけるデータ転送中でも、次の仮想アドレスをどの
マスターから受付けたらよいのかを制御部7で判断でき
る。
The order of accepting access from each master is determined by the bus arbitration circuit which is closely combined with the MMU in the control unit 7. Therefore, even during the data transfer in the access cycle of a certain master, the control unit 7 can determine from which master the next virtual address should be accepted.

以上の説明及び第2図から明らかなように、複数のマス
ターから順にアクセスする場合、あるマスターのデータ
転送と他のマスターに関するアドレス変換とが時間的に
重なり合うため、仮想アドレスから物理アドレスへの変
換時間は見掛け上ゼロになり、実行アクセス時間が大幅
に短くなる。
As is clear from the above description and FIG. 2, when accessing from a plurality of masters in order, the data transfer of one master and the address conversion of other masters overlap in time, so that the conversion from the virtual address to the physical address is performed. The time is apparently zero, and the execution access time is significantly shortened.

なお、マスターが3個以上、スレーブが2個以上のシス
テムにおいても本発明を同様に適用し、実効アクセス時
間を短縮できることは明らかである。
It is obvious that the present invention can be similarly applied to a system having three or more masters and two or more slaves to shorten the effective access time.

発明の効果 以上の説明から明らなかように、本発明は、複数のマス
ターと、前記各マスターによってアクセスされるスレー
ブと、前記各マスターと前記スレーブとの間のデータ転
送のためのデータバスと、前記スレーブへ物理アドレス
を転送するための物理アドレスバスと、前記各マスター
から仮想アドレスを転送するための仮想アドレスバス
と、前記一つのマスターから前記仮想アドレスバスへ出
された仮想アドレスを受け付けてこれを物理アドレスに
変換して前記物理アドレスバスへ送出すると共に前記仮
想アドレスバスを解放し、前記データバスを介して前記
マスターと前記スレーブとがデータ転送を行っている間
に、他のマスターからの仮想アドレスを受け付けて物理
アドレスへの変換を行い、前記マスターと前記スレーブ
との間のデータ転送が終了した直後に、変換した物理ア
ドレスを前記物理アドレスバスへ送出して前記仮想アド
レスバスを解放する調停・変換手段という構成とするこ
とにより、一つのマスターのアクセス・サイクル中のデ
ータ転送と他のマスターのアクセス・サイクル中のアド
レス変換とが時間的に重なるため、仮想アドレスから物
理アドレスへの変換時間が見掛け上ゼロになる結果、仮
想アドレスによる実効アクセス時間を大幅に短縮できる
という効果を有するものである。
EFFECTS OF THE INVENTION As is apparent from the above description, the present invention provides a plurality of masters, slaves accessed by the masters, and a data bus for data transfer between the masters and the slaves. A physical address bus for transferring a physical address to the slave, a virtual address bus for transferring a virtual address from each master, and a virtual address issued from the one master to the virtual address bus. This is converted to a physical address and sent to the physical address bus, the virtual address bus is released, and while the master and the slave are performing data transfer via the data bus, another master Between the master and the slave, accepting the virtual address of the Immediately after the data transfer is completed, the arbitration / translation means for sending the converted physical address to the physical address bus to release the virtual address bus is used to transfer the data during the access cycle of one master. Since the address translation during the access cycle of other masters overlaps in terms of time, the virtual address to physical address translation time apparently becomes zero, resulting in a significant reduction in the effective access time by the virtual address. Is to have.

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

第1図は本発明の一実施例によるアクセス方式の構成
図、第2図は同実施例のタイミング図、第3図は従来の
アクセス方式の構成図、第4図は同従来方式のタイミン
グ図である。 1……スレーブ、2,3……マスター、4……データバ
ス、5……物理アドレスバス、6……仮想アドレスバ
ス、7……制御部。
FIG. 1 is a block diagram of an access system according to an embodiment of the present invention, FIG. 2 is a timing diagram of the same embodiment, FIG. 3 is a block diagram of a conventional access system, and FIG. 4 is a timing diagram of the conventional system. Is. 1 ... Slave, 2,3 ... Master, 4 ... Data bus, 5 ... Physical address bus, 6 ... Virtual address bus, 7 ... Control unit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のマスターと、前記各マスターによっ
てアクセスされるスレーブと、前記各マスターと前記ス
レーブとの間のデータ転送のためのデータバスと、前記
スレーブへ物理アドレスを転送するための物理アドレス
バスと、前記各マスターから仮想アドレスを転送するた
めの仮想アドレスバスと、前記一つのマスターから前記
仮想アドレスバスへ出された仮想アドレスを受け付けて
これを物理アドレスに変換して前記物理アドレスバスへ
送出すると共に前記仮想アドレスバスを解放し、前記デ
ータバスを介して前記マスターと前記スレーブとがデー
タ転送を行っている間に、他のマスターからの仮想アド
レスを受け付けて物理アドレスへの変換を行い、前記マ
スターと前記スレーブとの間のデータ転送が終了した直
後に、変換した物理アドレスを前記物理アドレスバスへ
送出して前記仮想アドレスバスを解放する調停・変換手
段とを有することを特徴とするバス制御装置。
1. A plurality of masters, a slave accessed by each master, a data bus for data transfer between each master and the slave, and a physical bus for transferring a physical address to the slave. An address bus, a virtual address bus for transferring a virtual address from each of the masters, and a physical address bus that receives a virtual address issued from the one master to the virtual address bus and converts it into a physical address To the virtual address bus and release the virtual address bus, and while the master and the slave are performing data transfer via the data bus, accept virtual addresses from other masters and perform conversion to physical addresses. Converted immediately after the data transfer between the master and the slave is completed. Bus control apparatus characterized by having an arbitration-converting means for releasing said virtual address bus by sending an address to the physical address bus.
JP24091090A 1990-09-10 1990-09-10 Bus controller Expired - Fee Related JPH07120329B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24091090A JPH07120329B2 (en) 1990-09-10 1990-09-10 Bus controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24091090A JPH07120329B2 (en) 1990-09-10 1990-09-10 Bus controller

Publications (2)

Publication Number Publication Date
JPH04119447A JPH04119447A (en) 1992-04-20
JPH07120329B2 true JPH07120329B2 (en) 1995-12-20

Family

ID=17066493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24091090A Expired - Fee Related JPH07120329B2 (en) 1990-09-10 1990-09-10 Bus controller

Country Status (1)

Country Link
JP (1) JPH07120329B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334410A (en) 2003-05-06 2004-11-25 Hitachi Ltd Information processing apparatus and processor
JP2010049718A (en) * 2009-12-03 2010-03-04 Hitachi Ltd Semiconductor device

Also Published As

Publication number Publication date
JPH04119447A (en) 1992-04-20

Similar Documents

Publication Publication Date Title
US3940743A (en) Interconnecting unit for independently operable data processing systems
US4757439A (en) Memory bus architecture
JPH07120329B2 (en) Bus controller
EP3819778A1 (en) Bus system and method for operating a bus system
JPS599767A (en) Multiprocessor
JPS61166647A (en) Accessing for reading out information microprocessor and addressable memory
JPH04156741A (en) Loop bus transmission mode
JPH01175056A (en) Program transfer system
JPH09259074A (en) Memory access circuit
JPH08180027A (en) Arbitration circuit
JPH05173936A (en) Data transfer processing device
JPH01166243A (en) Control system for system bus
JPS60151894A (en) Refresh circuit of dynamic ram
JPH0333966A (en) Memory control circuit
JPS62184557A (en) Microprocessor bus interface circuit
JPH06149749A (en) Data transfer system among plural processors
JPS6341973A (en) Multi-processor system
JPH0476152B2 (en)
JPS61235968A (en) Data bus control system
JPH0434187B2 (en)
JPS60134364A (en) Bus interface control system
JPH07160625A (en) Data transfer device
JPS60169962A (en) Memory access control system
JP2001043355A (en) Data processor
JPS63103351A (en) Dma control circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees