JPH1115779A - Bus control system - Google Patents

Bus control system

Info

Publication number
JPH1115779A
JPH1115779A JP16547097A JP16547097A JPH1115779A JP H1115779 A JPH1115779 A JP H1115779A JP 16547097 A JP16547097 A JP 16547097A JP 16547097 A JP16547097 A JP 16547097A JP H1115779 A JPH1115779 A JP H1115779A
Authority
JP
Japan
Prior art keywords
bus
common
master
masters
control system
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
JP16547097A
Other languages
Japanese (ja)
Inventor
Yasunao Unno
泰直 海野
Takeshi Hasegawa
健 長谷川
Yoshinobu Terui
嘉信 照井
Takashi Obara
隆司 小原
Yoshihiko Nemoto
嘉彦 根本
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP16547097A priority Critical patent/JPH1115779A/en
Publication of JPH1115779A publication Critical patent/JPH1115779A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To simplify distribution between bus masters and a bus controller, to provide efficient data transfer and to construct a flexible system. SOLUTION: A bus controller 20 which arbitrates a use request for a common bus 1 sends common information ACKINFO that includes a bus use enabling signal for a bus master that is allowed to use the bus 7 and an identifier of the bus master to plural bus masters 10-1 to 10-n by using one signal line 50a. Each bus master 10-1 to 10-n that receives it recognizes which bus master is given the use permission of the bus 1 based on the identifier of bus master which is included in the information ACKINFO.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のバスマスタ
が共有している共通バスについて、その使用要求が競合
したときにこれらに対する調停を行うバス制御システム
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus control system for arbitrating a common bus shared by a plurality of bus masters when the use requests conflict with each other.

【0002】[0002]

【従来の技術】バス制御システムとは、コンピュータシ
ステム等において用いられるものであり、共通バスと、
この共通バスに接続されるメモリやI/O(Input/Outp
ut)装置等のスレーブデバイスと、各デバイス間のデー
タ転送を行うCPU(CentralProcessing Unit)やDM
A(Direct Memory Access)コントローラ等のバスマス
タと、複数のバスマスタからの共通バスの使用要求を調
停するバスコントローラとを備えてなるものである。各
デバイス間のデータ転送としては、各スレーブデバイス
間、バスマスタとスレーブデバイス間、あるいはバスマ
スタ同士の間の転送がある。
2. Description of the Related Art A bus control system is used in a computer system or the like.
Memory and I / O (Input / Outp
ut) A slave device such as a device and a CPU (Central Processing Unit) or DM for transferring data between the devices.
It comprises a bus master such as an A (Direct Memory Access) controller and a bus controller that arbitrates requests for using a common bus from a plurality of bus masters. Data transfer between each device includes transfer between slave devices, between a bus master and a slave device, or between bus masters.

【0003】このようなバス制御システムの一例として
は、図6に示すように、複数のバスマスタ30-1〜30-n
と、バスコントローラ40とが、それぞれバス使用要求
信号線51-1〜51-n及びバス使用許可信号線52-1〜52-nで
接続されているものがある。このバス制御システムにお
いて、各バスマスタ30-1〜30-nは、共通バスを使用しよ
うとする際に、バスコントローラ40に対してバス使用
要求信号線51-1〜51-nを介してバス使用要求信号REQ1〜
REQnを送信し、その状態でバスコントローラ40からバ
ス使用許可信号線52-1〜52-nを介してバス使用許可信号
ACK1〜ACKnを受信するまで待つ。そして、バス使用許可
信号ACK1〜ACKnを受信したバスマスタ30-1〜30-nは、共
通バスを使用してデバイス間のデータ転送を開始し、そ
のデータ転送が終了した時点でバス使用要求信号REQ1〜
REQnの送信を停止する。
As an example of such a bus control system, as shown in FIG. 6, a plurality of bus masters 30-1 to 30-n
And the bus controller 40 are connected by bus use request signal lines 51-1 to 51-n and bus use permission signal lines 52-1 to 52-n, respectively. In this bus control system, each of the bus masters 30-1 to 30-n communicates with the bus controller 40 via the bus use request signal lines 51-1 to 51-n when trying to use the common bus. Request signal REQ1 ~
REQn is transmitted, and in this state, the bus controller 40 sends a bus use permission signal via the bus use permission signal lines 52-1 to 52-n.
Wait until ACK1 to ACKn are received. The bus masters 30-1 to 30-n that have received the bus use permission signals ACK1 to ACKn start data transfer between the devices using the common bus, and when the data transfer ends, the bus use request signal REQ1 ~
Stop sending REQn.

【0004】このとき、バスコントローラ40では、図
7に示すように、共通バスが使用されていない状況で
(図中(g)の期間)、あるバスマスタ30-1からバス使
用要求信号REQ1が送信されてくると(ハイレベルからロ
ーレベルになると)、そのバス使用要求信号REQ1を送信
したバスマスタ30-1にバス使用許可信号ACK1を送信し、
次に共通バスが使用可能になるまでその状態を保持す
る。
At this time, as shown in FIG. 7, the bus controller 40 transmits a bus use request signal REQ1 from a certain bus master 30-1 while the common bus is not used (period (g) in FIG. 7). When it is received (when the level changes from a high level to a low level), a bus use permission signal ACK1 is transmitted to the bus master 30-1 that has transmitted the bus use request signal REQ1,
Next, the state is maintained until the common bus becomes available.

【0005】また、あるバスマスタ30-2が共通バスを使
用している状況下で(図中(h)の期間)、他のバスマ
スタ30-1からバス使用要求信号REQ1が送信されてくる
と、バスコントローラ40は、共通バスが使用が可能に
なるまで待った後に、前記他のバスマスタ30-1に対して
使用許可信号ACK1を送信する。
[0005] Further, when a bus master request signal REQ1 is transmitted from another bus master 30-1 in a situation where a certain bus master 30-2 uses the common bus (period (h) in the figure), After waiting until the common bus becomes usable, the bus controller 40 transmits the use permission signal ACK1 to the other bus master 30-1.

【0006】また、複数のバスマスタ30-1〜30-nからの
バス使用要求信号REQ1〜REQnが競合した場合に(図中
(i)の期間)、バスコントローラ40は、予め定めら
れた優先順位に従って、その時点における最も高い優先
順位のバスマスタ30-1〜30-nに対してバス使用許可信号
ACK1〜ACKnを送信する。
When the bus use request signals REQ1 to REQn from the plurality of bus masters 30-1 to 30-n conflict (period (i) in the figure), the bus controller 40 sets a predetermined priority order. According to the bus use permission signal for the highest priority bus master 30-1 to 30-n at that time.
ACK1 to ACKn are transmitted.

【0007】したがって、バス使用を許可されなかった
バスマスタあるいは共通バスが使用されている状況でバ
ス使用要求信号を送信したバスマスタは、既に共通バス
の使用を許可されたバスマスタによる共通バスの使用が
終了し、かつ、設定された優先順位が有効になるまで、
バスコントローラ40からのバス使用許可信号を待ち続
けることになる。
Therefore, a bus master whose bus use has not been permitted or a bus master which has transmitted a bus use request signal in a situation where the common bus is being used has finished using the common bus by a bus master which has already been permitted to use the common bus. Until the priority set becomes effective.
It will keep waiting for the bus use permission signal from the bus controller 40.

【0008】ところが、バスマスタ30-1〜30-nには、バ
ス使用要求の緊急度が変化しないものと、バスマスタ内
外部の動作状況に応じてバス使用要求の緊急度が変化す
るものとがある。
However, the bus masters 30-1 to 30-n include those in which the urgency of the bus use request does not change and those in which the urgency of the bus use request changes in accordance with the operation status inside and outside the bus master. .

【0009】バス使用要求の緊急度が変化するバスマス
タでは、バス使用要求信号の送信時とその後とで状態に
変化が生じると、バスコントローラ40からのバス使用
要求信号を十分に待てなくなってしまい、デバイス間の
データ転送を正しく行えなくなってしまう可能性があ
る。例えば、バスマスタ内部に設けられた記憶手段に外
部からのデータを一旦蓄積し、その後蓄積したデータを
共通バスを用いて転送するようなバスマスタでは、バス
コントローラ40からのバス使用要求信号を待つ間にさ
らに外部からのデータ受け取ると、記憶手段の記憶領域
が圧迫されてしまい、データ転送を正常に行えなくなる
といったエラーが発生する場合がある。
In a bus master in which the degree of urgency of a bus use request changes, if the state changes between when the bus use request signal is transmitted and after that, the bus master cannot fully wait for the bus use request signal from the bus controller 40. Data transfer between devices may not be performed correctly. For example, in a bus master that temporarily stores external data in a storage unit provided inside the bus master and then transfers the stored data using a common bus, the bus master waits for a bus use request signal from the bus controller 40. Further, when data is received from the outside, the storage area of the storage unit may be squeezed and an error may occur such that data transfer cannot be performed normally.

