JPS63304741A - Bus right arbiter circuit - Google Patents

Bus right arbiter circuit

Info

Publication number
JPS63304741A
JPS63304741A JP14102287A JP14102287A JPS63304741A JP S63304741 A JPS63304741 A JP S63304741A JP 14102287 A JP14102287 A JP 14102287A JP 14102287 A JP14102287 A JP 14102287A JP S63304741 A JPS63304741 A JP S63304741A
Authority
JP
Japan
Prior art keywords
bus
access
requester
arbiter
card
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.)
Granted
Application number
JP14102287A
Other languages
Japanese (ja)
Other versions
JPH0671263B2 (en
Inventor
Takayoshi Shimizu
孝祥 清水
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP14102287A priority Critical patent/JPH0671263B2/en
Publication of JPS63304741A publication Critical patent/JPS63304741A/en
Publication of JPH0671263B2 publication Critical patent/JPH0671263B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the circuit constitution and to attain short time access by providing a requester sending a bus right request signal to an arbiter arbitrating the bus right of the system so as to arbitrate the bus right of on internal bus. CONSTITUTION:When a master/slave 11(M3) generates a transfer request (at this point of time, access to a bus (b) or (c) is not clear), a bus right request signal is given to an arbiter CO of a system bus 1 via a requester 14 in a card C3. When a bus right of a system bus 1 is recognized in the M3, the requester 14 of the card C3 occupies the system bus 1 after the present bus cycle is finished. Then the M3 uses the internal bus B3 to start the actual access. When it is an access to the bus (b), the system bus 1 is being occupied, and if the access is directed to the bus (c), the system bus 1 is released. The distinguishment between the buses (b) and (c) is implemented by a decoder 13 and it is delivered to the requester 14. Thus, the circuit constitution is simplified and the access time is decreased.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、マイクロプロセッサ機器等において、機能ブ
ロックとしてのカードを複数枚接続したバスの占有権(
以下、バス権とする)を決定するバス権調停回路の改良
に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides the exclusive right (
This invention relates to an improvement of a bus right arbitration circuit that determines the bus right (hereinafter referred to as bus right).

[従来の技vII] マイクロプロセッサ機器の一部を構成するバスにおける
情報転送動作は、その機器のパフォーマンスを決定する
うえで用要な要素である。
[Prior Art vII] Information transfer operations on a bus forming a part of a microprocessor device are important factors in determining the performance of the device.

機器を構成する各々の機能ブロック間における情報転送
は、平均的な転送速度を要求されるもの、転送速度は遅
くてもよいもの、転送頻度は少ない高速転送が要求され
るもの等様々である。
Information transfer between each functional block constituting a device varies, such as those that require an average transfer speed, those that may require a slow transfer speed, and those that require high-speed transfer with a low transfer frequency.

このような種々の転送を調停するために、バス権調停回
路が用いられる。バス権調停回路は、システムバスに接
続された複数のバスマスタとなり得るカードに、所定の
バス使用優先順位に基づいて、バス権を与えるものであ
る。
A bus arbitration circuit is used to arbitrate these various transfers. The bus right arbitration circuit grants bus rights to a plurality of cards connected to the system bus that can serve as bus masters, based on a predetermined bus use priority order.

従来、バス権調停回路として、例えば第2図に示す構成
のものがあった。
Conventionally, there has been a bus arbitration circuit having the configuration shown in FIG. 2, for example.

図で、1は複数枚のカード01〜C3が接続されたシス
テムバスで、アドレス信号、データ信号、制御信号等が
伝送される。カードC1〜C3はバスマスタとなり得る
カードである。
In the figure, 1 is a system bus to which a plurality of cards 01 to C3 are connected, through which address signals, data signals, control signals, etc. are transmitted. Cards C1 to C3 are cards that can serve as bus masters.

2はアービタCOが接続された調停バスで、調停信号が
伝送される。アービタCOは、システムバス1のバス権
を調停する。
Reference numeral 2 denotes an arbitration bus to which an arbiter CO is connected, through which arbitration signals are transmitted. Arbiter CO arbitrates for bus rights to system bus 1.

カードC1〜C3には、マスタ3とこれに従属するスレ
ーブ4〜6が設けられている。
The cards C1 to C3 are provided with a master 3 and slaves 4 to 6 subordinate thereto.

7.8.9はカードC1,C2,C3の内部バスB1.
82.B3とシステムバス1の間で伝送される信号が経
由するバス・インタフェイス(以下、バスI/Fとする
)である。
7.8.9 is the internal bus B1. of cards C1, C2, C3.
82. This is a bus interface (hereinafter referred to as bus I/F) through which signals transmitted between B3 and system bus 1 pass.

10は内部バスB3のバス権を調停するアービタである
。マスタ/スレーブ11(以下、これをM3とする)は
、外部信号によってセットされるレジスタをもち、しか
も自身がマスクになりうるデバイスであって、例えばD
MAC(ダイレクトメモリ アクセス コントローラ)
である。
Reference numeral 10 denotes an arbiter that arbitrates for bus ownership of the internal bus B3. The master/slave 11 (hereinafter referred to as M3) is a device that has a register that is set by an external signal and can also serve as a mask, such as D
MAC (Direct Memory Access Controller)
It is.

12はカードC3がバス権を得たい場合に調停バス2を
経由してアービタCOにバス権要求信号を送るリクエス
タ、13は内部バスB3の信号をデコードしてリクエス
タ12に伝えるデコーダである。
Reference numeral 12 denotes a requester that sends a bus request signal to the arbiter CO via the arbitration bus 2 when the card C3 wants to obtain the bus right. Reference numeral 13 denotes a decoder that decodes the signal on the internal bus B3 and transmits it to the requester 12.

このようなバス権調停回路で、システムバス1を使用し
たいカードは、調停バス2を経由してアービタCOにバ
ス権を要求し、許可をもらった後に実際のバスアクセス
を行なう。
In such a bus right arbitration circuit, a card that wants to use the system bus 1 requests the bus right from the arbiter CO via the arbitration bus 2, and after receiving permission, performs actual bus access.

今、第2図に示すa、b、cの3通りのアクセスを考え
る。これらのアクセスは、どの2つも同時に実行するこ
とはできない。
Now, consider three accesses a, b, and c shown in FIG. No two of these accesses can be performed at the same time.

b、CのアクセスはともにM3がマスクとなって実行す
るザイクルであるが、bのアクセスではシステムバス1
のバス権を必要とするのに対し、Cのアクセスでは不要
であるという相違がある。
Accesses b and C are both cycles executed with M3 as a mask, but in access b, system bus 1
The difference is that access by C requires bus authority, whereas access by C does not require it.

アクセスbとCの区別は、M3が出力するアドレス等を
もとにして行なわれるため、M3がカードC3の内部バ
スB3のバス権を取るまではシステムバス1を必要とす
るかどうか判らない。すなわら、bのアクセスのために
システムバス1のバス権を要求しようとしたら、まず内
部バスB3を使用しなければならない。
Since accesses b and C are distinguished based on the address output by M3, it is not known whether system bus 1 is required until M3 takes control of internal bus B3 of card C3. In other words, if you want to request bus rights to system bus 1 for access to b, you must first use internal bus B3.

一方、aのアクセスは、B1.1.B3のバスを使用す
る。
On the other hand, access of a is B1.1. Use bus B3.

aのアクセスとM3の転送要求とは、全く非同期なもの
であるから、内部バスB3上での信号9衝突を避けるた
めにアービタ10が設けられている。
Since the access of a and the transfer request of M3 are completely asynchronous, an arbiter 10 is provided to avoid signal 9 collision on the internal bus B3.

アービタ10は、次の条件で調停を行う。The arbiter 10 performs arbitration under the following conditions.

0M3が内部バスB3を使用中例えばCのアクセスが行
なわれているときは、M3はOWN信号をバスE/F9
に送ってカードC3をシステムバス1から切り離し、a
のアクセスを禁止する。
When 0M3 is using internal bus B3, for example when accessing C, M3 sends the OWN signal to bus E/F9.
to disconnect card C3 from system bus 1, and
Prohibit access to.

■aのアクセス中にM3の転送要求が発生した場合には
、aのアクセスが終わるまでは、M3に内部バスB3の
バス権を与えない。
(2) If a transfer request for M3 occurs during the access of a, M3 is not given bus rights to the internal bus B3 until the access of a is completed.

[発明が解決しようとする問題点] しかし、このようなバス権調停回路では、各カードがそ
れぞれアービタをもち、外部のアービタCOとカード内
部のアービタとで2段階の調停を行っているため、回路
構成が複雑になり、転送要求をしてからアクセス可能に
なるまでの時間が長くなるという問題点があった。
[Problems to be Solved by the Invention] However, in such a bus arbitration circuit, each card has its own arbiter, and two-stage arbitration is performed between the external arbiter CO and the card's internal arbiter. There are problems in that the circuit configuration becomes complicated and the time from when a transfer request is made to when access becomes possible becomes long.

本発明は上述した問題点を解決、するためになされたも
のであり、回路構成が簡単で、カードが転送要求を発生
してから短時間でアクセスが可能なバス権調停回路を実
現することを目的とする。
The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to realize a bus arbitration circuit that has a simple circuit configuration and can be accessed in a short time after a card issues a transfer request. purpose.

[問題点を解決するための手段] 本発明は、 システムバスに接続された複数枚のバスマスクとなり得
るカードに、所定のバス使用層先順位に基づいて、バス
権を与えるバス権調停回路において、 カードの内部バスに接続されていて1、この内部バスの
バスマスクとなり得るデバイスが転送要求を発生したと
きに、バス権要求信号をシステムバスのバス権を調停す
るアービタに送り、前記内部バスのバス権を調停させる
リクエスタ、を設けたことを特徴とするバス権調停回路
である。
[Means for Solving the Problems] The present invention provides a bus rights arbitration circuit that grants bus rights to a plurality of cards connected to a system bus that can serve as bus masks, based on a predetermined priority order of bus usage layers. , is connected to the internal bus of the card 1, and when a device that can serve as a bus mask for this internal bus generates a transfer request, it sends a bus request signal to the arbiter that arbitrates for the bus right of the system bus. A bus rights arbitration circuit is characterized in that it is provided with a requester that arbitrates bus rights.

[実施例コ 以下、図面を用いて本発明を説明する。[Example code] Hereinafter, the present invention will be explained using the drawings.

第1図は本発明にかかるバス権調停回路の一実施例の構
成図である。第1図で、第2図と同一のものは同一符号
を付ける。
FIG. 1 is a block diagram of an embodiment of a bus arbitration circuit according to the present invention. Components in FIG. 1 that are the same as those in FIG. 2 are given the same reference numerals.

第1図のバス権調停回路は、カードC3内にア−ビタを
もたない点と、M3のバス権要求信号が。
The bus arbitration circuit shown in FIG. 1 has no arbiter in the card C3, and a bus request signal from M3.

リクエスタ14を経由してアービタCOに与えられる点
が第2図の回路と異なる。M3が内部バスB3を使用中
にaのアクセスが禁止されるのは第2図の回路と同様で
ある。M3は、バス権要求信号を発生し、それに対する
許可をもらった後に、実際のサイクルを行うタイプのデ
バイスである。
The difference from the circuit shown in FIG. 2 is that the signal is provided to the arbiter CO via the requester 14. Similar to the circuit shown in FIG. 2, access to a is prohibited while M3 is using internal bus B3. M3 is a type of device that generates a bus request signal and, after receiving permission for the signal, performs the actual cycle.

このようなバス権調停回路で、M3が転送要求を発生す
ると(この時点では、アクセスはbかCかわからない)
、カードC3内のりクエスタ14を経由してシステムバ
ス1のアービタCOにバス権要求信号が与えられる。
In such a bus arbitration circuit, when M3 issues a transfer request (at this point, it is unknown whether the access is B or C).
, a bus request signal is given to the arbiter CO of the system bus 1 via the requester 14 in the card C3.

M3にシステムバス1のバス権が認められると、現在の
バスサイクルが終了したところでカードC3のリクエス
タ14はシステムバス1を占有する。
When M3 is granted bus ownership of system bus 1, requester 14 of card C3 occupies system bus 1 at the end of the current bus cycle.

その後、M3は内部バスB3を使゛用して実際のアクセ
スを開始する。それがbのアクセスであれば、そのまま
システムバス1を占有し続け、Cのアクセスであれば、
システムバス1を解放する。
M3 then starts the actual access using internal bus B3. If it is an access by b, it continues to occupy system bus 1, and if it is an access by C,
Free system bus 1.

bとCのアクセスの区別はデコーダ13が行い、リクエ
スタ14に伝える。
The decoder 13 distinguishes between access b and access C, and notifies the requester 14 of the distinction.

[効果] 本発明によれば、カードC3は、それ自身がシステムバ
ス1を占有してから内部バスB3を使用するので、aの
アクセスとM3の転送要求が競合することがない。従っ
て、カードC3の入口で調停を行う必要がないため、カ
ードC3内にアービタを設けなくてもよい。これによっ
て回路構成が簡略化される。また、調停は1度ですむた
め、M3が転送要求を発生してから実際のアクセスを行
うまでの時間が短くなる。
[Effects] According to the present invention, the card C3 uses the internal bus B3 after occupying the system bus 1, so there is no conflict between the access of a and the transfer request of M3. Therefore, since there is no need to perform arbitration at the entrance of the card C3, there is no need to provide an arbiter within the card C3. This simplifies the circuit configuration. Furthermore, since arbitration only needs to be performed once, the time from when M3 issues a transfer request to when it actually accesses is shortened.

このような回路では、一旦システムバス1のバス権を取
っておきながら実際には使用しないCのアクセスの頻度
が高くならない限り、システムとしてのパフォーマンス
は悪化しない。
In such a circuit, the performance of the system will not deteriorate unless the frequency of access to C, which is not actually used even though the bus right of system bus 1 is reserved, increases.

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

第1図は本発明にかかるバス権調停回路の一実施例の構
成図、第2図′はバス権調停回路の従来例の構成図であ
る。 1・・・システムバス、2・・・調停バス、3・・・マ
スク、4〜6・・・スレーブ、11・・・マスタ/スレ
ーブ、14・・・リクエスタ、81〜B3・・・内部バ
ス、CO・・・アービタ、C1〜C3・・・カード。
FIG. 1 is a block diagram of an embodiment of a bus right arbitration circuit according to the present invention, and FIG. 2' is a block diagram of a conventional example of a bus right arbitration circuit. 1...System bus, 2...Arbitration bus, 3...Mask, 4-6...Slave, 11...Master/slave, 14...Requester, 81-B3...Internal bus , CO...arbiter, C1-C3...card.

Claims (1)

【特許請求の範囲】 システムバスに接続された、複数枚のバスマスタとなり
得るカードに、所定のバス使用優先順位に基づいて、バ
ス権を与えるバス権調停回路において、 カードの内部バスに接続されていて、この内部バスのバ
スマスタとなり得るデバイスが転送要求を発生したとき
に、バス権要求信号をシステムバスのバス権を調停する
アービタに送り、前記内部バスのバス権を調停させるリ
クエスタ、 を設けたことを特徴とするバス権調停回路。
[Claims] A bus arbitration circuit that is connected to an internal bus of a card and that grants bus rights to a plurality of cards that are connected to a system bus and that can serve as bus masters based on a predetermined bus usage priority order. and a requester that sends a bus request signal to an arbiter that arbitrates the bus rights of the system bus to arbitrate the bus rights of the internal bus when a device that can become a bus master of the internal bus generates a transfer request. A bus right arbitration circuit characterized by:
JP14102287A 1987-06-05 1987-06-05 Bus right arbitration circuit Expired - Lifetime JPH0671263B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14102287A JPH0671263B2 (en) 1987-06-05 1987-06-05 Bus right arbitration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14102287A JPH0671263B2 (en) 1987-06-05 1987-06-05 Bus right arbitration circuit

Publications (2)

Publication Number Publication Date
JPS63304741A true JPS63304741A (en) 1988-12-13
JPH0671263B2 JPH0671263B2 (en) 1994-09-07

Family

ID=15282384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14102287A Expired - Lifetime JPH0671263B2 (en) 1987-06-05 1987-06-05 Bus right arbitration circuit

Country Status (1)

Country Link
JP (1) JPH0671263B2 (en)

Also Published As

Publication number Publication date
JPH0671263B2 (en) 1994-09-07

Similar Documents

Publication Publication Date Title
JP4008987B2 (en) Bus communication system, bus arbitration method, and data transfer method
JPH0467224B2 (en)
JP2986176B2 (en) Bus right control system and bus system
JPH04268938A (en) Data processing apparatus and memory controller
US6959354B2 (en) Effective bus utilization using multiple bus interface circuits and arbitration logic circuit
JP4308578B2 (en) Integrated circuit device bus arbiter
JPS63304741A (en) Bus right arbiter circuit
US20050120147A1 (en) Direct memory access controller enabling cycle stealing among channels
JPH09153009A (en) Arbitration method for hierarchical constitution bus
JPH0210459A (en) Bus use right determining system
JPH10320349A (en) Processor and data transfer system using the processor
JP4097847B2 (en) Bus bridge arbitration method
JPH02143363A (en) Common memory control system in multiprocessor
JPS63175964A (en) Shared memory
JP2990692B2 (en) Bus acquisition control method
JP2555941B2 (en) Bus arbitration method
JP2003091501A (en) Information processing device
JPH04250553A (en) Programmable controller
KR950001232B1 (en) Circuit for arbitrating bus in map network adaptor
JPH02281356A (en) Shared memory device
JPH08137785A (en) Dma controller
JP4432268B2 (en) Bus arbitration system and interrupt processing method for a device serving as a bus master in this system
JPH04328663A (en) Method and device for dram access arbitration
JP3458439B2 (en) Information processing device
JP2632049B2 (en) Multiprocessor system