JP2007095089A - Bus arbiter - Google Patents
Bus arbiter Download PDFInfo
- Publication number
- JP2007095089A JP2007095089A JP2006308196A JP2006308196A JP2007095089A JP 2007095089 A JP2007095089 A JP 2007095089A JP 2006308196 A JP2006308196 A JP 2006308196A JP 2006308196 A JP2006308196 A JP 2006308196A JP 2007095089 A JP2007095089 A JP 2007095089A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- event
- master
- arbiter
- occurrence
- 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
Links
Images
Landscapes
- Bus Control (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、バスアービタに関し、例えば、画像情報のデジタル処理を行う機器のメモリ活用技術におけるバスアービタに関する。 The present invention relates to a bus arbiter, for example, a bus arbiter in a memory utilization technique of a device that performs digital processing of image information.
従来、バスアービタは一般に、画像処理装置全般、特に、デジタル複写機、スキャナ、プリンタ、FAX等に適用され構成される。 Conventionally, a bus arbiter is generally applied and configured in an image processing apparatus in general, in particular, a digital copying machine, a scanner, a printer, a FAX, and the like.
本願発明と技術分野の類似する先願発明例の特開平8−149241号公報に記載されてある様に、スキャナ、プリンタ、画像を記憶させる画像メモリを持つコントローラ等の各機能機器を汎用バスで接続し、インターフェースを共通化することで別々の機器の接続のための無駄な回路、制御ソフトの増加を抑制し、また、拡張性の高いシステムとすることを目的としたシステムが考案されている。 As described in Japanese Patent Application Laid-Open No. 8-149241, which is an example of a prior invention similar to the present invention in the technical field, each functional device such as a scanner, a printer, a controller having an image memory for storing an image is connected with a general-purpose bus. By connecting and sharing the interface, a system has been devised that suppresses the increase of useless circuits and control software for connecting different devices and makes the system highly scalable. .
この様なシステムにおいて、スキャナからの読み取り、及びプロッタへの画像出力時は、スキャナとプロッタが一定速度で動作するシステムでは、コントローラの画像メモリとの間で一定量のデータを、バスを介して転送する必要があるため、一時的にバストラフィックが激しく増加し、このことは高速機になるにしたがい顕著になる。 In such a system, when reading from the scanner and outputting an image to the plotter, in a system in which the scanner and the plotter operate at a constant speed, a certain amount of data is transferred between the image memory of the controller via the bus. Because it needs to be transferred, the bus traffic temporarily increases dramatically, and this becomes more noticeable as it becomes faster.
ところで、このような汎用バスにIEEE1394、USB等の通信系のインターフェースを接続することも可能であり、このようなインターフェースを介して外部機器とデータを送受信することが一般的に行われている(例えば、特許文献1参照)。 By the way, it is also possible to connect a communication system interface such as IEEE1394 or USB to such a general-purpose bus, and data transmission / reception with an external device is generally performed via such an interface ( For example, see Patent Document 1).
以上のように汎用バスに、スキャナ、プロッタ、通信系インターフェースデバイス等の複数のバスマスタが存在する構成では、バスの調停方法が重要になってくる。バスの調停方法として一般的に知られているものには、固定優先順位方式、ラウンドロビン方式等がある。
前者の固定優先順位方式は、バス要求が同時に発生した場合に、あらかじめ固定的に設定された優先順位にしたがって高い方にバス使用権を与える方法である。また、後者のラウンドロビン方式は、優先順位が固定ではなく、バス使用権をとった直後に優先順位が最下位になり、全体として公平に調停される方法である。
The former fixed priority method is a method in which a bus use right is given to a higher one according to a priority set in a fixed manner in advance when bus requests occur simultaneously. The latter round robin method is a method in which the priority is not fixed, but immediately after the right to use the bus is obtained, the priority becomes the lowest and arbitration is performed fairly as a whole.
しかしながら、上記従来の調停方式にはそれぞれ長所、短所がある。前者の固定優先順位方式は、優先順位が高いデバイスにはバス獲得が保証され優位であるが、低いデバイスは自分より高いデバイスからの要求がある限りバスが獲得できない状況が発生するという短所がある。また、後者のラウンドロビン方式は、公平にバス獲得のための調停が行われるという長所があるが、逆にバスの使用率を各デバイス毎に転送データ量、密度に応じて異ならせたい場合には不向きという短所がある。 However, each of the conventional arbitration methods has advantages and disadvantages. The former fixed-priority method is superior in that the device with higher priority is guaranteed to acquire the bus, but the lower device has the disadvantage that the bus cannot be acquired as long as there is a request from a device higher than itself. . In addition, the latter round robin method has the advantage that arbitration for bus acquisition is performed fairly, but conversely, when it is desired to vary the bus usage rate according to the transfer data amount and density for each device. Has the disadvantage of being unsuitable.
ラウンドロビン方式は、本来バス自体の持つデータ転送能力(バス幅×所定あたりのデータの転送時間)が、スキャナ、プロッタ等のデバイスが動作時に転送しなければならないデータ量に対し限界に近いほど、なおさら不向きと言える。
しかし、固定優先順位方式を採用した場合、スキャナ、プロッタ等のデバイスが動作時には、通信系インターフェース等の他のデバイスはバスを必要期間内に全く獲得できない状況が生じてしまい、通信異常を発生してしまう可能性が出てくる。
In the round robin method, the data transfer capability inherent to the bus itself (bus width x data transfer time per predetermined) is closer to the limit for the amount of data that devices such as scanners and plotters must transfer during operation. Even more unsuitable.
However, when the fixed priority method is adopted, when a device such as a scanner or plotter is operating, there is a situation in which other devices such as a communication interface cannot acquire a bus within the necessary period, and a communication error occurs. There is a possibility that.
本発明は、上記従来技術の問題点に鑑みてなされたもので、請求項1記載の構成を有することにより、特定事象発生に伴う第1のバスマスタの要求発生に対し、他のバスマスタのバス使用頻度を一時的に低下させることができ、かつ優先度の低いバスマスタからの要求を無視することなく、第1のバスマスタのデータ転送効率が確約されるように調停することができるバスアービタを提供することを目的とする。
The present invention has been made in view of the above-described problems of the prior art. By having the configuration according to
請求項2記載の構成を有することにより、特定事象発生に伴う第1のバスマスタのバス獲得要求発生に対し、バス使用権を与えた後の一定期間を事象発生とみなすことで、事象発生判定に際してアービトレーション関係以外の外部の信号を必要としなくてよく、簡単な構成で第1のバスマスタのデータ転送効率が確約されるように調停することができるバスアービタを提供することを目的とする。
With the configuration according to
上記課題を解決するため、請求項1記載の発明は、共通のバスに接続されている複数のバスマスタからのバス獲得要求を調停するバスアービタにおいて、前記バスアービタが適用されている装置で特定の事象が発生することにより発生する第1のバスマスタからのバス獲得要求が存在する場合に、前記事象の発生を検出して事象発生信号として出力する事象検出部と、前記事象検出部からの事象発生信号を受け、前記第1のバスマスタ以外のバスマスタからの前記バス獲得要求に対して、特定の事象が発生してない通常の場合より、バス使用権を与える頻度を制限するように制御するバス獲得頻度制御部とを備えたことを特徴とする。
In order to solve the above-mentioned problem, the invention according to
請求項2記載の発明は、請求項1記載の発明において、前記事象検出部は、前記第1のバスマスタからの前記バス獲得要求に対し、バス使用権を与えた後の一定期間以内を事象発生と判定して、前記バス獲得頻度制御部に事象発生信号として出力するように構成したことを特徴とする。 According to a second aspect of the present invention, in the first aspect of the present invention, the event detecting unit performs an event within a predetermined period after a bus use right is given to the bus acquisition request from the first bus master. It is determined that an occurrence has occurred, and an event occurrence signal is output to the bus acquisition frequency control unit.
特定事象発生に伴う第1のバスマスタの要求発生に対し、他のバスマスタのバス使用頻度を一時的に低下させることができ、かつ優先度の低いバスマスタからの要求を無視することなく、第1のバスマスタのデータ転送効率が確約されるように調停することができるバスアービタの提供を実現することができる。 In response to a request from the first bus master accompanying the occurrence of a specific event, the bus usage frequency of other bus masters can be temporarily reduced, and the request from the bus master with a low priority can be ignored without ignoring the first bus master. It is possible to provide a bus arbiter capable of arbitrating so that the data transfer efficiency of the bus master is guaranteed.
次に、添付図面を参照して本発明によるバスアービタの実施の形態を詳細に説明する。図1から図3を参照すると、本発明のバスアービタの一実施形態が示されている。 Next, an embodiment of a bus arbiter according to the present invention will be described in detail with reference to the accompanying drawings. Referring to FIGS. 1-3, one embodiment of the bus arbiter of the present invention is shown.
以下、本発明の実施の形態について説明する。図1は本発明に係るバスアービタ1の実施の形態の一例を示すシステム構成図であり、システムバス上に、バスマスタと成り得る3つのデバイスとメモリ2を接続してなるシステム構成例を示している。図中の点線部は各マスタから出力されるバスマスタ獲得のための要求信号である。バスアービタはこれらの要求信号の調停を行い、3つのバスマスタの1つにバスの使用許可を与える。
Embodiments of the present invention will be described below. FIG. 1 is a system configuration diagram showing an example of an embodiment of a
本発明の請求項1記載の第1のバスマスタに相当するデバイスは、本実施形態ではスキャナ3である。原稿読み取り時、このスキャナ3は、一定速度で原稿をスキャンし、次々とラスタ形式でシステムバス上のメモリ2に一定量の画像データを転送する。システム制御部4は、スキャナ3、通信系デバイスであるIEEE1394(5)と通信を行い動作状態に関する各コマンド、ステータスのやりとりを行う。
The device corresponding to the first bus master according to
図2は、バスアービタ1の内部の構成と各マスタデバイスの接続状態を示している。バスアービタ1は、ハードウェアロジックで構成され、以下、各ブロック毎に機能説明を行う。
FIG. 2 shows the internal configuration of the
<2−1(調停回路)の説明>
調停回路11は、ラウンドロビン方式の調停を行う回路で、それぞれ各マスタからバス獲得のための要求信号が入力され、それに対しそれぞれ許可信号を出力している。
<Description of 2-1 (arbitration circuit)>
The arbitration circuit 11 is a circuit that performs round-robin arbitration, and receives a request signal for acquiring a bus from each master, and outputs a permission signal in response thereto.
<2−2(事象検出部)の説明>
事象検出部12は、マスタデバイス1の許可信号により時間計測を開始し、あらかじめ決められた時間計測後停止するようなカウンタで構成される。その一定時間計測中に、マスク時間計測部に対し事象発生信号を出力する。なお、マスタデバイス1は、図1のスキャナ3に相当する。スキャナ動作が行われていない状態では、マスタデバイス1からはバスアービタにはバス獲得要求が出力されず、よってその許可信号も出力されず、事象発生信号は出力されない。また、カウンタ計測中にマスタデバイス1の許可信号が入力されると、カウンタが初期化され、その時点からさらに一定時間を計測する動作を行う。
<Description of 2-2 (event detection unit)>
The event detection unit 12 is configured by a counter that starts time measurement by a permission signal of the
<2−3(マスク時間計測部)の説明>
事象検出部12からの事象発生信号がアクティブ中に調停回路から許可信号が入力されると時間計測を開始し、あらかじめ決められた時間計測後停止するようなカウンタで構成される。その一定時間計測中に要求マスク部に対し、要求マスク信号を出力する。このカウンタで計測する時間計測値は、初期化時にシステム制御部4より直接書き換えが可能な構成としてあり、マスタデバイスの種類に応じてバス獲得頻度が変更可能としている。
<Description of 2-3 (Mask Time Measurement Unit)>
When the permission signal is input from the arbitration circuit while the event occurrence signal from the event detection unit 12 is active, the time measurement is started, and the counter is configured to stop after the predetermined time measurement. A request mask signal is output to the request mask unit during the measurement for a certain time. The time measurement value measured by this counter can be directly rewritten by the
<2−4(要求マスク部)の説明>
マスク時間計測部から出力される要求マスク信号がアクティブ中には、マスタデバイスからのバス獲得要求が調停回路に伝わらないようにバス獲得要求信号をマスクするゲート回路で構成される。
以上がバスアービタの構成の説明である。
<Description of 2-4 (Request Mask Unit)>
While the request mask signal output from the mask time measurement unit is active, the mask acquisition circuit is configured by a gate circuit that masks the bus acquisition request signal so that the bus acquisition request from the master device is not transmitted to the arbitration circuit.
The above is the description of the configuration of the bus arbiter.
図3には、バス調停の様子を示す。バスマスタ1のバス獲得要求がない場合には、他のバスマスタ2,3は要求マスクをされることなく、特別なバス使用の制限は受けずにバスを獲得している。しかし、バスマスタ1がバスの獲得要求を発生し、事象発生を検出した場合、バスマスタ2,3は一定期間、バス要求をマスクされ、それによってバス使用頻度を制限される。これによって、他のバスマスタのバス使用頻度を一時的に低下させることができ、かつ優先度の低いバスマスタからの要求を無視することなく、第1のバスマスタのデータ転送効率が確約されるように調停することができる。
FIG. 3 shows the bus arbitration. When there is no bus acquisition request from the
また、本実施形態では特定の事象検出をアービトレーションのための許可信号から行っているが、スキャナ等のデバイスから直接バスアービタに入力する構成とすることも可能である。 In this embodiment, the specific event detection is performed from the permission signal for arbitration. However, it is also possible to adopt a configuration in which a device such as a scanner directly inputs to the bus arbiter.
なお、上述した実施の形態は、本発明の好適な実施の形態の一例を示すものであり、本発明はそれに限定されることなく、その要旨を逸脱しない範囲内において、種々変形実施が可能である。 The above-described embodiment shows an example of a preferred embodiment of the present invention, and the present invention is not limited thereto, and various modifications can be made without departing from the scope of the invention. is there.
〔作用効果〕
本発明のバスアービタは、バスアービタが適用されている装置で特定の事象が発生することにより発生する第1のバスマスタからのバス獲得要求が存在する場合に、事象の発生を検出して事象発生信号として出力し、この事象発生信号を受け第1のバスマスタ以外のバスマスタからのバス獲得要求に対して、特定の事象が発生していない通常の場合より、バス使用権を与える頻度を制限する。
[Function and effect]
The bus arbiter of the present invention detects the occurrence of an event as an event occurrence signal when there is a bus acquisition request from the first bus master that occurs when a specific event occurs in a device to which the bus arbiter is applied. In response to this event occurrence signal, the frequency of giving a bus use right is limited in response to a bus acquisition request from a bus master other than the first bus master, compared to a normal case where a specific event has not occurred.
この構成を有することにより、特定事象発生に伴う第1のバスマスタの要求発生に対し、他のバスマスタのバス使用頻度を一時的に低下させることができ、かつ優先度の低いバスマスタからの要求を無視することなく、第1のバスマスタのデータ転送効率が確約されるように調停することができる。 By having this configuration, it is possible to temporarily reduce the bus usage frequency of other bus masters in response to the occurrence of a request from the first bus master accompanying the occurrence of a specific event, and to ignore requests from bus masters with low priority Without arbitration, arbitration can be performed to ensure the data transfer efficiency of the first bus master.
請求項2載の発明では、特定事象発生に伴う第1のバスマスタのバス獲得要求発生に対し、バス使用権を与えた後の一定期間を事象発生とみなす。このことにより、事象発生判定に際してアービトレーション関係以外の外部の信号を必要としなくてよく、簡単な構成で第1のバスマスタのデータ、転送効率が確約されるように調停することができる。 According to the second aspect of the present invention, a certain period after the bus use right is given to the occurrence of the bus acquisition request of the first bus master accompanying the occurrence of the specific event is regarded as the occurrence of the event. This eliminates the need for an external signal other than the arbitration relationship when determining the occurrence of an event, and it is possible to perform arbitration so that the data and transfer efficiency of the first bus master can be guaranteed with a simple configuration.
1 バスアービタ
2 メモリ
3 スキャナ
4 システム制御部
5 IEEE1394
11 調停回路
12 事象検出部
1
11 Arbitration circuit 12 Event detector
Claims (2)
前記バスアービタが適用されている装置で特定の事象が発生することにより発生する第1のバスマスタからのバス獲得要求が存在する場合に、
前記事象の発生を検出して事象発生信号として出力する事象検出部と、
前記事象検出部からの事象発生信号を受け、前記第1のバスマスタ以外のバスマスタからの前記バス獲得要求に対して、特定の事象が発生してない通常の場合より、バス使用権を与える頻度を制限するように制御するバス獲得頻度制御部とを備えたことを特徴とするバスアービタ。 In the bus arbiter that arbitrates bus acquisition requests from multiple bus masters connected to a common bus,
When there is a bus acquisition request from the first bus master that occurs when a specific event occurs in the device to which the bus arbiter is applied,
An event detector that detects the occurrence of the event and outputs it as an event occurrence signal;
Frequency at which a bus use right is given to the bus acquisition request from a bus master other than the first bus master in response to an event occurrence signal from the event detection unit, compared to a normal case where no specific event has occurred A bus arbiter comprising: a bus acquisition frequency control unit that controls to limit the number of buses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006308196A JP2007095089A (en) | 2006-11-14 | 2006-11-14 | Bus arbiter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006308196A JP2007095089A (en) | 2006-11-14 | 2006-11-14 | Bus arbiter |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001071168A Division JP4024484B2 (en) | 2001-03-13 | 2001-03-13 | Bus arbiter |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007095089A true JP2007095089A (en) | 2007-04-12 |
Family
ID=37980653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006308196A Pending JP2007095089A (en) | 2006-11-14 | 2006-11-14 | Bus arbiter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007095089A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9665515B2 (en) | 2012-07-06 | 2017-05-30 | Canon Kabushiki Kaisha | Bus arbitration apparatus provided to a bus connected to a plurality of bus masters, bus arbitration method, and computer-readable storage medium |
CN112327682A (en) * | 2020-10-21 | 2021-02-05 | 浙江吉利控股集团有限公司 | Complete machine controller system, control method and electric aircraft |
-
2006
- 2006-11-14 JP JP2006308196A patent/JP2007095089A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9665515B2 (en) | 2012-07-06 | 2017-05-30 | Canon Kabushiki Kaisha | Bus arbitration apparatus provided to a bus connected to a plurality of bus masters, bus arbitration method, and computer-readable storage medium |
CN112327682A (en) * | 2020-10-21 | 2021-02-05 | 浙江吉利控股集团有限公司 | Complete machine controller system, control method and electric aircraft |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7512723B2 (en) | Queued interface devices, multi-core peripheral systems, and methods for sharing a peripheral in a multi-core system | |
KR102372289B1 (en) | Memory access system, method for controlling the same, computer-readable storage medium, and image forming apparatus | |
US8838862B2 (en) | Data transfer device, method of transferring data, and image forming apparatus | |
US9600426B2 (en) | Bus control device, image processing apparatus, and bus control method | |
US20070067527A1 (en) | Data transfer bus system connecting a plurality of bus masters | |
KR100480605B1 (en) | Method of controlling transmitting buffer and receiving buffer of network controller, and the network controller | |
KR20030051834A (en) | System and method for implementing a multi-level interrupt scheme in a computer system | |
JP6175794B2 (en) | Data processing apparatus and data processing method | |
KR102549085B1 (en) | Bus control circuit | |
JP4024484B2 (en) | Bus arbiter | |
WO2006024193A1 (en) | Method and system for data transfer | |
JP2007095089A (en) | Bus arbiter | |
US20150301976A1 (en) | Bus interface unit and operating method therefor | |
JP2009043089A (en) | Bus control device and bus control method | |
JP2004355435A (en) | Access arbitration device | |
JP2007316726A (en) | Data transfer controller | |
JP2005004563A (en) | Dma transfer controller | |
JP2000267928A (en) | Memory control device | |
JP5111940B2 (en) | Information processing apparatus and access control method | |
JP4898527B2 (en) | RESOURCE USE MANAGEMENT DEVICE, RESOURCE USE MANAGEMENT SYSTEM, AND RESOURCE USE MANAGEMENT DEVICE CONTROL METHOD | |
TWI332615B (en) | A fine-grained bandwidth control arbiter and the method thereof | |
JP3747020B2 (en) | Crossbar mediation system | |
JP2004013395A (en) | Dma controller | |
JP2006053613A (en) | Data transfer controller and data transfer control method | |
US20070283065A1 (en) | Resource use management device, resource use management system, and control method for a resource use management device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070814 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071015 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080108 |