【0010】そのために、予め定められた優先順位に従
って調停を行うのではなく、周知技術であるラウンドロ
ビン方式等により優先順位の設定を変更できるバスコン
トローラを用いることも考えられるが、ラウンドロビン
方式等による優先順位の変更を行っても、バスマスタ内
外部の動作状態により優先順位を変化させるのではない
ため、上述したエラー発生等の問題を解消することはで
きない。
For this purpose, instead of performing arbitration in accordance with a predetermined priority, a bus controller capable of changing the setting of the priority by a well-known technique such as a round robin method may be used. Even if the priority order is changed, the priority order is not changed depending on the operation state inside and outside the bus master, so that the above-described problem such as occurrence of an error cannot be solved.

【0011】このような問題を解決するために、特開平
5−151155号公報には、共通バスの使用が許可さ
れなかったバスマスタに対して、共通バスのステータス
やウエイト時間等の情報を送信するバスコントローラを
用いて構成されたシステムが開示されている。これを図
8を参照しながら説明すると、このシステムでは、バス
使用要求信号REQ1〜REQnを送信したバスマスタ31-1〜31
-nのうち、共通バスの使用を許可したバスマスタにはバ
ス使用許可信号ACK1〜ACKnを、また共通バスの使用を許
可しなかったバスマスタには共通バスのステータスやウ
エイト時間等を表す共通バス情報信号STS1〜STSn(ある
いはWT1 〜WTn)を、バスコントローラ41がそれぞれ同
一のバス信号線53-1〜53-nを用いて送信するようになっ
ている。
In order to solve such a problem, Japanese Patent Application Laid-Open No. Hei 5-151155 discloses that information such as the status and wait time of the common bus is transmitted to a bus master whose use of the common bus is not permitted. A system configured using a bus controller is disclosed. This will be described with reference to FIG. 8. In this system, the bus masters 31-1 to 31-1 that have transmitted the bus use request signals REQ1 to REQn
Of -n, the bus use permission signals ACK1 to ACKn are given to the bus masters that have permitted the use of the common bus, and the common bus information indicating the status and wait time of the common bus is given to the bus masters that have not permitted the use of the common bus. The bus controllers 41 transmit the signals STS1 to STSn (or WT1 to WTn) using the same bus signal lines 53-1 to 53-n, respectively.

【0012】これにより、このバス制御システムでは、
共通バスの使用が許可されずに共通バス情報信号STS1〜
STSn(あるいはWT1 〜WTn)を受け取ったバスマスタであ
っても、その共通バス情報信号STS1〜STSn(あるいはWT
1 〜WTn)に基づいて、共通バスのステータスやウエイト
時間等が分かるので、優先順位の変更を行った後に再度
バス使用要求信号REQ1〜REQnを送信したり、バスマスタ
内部のエラー処理を行うことができ、結果としてバスマ
スタ内外部の動作状態の変化に起因するエラー発生等を
招くことがない。
Thus, in this bus control system,
The common bus information signals STS1 to STS1 to
Even if the bus master receives STSn (or WT1 to WTn), its common bus information signals STS1 to STSn (or WT1 to WTn)
(1 to WTn), the status and wait time of the common bus can be known.Therefore, after changing the priority, it is possible to transmit the bus use request signals REQ1 to REQn again and perform error processing inside the bus master. As a result, there is no occurrence of an error or the like due to a change in the operation state inside or outside the bus master.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、このバ
ス制御システムでは、バスマスタ31-1〜31-nの数に応じ
たバス信号線53-1〜53-nが必要であるので、バスマスタ
31-1〜31-nとバスコントローラ41との間の配線(回
路)構成が複雑化してしまうのに加えて、以下に述べる
ような課題が生じてしまう。
However, this bus control system requires bus signal lines 53-1 to 53-n corresponding to the number of bus masters 31-1 to 31-n.
In addition to complicating the wiring (circuit) configuration between the bus controllers 31-1 to 31-n and the bus controller 41, the following problems occur.

【0014】共通バスの使用が許可されるバスマスタ
は、システム内において、常に1つである。よって、バ
スコントローラ41に複数のバスマスタ31-1〜31-nが接
続され、それぞれのバスマスタ31-1〜31-nからバス使用
要求信号REQ1〜REQnが送信された場合には、バスコント
ローラ41は、共通バスの使用を許可したバスマスタ以
外のそれぞれに、すなわち各バス信号線53-1〜53-n毎
に、共通バス情報信号STS1〜STSn(あるいはWT1 〜WTn)
を送信しなければならない。したがって、バスコントロ
ーラ41にとっては、共通バス情報信号STS1〜STSn(あ
るいはWT1 〜WTn)を送信するための処理が煩雑なものと
なってしまい、結果としてシステム内における処理効率
向上の妨げとなってしまう。
There is always one bus master permitted to use the common bus in the system. Therefore, when a plurality of bus masters 31-1 to 31-n are connected to the bus controller 41 and the bus use request signals REQ1 to REQn are transmitted from the respective bus masters 31-1 to 31-n, the bus controller 41 , Common bus information signals STS1 to STSn (or WT1 to WTn) for each of the bus masters other than the bus master that has permitted use of the common bus, ie, for each of the bus signal lines 53-1 to 53-n.
Must be sent. Therefore, the process for transmitting the common bus information signals STS1 to STSn (or WT1 to WTn) becomes complicated for the bus controller 41, and as a result, it hinders the improvement of the processing efficiency in the system. .

【0015】また、バスコントローラ41は、バスマス
タ31-1〜31-nに対応した数のバス使用要求信号線51-1〜
51-nのための入力ポートと、バスマスタ31-1〜31-nに対
応した数のバス信号線53-1〜53-nのための出力ポートと
が必要である。よって、システム内に新たなバスマスタ
を追加しようとしても、場合によっては容易に対応する
ことができなくなってしまう可能性がある。さらに、バ
スマスタ31-1〜31-n側では、バス信号線53-1〜53-nによ
ってバス使用許可信号ACK1〜ACKnと共通バス情報信号ST
S1〜STSn(あるいはWT1 〜WTn)とが送信されてくるの
で、これらを識別するための機能が必要となり、これに
対応していないバスマスタは接続することができず、結
果として汎用性や拡張性の確保が困難になってしまう。
The bus controller 41 has a number of bus use request signal lines 51-1 to 51-1 corresponding to the bus masters 31-1 to 31-n.
An input port for 51-n and output ports for bus signal lines 53-1 to 53-n corresponding to the number of bus masters 31-1 to 31-n are required. Therefore, even if an attempt is made to add a new bus master in the system, it may not be possible to cope easily in some cases. Further, on the side of the bus masters 31-1 to 31-n, the bus use permission signals ACK1 to ACKn and the common bus information signal ST are transmitted by the bus signal lines 53-1 to 53-n.
Since S1 to STSn (or WT1 to WTn) are transmitted, a function to identify them is required, and a bus master that does not support them cannot be connected, resulting in versatility and expandability. Would be difficult to secure.

【0016】そこで、本発明は、バスコントローラがバ
スマスタに対して共通バスのステータスやウエイト時間
等を通知するようになっていても、配線構成が複雑化し
てしまうことなく、しかもシステム内における処理効率
向上を実現できるバス制御システムを提供することを目
的とする。さらに、本発明は、バスコントローラがバス
マスタに対して共通バスのステータスやウエイト時間等
を通知するようになっていても、システムとしての汎用
性や拡張性を確保することのできるバス制御システムを
提供することを目的とする。
Accordingly, the present invention provides a bus controller that notifies the bus master of the status and wait time of the common bus to the bus master without complicating the wiring configuration and further improving the processing efficiency in the system. An object of the present invention is to provide a bus control system capable of realizing improvement. Further, the present invention provides a bus control system that can ensure versatility and expandability as a system even when the bus controller notifies the bus master of the status and wait time of the common bus. The purpose is to do.

【0017】[0017]

【課題を解決するための手段】本発明は、上記目的を達
成するために案出されたバス制御システムで、以下に述
べる2つの基本構成のうちのいずれかを有している。そ
の1つは、共通バスと、この共通バスを使用してデータ
転送を行う複数のバスマスタと、これら複数のバスマス
タからの共通バス使用要求に対する調停を行うバスコン
トローラとを具備するバス制御システムにおいて、前記
バスコントローラは、前記調停により前記共通バスの使
用を許可したバスマスタに対するバス使用許可信号とそ
のバスマスタの識別子とを含む共通情報を、前記複数の
バスマスタに共通に接続される1つの信号線を用いて、
これら複数のバスマスタのそれぞれに送信する共通情報
送信手段を備え、前記複数のバスマスタのそれぞれは、
前記共通情報送信手段から前記共通情報が送信される
と、その共通情報に含まれるバスマスタの識別子に基づ
いて、前記複数のバスマスタのうちのどのバスマスタに
対して前記共通バスの使用許可が与えられたかを認識す
る許可認識手段を備えることを特徴とするものである。
SUMMARY OF THE INVENTION The present invention is a bus control system devised to achieve the above object, and has one of the following two basic configurations. One is a bus control system including a common bus, a plurality of bus masters performing data transfer using the common bus, and a bus controller performing arbitration for a common bus use request from the plurality of bus masters. The bus controller uses one signal line commonly connected to the plurality of bus masters to transmit common information including a bus use permission signal to the bus master that has permitted use of the common bus by the arbitration and an identifier of the bus master. hand,
A common information transmitting unit for transmitting to each of the plurality of bus masters, wherein each of the plurality of bus masters includes:
When the common information is transmitted from the common information transmitting means, based on the identifier of the bus master included in the common information, which of the plurality of bus masters has been given permission to use the common bus. Is provided with permission recognition means for recognizing.

【0018】上記構成のバス制御システムでは、複数の
バスマスタから共通バスの使用要求が競合すると、バス
コントローラがこれらに対する調停を行う。そして、そ
の結果を、バスコントローラの共通情報送信手段が、共
通バスの使用を許可したバスマスタに対するバス使用許
可信号とそのバスマスタの識別子とを含む共通情報を、
各バスマスタに共通に接続される1つの信号線を用いて
送信することにより、各バスマスタに通知する。これに
対して、バスマスタでは、許可認識手段が、送信された
共通情報に含まれるバスマスタの識別子を基に、どのバ
スマスタに共通バスの使用許可が与えられたかを認識す
る。したがって、バスコントローラは、各バスマスタか
らのバス使用要求に対する調停結果や、例えばその調停
時における共通バスのステータスやウエイト時間等に関
する情報を、各バスマスタに対して通知する場合であっ
ても、これらを共通情報に含めることで1つの信号線に
より送信を行うことができるようになる。
In the bus control system having the above configuration, when the use requests of the common bus from a plurality of bus masters conflict, the bus controller arbitrates for these requests. Then, the common information transmitting means of the bus controller transmits the common information including the bus use permission signal to the bus master that has permitted use of the common bus and the identifier of the bus master.
Each bus master is notified by transmitting using one signal line commonly connected to each bus master. On the other hand, in the bus master, the permission recognizing unit recognizes which bus master has been granted the use permission of the common bus based on the identifier of the bus master included in the transmitted common information. Therefore, even when the bus controller notifies each bus master of the arbitration result for the bus use request from each bus master and the information on the status of the common bus and the wait time at the time of the arbitration, the bus controller performs the arbitration. By including it in the common information, transmission can be performed by one signal line.

【0019】また、2つの基本構成のうちの他の1つ
は、共通バスと、この共通バスを使用してデータ転送を
行う複数のバスマスタと、これら複数のバスマスタから
の共通バス使用要求に対する調停を行うバスコントロー
ラとを具備するバス制御システムにおいて、前記バスコ
ントローラは、前記調停により前記共通バスの使用を許
可したバスマスタのみにバス使用許可信号を送信する使
用許可送信手段と、前記バス使用許可信号とは別に、前
記複数のバスマスタに共通に接続される1つの信号線を
用いて、前記複数のバスマスタのそれぞれに対して共通
情報を送信する共通情報送信手段とを備えることを特徴
とするものいである。
Another one of the two basic configurations is a common bus, a plurality of bus masters performing data transfer using the common bus, and arbitration for a common bus use request from the plurality of bus masters. And a bus controller that performs a bus use permission signal transmission unit that transmits a bus use permission signal only to a bus master that has permitted the use of the common bus by the arbitration. Apart from this, common information transmitting means for transmitting common information to each of the plurality of bus masters by using one signal line commonly connected to the plurality of bus masters is provided. is there.

【0020】上記構成のバス制御システムでは、複数の
バスマスタから共通バスの使用要求が競合すると、バス
コントローラがこれらに対する調停を行うとともに、バ
スコントローラの使用許可送信手段がその調停結果を、
バス使用許可信号の送信によって、共通バスの使用が許
可されたバスマスタに通知する。また、このとき、バス
コントローラの共通情報送信手段は、各バスマスタに共
通に接続される1つの信号線を用いて、各バスマスタに
例えば共通バスの使用が許可されたバスマスタの識別子
やその調停時における共通バスのステータスやウエイト
時間に関する情報等を共通情報に含んで送信する。これ
により、このバスコントローラでは、バスコントローラ
からのバス使用許可信号のみを受信可能なバスマスタ
と、バスコントローラからのバス使用許可信号及び共通
情報を受信可能なバスマスタとの両方に対応可能とな
る。
In the bus control system having the above configuration, when a plurality of bus masters compete for use of the common bus, the bus controller arbitrates the requests, and the bus controller use permission transmitting means transmits the arbitration result to the bus controller.
The transmission of the bus use permission signal notifies the bus master permitted to use the common bus. At this time, the common information transmitting means of the bus controller uses one signal line commonly connected to each bus master, and uses, for example, the identifier of the bus master to which each bus master is permitted to use the common bus and the identifier of the bus master at the time of arbitration. The common information includes the information on the status of the common bus and the wait time, and transmits the information. As a result, the bus controller can support both a bus master that can receive only the bus use permission signal from the bus controller and a bus master that can receive the bus use permission signal and the common information from the bus controller.

【0021】[0021]

【発明の実施の形態】以下、図面に基づき本発明に係わ
るバス制御システムについて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A bus control system according to the present invention will be described below with reference to the drawings.

【0022】〔第1の実施の形態〕図1は、第1の実施
の形態に係るバス制御システムの概略構成図である。た
だし、従来例(図6,8参照)と同一の構成要素につい
ては、同一の符号を付し、ここではその詳細な説明を省
略する。
[First Embodiment] FIG. 1 is a schematic configuration diagram of a bus control system according to a first embodiment. However, the same components as in the conventional example (see FIGS. 6 and 8) are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0023】本実施の形態のバス制御システムは、図1
(a)に示すように、共通バス1と、この共通バス1に
接続されるスレーブデバイス(ただし不図示)と、各デ
バイス間のデータ転送を行う複数のバスマスタ10-1〜10
-nと、各バスマスタ10-1〜10-nからの共通バス1の使用
要求を調停するバスコントローラ20とを備えてなるも
のである。なお、バスマスタ10-1〜10-n及びバスコント
ローラ20は、それぞれが共通バス1と接続している。
The bus control system according to this embodiment is similar to the bus control system shown in FIG.
As shown in FIG. 1A, a common bus 1, a slave device (not shown) connected to the common bus 1, and a plurality of bus masters 10-1 to 10 for transferring data between the devices.
-n and a bus controller 20 for arbitrating the use request of the common bus 1 from each of the bus masters 10-1 to 10-n. The bus masters 10-1 to 10-n and the bus controller 20 are each connected to the common bus 1.

【0024】このようなバス制御システムにおいて、バ
スマスタ10-1〜10-nとバスコントローラ20とは、それ
ぞれがバス使用要求信号線51-1〜51-nと、1本の共通信
号線50aとによって接続されている。
In such a bus control system, the bus masters 10-1 to 10-n and the bus controller 20 are respectively connected to the bus use request signal lines 51-1 to 51-n and one common signal line 50a. Connected by

【0025】共通信号線50aは、各バスマスタ10-1〜
10-nからのバス使用要求信号REQ1〜REQnに対する調停の
結果であるバス使用許可信号を含む情報ACKINFO を、各
バスマスタ10-1〜10-nに共通に伝送するために使用され
るものである。ただし、共通信号線50aは、全てのバ
スマスタ10-1〜10-nに接続されている。よって、共通信
号線50aを介して各バスマスタ10-1〜10-nに共通に伝
送される情報(以下、共通情報と称す)ACKINFO は、バ
スコントローラ20からのバス使用許可信号がどのバス
マスタ10-1〜10-nに対してのものであるかが識別できな
ければならない。
The common signal line 50a is connected to each of the bus masters 10-1 to 10-1.
Information ACKINFO including a bus use permission signal, which is a result of arbitration for the bus use request signals REQ1 to REQn from 10-n, is used to commonly transmit to each of the bus masters 10-1 to 10-n. . However, the common signal line 50a is connected to all the bus masters 10-1 to 10-n. Therefore, information (hereinafter, referred to as common information) ACKINFO transmitted to each of the bus masters 10-1 to 10-n via the common signal line 50a indicates which bus master 10- It must be possible to distinguish between 1 and 10-n.

【0026】そのために、バスコントローラ20は、共
通情報ACKINFO を送信する際に、その共通情報ACKINFO
に、バス使用許可信号に加えて、共通バス1の使用を許
可したバスマスタ10-1〜10-nを識別するための識別子デ
ータを含め、その共通情報ACKINFO をシリアル信号によ
って共通信号線50aを介して各バスマスタ10-1〜10-n
に送信するようになっている。
Therefore, when transmitting the common information ACKINFO, the bus controller 20 transmits the common information ACKINFO.
In addition to the bus use permission signal, the common information ACKINFO including identifier data for identifying the bus masters 10-1 to 10-n permitted to use the common bus 1 is transmitted via the common signal line 50a by a serial signal. Each bus master 10-1 ~ 10-n
To be sent to.

【0027】この共通情報ACKINFO に含まれる識別子デ
ータは、システム内の処理の高速性を要求するならば、
共通情報ACKINFO の中でも先ず最初に伝送されるべきで
ある。そこで、バスコントローラ20では、例えば図1
(b)に示すようなフォーマットの共通情報ACKINFO
を、各バスマスタ10-1〜10-nに対して送信するようにな
っている。
If the identifier data included in the common information ACKINFO requires high-speed processing in the system,
It should be transmitted first among the common information ACKINFO. Therefore, in the bus controller 20, for example, FIG.
Common information ACKINFO in the format as shown in (b)
To each of the bus masters 10-1 to 10-n.

【0028】すなわち、共通情報ACKINFO は、情報の開
始を示すための状態遷移をする領域(図中(x)の領
域)の後に、共通バス1の使用が許可されたバスマスタ
を識別するための識別子データを示す領域(図中(y)
の領域)があり、その後に詳細を後述するその他のバス
情報を示す領域(図中(z)の領域)が続くように構成
されている。
That is, the common information ACKINFO is an identifier for identifying a bus master permitted to use the common bus 1 after an area (area (x) in the figure) which makes a state transition indicating the start of information. Area indicating data ((y) in the figure)
), Followed by an area (an area (z) in the figure) indicating other bus information whose details will be described later.

【0029】この共通情報ACKINFO に含まれる識別子デ
ータとしては、バスマスタ10-1〜10-nのそれぞれに対し
て、予め個別に付されたバスマスタ番号を使用すること
が考えられる。また、バスマスタ番号以外にも、各バス
マスタ10-1〜10-nに対して、予め割り当てられた優先順
位に関する情報を使用してもよい。この優先順位に関す
る情報は、必ずしも各バスマスタ10-1〜10-nに個別に割
り当てられたものでなく、グループ化等が行われたもの
であってもよい。つまり、識別子データは、各バスマス
タ10-1〜10-nを識別できるものであればよい。
As the identifier data included in the common information ACKINFO, it is conceivable to use a bus master number previously assigned individually to each of the bus masters 10-1 to 10-n. Further, in addition to the bus master number, information relating to the priority assigned in advance to each of the bus masters 10-1 to 10-n may be used. The information on the priority order is not necessarily individually assigned to each of the bus masters 10-1 to 10-n, but may be information on grouping or the like. That is, the identifier data may be any data that can identify each of the bus masters 10-1 to 10-n.

【0030】例えば、バスマスタ10-1に共通バス1の使
用許可が与えられた場合の共通情報REQ1ACK であれば、
このバスマスタ10-1についての識別子データを含むの
で、「0001XXXXX 」といったように構成される。また、
これと同様に、バスマスタ10-2についての共通情報REQ2
ACK であれば、「0010XXXXX 」となる。さらに、バスマ
スタ10-nについての共通情報REQnACK(ただしn=7の場
合) であれば、「0111XXXXX 」となる。つまり、これら
の共通情報REQ1ACK 〜REQnACK には、各バスマスタ10-1
〜10-nの識別子データがエンコードされている。
For example, if the common information REQ1ACK is obtained when the use permission of the common bus 1 is given to the bus master 10-1,
Since it includes the identifier data of the bus master 10-1, it is configured as "0001XXXXX". Also,
Similarly, the common information REQ2 about the bus master 10-2
If it is ACK, it becomes "0010XXXXX". Further, if it is the common information REQnACK about the bus master 10-n (however, when n = 7), it becomes “0111XXXXX”. That is, these common information REQ1ACK to REQnACK include each bus master 10-1.
Identifier data of ~ 10-n is encoded.

【0031】これらの共通情報REQ1ACK 〜REQnACK のう
ちの「XXXXX 」の部分は、その他のバス情報に該当する
ものである。その他のバス情報としては、共通バス1の
ステータスやウエイト時間等に関する情報がある。具体
的には、例えば、共通バス1の使用が許可されたバスマ
スタがデータ転送に要する期間を、他のバスマスタに示
すための情報がある。また、あるバスマスタによるデー
タ転送が終了した後、バスコントローラ20が次の共通
情報ACKINFO を送信するまでの待機期間を示すための情
報であってもよい。
The portion "XXXXX" of the common information REQ1ACK to REQnACK corresponds to other bus information. Other bus information includes information on the status of the common bus 1, the wait time, and the like. Specifically, for example, there is information for indicating to the other bus masters the period required for data transfer by the bus master permitted to use the common bus 1. Alternatively, the information may indicate a waiting period until the bus controller 20 transmits the next common information ACKINFO after the data transfer by a certain bus master is completed.

【0032】なお、上述した共通信号のフォーマットで
は、識別子データが3ビットである場合を例示している
が、これはバスマスタ10-1〜10-nの数に応じて定められ
るものであり、3ビットに限定されるものではない。
In the above-described format of the common signal, the case where the identifier data is 3 bits is illustrated, but this is determined according to the number of the bus masters 10-1 to 10-n. It is not limited to bits.

【0033】次に、以上のように構成されたバス制御シ
ステムの動作例について、図2のフローチャート及び図
3のタイミングチャートを参照しながら説明する。
Next, an example of the operation of the bus control system configured as described above will be described with reference to the flowchart of FIG. 2 and the timing chart of FIG.

【0034】図2に示すように、このバス制御システム
において、各バスマスタ10-1〜10-nは、共通バスを使用
しようとする際に、バスコントローラ20に対して、自
装置の優先順位に関する情報を含むバス使用要求信号RE
Q1〜REQnを送信する(ステップ101、以下ステップを
Sと略す)。ただし、バス使用要求信号線51-1〜51-nの
接続ポート等によって各バスマスタ10-1〜10-nの優先順
位が決定する場合には、この限りではない。
As shown in FIG. 2, in this bus control system, each of the bus masters 10-1 to 10-n gives the bus controller 20 the priority of its own device when trying to use the common bus. Bus use request signal RE containing information
Q1 to REQn are transmitted (Step 101, hereinafter, step is abbreviated as S). However, this does not apply when the priority of each of the bus masters 10-1 to 10-n is determined by the connection ports of the bus use request signal lines 51-1 to 51-n.

【0035】そして、バスマスタ10-1〜10-nからのバス
使用要求信号REQ1〜REQnを受信すると(S102)、バ
スコントローラ20では、そのときに既に他のバスマス
タによって共通バス1が使用されているか否かを判断し
(S103)、使用中であればその使用が終了するまで
待つ。共通バス1が使用中でなければ、バスコントロー
ラ20は、続いて複数のバス使用要求信号REQ1〜REQnが
競合しているか否かを判断し(S104)、競合してい
れば、各バス使用要求信号REQ1〜REQnの優先順位等を基
に、これらのバス使用要求信号REQ1〜REQnに対する調停
を行う(S105)。
When the bus use request signals REQ1 to REQn are received from the bus masters 10-1 to 10-n (S102), the bus controller 20 checks whether the common bus 1 is already used by another bus master at that time. It is determined whether or not it is in use (S103). If the common bus 1 is not in use, the bus controller 20 subsequently determines whether or not the plurality of bus use request signals REQ1 to REQn are in conflict (S104). The arbitration for these bus use request signals REQ1 to REQn is performed based on the priorities of the signals REQ1 to REQn (S105).

【0036】このようにして、各バスマスタ10-1〜10-n
のうちのいずれか1つに共通バス1の使用を許可する
と、バスコントローラ20は、共通バス1の使用を許可
したバスマスタの識別子データを含む共通情報ACKINFO
を、各バスマスタ10-1〜10-nへ送信する(S106)。
Thus, each of the bus masters 10-1 to 10-n
When the use of the common bus 1 is permitted to any one of the bus masters, the bus controller 20 sets the common information ACKINFO including the identifier data of the bus master permitted to use the common bus 1.
Is transmitted to each of the bus masters 10-1 to 10-n (S106).

【0037】具体的には、図3に示すように、共通バス
1が使用されていない状況で(図中(a)の期間)、あ
るバスマスタ10-1からバス使用要求信号REQ1が送信され
てくると、バスコントローラ20は、共通信号線50a
を介して各バスマスタ10-1〜10-nに共通情報REQ1ACK を
送信する。また、あるバスマスタ10-2が共通バスを使用
している状況下で(図中(b)の期間)、他のバスマス
タ10-1からバス使用要求信号REQ1が送信されてくると、
バスコントローラ20は、共通情報REQ2ACK を送信し、
その次に共通情報REQ1ACK を送信する。また、複数のバ
スマスタ10-1〜10-nからのバス使用要求信号REQ1〜REQn
が競合した場合に(図中(c)の期間)、バスコントロ
ーラ20は、共通情報REQ1ACK 、共通情報REQ2ACK 、及
び共通情報REQnACK を順番に送信する。
Specifically, as shown in FIG. 3, when the common bus 1 is not used (period (a) in FIG. 3), a bus master 10-1 transmits a bus use request signal REQ1. When the bus controller 20 comes, the common signal line 50a
The common information REQ1ACK is transmitted to each of the bus masters 10-1 to 10-n via the. Further, in a situation where a certain bus master 10-2 is using the common bus (period (b) in the figure), when a bus use request signal REQ1 is transmitted from another bus master 10-1,
The bus controller 20 transmits the common information REQ2ACK,
Then, the common information REQ1ACK is transmitted. Also, bus use request signals REQ1 to REQn from a plurality of bus masters 10-1 to 10-n.
Are conflicting (period (c) in the figure), the bus controller 20 transmits the common information REQ1ACK, the common information REQ2ACK, and the common information REQnACK in order.

【0038】一方、各バスマスタ10-1〜10-nでは、図2
に示すように、バスコントローラ20からの共通情報AC
KINFO を受信すると(S107)、その共通情報ACKINF
O に含まれているバスマスタの識別子データをデコード
し(S108)、バスコントローラ20からの共通バス
1の使用許可が自装置に対するものであるか否かを判断
する(S109)。
On the other hand, in each of the bus masters 10-1 to 10-n, FIG.
As shown in FIG.
When KINFO is received (S107), the common information ACKINF
The identifier data of the bus master contained in O is decoded (S108), and it is determined whether or not the use permission of the common bus 1 from the bus controller 20 is for the own device (S109).

【0039】共通バス1の使用許可が自装置に対するも
のであれば、その使用許可を受けたバスマスタ10-1〜10
-nは、共通バス1を用いたデータ転送を開始し(S11
0)、そのデータ転送が終了した後に(S111)、バ
スコントローラ20に対するバス使用要求信号REQ1〜RE
Qnの送信を停止する(S112)。ただし、図示はしな
いが、最後のデータ転送のために使用許可を受けたこと
を確認した後、バスコントローラ20に対するバス使用
要求信号REQ1〜REQnの送信を停止するようにしてもよ
い。
If the use permission of the common bus 1 is for its own device, the bus masters 10-1 to 10 that have received the use permission
-n starts data transfer using the common bus 1 (S11
0), after the data transfer is completed (S111), the bus use request signals REQ1 to RE
The transmission of Qn is stopped (S112). However, although not shown, transmission of the bus use request signals REQ1 to REQn to the bus controller 20 may be stopped after confirming that the use permission has been received for the last data transfer.

【0040】また、共通バス1の使用許可が自装置に対
するものでなければ、そのバスマスタ10-1〜10-n、すな
わち共通バス1使用不許可となったバスマスタ10-1〜10
-nでは、バスマスタ内外部の動作状況によりバス使用要
求の緊急度が変化したか否かを判断し(S113)、変
化がなければバスコントローラ20に対してバス使用要
求信号REQ1〜REQnを送信し続ける(S101)。
If the use of the common bus 1 is not permitted to the own device, the bus masters 10-1 to 10-n, that is, the bus masters 10-1 to 10 to which the use of the common bus 1 is not permitted.
In the case of -n, it is determined whether or not the urgency of the bus use request has changed according to the operation status inside and outside the bus master (S113). If there is no change, the bus use request signals REQ1 to REQn are transmitted to the bus controller 20. Continue (S101).

【0041】ただし、バス使用要求の緊急度が変化した
場合に、そのバスマスタ10-1〜10-nでは、例えば、受信
した共通情報ACKINFO 内に含まれる識別子データによっ
て特定されるバスマスタの優先順位よりも高い優先順位
のバス使用要求信号を送信し直し(S114)、次回の
バス調停では確実に共通バス1の使用が許可されるよう
にする。なお、この優先順位の変更については、周知技
術を利用できるため、ここでは詳細な説明を省く。
However, when the urgency of the bus use request changes, the bus masters 10-1 to 10-n, for example, take priority over the priority of the bus master specified by the identifier data included in the received common information ACKINFO. Also, the bus use request signal having the higher priority is retransmitted (S114) to ensure that the use of the common bus 1 is permitted in the next bus arbitration. In addition, since the well-known technique can be used for the change of the priority order, a detailed description is omitted here.

【0042】以上のように、本実施の形態のバス制御シ
ステムでは、バスコントローラ20がバス使用許可信号
と識別子データとを含む共通情報ACKINFO を、1本の共
通信号線50aを用いて各バスマスタ10-1〜10-nに送信
するとともに、各バスマスタ10-1〜10-nがその共通情報
ACKINFO に含まれる識別子を基に、どのバスマスタに共
通バス1の使用許可が与えられたかを認識するようにな
っている。
As described above, in the bus control system of this embodiment, the bus controller 20 transmits the common information ACKINFO including the bus use permission signal and the identifier data to each bus master 10 using one common signal line 50a. -1 to 10-n, and each bus master 10-1 to 10-n
Based on the identifier included in ACKINFO, it is recognized which bus master has been given permission to use the common bus 1.

【0043】したがって、このバス制御システムでは、
共通バス1に接続されるバスコントローラ20から複数
のバスマスタ10-1〜10-nに共通情報ACKINFO の伝送を行
う共通信号線50aを共通にしたことで、バスコントロ
ーラ20はバス使用許可信号線を減少することができ、
また信号線の配線を行う上でも余裕ができるので、より
多くのバスマスタに接続可能となるとともに、共通情報
ACKINFO をバスマスタに送信することで、バスマスタ側
でバス使用状況を判断し、バスマスタによる管理の元で
より効率的なデータ転送が可能になる。
Therefore, in this bus control system,
Since the common signal line 50a for transmitting the common information ACKINFO from the bus controller 20 connected to the common bus 1 to the plurality of bus masters 10-1 to 10-n is shared, the bus controller 20 changes the bus use permission signal line. Can be reduced,
In addition, since there is enough time for wiring signal lines, it is possible to connect to more bus masters and
By transmitting ACKINFO to the bus master, the bus master can determine the bus usage status and perform more efficient data transfer under the management of the bus master.

【0044】すなわち、このバス制御システムでは、バ
スコントローラ20と各バスマスタ10-1〜10-nとの間の
共通情報ACKINFO の伝送を、共通信号線50aによって
行うことで、これらの間の配線構成の複雑化を防ぐとと
もに、バスコントローラ20での処理の煩雑化を招いて
しまうこともなく、結果としてシステム内における処理
効率向上を実現できるようになる。
That is, in this bus control system, the transmission of the common information ACKINFO between the bus controller 20 and each of the bus masters 10-1 to 10-n is performed by the common signal line 50a, so that the wiring configuration therebetween is established. In addition to preventing the processing from becoming complicated, the processing in the bus controller 20 is not complicated, and as a result, the processing efficiency in the system can be improved.

【0045】また、本実施の形態のバス制御システムで
は、バスコントローラ20が共通情報ACKINFO をシリア
ル信号を用いて送信するようになっているので、その共
通情報ACKINFO の送信を1本の共通信号線50aで行う
ことができる。よって、バスコントローラ20の入出力
ポート数の増加に与える影響は少なく、配線に与える影
響も少なく、容易にシステムを構築することができる。
In the bus control system according to the present embodiment, the bus controller 20 transmits the common information ACKINFO using a serial signal, so that the transmission of the common information ACKINFO is performed by one common signal line. 50a. Therefore, the influence on the increase in the number of input / output ports of the bus controller 20 is small, and the influence on the wiring is small, so that the system can be easily constructed.

【0046】また、本実施の形態のバス制御システムで
は、共通バス1の使用が許可されたバスマスタに対して
送信する共通情報ACKINFO に含まれる識別子データに、
各バスマスタ10-1〜10-nのそれぞれに予め付されたバス
マスタ番号を使用すれば、バスマスタ10-1〜10-n側で予
め決められた処理を変更することなく使用することがで
きるようになる。
In the bus control system of the present embodiment, the identifier data included in the common information ACKINFO transmitted to the bus master permitted to use the common bus 1 includes
By using a bus master number assigned in advance to each of the bus masters 10-1 to 10-n, the bus masters 10-1 to 10-n can use the predetermined processing without changing them. Become.

【0047】また、本実施の形態のバス制御システムで
は、共通バス1の使用が許可されたバスマスタに対して
送信する共通情報ACKINFO に含まれる識別子データに、
各バスマスタ10-1〜10-nの間において予め割り当てられ
た共通バス1の使用優先順位を使用すれば、共通バス1
を使用中のバスマスタの優先順位が分かるようになり、
例えば内蔵メモリの容量が圧迫されたなどの状況変化で
データ転送の緊急度が高まった場合に、確実に次回のバ
ス調停でバス使用許可が与えられる優先順位のバス使用
要求信号を発行できるなど、共通バス1を効率よく使用
することができ、またシステム全体を確実に動作させる
ことができる。
In the bus control system according to the present embodiment, the identifier data included in the common information ACKINFO transmitted to the bus master permitted to use the common bus 1 includes
If the use priority of the common bus 1 assigned in advance among the bus masters 10-1 to 10-n is used, the common bus 1
The priority of the bus master that is using
For example, when the urgency of data transfer increases due to a situation change such as the capacity of the built-in memory has been squeezed, a bus use request signal of a priority that can be given a bus use permission at the next bus arbitration can be issued without fail. The common bus 1 can be used efficiently, and the entire system can be operated reliably.

【0048】また、本実施の形態のバス制御システムで
は、共通情報ACKINFO に、共通バス1の使用が許可され
たバスマスタがデータ転送に要する期間を示す情報を含
めれば、その共通情報ACKINFO を受信したバスマスタ
が、現在動作中のデータ転送が終了するまでの期間を確
認できるようになり、これを共通バス1の使用状況の判
断に取り込むことが可能となる。
In the bus control system of the present embodiment, if the common information ACKINFO includes information indicating a period required for data transfer by the bus master permitted to use the common bus 1, the common information ACKINFO is received. The bus master can check the period until the currently operating data transfer is completed, and this can be incorporated into the determination of the usage status of the common bus 1.

【0049】また、本実施の形態のバス制御システムで
は、共通情報ACKINFO に、共通バス1の使用が許可され
たバスマスタによるデータ転送の終了後から次の共通情
報までの待機期間を示す情報を含めれば、その共通情報
ACKINFO を受信したバスマスタが、現在動作中のデータ
転送が終了し次の共通情報を受信するまでの期間を、共
通バス1の使用状況の判断に取り込むことが可能とな
る。
In the bus control system of the present embodiment, the common information ACKINFO includes information indicating a waiting period from the end of data transfer by the bus master permitted to use the common bus 1 to the next common information. If common information
It is possible for the bus master receiving ACKINFO to incorporate the period from the end of the currently operating data transfer to the reception of the next common information in the determination of the usage status of the common bus 1.

【0050】また、本実施の形態のバス制御システムで
は、バスコントローラ20に対して共通バス1の使用要
求を発行した後、バスコントローラ20による共通バス
1の使用許可を得る前に、他のバスマスタが共通バス1
の使用を許可されたことを認識すると、そのバスマスタ
が、共通情報ACKINFO に基づいて、新たな共通バス使用
要求を生成し、これをバスコントローラ20へ送信し直
すようになっている。つまり、共通バス1の使用を要求
したが使用不許可となったバスマスタは、受信した共通
情報ACKINFO のデコード結果を基に、新たなバス使用要
求信号を送信できるので、使用不許可となってもその後
にデータ転送を確実に行うことができるようになる。
Further, in the bus control system according to the present embodiment, after issuing a request to use the common bus 1 to the bus controller 20, before the bus controller 20 obtains permission to use the common bus 1, another bus master may be used. Is common bus 1
When the bus master recognizes that use of the common bus is permitted, the bus master generates a new common bus use request based on the common information ACKINFO, and transmits the request to the bus controller 20 again. That is, the bus master that has requested the use of the common bus 1 but has been rejected can transmit a new bus use request signal based on the decoding result of the received common information ACKINFO. Thereafter, the data transfer can be reliably performed.

【0051】〔第2の実施の形態〕次に、本発明に係わ
るバス制御システムの第2の実施の形態について説明す
る。ただし、ここでは、上述した第1の実施の形態との
相違点についてのみ説明する。
[Second Embodiment] Next, a second embodiment of the bus control system according to the present invention will be described. However, here, only the differences from the above-described first embodiment will be described.

【0052】本実施の形態のバス制御システムは、図4
に示すように、バスマスタ11-1〜11-nとバスコントロー
ラ21との間が、各バスマスタ11-1〜11-nからのバス使
用要求信号REQ1〜REQnを伝送するバス使用要求信号線51
-1〜51-nと、バスコントローラ21からのバス使用許可
信号ACK1〜ACKnを伝送するバス使用許可信号線52-1〜52
-nと、各バスマスタ11-1〜11-nに対する共通情報ACKINF
O を伝送する1本の共通信号線50bとによって接続さ
れている。
The bus control system according to this embodiment is similar to the bus control system shown in FIG.
As shown in the figure, a bus use request signal line 51 for transmitting bus use request signals REQ1 to REQn from the bus masters 11-1 to 11-n is provided between the bus masters 11-1 to 11-n and the bus controller 21.
-1 to 51-n and bus use permission signal lines 52-1 to 52 for transmitting bus use permission signals ACK1 to ACKn from the bus controller 21.
-n and common information ACKINF for each bus master 11-1 to 11-n
It is connected by one common signal line 50b for transmitting O 2.

【0053】このように構成されたバス制御システムで
は、図5に示すように、共通バス1が使用されていない
状況で、あるバスマスタ11-1からバス使用要求信号REQ1
が送信されてくると(図中(d)の期間)、バスコント
ローラ21は、そのバスマスタ11-1のみに対しバス使用
許可信号線52-1を介してバス使用許可信号ACK1を送信す
るとともに、各バスマスタ11-1〜11-nに共通信号線50
bを介して共通情報ACKINFO を送信し、次に共通バス1
が使用可能になるまでその状態を保持する。
In the bus control system configured as described above, as shown in FIG. 5, when the common bus 1 is not used, a bus master 11-1 sends a bus use request signal REQ1.
Is transmitted (period (d) in the figure), the bus controller 21 transmits the bus use permission signal ACK1 to only the bus master 11-1 via the bus use permission signal line 52-1. Common signal line 50 for each bus master 11-1 to 11-n
b transmits the common information ACKINFO via the common bus 1
Hold its state until it becomes available.

【0054】また、あるバスマスタ11-2が共通バス1を
使用している状況下で、他のバスマスタ11-1からバス使
用要求信号REQ1が送信されてくると(図中(e)の期
間)、バスコントローラ21は、共通バス1が使用が可
能になるまで待った後に、前記他のバスマスタ11-1に対
しバス使用許可信号線52-1を介してバス使用許可信号AC
K1を送信するとともに、各バスマスタ11-1〜11-nに共通
信号線50bを介して共通情報ACKINFO を送信する。
Also, when a bus use request signal REQ1 is transmitted from another bus master 11-1 in a situation where a certain bus master 11-2 uses the common bus 1 (period (e) in the figure). After waiting until the common bus 1 becomes available, the bus controller 21 sends the bus use permission signal AC to the other bus master 11-1 via the bus use permission signal line 52-1.
While transmitting K1, the common information ACKINFO is transmitted to each of the bus masters 11-1 to 11-n via the common signal line 50b.

【0055】また、複数のバスマスタ11-1〜11-nからの
バス使用要求信号REQ1〜REQnが競合した場合に(図中
(f)の期間)、バスコントローラ21は、その時点に
おける最も高い優先順位のバスマスタ11-1〜11-nに対し
てバス使用許可信号ACK1〜ACKnを送信するとともに、各
バスマスタ11-1〜11-nに共通信号線50bを介して共通
情報ACKINFO を送信する。
When the bus use request signals REQ1 to REQn from the plurality of bus masters 11-1 to 11-n conflict (period (f) in the figure), the bus controller 21 has the highest priority at that time. The bus use permission signals ACK1 to ACKn are transmitted to the bus masters 11-1 to 11-n of the order, and the common information ACKINFO is transmitted to the bus masters 11-1 to 11-n via the common signal line 50b.

【0056】このように、各バスマスタ11-1〜11-nとバ
スコントローラ21との間には、バス使用許可信号線52
-1が共通信号線50bとは別に存在するため、共通情報
ACKINFO の中に、共通バス1の使用が許可されたバスマ
スタの識別子データが含まれていなくてもよい。ただ
し、共通情報ACKINFO の中に識別子データが含まれてい
れば、その識別子データを認識してその後の処理(例え
ば優先順位の変更やエラー処理等)を行うバスマスタ
と、そうでないバスマスタが混在している場合であって
も、これらの両方に対応することができる。
As described above, the bus use permission signal line 52 is provided between each of the bus masters 11-1 to 11-n and the bus controller 21.
Since -1 exists separately from the common signal line 50b, the common information
ACKINFO need not include the identifier data of the bus master permitted to use the common bus 1. However, if identifier data is included in the common information ACKINFO, there are bus masters that recognize the identifier data and perform subsequent processing (for example, changing priority or error processing) and bus masters that do not. , It is possible to cope with both of them.

【0057】つまり、このバス制御システムでは、シス
テム内に、本実施の形態のようなバス使用許可信号線52
-1〜52-n及び共通信号線50bに接続するバスマスタ、
第1の実施の形態のような共通信号線50bのみに接続
するバスマスタ、あるいは従来のもののようなバス使用
許可信号線52-1〜52-nのみに接続するバスマスタが混在
していてもよい。したがって、このバス制御システムで
は、システム内に新たなバスマスタを追加する必要が生
じても、システムとしての汎用性や拡張性が確保されて
いるので、これに容易に対応することができる。
That is, in this bus control system, the bus use permission signal line 52 as in this embodiment is provided in the system.
-1 to 52-n and a bus master connected to the common signal line 50b,
A bus master connected only to the common signal line 50b as in the first embodiment, or a bus master connected only to the bus use permission signal lines 52-1 to 52-n as in the related art may coexist. Therefore, in this bus control system, even if it is necessary to add a new bus master in the system, the versatility and expandability of the system are ensured, so that this can be easily coped with.

【0058】以上のように、本実施の形態のバス制御シ
ステムでは、バス使用許可信号線52-1の他に、共通情報
ACKINFO を伝送する共通信号線50bを付加すること
で、バスコントローラ21の入出力数や配線信号線の増
加に与える影響は少ないまま、共通情報ACKINFO をバス
マスタに送信することでバスマスタ側でバス使用状況を
判断し、バスマスタによる管理の元でより効率的なデー
タ転送が可能となり、またバス使用許可信号線52-1〜52
-nと共通信号線50bとを分離することにより、従来か
ら使用されているバスマスタを混在して使用することが
できるため、柔軟なシステム構築が可能となる。
As described above, in the bus control system according to the present embodiment, in addition to the bus use permission signal line 52-1, the common information
By adding the common signal line 50b for transmitting ACKINFO, the common information ACKINFO is transmitted to the bus master with little influence on the number of input / outputs of the bus controller 21 and the increase in the number of wiring signal lines. And more efficient data transfer is possible under the control of the bus master, and the bus use permission signal lines 52-1 to 52
By separating -n and the common signal line 50b, conventionally used bus masters can be mixed and used, so that a flexible system construction can be realized.

【0059】つまり、このバス制御システムでは、第1
の実施の形態において説明した効果に加えて、システム
としての汎用性や拡張性の確保が可能となるという効果
を得ることができる。
That is, in this bus control system, the first
In addition to the effects described in the first embodiment, it is possible to obtain an effect that versatility and expandability of the system can be ensured.

【0060】また、本実施の形態のバス制御システムで
は、バス使用許可信号線52-1〜52-nと共通信号線50b
とを別に有する構成において、バスコントローラ21が
共通情報ACKINFO に対して共通バス1の使用を許可した
バスマスタの識別子データを含んで送信するようになっ
ているので、共通バス1の使用が許可されなかったバス
マスタが、より確実に共通バス1の使用状況を判断する
ことができる。
In the bus control system of the present embodiment, the bus use permission signal lines 52-1 to 52-n and the common signal line 50b
Since the bus controller 21 transmits the common information ACKINFO including the identifier data of the bus master that has permitted the use of the common bus 1, the use of the common bus 1 is not permitted. Bus master can more reliably determine the usage status of the common bus 1.

【0061】なお、上述した第1及び第2の実施の形態
では、バス使用要求の緊急度が変化したバスマスタが新
たなバス使用要求信号を送信し直す際に、共通情報ACKI
NFOに含まれる識別子データなどから、各バスマスタの
優先順位を判断する場合を例に挙げて説明したが、これ
以外にも次に述べるようなことが考えられる。例えば、
共通バス1を使用中のバスマスタがデータ転送に要する
期間や、そのデータ転送の終了後次のバス使用許可信号
あるいはバス使用許可信号を含む新たな共通情報ACKINF
O までの待機期間を、その時間、そのクロック数、デー
タ転送数、あるいはこれらのデータをコード化した情報
等により共通情報ACKINFO に含ませておき、共通バス1
の使用が許可されなかったバスマスタの状況変化と次の
バス使用許可までの期間とを基に、そのバスマスタが、
共通情報ACKINFO に含まれた共通バス1使用中のバスマ
スタの優先順位よりも高い優先順位のバス使用要求信号
を送信するようにしてもよい。
In the first and second embodiments described above, when the bus master whose urgency of the bus use request has changed retransmits a new bus use request signal, the common information ACKI is used.
Although the case where the priority of each bus master is determined from the identifier data and the like included in the NFO has been described as an example, the following may be considered in addition to this. For example,
The time required for the bus master to use the common bus 1 for data transfer, and the new common information ACKINF including the next bus use permission signal or the bus use permission signal after the data transfer is completed.
The waiting period until O is included in the common information ACKINFO based on the time, the number of clocks, the number of data transfers, or information obtained by encoding these data, and the like.
The bus master, based on the status change of the bus master whose use of the bus is not permitted and the period until the next bus use is permitted,
A bus use request signal having a higher priority than the priority of the bus master using the common bus 1 included in the common information ACKINFO may be transmitted.

【0062】また、第1及び第2の実施の形態では、共
通情報ACKINFO に含まれるその他のバス情報として、共
通バス1のステータスやウエイト時間等に関する情報を
例示したが、これ以外にも、例えば、データ転送時のス
レーブデバイス識別子情報、データ転送時の転送レート
情報、データ転送時のデータ転送量情報など、共通バス
1に関する情報が含まれてもよく、さらにこれらの情報
が混在していてもよい。
Further, in the first and second embodiments, information relating to the status and wait time of the common bus 1 has been exemplified as the other bus information included in the common information ACKINFO. , Information about the common bus 1 such as slave device identifier information at the time of data transfer, transfer rate information at the time of data transfer, data transfer amount information at the time of data transfer, and the like. Good.

【0063】[0063]

【発明の効果】以上に説明したように、本発明のバス制
御システムは、共通バスに接続されるバスコントローラ
から複数のバスマスタに共通情報の伝送を行う信号線を
共通にしたことで、バスコントローラがバス使用許可信
号線を減少することができ、また信号線の配線を行う上
でも余裕ができるので、より多くのバスマスタに接続可
能となるとともに、共通情報をバスマスタに送信するこ
とで、バスマスタ側でバス使用状況を判断し、バスマス
タによる管理の元でより効率的なデータ転送が可能にな
る。
As described above, the bus control system of the present invention uses a common signal line for transmitting common information from a bus controller connected to a common bus to a plurality of bus masters. Can reduce the number of bus use permission signal lines, and allow time for wiring signal lines, so that it can be connected to more bus masters, and by transmitting common information to the bus masters, To determine the bus use status, and more efficient data transfer becomes possible under the control of the bus master.

【0064】また、本発明のバス制御システムは、バス
使用許可信号線の他に、共通情報を伝送する共通信号線
を付加することで、バスコントローラの入出力数や配線
信号線の増加に与える影響は少ないまま、共通情報をバ
スマスタに送信することでバスマスタ側でバス使用状況
を判断し、バスマスタによる管理の元でより効率的なデ
ータ転送が可能となり、またバス使用許可信号線と共通
信号線とを分離することにより、従来から使用されてい
るバスマスタを混在して使用することができるため、柔
軟なシステム構築が可能となる。
In addition, the bus control system of the present invention adds a common signal line for transmitting common information in addition to the bus use permission signal line, thereby giving an increase in the number of inputs / outputs of the bus controller and an increase in the number of wiring signal lines. By transmitting common information to the bus master with little effect, the bus master can determine the bus usage status, enabling more efficient data transfer under the control of the bus master.In addition, the bus use permission signal line and common signal line By separating the bus masters, the bus masters conventionally used can be used together, so that a flexible system construction can be realized.

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

【図1】 本発明に係わるバス制御システムの第1の実
施の形態の概略構成図であり、(a)はその全体構成を
示す図、(b)は共通情報のフォーマットを示す図であ
る。
FIG. 1 is a schematic configuration diagram of a first embodiment of a bus control system according to the present invention, wherein FIG. 1 (a) is a diagram showing the overall configuration, and FIG. 1 (b) is a diagram showing a format of common information.

【図2】 第1の実施の形態における処理動作例を示す
フローチャートである。
FIG. 2 is a flowchart illustrating an example of a processing operation according to the first embodiment.

【図3】 第1の実施の形態における処理動作例の具体
例を示すタイミングチャートである。
FIG. 3 is a timing chart showing a specific example of a processing operation example according to the first embodiment.

【図4】 本発明に係わるバス制御システムの第2の実
施の形態の概略構成図である。
FIG. 4 is a schematic configuration diagram of a second embodiment of the bus control system according to the present invention.

【図5】 第2の実施の形態における処理動作例の具体
例を示すタイミングチャートである。
FIG. 5 is a timing chart showing a specific example of a processing operation example according to the second embodiment.

【図6】 従来のバス制御システムの一例を示す概略構
成図(その1)である。
FIG. 6 is a schematic configuration diagram (part 1) illustrating an example of a conventional bus control system.

【図7】 従来のバス制御システムにおける処理動作例
の具体例を示すタイミングチャートである。
FIG. 7 is a timing chart showing a specific example of a processing operation example in a conventional bus control system.

【図8】 従来のバス制御システムの一例を示す概略構
成図(その2)である。
FIG. 8 is a schematic configuration diagram (part 2) illustrating an example of a conventional bus control system.

【符号の説明】[Explanation of symbols]

1…共通バス、10-1〜10-n,11-1〜11-n…バスマスタ、
20,21…バスコントローラ、50a,50b…共通
信号線、52-1〜52-n…バス使用許可信号線、ACKINFO …
共通情報
1: common bus, 10-1 to 10-n, 11-1 to 11-n: bus master,
20, 21: bus controller, 50a, 50b: common signal line, 52-1 to 52-n: bus use permission signal line, ACKINFO ...
Common information

フロントページの続き (72)発明者 小原 隆司 神奈川県海老名市本郷2274番地 富士ゼロ ックス株式会社海老名事業所内 (72)発明者 根本 嘉彦 神奈川県海老名市本郷2274番地 富士ゼロ ックス株式会社海老名事業所内Continued on the front page (72) Inventor Takashi Ohara 2274 Hongo, Ebina-shi, Kanagawa Fuji Xerox Co., Ltd.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 共通バスと、該共通バスを使用してデー
タ転送を行う複数のバスマスタと、該複数のバスマスタ
からの共通バス使用要求に対する調停を行うバスコント
ローラとを具備するバス制御システムにおいて、 前記バスコントローラは、前記調停により前記共通バス
の使用を許可したバスマスタに対するバス使用許可信号
と該バスマスタの識別子とを含む共通情報を、前記複数
のバスマスタに共通に接続される1つの信号線を用い
て、該複数のバスマスタのそれぞれに送信する共通情報
送信手段を備え、 前記複数のバスマスタのそれぞれは、前記共通情報送信
手段から前記共通情報が送信されると、該共通情報に含
まれるバスマスタの識別子に基づいて、前記複数のバス
マスタのうちのどのバスマスタに対して前記共通バスの
使用許可が与えられたかを認識する許可認識手段を備え
ることを特徴とするバス制御システム。
1. A bus control system comprising: a common bus; a plurality of bus masters for performing data transfer using the common bus; and a bus controller for arbitrating a common bus use request from the plurality of bus masters. The bus controller uses a single signal line commonly connected to the plurality of bus masters to transmit common information including a bus use permission signal to the bus master that has permitted use of the common bus by the arbitration and an identifier of the bus master. And a common information transmitting means for transmitting to each of the plurality of bus masters, wherein each of the plurality of bus masters, when the common information is transmitted from the common information transmitting means, an identifier of a bus master included in the common information Permission of use of the common bus to any one of the plurality of bus masters based on the Bus control system, characterized in that it comprises an authorization recognition means for recognizing whether a given.
【請求項2】 共通バスと、該共通バスを使用してデー
タ転送を行う複数のバスマスタと、該複数のバスマスタ
からの共通バス使用要求に対する調停を行うバスコント
ローラとを具備するバス制御システムにおいて、 前記バスコントローラは、 前記調停により前記共通バスの使用を許可したバスマス
タのみにバス使用許可信号を送信する使用許可送信手段
と、 前記バス使用許可信号とは別に、前記複数のバスマスタ
に共通に接続される1つの信号線を用いて、前記複数の
バスマスタのそれぞれに対して共通情報を送信する共通
情報送信手段とを備えることを特徴とするバス制御シス
テム。
2. A bus control system comprising a common bus, a plurality of bus masters performing data transfer using the common bus, and a bus controller arbitrating a common bus use request from the plurality of bus masters. The bus controller, a use permission transmitting unit that transmits a bus use permission signal only to the bus master that has permitted the use of the common bus by the arbitration, apart from the bus use permission signal, the bus controller is commonly connected to the plurality of bus masters; And a common information transmitting means for transmitting common information to each of the plurality of bus masters using one signal line.
【請求項3】 前記共通情報送信手段は、前記共通情報
に、前記調停により前記共通バスの使用を許可したバス
マスタの識別子を含んで送信するものであることを特徴
とする請求項2記載のバス制御システム。
3. The bus according to claim 2, wherein the common information transmitting means transmits the common information including an identifier of a bus master whose use of the common bus is permitted by the arbitration. Control system.
【請求項4】 前記共通情報送信手段は、前記共通情報
の送信にシリアル信号を用いることを特徴とする請求項
1、2または3記載のバス制御システム。
4. The bus control system according to claim 1, wherein said common information transmitting means uses a serial signal for transmitting said common information.
【請求項5】 前記共通情報に含まれるバスマスタの識
別子は、前記複数のバスマスタのそれぞれに予め付され
たバスマスタ番号を使用することを特徴とする請求項
1、3または4記載のバス制御システム。
5. The bus control system according to claim 1, wherein the bus master identifier included in the common information uses a bus master number assigned to each of the plurality of bus masters in advance.
【請求項6】 前記共通情報に含まれるバスマスタの識
別子は、前記複数のバスマスタの間において予め割り当
てられた前記共通バスの使用優先順位を使用することを
特徴とする請求項1、3または4記載のバス制御システ
ム。
6. The bus master identifier included in the common information uses a priority order of use of the common bus, which is allocated in advance among the plurality of bus masters. Bus control system.
【請求項7】 前記共通情報送信手段は、前記共通バス
の使用が許可されたバスマスタがデータ転送に要する期
間を示す情報を、前記共通情報に含んで送信するもので
あるとを特徴とする請求項1、2、3、4、5または6
記載のバス制御システム。
7. The common information transmitting means, wherein the common information includes information indicating a period required for data transfer by a bus master permitted to use the common bus, and transmitting the information. Item 1, 2, 3, 4, 5, or 6
A bus control system as described.
【請求項8】 前記共通情報送信手段は、前記共通バス
の使用が許可されたバスマスタによるデータ転送の終了
後から次のバス使用許可信号あるいはバス使用許可信号
を含む新たな共通情報までの待機期間を示す情報を、前
記共通情報に含んで送信するものであることを特徴とす
る請求項1、2、3、4、5または6記載のバス制御シ
ステム。
8. A waiting period from the end of data transfer by the bus master permitted to use the common bus to the next bus use permission signal or new common information including the bus use permission signal, wherein the common information transmission means is provided. 7. The bus control system according to claim 1, wherein the information indicating the transmission is included in the common information and transmitted. 8.
【請求項9】 前記バスマスタは、前記バスコントロー
ラに対して前記共通バスの使用要求を発行した後、該バ
スコントローラによる前記共通バスの使用許可を得る前
に、前記複数のバスマスタのうちの他のバスマスタが前
記共通バスの使用を許可されたことを認識すると、前記
共通情報に基づいて、新たな共通バス使用要求を生成
し、これを前記バスコントローラへ送信する使用要求送
信手段を備えることを特徴とする請求項1、2、3、
4、5、6、7または8記載のバス制御システム。
9. The bus master, after issuing a request to use the common bus to the bus controller, before obtaining a permission to use the common bus by the bus controller, the other of the plurality of bus masters. When the bus master recognizes that the use of the common bus is permitted, the bus master generates a new common bus use request based on the common information and transmits the request to the bus controller. Claims 1, 2, 3,
The bus control system according to 4, 5, 6, 7, or 8.
JP16547097A 1997-06-23 1997-06-23 Bus control system Pending JPH1115779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16547097A JPH1115779A (en) 1997-06-23 1997-06-23 Bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16547097A JPH1115779A (en) 1997-06-23 1997-06-23 Bus control system

Publications (1)

Publication Number Publication Date
JPH1115779A true JPH1115779A (en) 1999-01-22

Family

ID=15813032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16547097A Pending JPH1115779A (en) 1997-06-23 1997-06-23 Bus control system

Country Status (1)

Country Link
JP (1) JPH1115779A (en)

Similar Documents

Publication Publication Date Title
EP1131729B1 (en) Communications system and method with multilevel connection identification
JP5036120B2 (en) Communication system and method with unblocked shared interface
US7305510B2 (en) Multiple master buses and slave buses transmitting simultaneously
CN100595744C (en) System integrated circuit and electronic system on chip, and method for transmitting data therein
JPH10503041A (en) Arbitration method for bus connection delay
JPH04218861A (en) Multiple-cluster-signal processor
EP0358716A1 (en) Node for servicing interrupt request messages on a pended bus.
EP1653370B1 (en) Bus controller
JP4184614B2 (en) Bus system and method for adjusting execution order thereof
JP2002055947A (en) System bus and its bus arbitrating method
US6748505B1 (en) Efficient system bus architecture for memory and register transfers
US6430640B1 (en) Self-arbitrating, self-granting resource access
CN1161696C (en) Method and apparatus for transmission of signals over a shared line
EP1089501B1 (en) Arbitration mechanism for packet transmission
JPH1115779A (en) Bus control system
US20050066092A1 (en) Method and apparatus of allocating minimum and maximum bandwidths on a bus-based communication system with redundant communication circuits
JPH0689257A (en) Arbitration device of bus bridge
US20060136635A1 (en) Very little multi master bus
US7117281B1 (en) Circuit, system, and method for data transfer control for enhancing data bus utilization
KR100324281B1 (en) Centralized High Speed Data Processing Module
JP3050131B2 (en) Arbitration method
JPH11353286A (en) Multiprocessor and deciding method for its bus using right
JP2000020450A (en) Packet type memory system with arithmetic processing function and control method therefor
JPH01133444A (en) System bus controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20040727

Free format text: JAPANESE INTERMEDIATE CODE: A02