JP4635482B2 - Arbitration device, arbitration method, mediation method program, recording medium recording mediation method program, and electronic still camera - Google Patents

Arbitration device, arbitration method, mediation method program, recording medium recording mediation method program, and electronic still camera Download PDF

Info

Publication number
JP4635482B2
JP4635482B2 JP2004177737A JP2004177737A JP4635482B2 JP 4635482 B2 JP4635482 B2 JP 4635482B2 JP 2004177737 A JP2004177737 A JP 2004177737A JP 2004177737 A JP2004177737 A JP 2004177737A JP 4635482 B2 JP4635482 B2 JP 4635482B2
Authority
JP
Japan
Prior art keywords
circuit
access
reference circuit
processing
access request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004177737A
Other languages
Japanese (ja)
Other versions
JP2006004028A (en
Inventor
朋広 小金沢
猛 原野
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2004177737A priority Critical patent/JP4635482B2/en
Publication of JP2006004028A publication Critical patent/JP2006004028A/en
Application granted granted Critical
Publication of JP4635482B2 publication Critical patent/JP4635482B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、調停装置、調停方法、調停方法のプログラム、調停方法のプログラムを記録した記録媒体及び電子スチルカメラに関し、例えば複数の処理回路でメモリを共用する構成に適用することができる。本発明は、優先順位に従ってアクセス権を設定することを前提にして、基準回路からのアクセス要求と、基準回路より優先順位の低い処理回路からのアクセス要求とが競合した場合に、基準回路へのアクセス権の設定回数に対する優先順位の低い処理回路へのアクセス権の設定回数が、事前の帯域制限値に応じた値となるようにアクセス権を設定することにより、メモリ等へのアクセス権を複数の処理回路に適切かつ効率良く設定することができるようにする。   The present invention relates to an arbitration device, an arbitration method, an arbitration method program, a recording medium on which an arbitration method program is recorded, and an electronic still camera. For example, the present invention can be applied to a configuration in which a plurality of processing circuits share a memory. The present invention is based on the assumption that the access right is set according to the priority, and when the access request from the reference circuit and the access request from the processing circuit having a lower priority than the reference circuit compete, By setting access rights so that the number of access rights set to a processing circuit with a lower priority with respect to the number of access rights is set according to the bandwidth limit value in advance, multiple access rights to the memory, etc. The processing circuit can be set appropriately and efficiently.

従来、電子スチルカメラにおいては、撮像結果を順次メモリに記録すると共に、このメモリに記録した撮像結果を表示手段により表示し、ユーザーによる操作に応動してこのメモリに記録した撮像結果をデータ圧縮してメモリカード等の記録媒体に記録するようになされている。このため電子スチルカメラにおいては、これらの各処理に係る複数の処理回路からのメモリへのアクセス要求を調停回路により調停し、これにより各処理回路で確実に撮像結果を処理するようになされている。   Conventionally, in an electronic still camera, imaging results are sequentially recorded in a memory, and the imaging results recorded in the memory are displayed on a display unit, and the imaging results recorded in the memory are compressed in response to a user operation. The data is recorded on a recording medium such as a memory card. For this reason, in an electronic still camera, an access request to a memory from a plurality of processing circuits related to each of these processes is arbitrated by an arbitration circuit, whereby an imaging result is reliably processed by each processing circuit. .

このような調停回路においては、従来、事前に設定された固定の優先順位によりアクセス権を設定する方法、さらにこの優先順位をローテーションさせるラウンドロビン方式等が採用されるようになされている。   In such an arbitration circuit, conventionally, a method of setting an access right according to a fixed priority set in advance, and a round robin method for rotating the priority are adopted.

しかしながら固定の優先順位による調停の場合、優先順位の高い処理回路によりメモリのアクセスが独占され、優先順位の低い処理回路において、メモリにアクセスできない場合が発生する問題がある。これに対してラウンドロビン方式による場合、このような状況については有効に回避できるものの、優先順位の変更によりアクセス頻度の高い処理回路の優先順位が低くなり、これによりこの処理回路における処理速度が著しく低下する問題がある。   However, in the case of arbitration with a fixed priority, there is a problem that the memory access is monopolized by the processing circuit having a high priority, and the memory cannot be accessed in the processing circuit having a low priority. On the other hand, in the case of the round robin method, although such a situation can be effectively avoided, the priority of the processing circuit having a high access frequency is lowered by the change of the priority, and thereby the processing speed in this processing circuit is remarkably increased. There is a problem that decreases.

これらの問題を解決する1つの方法として、各処理回路にそれぞれ専用にメモリを設ける方法も考えられるが、この方法の場合、全体構成が複雑になり、また形状も大型化する問題がある。   As one method for solving these problems, a method of providing a dedicated memory for each processing circuit is also conceivable. However, this method has a problem that the overall configuration becomes complicated and the shape becomes large.

これに対して特開平8−180027号公報には、動作速度の遅い低速プロセッサからアクセス要求があった場合、動作速度の速い高速プロセッサのシステムクロックによる所定クロック数だけ低速プロセッサを待機させて、この低速プロセッサにメモリへのアクセス権を設定する方法が提案されるようになされている。   On the other hand, in JP-A-8-180027, when there is an access request from a low speed processor having a low operating speed, the low speed processor is made to wait for a predetermined number of clocks based on the system clock of the high speed processor having a high operating speed. Methods have been proposed for setting access rights to memory for low speed processors.

しかしながらこの方法の場合、高速プロセッサがメモリにアクセスしていない場合でも、低速プロセッサにおいては、アクセス要求に対して所定のクロック周期だけ待機させられることにより、低速プロセッサからのメモリアクセス要求に対し、レイテンシをロスしてしまう問題がある。またメモリへのアクセス要求に係る処理回路が3個以上の場合には、適用できない問題もある。
特開平8−180027号公報
However, in this method, even when the high-speed processor is not accessing the memory, the low-speed processor is made to wait for a predetermined clock cycle with respect to the access request. There is a problem that loses. There is also a problem that cannot be applied when there are three or more processing circuits related to a memory access request.
JP-A-8-180027

本発明は以上の点を考慮してなされたもので、メモリ等へのアクセス権を複数の処理回路に適切かつ効率良く設定することができる調停装置、調停方法、調停方法のプログラム、調停方法のプログラムを記録した記録媒体を提案しようとするものである。   The present invention has been made in consideration of the above points. An arbitration device, an arbitration method, an arbitration method program, and an arbitration method that can appropriately and efficiently set an access right to a memory or the like in a plurality of processing circuits. It intends to propose a recording medium on which a program is recorded.

かかる課題を解決するため請求項1の発明においては、複数の処理回路からのアクセス要求に対して選択的にアクセス権を設定して、複数の処理回路からのアクセス要求を調停する調停装置に適用して、アクセス要求が競合しない場合には、アクセス要求に係る処理回路にアクセス権を設定し、アクセス要求が競合した場合、優先順位に従って複数の処理回路からのアクセス要求に対してアクセス権を設定するようにして、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合、カウンタのカウント値と帯域制限値との比較により、基準回路及び基準回路より優先順位の低い処理回路に選択的にアクセス権を設定し、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合における、基準回路へのアクセス権の設定回数に対する、基準回路より優先権の低い処理回路へのアクセス権の設定回数を、帯域制限値に応じた値に設定する。   In order to solve such a problem, the invention of claim 1 is applied to an arbitration device that selectively sets access rights for access requests from a plurality of processing circuits and arbitrates access requests from the plurality of processing circuits. If the access request does not conflict, the access right is set for the processing circuit related to the access request. If the access request conflicts, the access right is set for the access request from the plurality of processing circuits according to the priority order. Thus, when the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete, the priority order is higher than that of the reference circuit and the reference circuit by comparing the count value of the counter with the bandwidth limit value. The access right is selectively set to the processing circuit having a lower priority, the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit. There in the case of conflict, for setting the number of access to the reference circuit, a predetermined number of access to the lower processing circuit having priority over the reference circuit is set to a value corresponding to the band limit.

また請求項11の発明においては、複数の処理回路からのアクセス要求に対して選択的にアクセス権を設定して、複数の処理回路からのアクセス要求を調停する調停方法に適用して、アクセス要求が競合しない場合には、アクセス要求に係る処理回路にアクセス権を設定し、アクセス要求が競合した場合、優先順位に従って複数の処理回路からのアクセス要求に対してアクセス権を設定するアクセス権設定のステップとを有し、アクセス権設定のステップは、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合、カウンタのカウント値と帯域制限値との比較により、基準回路及び基準回路より優先順位の低い処理回路に選択的にアクセス権を設定し、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合における、基準回路へのアクセス権の設定回数に対する、基準回路より優先権の低い処理回路へのアクセス権の設定回数を、帯域制限値に応じた値に設定する。   In the invention of claim 11, the access request is applied to an arbitration method for selectively arbitrating access requests from a plurality of processing circuits by selectively setting an access right for the access requests from the plurality of processing circuits. If the access request does not conflict, the access right is set for the processing circuit related to the access request. If the access request conflicts, the access right is set for the access request from the plurality of processing circuits according to the priority order. The access right setting step includes a step of comparing the count value of the counter with the bandwidth limit value when the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete. Access rights are selectively set for the reference circuit and a processing circuit having a lower priority than the reference circuit, and the access request for the reference circuit and the reference circuit are prioritized. The number of access rights set to a processing circuit with a lower priority than the reference circuit is set according to the bandwidth limit value with respect to the number of access rights set to the reference circuit when there is a conflict with an access request of a lower processing circuit. Set to value.

また請求項12の発明においては、演算処理手段による実行により、複数の処理回路からのアクセス要求に対して選択的にアクセス権を設定して、複数の処理回路からのアクセス要求を調停する調停方法のプログラムに適用して、アクセス要求が競合しない場合には、アクセス要求に係る処理回路にアクセス権を設定し、アクセス要求が競合した場合、優先順位に従って複数の処理回路からのアクセス要求に対してアクセス権を設定するアクセス権設定のステップとを有し、アクセス権設定のステップは、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合、カウンタのカウント値と帯域制限値との比較により、基準回路及び基準回路より優先順位の低い処理回路に選択的にアクセス権を設定し、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合における、基準回路へのアクセス権の設定回数に対する、基準回路より優先権の低い処理回路へのアクセス権の設定回数を、帯域制限値に応じた値に設定する。   According to the twelfth aspect of the present invention, an arbitration method for arbitrating access requests from a plurality of processing circuits by selectively setting an access right for the access requests from the plurality of processing circuits by execution by the arithmetic processing means. When the access request does not conflict, the access right is set in the processing circuit related to the access request. When the access request conflicts, the access request from a plurality of processing circuits is processed according to the priority order. An access right setting step for setting an access right. In the access right setting step, when the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete, the count value of the counter And the bandwidth limit value, the access right is selectively set to the reference circuit and the processing circuit having a lower priority than the reference circuit. When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit conflict, the access right to the processing circuit having a lower priority than the reference circuit is set for the number of times the access right to the reference circuit is set. Set the number of settings to a value according to the bandwidth limit value.

また請求項13の発明においては、演算処理手段による実行により、複数の処理回路からのアクセス要求に対して選択的にアクセス権を設定して、複数の処理回路からのアクセス要求を調停する調停方法のプログラムを記録した記録媒体に適用して、調停方法のプログラムは、アクセス要求が競合しない場合には、アクセス要求に係る処理回路にアクセス権を設定し、アクセス要求が競合した場合、優先順位に従って複数の処理回路からのアクセス要求に対してアクセス権を設定するアクセス権設定のステップとを有し、アクセス権設定のステップは、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合、カウンタのカウント値と帯域制限値との比較により、基準回路及び基準回路より優先順位の低い処理回路に選択的にアクセス権を設定し、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合における、基準回路へのアクセス権の設定回数に対する、基準回路より優先権の低い処理回路へのアクセス権の設定回数を、帯域制限値に応じた値に設定する。   Further, in the invention of claim 13, an arbitration method for arbitrating access requests from a plurality of processing circuits by selectively setting an access right for the access requests from the plurality of processing circuits by execution by the arithmetic processing means. When the access request does not conflict, the arbitration method program sets the access right to the processing circuit related to the access request, and the access request conflicts according to the priority order. An access right setting step for setting an access right for an access request from a plurality of processing circuits. The access right setting step includes an access request for a reference circuit and an access to a processing circuit having a lower priority than the reference circuit. In case of contention with the request, the priority order is higher than the reference circuit and reference circuit by comparing the count value of the counter with the bandwidth limit value. When the access right is selectively set to a lower processing circuit and the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete, the reference for the number of times of setting the access right to the reference circuit The number of times of setting the access right to the processing circuit having a lower priority than the circuit is set to a value corresponding to the bandwidth limit value.

また請求項14の発明においては、撮像結果をモニタに表示すると共に記録媒体に記録し、記録媒体に記録した撮像結果をモニタで表示する電子スチルカメラに適用して、調停回路は、アクセス要求が競合しない場合には、アクセス要求に係る回路にアクセス権を設定し、アクセス要求が競合した場合、優先順位に従って複数の回路からのアクセス要求に対してアクセス権を設定し、基準回路のアクセス要求と基準回路より優先順位の低い回路のアクセス要求とが競合した場合、カウンタのカウント値と帯域制限値との比較により、基準回路及び基準回路より優先順位の低い回路に選択的にアクセス権を設定し、基準回路のアクセス要求と基準回路より優先順位の低い回路のアクセス要求とが競合した場合における、基準回路へのアクセス権の設定回数に対する、基準回路より優先権の低い回路へのアクセス権の設定回数を、帯域制限値に応じた値に設定する。   According to the fourteenth aspect of the present invention, the arbitration circuit is applied to an electronic still camera that displays an imaging result on a recording medium and records it on a recording medium, and displays the imaging result recorded on the recording medium on the monitor. If there is no conflict, the access right is set for the circuit related to the access request. If the access request conflicts, the access right is set for the access request from a plurality of circuits according to the priority order. When access requests of lower priority circuits than the reference circuit compete, the access right is selectively set to the reference circuit and lower priority circuits than the reference circuit by comparing the count value of the counter with the bandwidth limit value. The access right to the reference circuit when the access request of the reference circuit and the access request of the circuit having a lower priority than the reference circuit conflict For the set number of times, the set number of access to the lower circuit of priority than the reference circuit is set to a value corresponding to the band limit.

請求項1の構成により、調停装置に適用して、アクセス要求が競合しない場合には、アクセス要求に係る処理回路にアクセス権を設定し、アクセス要求が競合した場合、優先順位に従って複数の処理回路からのアクセス要求に対してアクセス権を設定するようにして、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合、カウンタのカウント値と帯域制限値との比較により、基準回路及び基準回路より優先順位の低い処理回路に選択的にアクセス権を設定し、基準回路のアクセス要求と基準回路より優先順位の低い処理回路のアクセス要求とが競合した場合における、基準回路へのアクセス権の設定回数に対する、基準回路より優先権の低い処理回路へのアクセス権の設定回数を、帯域制限値に応じた値に設定すれば、この帯域制限値に応じてアクセス権を基準回路と基準回路より優先順位の低い処理回路とに振り分けて設定することができる。これによりこの帯域制限値により基準回路及び基準回路より優先順位の低い処理回路とで適切にアクセス権を設定することができる。またアクセス権が競合しない場合には、アクセス要求に係る処理回路にアクセス権を設定することができることにより、アイドル時間の発生を有効に回避して効率良くアクセス権を設定することができ、これらによりメモリ等へのアクセス権を複数の処理回路に適切かつ効率良く設定することができる。   According to the configuration of claim 1, when the access request does not conflict when applied to the arbitration device, an access right is set in the processing circuit related to the access request, and when the access request conflicts, a plurality of processing circuits are arranged according to the priority order. When the access right is set to the access request from the reference circuit and the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit conflict, the count value of the counter and the bandwidth limit value By comparison, the access right is selectively set to the reference circuit and the processing circuit having a lower priority than the reference circuit, and the access request of the reference circuit and the access request of the processing circuit having the lower priority than the reference circuit compete. The number of access rights set to a processing circuit with a lower priority than the reference circuit is set to the bandwidth limit value with respect to the number of access rights set to the reference circuit. If set to Flip value can be set by distributing the access in accordance with the band-limit value and lower processing circuit priority than a reference circuit and a reference circuit. Thereby, the access right can be appropriately set by the bandwidth limit value in the reference circuit and the processing circuit having a lower priority than the reference circuit. In addition, when the access right does not conflict, the access right can be set in the processing circuit related to the access request, so that the access right can be efficiently set by effectively avoiding the occurrence of idle time. Access rights to memories and the like can be set appropriately and efficiently in a plurality of processing circuits.

これにより請求項11、請求項12、請求項13、請求項14の構成によれば、メモリ等へのアクセス権を適切かつ効率良く設定することができる調停方法、調停方法のプログラム、調停方法のプログラムを記録した記録媒体、電子スチルカメラを提供することができる。   As a result, according to the configurations of claims 11, 12, 13, and 14, the arbitration method, the arbitration method program, and the arbitration method can set the access right to the memory and the like appropriately and efficiently. A recording medium on which a program is recorded and an electronic still camera can be provided.

本発明によれば、メモリ等へのアクセス権を複数の処理回路に適切かつ効率良く設定することができる。   According to the present invention, an access right to a memory or the like can be set appropriately and efficiently in a plurality of processing circuits.

以下、適宜図面を参照しながら本発明の実施例を詳述する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate.

(1)実施例の構成
図2は、この実施例に適用される調停システムを示すブロック図である。この調停システム1は、例えば複数のMPU(Micro Processing Unit )c1〜cn+2によりメモリ2に記録されたデータを処理する構成に適用され、より具体的には、このメモリ2に記録されるデータが画像データである電子スチルカメラ等に適用される。
(1) Configuration of Embodiment FIG. 2 is a block diagram showing an arbitration system applied to this embodiment. The arbitration system 1 is applied to a configuration in which data recorded in the memory 2 is processed by, for example, a plurality of MPUs (Micro Processing Units) c1 to cn + 2, and more specifically, the data recorded in the memory 2 is an image. It is applied to electronic still cameras that are data.

これによりこの調停システム1において、MPUc1〜cn+2は、それぞれ各MPUc1〜cn+2に割り当てられた処理手順を実行し、メモリ2へのアクセスを要求するアクセス要求信号a1〜an+2を制御回路3に送出し、またこのアクセス要求信号a1〜an+2に対してメモリ2へのアクセスを許可するアクセス許可信号b1〜bn+2によりバスBUSを介してメモリ2をアクセスする。   Thereby, in this arbitration system 1, MPUc1 to cn + 2 execute the processing procedure assigned to each MPUc1 to cn + 2, respectively, and sends access request signals a1 to an + 2 requesting access to the memory 2 to the control circuit 3, Further, the memory 2 is accessed via the bus BUS by access permission signals b1 to bn + 2 that permit access to the memory 2 in response to the access request signals a1 to an + 2.

制御回路3は、これらMPUc1〜cn+2からのアクセス要求によりメモリ2のアクセスを制御する。すなわちこの制御回路3において、トランシーバー回路4は、調停回路5の制御により、アクセス許可に係るMPUc1〜cn+2からバスBUSを介して書き込み、読み出しに供するアドレスを受信してメモリコントローラ6に出力し、またこのアドレスに係るデータをMPUc1〜cn+2、メモリコントローラ6との間で入出力する。メモリコントローラ6は、調停回路5から出力されるメモリ転送開始信号eにより、トランシーバー回路4から出力されるアドレスにより、順次入力されるデータをメモリ2に記録し、またメモリ2に記録されたデータを読み出してトランシーバー回路4に出力する。   The control circuit 3 controls access to the memory 2 according to access requests from the MPUs c1 to cn + 2. That is, in this control circuit 3, the transceiver circuit 4 receives the address to be written and read from the MPUc1 to cn + 2 related to access permission via the bus BUS and outputs it to the memory controller 6 under the control of the arbitration circuit 5. Data relating to this address is input / output between the MPUs c1 to cn + 2 and the memory controller 6. The memory controller 6 records the sequentially input data in the memory 2 by the memory transfer start signal e output from the arbitration circuit 5, and the data recorded in the memory 2 by the address output from the transceiver circuit 4. Read out and output to the transceiver circuit 4.

調停回路5は、これらMPUc1〜cn+2からのアクセス要求を調停し、アクセス権を設定してアクセス許可信号b1〜bn+1、メモリ転送開始信号eを出力する。この実施例において、調停回路5は、図3に示すように、この調停システム1全体の動作を制御する図示しない上位のコントローラに、これらMPUc1〜cn+2に対してアクセス許可を与える優先順位P1、P2が複数種類、保持され、このコントローラにより、調停回路5に何れかの優先順位P1、P2が設定されるようになされている。   The arbitration circuit 5 arbitrates access requests from the MPUs c1 to cn + 2, sets access rights, and outputs access permission signals b1 to bn + 1 and a memory transfer start signal e. In this embodiment, as shown in FIG. 3, the arbitration circuit 5 gives priority orders P1 and P2 for granting access permission to the MPUc1 to cn + 2 to an upper controller (not shown) that controls the operation of the entire arbitration system 1. A plurality of types are held, and the controller sets one of the priority orders P1 and P2 in the arbitration circuit 5.

帯域設定レジスタ7には、この調停システム1全体の動作を制御するコントローラにより、調停対象の処理回路であるMPUc1〜cn+2の1つを特定する基準回路が登録され、またこの基準回路と基準回路より優先順位の低いMPUとの間でアクセス要求が競合した場合において、基準回路へのアクセス権の設定回数に対して、基準回路より優先順位の低いMPUへのアクセス権の設定回数を指示する帯域制限値Lが設定されるようになされている。   In the bandwidth setting register 7, a reference circuit for specifying one of MPUc1 to cn + 2, which is a processing circuit to be arbitrated, is registered by a controller that controls the operation of the arbitration system 1 as a whole. Bandwidth limitation that indicates the number of access rights set to an MPU having a lower priority than the reference circuit, relative to the number of access rights set to the reference circuit, when an access request conflicts with an MPU having a lower priority A value L is set.

また調停回路5は、基準回路へのアクセス権の設定により初期値に設定されて、基準回路より優先順位の低いMPUへのアクセス権の設定をカウントするアクセス権設定用カウンタが設けられ、このアクセス権設定用カウンタのカウント値N、優先順位P1、P2、基準回路、帯域制限値Lを基準にしてMPUc1〜cn+2からのアクセス要求により各MPUc1〜cn+2にメモリ2へのアクセス権を設定する。この実施例において、調停回路5は、基準回路及び基準回路より優先順位の低いMPUにおいて、アクセス要求が競合した場合に限って、このアクセス権設定用カウンタにより優先順位の低いMPUへのアクセス権の設定をカウントする。   The arbitration circuit 5 is provided with an access right setting counter that is set to an initial value by setting the access right to the reference circuit and counts the access right setting to the MPU having a lower priority than the reference circuit. The access right to the memory 2 is set to each of the MPUc1 to cn + 2 by the access request from the MPUc1 to cn + 2 based on the count value N of the right setting counter, the priority orders P1 and P2, the reference circuit, and the band limit value L. In this embodiment, the arbitration circuit 5 determines the access right to the MPU having a lower priority by the access right setting counter only when the access request conflicts between the reference circuit and the MPU having a lower priority than the reference circuit. Count settings.

図4は、このアクセス権設定用カウンタのカウント値Nの遷移を示す状態遷移図である。調停回路5は、起動直後において、アクセス権設定用カウンタのカウント値Nを値0に設定し、この状態において、基準回路からのアクセス要求を受け付ける場合、矢印A1により示すように、アクセス権設定用カウンタのカウント値Nを値1による初期値に設定する。これに対してアクセス権設定用カウンタのカウント値Nが値0の場合にあって、基準回路からアクセス要求を受け付けない場合、矢印A2により示すように、アクセス権設定用カウンタのカウント値Nを値0に保持する。なおこのように基準回路からアクセス要求を受け付けない場合にあっては、基準回路からアクセス要求が得られない場合、基準回路と基準回路より優先順位の高いMPUとでアクセス要求が競合して優先順位の高いMPUにアクセス権を設定する場合等である。   FIG. 4 is a state transition diagram showing the transition of the count value N of the access right setting counter. Immediately after activation, the arbitration circuit 5 sets the count value N of the access right setting counter to the value 0, and in this state, when receiving an access request from the reference circuit, as shown by an arrow A1, The count value N of the counter is set to an initial value of value 1. On the other hand, when the count value N of the access right setting counter is 0 and the access request is not received from the reference circuit, the count value N of the access right setting counter is set as indicated by an arrow A2. Hold at zero. In the case where the access request is not received from the reference circuit in this way, if the access request cannot be obtained from the reference circuit, the access request competes between the reference circuit and the MPU having a higher priority than the reference circuit. This is the case where an access right is set for a high MPU.

また基準回路からのアクセス要求を受け付けてアクセス権設定用カウンタのカウント値Nを値1の初期値に設定した場合にあって、このアクセス要求に対してアクセス権を設定してアクセス要求の受け付けを完了した場合、矢印A3により示すように、アクセス権設定用カウンタのカウント値Nをそのままの値に保持する。   When an access request from the reference circuit is received and the count value N of the access right setting counter is set to an initial value of 1, an access right is set for this access request and the access request is accepted. When completed, as indicated by the arrow A3, the count value N of the access right setting counter is held as it is.

これに対してアクセス権設定用カウンタのカウント値Nを保持した状態で、基準回路よりも優先順位の低いMPUからのアクセス要求を受け付けた場合、矢印A4により示すように、アクセス権設定用カウンタのカウント値Nを値1だけインクリメントし、このアクセス要求の受け付けを完了した場合、矢印A5により示すように、アクセス権設定用カウンタのカウント値Nを保持する。   On the other hand, when an access request is received from an MPU having a lower priority than the reference circuit while the count value N of the access right setting counter is held, the access right setting counter When the count value N is incremented by 1 and acceptance of this access request is completed, the count value N of the access right setting counter is held as indicated by an arrow A5.

これに対してアクセス権設定用カウンタのカウント値Nを保持した状態で、基準回路より優先順位の高いMPUにアクセス権を設定する場合、何ら競合しないアクセス要求により基準回路にアクセス権を設定する場合、さらには何らアクセス権を設定しない場合、矢印A6に示すように、アクセス権設定用カウンタのカウント値Nをそれまでの値に保持する。   On the other hand, when the access right is set to an MPU having a higher priority than the reference circuit while the count value N of the access right setting counter is held, the access right is set to the reference circuit by an access request that does not conflict at all. If no access right is set, the count value N of the access right setting counter is held at the previous value as indicated by an arrow A6.

これに対してアクセス権設定用カウンタのカウント値Nを保持した状態で、このカウント値Nが帯域制限値Lと一致し、かつ基準回路からのアクセス要求を受け付ける場合、矢印A7に示すように、アクセス権設定用カウンタのカウント値Nを値1による初期値に設定する。   On the other hand, when the count value N of the access right setting counter is held and the count value N matches the band limit value L and an access request from the reference circuit is received, as shown by an arrow A7, The count value N of the access right setting counter is set to an initial value of value 1.

これに対してこの調停システム1全体の動作を制御するコントローラにより、帯域設定レジスタ7の内容を更新する場合、矢印A8、A9により示すように、アクセス権設定用カウンタのカウント値Nを値0に設定する。   On the other hand, when the contents of the band setting register 7 are updated by the controller that controls the overall operation of the arbitration system 1, the count value N of the access right setting counter is set to 0 as indicated by arrows A8 and A9. Set.

これらにより調停回路5は、基準回路へのアクセス権の設定によりカウント値Nを値1の初期値に設定し、基準回路より優先順位の低いMPUへのアクセス権を設定する場合、このアクセス権の設定回数を順次カウンタによりカウントするようになされている。   Thus, the arbitration circuit 5 sets the count value N to an initial value of 1 by setting the access right to the reference circuit, and sets the access right to the MPU having a lower priority than the reference circuit. The set number of times is sequentially counted by a counter.

調停回路5は、このカウント値N、優先順位P1、P2、基準回路、帯域制限値Lを基準にして、図1及び図5に示す処理手順を実行することにより、各MPUc1〜cn+2にメモリ2へのアクセス権を設定する。なおこの実施例において、この図1及び図5の処理、図4について上述したカウンタの処理に係るプログラムにおいては、事前にインストールされて提供されるようになされているものの、インターネット等のネットワークを介したダウンロードにより提供するようにしてもよく、さらには各種の記録媒体を介して提供するようにしてもよい。なおこのような記録媒体にあっては、メモリカード、光ディスク等、各種の記録媒体を広く適用することができる。   The arbitration circuit 5 executes the processing procedure shown in FIGS. 1 and 5 on the basis of the count value N, the priority orders P1 and P2, the reference circuit, and the band limit value L, thereby storing the memory 2 in each MPUc1 to cn + 2. Set access rights to. In this embodiment, the programs relating to the processing of FIGS. 1 and 5 and the processing of the counter described above with reference to FIG. 4 are installed and provided in advance, but via a network such as the Internet. It may be provided by downloading, or may be provided via various recording media. In such a recording medium, various recording media such as a memory card and an optical disk can be widely applied.

すなわち調停回路5は、電源の起動によりこの処理手順を開始すると、ステップSP1からステップSP2に移り、この調停システム1全体の動作を制御するコントローラにより、優先順位、基準回路の指定を受け、また帯域制限値Lの設定を受けて帯域設定レジスタ7の内容を更新し、続くステップSP3において、調停処理を開始する。調停回路5は、続くステップSP4において、何れかのMPUからアクセス要求が得られたか否か判断し、ここで否定結果が得られると、ステップSP4を繰り返す。これにより調停回路5は、MPUからのアクセス要求を待機し、何れかのMPUからアクセス要求が得られると、ステップSP4からステップSP5に移る。   That is, when the arbitration circuit 5 starts this processing procedure by starting up the power supply, the process proceeds from step SP1 to step SP2, and the controller that controls the operation of the entire arbitration system 1 receives the priority and the specification of the reference circuit. In response to the setting of the limit value L, the contents of the band setting register 7 are updated, and in the following step SP3, the arbitration process is started. In the subsequent step SP4, the arbitration circuit 5 determines whether or not an access request is obtained from any MPU. If a negative result is obtained here, the arbitration circuit 5 repeats step SP4. Thereby, the arbitration circuit 5 waits for an access request from the MPU, and when an access request is obtained from any of the MPUs, the process proceeds from step SP4 to step SP5.

このステップSP5において、調停回路5は、帯域設定レジスタ7の帯域制限値Lが値2以上の有効な値に設定されているか否か判断し、ここで否定結果が得られると、ステップSP6に移り、ステップSP2で設定した優先順位P1又はP2によりアクセス要求に係るMPUに基準回路より優先順位が上位のプロセッサが含まれているか否か判断する。ここで肯定結果が得られると、調停回路5は、ステップSP6からステップSP7に移り、優先順位に従ってアクセス要求のあったMPUの中で最も優先順位の高いMPUに対してアクセス権を設定した後、ステップSP8に移る。   In step SP5, the arbitration circuit 5 determines whether or not the band limit value L of the band setting register 7 is set to an effective value equal to or greater than 2, and when a negative result is obtained, the process proceeds to step SP6. Then, based on the priority order P1 or P2 set in step SP2, it is determined whether or not the MPU related to the access request includes a processor having a higher priority order than the reference circuit. If an affirmative result is obtained here, the arbitration circuit 5 moves from step SP6 to step SP7, and after setting the access right for the MPU having the highest priority among the MPUs requested to access according to the priority, Control goes to step SP8.

これに対してステップSP6で否定結果が得られると、調停回路5は、ステップSP9に移り、ここでアクセス要求に係るMPUに基準回路が含まれているか否か判断する。ここで肯定結果が得られると、調停回路5は、ステップSP9からステップSP10に移り、基準回路に対してアクセス権を設定した後、ステップSP8に移る。   On the other hand, if a negative result is obtained in step SP6, the arbitration circuit 5 moves to step SP9, where it determines whether or not the MPU related to the access request includes a reference circuit. If a positive result is obtained here, the arbitration circuit 5 moves from step SP9 to step SP10, sets the access right to the reference circuit, and then moves to step SP8.

これに対してステップSP9で否定結果が得られると、調停回路5は、ステップSP11に移り、ここでアクセス要求に係るMPUに基準回路より優先順位が下位のMPUが含まれているか否か判断する。ここで肯定結果が得られると、調停回路5は、ステップSP11からステップSP12に移り、優先順位に従ってアクセス要求のあったMPUの中で最も優先順位の高いMPUに対してアクセス権を設定した後、ステップSP8に移る。なおステップSP11で否定結果が得られた場合にあっても、調停回路5は、ステップSP8に移る。   On the other hand, if a negative result is obtained in step SP9, the arbitration circuit 5 moves to step SP11, and determines whether or not the MPU related to the access request includes an MPU having a lower priority than the reference circuit. . If an affirmative result is obtained here, the arbitration circuit 5 moves from step SP11 to step SP12, and after setting the access right to the MPU having the highest priority among the MPUs requested to access according to the priority, Control goes to step SP8. Even if a negative result is obtained in step SP11, the arbitration circuit 5 proceeds to step SP8.

これらにより調停回路5は、帯域設定レジスタ7の帯域制限値Lが有効な値に設定されていない場合、上位のコントローラにより指示された優先順位に従ってアクセス権を設定してMPUc1〜cn+2からのアクセス要求を調停するようになされている。調停回路5は、このようにしてアクセス要求を調停すると、ステップSP8において、上位のコントローラ内の優先順位P1、P2変更指示、上位のコントローラから帯域設定レジスタ7の変更が指示されたか否か判断し、ここで肯定結果が得られると、ステップSP2に移り、優先順位の変更内容の更新、帯域設定レジスタ7の内容を更新すると共に、優先順位、基準回路の変更を受け付けるのに対し、ステップSP8で否定結果が得られると、ステップSP3に移り、続く処理を実行する。   As a result, when the bandwidth limit value L of the bandwidth setting register 7 is not set to a valid value, the arbitration circuit 5 sets the access right according to the priority order instructed by the host controller and requests access from the MPUs c1 to cn + 2. Has been made to mediate. When the arbitration circuit 5 arbitrates the access request in this way, in step SP8, it determines whether or not the priority order P1 and P2 in the upper controller is instructed, and whether or not the upper controller has instructed to change the band setting register 7. If an affirmative result is obtained here, the process proceeds to step SP2, where the update of the priority order change contents and the contents of the band setting register 7 are updated, and the priority order and the change of the reference circuit are accepted. If a negative result is obtained, the process proceeds to step SP3 and the subsequent processing is executed.

これに対して帯域設定レジスタ7の帯域制限値Lが値2以上の有効な値に設定されている場合、調停回路5は、ステップSP5で肯定結果が得られることにより、ステップSP5からステップSP14に移る(図5)。ここで調停回路5は、アクセス要求に係るMPUに基準回路より優先順位が上位のプロセッサが含まれているか否か判断する。ここで肯定結果が得られると、調停回路5は、ステップSP14からステップSP15に移り、優先順位に従ってアクセス要求のあったMPUの中で最も優先順位の高いMPUに対してアクセス権を設定した後、ステップSP8に移る。これにより調停回路5は、基準回路より優先順位の高いMPUからアクセス要求があった場合には、優先順位の設定に従って、順次アクセス権を設定するようになされている。   On the other hand, when the band limit value L of the band setting register 7 is set to an effective value of 2 or more, the arbitration circuit 5 obtains an affirmative result at step SP5, so that the process proceeds from step SP5 to step SP14. Move (Figure 5). Here, the arbitration circuit 5 determines whether the MPU related to the access request includes a processor having a higher priority than the reference circuit. If a positive result is obtained here, the arbitration circuit 5 moves from step SP14 to step SP15, and after setting the access right to the MPU having the highest priority among the MPUs requested to access according to the priority, Control goes to step SP8. As a result, the arbitration circuit 5 sequentially sets access rights according to the priority setting when there is an access request from an MPU having a higher priority than the reference circuit.

これに対してステップSP14で否定結果が得られると、調停回路5は、ステップSP14からステップSP16に移る。ここで調停回路5は、アクセス要求に係るMPUが基準回路か否か判断し、ここで肯定結果が得られると、ステップSP16からステップSP17に移り、アクセス要求に係るMPUに基準回路より優先順位が下位のプロセッサが含まれているいか否か判断する。ここで肯定結果が得られると、調停回路5は、ステップSP17からステップSP18に移り、アクセス権設定用カウンタのカウント値Nが値0又は値Lか否か判断し、ここで肯定結果が得られると、ステップSP19に移り、基準回路からのアクセス要求に対してアクセス権を設定してステップSP8に移る。   On the other hand, if a negative result is obtained in step SP14, the arbitration circuit 5 proceeds from step SP14 to step SP16. Here, the arbitration circuit 5 determines whether or not the MPU related to the access request is a reference circuit. If an affirmative result is obtained, the arbitration circuit 5 proceeds from step SP16 to step SP17, and the MPU related to the access request has a higher priority than the reference circuit. Determine whether lower-level processors are included. If an affirmative result is obtained here, the arbitration circuit 5 proceeds from step SP17 to step SP18, determines whether the count value N of the access right setting counter is a value 0 or a value L, and here an affirmative result is obtained. Then, the process proceeds to step SP19, an access right is set for the access request from the reference circuit, and the process proceeds to step SP8.

これにより調停回路5は、基準回路と基準回路より優先順位の低いプロセッサとの間でアクセス要求が競合した場合、アクセス権設定用カウンタのカウント値Nが値0又は値1であることを条件に、基準回路にアクセス権を設定するようになされている。   As a result, the arbitration circuit 5 is provided on condition that the count value N of the access right setting counter is 0 or 1 when an access request conflicts between the reference circuit and a processor having a lower priority than the reference circuit. The access right is set in the reference circuit.

これに対してステップSP18で否定結果が得られると、調停回路5は、ステップSP18からステップSP20に移る。ここで調停回路5は、基準回路によるアクセス要求がキャッシュライトバックに係るリード要求のアクセス要求か否か判断し、ここで否定結果が得られると、ステップSP20からステップSP21に移り、基準回路からのアクセス要求を待機させ、残りの優先順位が基準回路よりも下位のプロセッサ内において、優先順位に従ってアクセス権を設定してステップSP8に移る。   On the other hand, if a negative result is obtained in step SP18, the arbitration circuit 5 proceeds from step SP18 to step SP20. Here, the arbitration circuit 5 determines whether or not the access request from the reference circuit is an access request for a read request related to cache write-back, and when a negative result is obtained, the process proceeds from step SP20 to step SP21, The access request is made to wait, and the access right is set in accordance with the priority order in the processor whose remaining priority order is lower than that of the reference circuit, and the process proceeds to step SP8.

これにより調停回路5は、基準回路と基準回路より優先順位の低いプロセッサとの間でアクセス要求が競合した場合であって、アクセス権設定用カウンタのカウント値Nが値0又は値1以外の場合、基準回路からのアクセス要求を待機させ、優先順位に従って下位プロセッサにアクセス権を設定するようになされている。   As a result, the arbitration circuit 5 is in the case where the access request conflicts between the reference circuit and the processor having a lower priority than the reference circuit, and the count value N of the access right setting counter is a value other than 0 or 1 The access request from the reference circuit is made to wait, and the access right is set to the lower processor according to the priority order.

しかしてステップSP18における判断基準であるアクセス権設定用カウンタのカウント値Nにおいては、図4について上述したように、このように基準回路、下位プロセッサでアクセス要求が競合した場合であって、下位プロセッサにアクセス権を設定した場合に歩進することにより、例えばこのアクセス権設定用カウンタのカウント値Nに係る帯域制限値Lを値5に、基準回路をMPUcnに設定した場合であって、調停回路5のクロックCK(図6(A))を基準にして図6に示すように、初期状態により例えば時点T1で基準回路であるMPUcnと、優先順位が下位のMPUcn+1、cn+2のアクセス要求が競合した場合(図6(B1)、(C1)及び(D1))、調停回路5は、基準回路にアクセス権を設定し(図6(B2)、(C2)、(D2)及び(E))、アクセス権設定用カウンタのカウント値Nを値0から値1に更新する(図6(F))。   Therefore, in the count value N of the access right setting counter which is the determination criterion in step SP18, as described above with reference to FIG. When the access right is set, the bandwidth limit value L related to the count value N of the access right setting counter is set to the value 5, and the reference circuit is set to MPUcn. As shown in FIG. 6 with reference to the clock CK of FIG. 5 (FIG. 6A), for example, at the time T1, the access request of the MPUcn that is the reference circuit and the lower priority MPUcn + 1 and cn + 2 competes in the initial state. In the case (FIG. 6 (B1), (C1) and (D1)), the arbitration circuit 5 sets the access right to the reference circuit (FIG. 6 (B2 , (C2), (D2) and (E)), and updates the count value N of the counter for access right setting from the value 0 to the value 1 (FIG. 6 (F)).

またこのアクセス権の設定に係る処理が完了すると、アクセス権設定用カウンタのカウント値Nが帯域制限値Lとなるまでの間、基準回路cnのアクセス要求を待機させ、上位及び下位のプロセッサに対して優先順位に従って順次アクセス権を設定し、下位のプロセッサに対するアクセス権の設定によりアクセス権設定用カウンタのカウント値Nを歩進する。これによりこの図6の例では、時点T1の処理周期に係るアクセス権の設定において、下位のMPUcn+1、cn+2のアクセス要求が待機していることにより、続く時点T2において、この下位のMPUcn+1、cn+2のアクセス要求に対して優先順位の高い側のMPUcn+1にアクセス権を設定し、アクセス権設定用カウンタのカウント値Nを値1から値2に更新する。また続く時点T3では、基準回路cnからのアクセス要求が立ち上がっているにも係わらず、これを待機させ、MPUcn+2のアクセス要求に対してアクセス権を設定し、この場合基準回路からもアクセス要求が得られていることによりアクセス権設定用カウンタのカウント値Nを値2から値3に更新する。   When the processing for setting the access right is completed, the access request of the reference circuit cn is waited until the count value N of the access right setting counter reaches the bandwidth limit value L, and the upper and lower processors are made to wait. The access right is sequentially set according to the priority order, and the count value N of the access right setting counter is incremented by setting the access right for the lower processor. Accordingly, in the example of FIG. 6, the access request for the lower order MPUcn + 1, cn + 2 is waiting in the setting of the access right related to the processing cycle at the time point T1, so that the lower order MPUcn + 1, cn + 2 An access right is set to MPUcn + 1 having a higher priority with respect to the access request, and the count value N of the access right setting counter is updated from the value 1 to the value 2. At the subsequent time T3, the access request from the reference circuit cn rises despite the fact that the access request from the reference circuit cn has risen, and the access right is set for the access request of MPUcn + 2, in which case the access request is also obtained from the reference circuit. As a result, the count value N of the access right setting counter is updated from the value 2 to the value 3.

また続く時点T4では、さらに基準回路cnのアクセス要求を待機させて、MPUcn+1のアクセス要求に対してアクセス権を設定し、この場合もアクセス要求が競合していることによりアクセス権設定用カウンタのカウント値Nを値3から値4に更新する。また続く時点T5では、さらに基準回路cnのアクセス要求を待機させて、MPUcn+2のアクセス要求に対してアクセス権を設定し、アクセス権設定用カウンタのカウント値Nを値4から値5に更新し、ここでカウント値Nが帯域制限値Lと一致することにより、続く時点T6でそれまで待機させた基準回路cnのアクセス要求に対して、アクセス権を設定する。   Further, at the subsequent time T4, the access request of the reference circuit cn is further waited, and the access right is set for the access request of MPUcn + 1. In this case as well, the access right setting counter counts due to the conflicting access requests. The value N is updated from the value 3 to the value 4. Further, at the subsequent time T5, the access request of the reference circuit cn is further waited, the access right is set for the access request of MPUcn + 2, the count value N of the access right setting counter is updated from the value 4 to the value 5, Here, when the count value N coincides with the bandwidth limit value L, the access right is set for the access request of the reference circuit cn that has been waiting until then at time T6.

これにより基準回路cnにおいては、上位のプロセッサのアクセス要求に対してアクセス権を設定して残るアクセス権の帯域について、帯域制限値Lによる複数の処理周期で、最低、1回は、メモリ2をアクセスすることができるようになされている。これによりこの調停システム1では、優先順位に従ってアクセス権を設定するようにして、基準回路については、この帯域制限値Lの分、メモリ2へのアクセス権を最低限、確保することができるようになされ、これによりメモリへのアクセス権を複数の処理回路に適切かつ効率良く設定することができるようになされている。また基準回路よりも優先順位の低いMPUにあっても、同様に基準回路にアクセス権を設定して残る帯域を確保し得、これにより、メモリへのアクセス権を適切かつ効率良く設定することができるようになされている。   As a result, the reference circuit cn sets the access right in response to the access request of the host processor, and the remaining access right bandwidth is stored in the memory 2 at least once in a plurality of processing cycles according to the bandwidth limit value L. It has been made accessible. As a result, in the arbitration system 1, the access right is set according to the priority order so that the access right to the memory 2 can be secured at least for the reference circuit by the bandwidth limit value L. Thus, the access right to the memory can be set appropriately and efficiently in a plurality of processing circuits. Further, even in the MPU having a lower priority than the reference circuit, it is possible to secure the remaining bandwidth by setting the access right to the reference circuit in the same manner, and thereby the access right to the memory can be set appropriately and efficiently. It has been made possible.

これに対してステップSP17で否定結果が得られると、調停回路5は、ステップSP17からステップSP22に移り、この場合、基準回路以外のプロセッサからはアクセス要求が得られていないことにより、基準回路にアクセス権を設定し、ステップSP8に移る。またステップSP16で否定結果が得られると、この場合、ステップSP16からステップSP23に移り、優先順位に従ってアクセス権を設定し、ステップSP8に戻る。これによりこの調停システム1では、メモリ2へのアクセスに係る帯域に余裕がある場合には、帯域制限値Lによる帯域制限を越えて、基準回路にアクセス権を設定するようになされ、また下位のプロセッサにアクセス権を設定するようになされ、その分、メモリ2へのアクセスを効率良く実行するようになされている。   On the other hand, if a negative result is obtained in step SP17, the arbitration circuit 5 moves from step SP17 to step SP22. In this case, the access request is not obtained from a processor other than the reference circuit, so that the reference circuit The access right is set, and the process proceeds to step SP8. If a negative result is obtained in step SP16, in this case, the process moves from step SP16 to step SP23, the access right is set according to the priority order, and the process returns to step SP8. As a result, in the arbitration system 1, when there is a margin in the bandwidth related to the access to the memory 2, the access right is set in the reference circuit beyond the bandwidth limit by the bandwidth limit value L. An access right is set to the processor, and the access to the memory 2 is efficiently executed accordingly.

すなわちこの図6との対比により、アクセス権設定用カウンタのカウント値Nに係る帯域制限値Lを値3に、基準回路をMPUcnに設定した場合を図7に示すように、初期状態により例えば時点T1で基準回路であるMPUcnと、優先順位が下位のMPUcn+1のアクセス要求が競合した場合(図7(A)、(B1)、(C1)及び(D1))、調停回路5は、基準回路にアクセス権を設定し(図7(B2)、(C2)、(D2)及び(E))、アクセス権設定用カウンタのカウント値Nを値0から値1に設定する(図7(F))。またこの続く時点T2において、アクセス要求を待機した下位のMPUcn+1のアクセス要求に対してアクセス権を設定し、この場合基準回路との間でアクセス要求が競合していることにより、アクセス権設定用カウンタのカウント値Nを値1から値2に更新する。これによりこの場合も、調停回路5は、アクセス権設定用カウンタのカウント値Nを順次更新しながら、優先順位に従って順次アクセス権を設定する。   That is, in contrast to FIG. 6, when the bandwidth limit value L related to the count value N of the access right setting counter is set to 3 and the reference circuit is set to MPUcn, as shown in FIG. When the access request of MPUcn, which is the reference circuit, and MPUcn + 1, which has a lower priority, competes at T1 (FIGS. 7A, 7B, 1C1 and 1D1), the arbitration circuit 5 becomes the reference circuit. The access right is set (FIG. 7 (B2), (C2), (D2) and (E)), and the count value N of the access right setting counter is set from 0 to 1 (FIG. 7 (F)). . At the subsequent time T2, the access right is set for the access request of the lower order MPUcn + 1 waiting for the access request. In this case, the access request conflicts with the reference circuit. The count value N is updated from the value 1 to the value 2. Accordingly, also in this case, the arbitration circuit 5 sequentially sets the access right according to the priority order while sequentially updating the count value N of the access right setting counter.

このようにして続く時点T3において、基準回路のみからアクセス要求が得られている場合、調停回路5は、この基準回路cnからのアクセス要求に対してアクセス権を設定する。またこの場合、図4について上述した符号A6に示す遷移により、アクセス権設定用カウンタのカウント値Nを値2に保持する。これにより調停回路5は、無駄なアイドル期間を防止して基準回路cnに余分にアクセス権を設定する。   When an access request is obtained only from the reference circuit at time T3 that continues in this manner, the arbitration circuit 5 sets an access right for the access request from the reference circuit cn. In this case, the count value N of the access right setting counter is held at the value 2 by the transition indicated by the symbol A6 described above with reference to FIG. As a result, the arbitration circuit 5 prevents unnecessary idle periods and sets an extra access right to the reference circuit cn.

また続く時点T4において、下位のプロセッサcn+1、cn+2のアクセス要求が競合している場合、優先順位の高い側のプロセッサcn+1にアクセス権を設定し、アクセス権設定用カウンタのカウント値Nを値2から値3に更新する。また続く時点T5において、続く優先順位のプロセッサcn+2からのみアクセス要求が得られることにより、このプロセッサcn+2のアクセス要求に対してアクセス権を設定し、この場合も、図4について上述した符号A6に示す遷移により、アクセス権設定用カウンタのカウント値Nを値3に保持する。これにより調停回路5は、この場合も、無駄なアイドル期間を防止して基準回路cn以外のプロセッサにアクセス権を設定する。   At the subsequent time point T4, when access requests of the lower processors cn + 1 and cn + 2 are competing, the access right is set to the processor cn + 1 having the higher priority, and the count value N of the access right setting counter is set from the value 2. Update to value 3. Further, at the subsequent time T5, an access request is obtained only from the processor cn + 2 of the subsequent priority level, so that an access right is set for the access request of the processor cn + 2, and this case is also indicated by the symbol A6 described above with reference to FIG. By the transition, the count value N of the access right setting counter is held at the value 3. As a result, the arbitration circuit 5 also prevents useless idle periods and sets the access right for processors other than the reference circuit cn.

しかして調停回路5は、この時点T4に係る処理周期において、アクセス権設定用カウンタのカウント値Nが帯域制限値Lと一致することにより、続く時点T6において、基準回路からのアクセス要求が得られると、この基準回路のアクセス要求にアクセス権を設定し、アクセス権設定用カウンタのカウント値Nを値1の初期値に設定する。   Therefore, the arbitration circuit 5 obtains an access request from the reference circuit at the subsequent time T6 when the count value N of the access right setting counter coincides with the bandwidth limit value L in the processing cycle related to the time T4. Then, the access right is set to the access request of the reference circuit, and the count value N of the access right setting counter is set to an initial value of 1.

これに対してステップSP20で肯定結果が得られると、この場合、調停回路5は、ステップSP20からステップSP19に移り、基準回路にアクセス権を設定する。   On the other hand, if a positive result is obtained in step SP20, in this case, the arbitration circuit 5 moves from step SP20 to step SP19 and sets the access right in the reference circuit.

これにより図6との対比により帯域制限値Lを値3に、基準回路をMPUcnに設定した場合により図9に示すように、調停回路5は、初期状態により例えば時点T1で基準回路であるMPUcnと、優先順位が下位のMPUcn+1、cn+2のアクセス要求が競合した場合(図8(A)、(B1)、(C1)及び(D1))、基準回路にアクセス権を設定し(図8(B2)、(C2)、(D2)及び(E))、アクセス権設定用カウンタのカウント値Nを値0から値1に設定する(図8(F))。またこの続く時点T2において、ライトバックのメモリアクセス要求を受け付けた後のリード要求が基準回路より得られると、アクセス権設定用カウンタのカウント値Nを値1に保持したまま、基準回路にアクセス権を設定する。   As a result, when the band limit value L is set to 3 and the reference circuit is set to MPUcn by comparison with FIG. 6, the arbitration circuit 5 has the MPUcn which is the reference circuit at the time T1, for example, as shown in FIG. When the access requests of the lower priority MPUcn + 1 and cn + 2 compete (FIG. 8 (A), (B1), (C1) and (D1)), the access right is set in the reference circuit (FIG. 8 (B2 ), (C2), (D2) and (E)), and the count value N of the access right setting counter is set from the value 0 to the value 1 (FIG. 8F). At a subsequent time T2, when a read request after receiving a write-back memory access request is obtained from the reference circuit, the access right is transferred to the reference circuit while the count value N of the access right setting counter is held at 1. Set.

これにより調停回路5は、この基準回路がライトバック方式のキャッシュシステムの場合にあって、キャッシュシステムのリード時に、キャッシュミスヒットを起こした場合、キャッシュ内のデータをメモリへライトバックするようにして、その後、メモリからリードを行う場合、このリードに係るアクセス要求に対して優先的にアクセス権を設定するようになされ、これにより基準回路におけるキャッシュシステムの効率を向上するようになされている。   As a result, the arbitration circuit 5 writes back the data in the cache to the memory if the reference circuit is a write-back type cache system and a cache miss occurs when the cache system is read. Thereafter, when reading from the memory, an access right is set preferentially for an access request related to the read, thereby improving the efficiency of the cache system in the reference circuit.

しかしてこの図8の例では、続く時点T3、T4において、それぞれアクセス要求を待機させているMPUcn+1、cn+2に順次アクセス権を設定し、またカウンタのカウント値Nを順次歩進するようになされている。   In the example of FIG. 8, at the subsequent time points T3 and T4, the access rights are sequentially set to the MPUcn + 1 and cn + 2 waiting for the access requests, respectively, and the count value N of the counter is sequentially incremented. Yes.

なおこの図8との対比により、帯域制限値Lを値2に設定し、基準回路をMPUcnに、基準回路より優先順位の上位及び下位のプロセッサをそれぞれMPUcn−1、MPUcn+1に設定した場合を図9に示すように、調停回路5は、このようなライトバックに係るリード要求の優先的な処理において、優先順位が上位のプロセッサからのアクセス要求が存在する場合、この優先順位が上位のプロセッサに対するアクセス権の設定を優先する。   In comparison with FIG. 8, the band limit value L is set to 2, the reference circuit is set to MPUcn, and the higher and lower priority processors than the reference circuit are set to MPUcn-1 and MPUcn + 1. As shown in FIG. 9, in the preferential processing of the read request related to such write back, the arbitration circuit 5 has an access request from a higher priority processor for the higher priority processor. Priority is given to the setting of access rights.

すなわちこの場合、調停回路5は、初期状態により例えば時点T1で基準回路であるMPUcnと、優先順位が下位のMPUcn+1のアクセス要求が競合した場合(図9(A)、(B1)、(C1)及び(D1))、基準回路にアクセス権を設定し(図9(B2)、(C2)、(D2)及び(E))、アクセス権設定用カウンタのカウント値Nを値0から値1に設定する(図9(F))。また続く時点T2において、ライトバックのメモリアクセス要求が発生し、ここで基準回路より優先順位の高いMPUcn−1からもアクセス要求があった場合、優先順位の高いMPUcn−1にアクセス権を設定し、基準回路からのリード要求に係るアクセス要求を待機させる。また続く時点T3において、基準回路と、優先順位が下位のMPUcn+1のアクセス要求が競合した場合、基準回路のリード要求に係るアクセス要求を優先して設定する。   In other words, in this case, the arbitration circuit 5 causes the MPUcn that is the reference circuit and the access request of the MPUcn + 1 having the lower priority to compete at the time T1, for example, at the time T1 (FIGS. 9A, 9B, and 1C1). And (D1)), the access right is set in the reference circuit (FIG. 9 (B2), (C2), (D2) and (E)), and the count value N of the access right setting counter is changed from the value 0 to the value 1. The setting is made (FIG. 9F). Further, at a subsequent time T2, when a write-back memory access request is generated and there is an access request from an MPUcn-1 having a higher priority than the reference circuit, an access right is set to the MPUcn-1 having a higher priority. The access request related to the read request from the reference circuit is made to wait. At the subsequent time T3, when the access request of the MPUcn + 1 with the lower priority is competing with the reference circuit, the access request related to the read request of the reference circuit is set with priority.

なおこの図9の例では、続く時点T4において、優先順位の高いMPUcn−1から再びアクセス要求が得られることにより、調停回路5は、このMPUcn−1にアクセス権を設定し、続く時点T5で最も優先順位の低いMPUcn+1にアクセス権を設定し、このとき、始めてカウンタのカウント値Nを値1から値2に更新するようになされている。   In the example of FIG. 9, when an access request is obtained again from MPUcn-1 having a higher priority at the subsequent time point T4, the arbitration circuit 5 sets an access right to this MPUcn-1, and at the subsequent time point T5. The access right is set to MPUcn + 1 having the lowest priority, and at this time, the count value N of the counter is updated from the value 1 to the value 2 for the first time.

しかしてこのようにして各アクセス要求に対してアクセス権を設定するようにして、調停回路5は、ステップSP8において、上位のコントローラ内の優先順位P1、P2変更指示、上位のコントローラから帯域設定レジスタ7の変更が指示されたか否か判断し、この判断結果によりステップSP2、ステップSP3の処理を実行することにより、この一連の処理に係る優先順位の設定、基準回路の設定、帯域制限値Lを、上位のコントローラからの指示により全体の処理の状況に応じて適宜変更するようになされ、これによってもメモリへのアクセス権を複数の処理回路に適切かつ効率良く設定することができるようになされている。   Thus, the access right is set for each access request in this way, and in step SP8, the arbitration circuit 5 instructs to change the priority order P1, P2 in the upper controller, and the bandwidth setting register from the upper controller. 7 is determined, and by executing the processing of step SP2 and step SP3 based on the determination result, the priority order setting, the reference circuit setting, and the bandwidth limit value L for this series of processing are obtained. In accordance with the instruction from the host controller, it is changed as appropriate according to the overall processing status, and this also allows the right to access the memory to be set appropriately and efficiently in a plurality of processing circuits. Yes.

(2)実施例の動作
以上の構成において、この調停システム1では、MPUc1〜cn+2からのアクセス要求に対して調停回路5でアクセス要求を送出したMPUc1〜cn+2に選択的にアクセス権が設定され、このアクセス権が設定されてなるMPUc1〜cn+2によりバスBUSにアドレスが送出されてメモリ2がアクセスされる。
(2) Operation of the embodiment In the above configuration, in the arbitration system 1, the access right is selectively set to the MPUc1 to cn + 2 that has transmitted the access request by the arbitration circuit 5 in response to the access request from the MPUc1 to cn + 2. The addresses are sent to the bus BUS by the MPUs c1 to cn + 2 to which the access right is set, and the memory 2 is accessed.

調停システム1では、このような調停の処理を開始する際に、上位のコントローラにより、アクセス権設定処理の優先順位P1、P2、MPUc1〜cn+2の1つの特定する基準回路が登録され、またこの基準回路と基準回路より優先順位の低いMPUとの間でアクセス要求が競合した場合において、基準回路へのアクセス権の設定回数に対して、基準回路より優先順位の低いMPUへのアクセス権の設定回数を指示する帯域制限値Lが設定される。   In the arbitration system 1, when such arbitration processing is started, a reference circuit for identifying one of the priority orders P1, P2, and MPUc1 to cn + 2 of the access right setting processing is registered by the host controller. When access requests compete between the circuit and the MPU having a lower priority than the reference circuit, the number of access rights set to the MPU having a lower priority than the reference circuit is set with respect to the number of access rights set to the reference circuit. Is set.

調停システム1では、アクセス要求が競合しない場合には、アクセス要求に係るMPUに対してアクセス権が設定されるのに対し、アクセス要求が競合した場合には、優先順位に従ってアクセス権が設定される。これにより例えばアクセス要求を発行してアクセス権が割り当てられるまでの待機時間を短くすることが求められるようなリアルタイムの処理に係るMPUについては、優先順位を高く設定し、これとは逆に例えばバックグランドの処理のようなリアルタイム性が必要とされないような処理に係るMPUについては、優先順位を低く設定し、各MPUに適切にアクセス権を設定することができる。   In the arbitration system 1, when the access request does not conflict, the access right is set for the MPU related to the access request, whereas when the access request conflicts, the access right is set according to the priority order. . As a result, for example, MPUs related to real-time processing that are required to shorten the waiting time until an access right is issued after issuing an access request, set a high priority, and conversely, for example, back For MPUs related to processing that does not require real-time processing such as ground processing, priority can be set low, and access rights can be set appropriately for each MPU.

しかしながらこのようにすると、優先順位の低いMPUにあっては、全くアクセス権を取得できない場合も発生する。これによりこの実施例では、基準回路と基準回路より優先順位が低いMPUとの間でアクセス権が競合する場合には、基準回路にアクセス権を設定してアクセス権設定用カウンタのカウント値を値1による初期値に設定し、基準回路より優先順位の低い処理回路へのアクセス権の設定をカウントするようにして、基準回路、基準回路より優先順位が低いMPUでアクセス権が競合した場合にあってカウント値Nが値1の場合、基準回路へのアクセス権の設定を中止して、基準回路より優先順位の低いMPUに優先順位に従ってアクセス権を設定し、カウンタのカウント値Nが帯域制限値Lと一致して、基準回路と基準回路より優先順位が低いMPUとの間でアクセス権が競合する場合に、基準回路にアクセス権が設定される。   However, if this is done, an MPU with a low priority may not be able to acquire an access right at all. Thereby, in this embodiment, when the access right competes between the reference circuit and the MPU having a lower priority than the reference circuit, the access right is set in the reference circuit and the count value of the access right setting counter is set to the value. When the access right competes with the MPU having a lower priority than the reference circuit and the reference circuit, the setting of the access right to the processing circuit having a lower priority than the reference circuit is counted. When the count value N is 1, the setting of the access right to the reference circuit is stopped, the access right is set to the MPU having a lower priority than the reference circuit according to the priority, and the count value N of the counter is the bandwidth limit value. When the access right conflicts between the reference circuit and the MPU having a lower priority than the reference circuit, the access right is set in the reference circuit.

これにより基準回路より優先順位の高いMPUにアクセス権を設定して余るメモリ2へのアクセスに係る帯域を、この帯域制限値Lによる割合だけ、基準回路と基準回路より優先順位の低いMPUとに割り振ることができ、優先順位の低いMPUにあっても、アクセス権を確保することができる。これにより適切にアクセス権を設定することができる。   As a result, an access right is set to an MPU having a higher priority than the reference circuit, and the remaining bandwidth related to access to the memory 2 is changed to a MPU having a lower priority than the reference circuit and the reference circuit by the ratio of the bandwidth limit value L. The access right can be secured even in the MPU having a low priority. As a result, the access right can be set appropriately.

また何らアクセス要求が競合しない場合には、アクセス要求に係るMPUにアクセス権を設定することにより、無駄なアイドリング時間の発生を有効に回避することができ、これにより効率良くアクセス権を設定することができる。   In addition, when there is no contention between access requests, it is possible to effectively avoid the generation of useless idling time by setting the access right to the MPU related to the access request, thereby efficiently setting the access right. Can do.

しかしてこのようにカウンタのカウント値Nにより、基準回路へのアクセス権の設定を中止して優先順位の低いMPUにアクセス権を設定するようにして、この優先順位の低いMPUに対するアクセス権の設定を、優先順位に従って設定することにより、優先順位の高いMPUにアクセス権を設定して余るメモリ2へのアクセスに係る帯域を、帯域制限値Lによる割合だけ、基準回路と基準回路より優先順位の低いMPUとに割り振るようにして、基準回路より優先順位の低いMPU間においても、優先順位の設定により適切にアクセス権を配分することができ、これによっても一段と適切にアクセス権を設定することができる。   Thus, by setting the access right to the reference circuit according to the count value N of the counter as described above, the access right is set to the MPU having the lower priority, and the access right is set for the MPU having the lower priority. Are set in accordance with the priority order, the access right is set to the MPU having a high priority order, and the bandwidth related to the access to the remaining memory 2 is set to the priority order of the reference circuit and the reference circuit by the ratio of the bandwidth limit value L. By assigning to lower MPUs, it is possible to appropriately allocate access rights among MPUs having lower priority than the reference circuit by setting priorities, and this also makes it possible to set access rights more appropriately. it can.

また基準回路より優先順位が高い側においても、優先順位に従ってアクセス権を設定することにより、この優先順位が高い側に関しても、優先順位の設定により適切にアクセス権を配分することができ、これによっても一段と適切にアクセス権を設定することができる。   Also, even on the higher priority side than the reference circuit, by setting the access right according to the priority order, it is possible to appropriately distribute the access right on the higher priority side by setting the priority order. It is possible to set the access right more appropriately.

またこのようにしてカウンタによるカウント値を基準Nにしてアクセス権を設定するようにして、このカウンタにおいては、基準回路、基準回路より優先順位の低いMPUにおいて、アクセス要求が競合した場合に限って、基準回路より優先順位の低い処理回路へのアクセス権の設定をカウントするようになされ、また、基準回路又は基準回路より優先順位の低いMPUからのアクセス要求が競合しない場合、このアクセス要求に係る基準回路又はMPUにアクセス権を設定するようになされ、これにより何らアクセス権が競合しない場合にはアクセス要求に係るMPUにアクセス権を設定して効率良くアクセス権を設定するようにして、基準回路と基準回路より優先順位の低いMPUとの間でアクセス要求が競合した場合に限って帯域制限値Lによりアクセス権を配分することができる。これによりメモリ2へのアクセスに余裕が無い場合に限って、帯域制限値Lによりアクセス権を割り振ることができ、これによっても適切にアクセス権を設定することができる。   In this way, the access right is set based on the count value of the counter as a reference N, and in this counter, only when access requests compete in the reference circuit and the MPU having a lower priority than the reference circuit. The access right setting to the processing circuit having a lower priority than the reference circuit is counted, and if the access request from the reference circuit or the MPU having the lower priority than the reference circuit does not compete, the access request The access right is set in the reference circuit or the MPU, and when the access right does not conflict at all, the access right is set in the MPU related to the access request and the access right is set efficiently. Bandwidth limitation only when access requests compete with the MPU having a lower priority than the reference circuit L makes it possible to distribute the access rights. As a result, the access right can be allocated by the bandwidth limit value L only when there is no allowance for access to the memory 2, and the access right can be set appropriately accordingly.

また基準回路がライトバック方式のキャッシュシステムの場合にあって、キャッシュシステムのリード時、キャッシュミスヒットによりキャッシュ内のデータをメモリ2へライトバックするようにして、このライトバック直後のリードに係るアクセス要求については、カウンタの値Nを無視して、基準回路に優先的にアクセス権を設定するようになされ、これにより基準回路におけるキャッシュシステムの効率を向上するようになされている。   In the case where the reference circuit is a write-back cache system, when the cache system is read, data in the cache is written back to the memory 2 due to a cache miss, and access related to the read immediately after this write-back is performed. With respect to the request, the access value is preferentially set in the reference circuit while ignoring the counter value N, thereby improving the efficiency of the cache system in the reference circuit.

またこのようなリードに係るアクセス要求についても、基準回路より優先順位の高いMPUのアクセス要求と競合した場合、この優先順位の高いMPUにアクセス権を設定することにより、優先順位の高いMPUにおける処理を優先させて適切にアクセス権を設定することができる。   Also, when an access request related to such a read conflicts with an access request of an MPU having a higher priority than the reference circuit, an access right is set for the MPU having a higher priority, thereby processing the MPU having a higher priority. Priority can be set and access right can be set appropriately.

この調停システム1では、このように優先順位の設定、基準回路の設定、帯域制限値L、カウント値Nにより順次アクセス権を設定するようにして、上位のコントローラからの指示により、これらの値が更新され、これにより全体の処理の状況に応じてアクセス権の設定を適宜変更することができるようになされ、これによってもメモリへのアクセス権を複数の処理回路に適切かつ効率良く設定することができるようになされている。   In the arbitration system 1, the access right is sequentially set by setting the priority order, setting the reference circuit, the bandwidth limit value L, and the count value N as described above, and these values are set according to an instruction from the host controller. The access right setting can be appropriately changed according to the status of the entire process, and accordingly, the access right to the memory can be set appropriately and efficiently in a plurality of processing circuits. It has been made possible.

(3)実施例の効果
以上の構成によれば、優先順位に従ってアクセス権を設定することを前提にして、基準回路からのアクセス要求と、基準回路より優先順位の低い処理回路からのアクセス要求とが競合した場合に、基準回路へのアクセス権の設定回数に対する優先順位の低い処理回路へのアクセス権の設定回数が、事前の帯域制限値に応じた値となるようにアクセス権を設定することにより、メモリ等へのアクセス権を複数の処理回路に適切かつ効率良く設定することができる。
(3) Effects of the embodiment According to the above configuration, on the premise that the access right is set according to the priority order, the access request from the reference circuit and the access request from the processing circuit having a lower priority order than the reference circuit If there is a conflict, the access right should be set so that the number of times the access right is set to the processing circuit with a lower priority with respect to the number of times the access right is set to the reference circuit becomes a value corresponding to the bandwidth limit value in advance. Thus, the access right to the memory or the like can be set appropriately and efficiently in a plurality of processing circuits.

また基準回路より優先順位の低い処理回路へのアクセス権の設定を、優先順位に従って設定することにより、このように基準回路へのアクセス権の設定回数と優先順位の低い処理回路へのアクセス権の設定回数が事前の帯域制限値に応じた値となるようにアクセス権を設定するようにして、優先順位の低い側にあっても、優先順位に従って適切にアクセス権を設定することができる。   In addition, by setting the access right to the processing circuit having a lower priority than the reference circuit in accordance with the priority order, the number of times of setting the access right to the reference circuit and the access right to the processing circuit having the lower priority are set in this way. By setting the access right so that the number of times of setting is a value corresponding to the bandwidth limit value in advance, it is possible to appropriately set the access right according to the priority even on the lower priority side.

また基準回路より優先順位の高い処理回路からのアクセス要求が存在する場合には、優先順位に従って基準回路より優先順位の高い処理回路にアクセス権を設定することにより、優先順位の高い側にあっても、優先順位に従って適切にアクセス権を設定することができる。   Also, when there is an access request from a processing circuit having a higher priority than the reference circuit, the access right is set to the processing circuit having a higher priority than the reference circuit according to the priority, so that the higher priority is given. Also, the access right can be set appropriately according to the priority order.

またこのようなアクセス権の設定基準であるカウンタによるアクセス権設定のカウントが、基準回路、基準回路より優先順位の低い処理回路において、アクセス要求が競合した場合の、基準回路より優先順位の低い処理回路へのアクセス権の設定回数であり、基準回路又は基準回路より優先順位の低い処理回路からのアクセス要求が競合しない場合、アクセス要求に係る基準回路又は処理回路にアクセス権を設定することにより、メモリ2へのアクセスに余裕が無い場合に限って、帯域制限値によりアクセス権を割り振ることができ、これによっても適切にアクセス権を設定することができる。   In addition, when the access request setting count by the counter which is a reference for setting the access right has a lower priority than the reference circuit and the processing circuit having a lower priority than the reference circuit, a process having a lower priority than the reference circuit It is the number of times the access right is set to the circuit, and when the access request from the processing circuit having a lower priority than the reference circuit or the reference circuit does not compete, by setting the access right to the reference circuit or the processing circuit related to the access request, Only when there is no allowance for access to the memory 2, the access right can be assigned by the bandwidth limit value, and the access right can be set appropriately accordingly.

また基準回路が、ライトバック方式のキャッシュシステムの場合にあって、メモリへのライトバックに係るアクセス要求に対してアクセス権を設定し、続くメモリからのリード要求に係るアクセス要求については、優先的に基準回路にアクセス権を設定することにより、基準回路におけるキャッシュシステムの効率を向上することができる。   Also, when the reference circuit is a write-back cache system, an access right is set for an access request related to a write-back to the memory, and an access request related to a subsequent read request from the memory is prioritized. By setting the access right to the reference circuit, the efficiency of the cache system in the reference circuit can be improved.

またこのようなリードに係るアクセス要求についても、基準回路より優先順位の高いMPUのアクセス要求と競合した場合、この優先順位の高いMPUにアクセス権を設定することにより、優先順位の高いMPUにおける処理を優先させて適切にアクセス権を設定することができる。   Also, when an access request related to such a read conflicts with an access request of an MPU having a higher priority than the reference circuit, an access right is set for the MPU having a higher priority, thereby processing the MPU having a higher priority. Priority can be set and access right can be set appropriately.

またこのような処理に係る優先順位の設定、基準回路の設定、帯域制限値を更新することにより、全体の処理の状況に応じてアクセス権の設定を適宜変更することができ、これによってものアクセス権を複数の処理回路に適切かつ効率良く設定することができる。   Also, by updating the priority setting, reference circuit setting, and bandwidth limit value related to such processing, the access right setting can be changed as appropriate according to the overall processing status, thereby making access The right can be set appropriately and efficiently in a plurality of processing circuits.

図10は、本発明の実施例2に係る電子スチルカメラを示すブロック図である。この電子スチルカメラ11においては、実施例1に係るメモリへのアクセス要求の調停を、バスBUSへのアクセス要求の調停に適用する。   FIG. 10 is a block diagram illustrating an electronic still camera according to Embodiment 2 of the present invention. In the electronic still camera 11, the arbitration of the access request to the memory according to the first embodiment is applied to the arbitration of the access request to the bus BUS.

すなわち電子スチルカメラ11において、撮像素子12は、CCD(Charge Coupled Device )、CMOS(Complementary Metal-Oxide Semiconductor )等による固体撮像素子であり、前処理回路13に設けられたVドライバー14から出力される各種のタイミング信号により動作して撮像結果を出力する。   That is, in the electronic still camera 11, the image sensor 12 is a solid-state image sensor such as a CCD (Charge Coupled Device), a CMOS (Complementary Metal-Oxide Semiconductor), and the like, and is output from a V driver 14 provided in the preprocessing circuit 13. It operates according to various timing signals and outputs imaging results.

前処理回路13は、この撮像素子12の出力信号を処理して撮像結果による画像データを出力する。すなわち前処理回路13において、タイミングジェネレータ(TG)15は、この電子スチルカメラ11の動作に必要な各種タイミング信号を生成して出力し、Vドライバー14は、このタイミングジェネレータ15で生成される各種のタイミング信号により撮像素子12の駆動に供するタイミング信号を生成して出力する。信号処理回路16は、撮像素子12の出力信号を相関二重サンプリング(CDS:Correlated Double Sampling)した後、AGC(Automatic Gain Control)により利得を補正する。またさらにADC(Analog to Digital Converter )回路によりディジタル信号に変換し、これにより画像データを出力する。   The preprocessing circuit 13 processes the output signal of the imaging element 12 and outputs image data based on the imaging result. That is, in the preprocessing circuit 13, the timing generator (TG) 15 generates and outputs various timing signals necessary for the operation of the electronic still camera 11, and the V driver 14 generates various timing signals generated by the timing generator 15. A timing signal used to drive the image sensor 12 is generated and output from the timing signal. The signal processing circuit 16 corrects the gain by AGC (Automatic Gain Control) after performing correlated double sampling (CDS) on the output signal of the image sensor 12. Further, it is converted into a digital signal by an ADC (Analog to Digital Converter) circuit, thereby outputting image data.

この電子スチルカメラ11では、これにより前処理回路13を介して撮像結果による画像データを取得し、ユーザーによる操作に応動して中央処理ユニット(CPU:Central
Processing Unit )18によりDSP(Digital Signal Processor)19等の動作を制御することにより、前処理回路13により得られる撮像結果をモニタ20により確認して記録メディア21に記録し、またこのようにして記録メディア21に記録した撮像結果をモニタ20により確認できるようになされている。
In this electronic still camera 11, image data obtained as a result of imaging is acquired via the preprocessing circuit 13, and a central processing unit (CPU: Central) is activated in response to an operation by the user.
By controlling the operation of a DSP (Digital Signal Processor) 19 or the like by the Processing Unit) 18, the imaging result obtained by the pre-processing circuit 13 is confirmed by the monitor 20, recorded on the recording medium 21, and recorded in this way. The imaging result recorded on the medium 21 can be confirmed on the monitor 20.

このため中央処理ユニット18は、ユーザーインターフェースである操作子23の操作に応動して、ワークメモリであるランダムアクセスメモリ(RAM:Random Access Memory)24を用いてEEPROM((Electrically Erasable Programmable Read-Only Memory )25に記録されたプログラムを実行することにより、各部の動作を制御する。この制御において中央処理ユニット18は、DSP19との間のデータ通信によりDSP19の動作を制御し、このDSP19の外部メモリであるメモリ27に撮像結果に係る画像データを一時保持して処理する。   For this reason, the central processing unit 18 responds to the operation of the operator 23 which is a user interface, and uses an EEPROM (Electrically Erasable Programmable Read-Only Memory) using a random access memory (RAM) 24 which is a work memory. ) Control the operation of each unit by executing the program recorded in 25. In this control, the central processing unit 18 controls the operation of the DSP 19 by data communication with the DSP 19, and the external memory of the DSP 19 A memory 27 temporarily stores image data related to the imaging result and processes the image data.

すなわちモニタ20は、液晶表示装置(LCD:Liquid Crystal Display)等により形成され、DSP19から出力される画像データによる画像を表示する。記録メディア21は、この電子スチルカメラ11に着脱可能に保持された記録手段であり、例えば半導体メモリを用いたいわゆるメモリカード、DVD(Digital Versatile Disk)、CD(Compact Disc)等の光ディスク、ハードディスク装置等が適用される。メモリ27は、例えばSDRAM(Synchronous Dynamic Random Access Memory)により構成され、DSP19の処理に係る画像データを一時記録して保持する。   That is, the monitor 20 is formed by a liquid crystal display (LCD) or the like, and displays an image based on image data output from the DSP 19. The recording medium 21 is recording means that is detachably held in the electronic still camera 11. For example, a so-called memory card using a semiconductor memory, an optical disk such as a DVD (Digital Versatile Disk), a CD (Compact Disc), or a hard disk device. Etc. apply. The memory 27 is composed of, for example, an SDRAM (Synchronous Dynamic Random Access Memory), and temporarily records and holds image data related to the processing of the DSP 19.

これに対してDSP19は、中央処理ユニット18の制御により所定の処理プログラムを実行することにより、前処理回路13から出力される画像データを処理してモニタ20に表示し、また記録メディア21に記録する。またこれとは逆に、記録メディア21に記録された画像データをモニタ20により表示する。なおこの実施例において、このDSP19の処理プログラムにおいては、事前にインストールされて提供されるようになされているものの、インターネット等のネットワークを介したダウンロードにより提供するようにしてもよく、さらには各種の記録媒体を介して提供するようにしてもよい。なおこのような記録媒体にあっては、メモリカード、光ディスク等、各種の記録媒体を広く適用することができる。   On the other hand, the DSP 19 executes a predetermined processing program under the control of the central processing unit 18 to process the image data output from the preprocessing circuit 13 and display it on the monitor 20 and record it on the recording medium 21. To do. On the contrary, the image data recorded on the recording medium 21 is displayed on the monitor 20. In this embodiment, the DSP 19 processing program is installed and provided in advance, but may be provided by downloading via a network such as the Internet. It may be provided via a recording medium. In such a recording medium, various recording media such as a memory card and an optical disk can be widely applied.

すなわちDSP19において、バスインターフェースユニット(BIU:Bus Interface Unit)29は、中央処理ユニット18との間のデータ通信に供するインターフェースであり、中央処理ユニット18からコマンドをバスBUSを介してDSP19の各部に通知し、またこのコマンドの通知による各部の応答をバスBUSを介して取得して中央処理ユニット18に通知する。   That is, in the DSP 19, a bus interface unit (BIU) 29 is an interface used for data communication with the central processing unit 18, and commands from the central processing unit 18 to each part of the DSP 19 via the bus BUS. In addition, the response of each part by the notification of this command is acquired via the bus BUS and notified to the central processing unit 18.

カメラ信号処理回路30は、バスBUSを介して得られる中央処理ユニット18からのコマンドにより動作を切り換え、画像データのキャプチャ時、前処理回路13から撮像素子12の駆動に同期して順次出力される画像データを取得してホワイトバランス調整、ガンマ補正し、メモリ制御回路31を介してメモリ27に記録する。またこのようにしてキャプチャの処理を完了すると、メモリ27に記録してなる画像データをメモリ制御回路31を介して取得し、この画像データを赤色、緑色、青色の色データによる画像データに変換し、この色データによる画像データをメモリ制御回路31を介してメモリ27に記録する。これによりカメラ信号処理回路30は、キャプチャ時、撮像素子12の駆動に同期したリアルタイムの処理により画像データを処理してメモリ27に格納するのに対し、キャプチャ後においては、このようなリアルタイムの処理を終了してメモリ27に記録された画像データを逐次処理するようになされている。   The camera signal processing circuit 30 switches its operation according to a command from the central processing unit 18 obtained via the bus BUS, and is sequentially output in synchronization with driving of the image sensor 12 from the preprocessing circuit 13 when capturing image data. Image data is acquired, subjected to white balance adjustment and gamma correction, and recorded in the memory 27 via the memory control circuit 31. When the capture processing is completed in this way, the image data recorded in the memory 27 is acquired via the memory control circuit 31, and the image data is converted into image data using red, green, and blue color data. The image data based on the color data is recorded in the memory 27 via the memory control circuit 31. As a result, the camera signal processing circuit 30 processes the image data by real-time processing synchronized with the driving of the image sensor 12 at the time of capture and stores it in the memory 27, while such real-time processing is performed after the capture. And the image data recorded in the memory 27 is sequentially processed.

解像度変換回路32は、同様のバスBUSを介して得られる中央処理ユニット18からのコマンドにより動作を切り換え、メモリ27に保持してなる画像データをメモリ制御回路31を介して取得して解像度を変換し、メモリ制御回路31を介してメモリ27に格納する。コーディック33は、同様のバスBUSを介して得られる中央処理ユニット18からのコマンドにより動作を切り換え、メモリ27に保持してなる画像データをメモリ制御回路31を介して取得してJPEG(Joint Photographic Coding Experts Group )、MPEG(Moving Picture Experts Group)等によりデータ圧縮してメディア制御回路35に出力する。またメディア制御回路35から出力される画像データを取得してデータ伸長し、メモリ制御回路31を介してメモリ27に格納する。メディア制御回路35は、同様のバスBUSを介して得られる中央処理ユニット18からのコマンドにより動作を切り換え、コーディック33の出力データを記録メディア21に記録する。またこれとは逆に、記録メディア21に記録した画像データを読み出し、この画像データをコーディック33に出力する。これらにより解像度変換回路32、コーディック33、メディア制御回路35は、メモリ27又は記録メディア21に記録された画像データを逐次処理するようになされている。   The resolution conversion circuit 32 switches the operation by a command from the central processing unit 18 obtained through the same bus BUS, acquires the image data stored in the memory 27 through the memory control circuit 31, and converts the resolution. Then, it is stored in the memory 27 via the memory control circuit 31. The codec 33 switches its operation in accordance with a command from the central processing unit 18 obtained via the same bus BUS, acquires the image data held in the memory 27 via the memory control circuit 31, and obtains JPEG (Joint Photographic Coding). Data is compressed by an Experts Group), MPEG (Moving Picture Experts Group), etc., and output to the media control circuit 35. Further, the image data output from the media control circuit 35 is acquired and decompressed and stored in the memory 27 via the memory control circuit 31. The media control circuit 35 switches the operation according to a command from the central processing unit 18 obtained via the same bus BUS, and records the output data of the codec 33 on the recording medium 21. On the contrary, the image data recorded on the recording medium 21 is read, and this image data is output to the codec 33. Accordingly, the resolution conversion circuit 32, the codec 33, and the media control circuit 35 sequentially process the image data recorded in the memory 27 or the recording medium 21.

表示制御回路36は、同様のバスBUSを介して得られる中央処理ユニット18からのコマンドにより動作を切り換え、メモリ27に保持してなる画像データをメモリ制御回路31を介して取得し、この画像データによりモニタ20を駆動する。これにより表示制御回路36は、モニタ20の駆動に同期したリアルタイムの処理によりメモリ27に記録された画像データを処理するようになされている。   The display control circuit 36 switches the operation by a command from the central processing unit 18 obtained through the same bus BUS, acquires the image data stored in the memory 27 through the memory control circuit 31, and this image data. To drive the monitor 20. Thus, the display control circuit 36 processes the image data recorded in the memory 27 by real-time processing synchronized with the drive of the monitor 20.

しかしてDSP19においては、これら各部30〜36の動作により、キャプチャ時、前処理回路13から出力される画像データをカメラ信号処理回路30により処理してメモリ27に格納するようになされている。またこのキャプチャによりメモリ27に保持した画像データについて、カメラ信号処理回路30により処理してメモリ27に一時格納した後、解像度変換回路32により画サイズを変更してメモリ27に格納し、続いて表示制御回路36によりこの画像データを読み出してモニタ20の駆動に供するようになされ、これにより撮像結果をモニタ20により確認できるようになされている。   Thus, in the DSP 19, the image data output from the preprocessing circuit 13 is processed by the camera signal processing circuit 30 and stored in the memory 27 at the time of capture by the operations of these units 30 to 36. Further, the image data held in the memory 27 by this capture is processed by the camera signal processing circuit 30 and temporarily stored in the memory 27. Then, the image size is changed by the resolution conversion circuit 32 and stored in the memory 27, and then displayed. This image data is read out by the control circuit 36 and used for driving the monitor 20, whereby the imaging result can be confirmed on the monitor 20.

またこれらの処理と同時並列的に、キャプチャによりメモリ27に保持した画像データを、別途、解像度変換回路32により画サイズを変更してメモリ27に格納し、続いてコーディック33によりデータ圧縮してメディア制御回路35より記録メディア21に記録するようになされている。   In parallel with these processes, the image data held in the memory 27 by capture is separately stored in the memory 27 after the image size is changed by the resolution conversion circuit 32, and then the data is compressed by the codec 33 to the media. Recording is performed on the recording medium 21 by the control circuit 35.

これに対してこのようにして記録メディア21に記録した画像データによる撮像結果をモニタする場合、記録メディア21に記録された画像データをコーディック33によりデータ伸長してメモリ27に一時格納した後、この画像データを表示制御回路36により読み出してモニタ20の駆動に供するようになされ、これによりモニタ20により確認できるようになされている。   On the other hand, when monitoring the imaging result of the image data recorded on the recording medium 21 in this way, the image data recorded on the recording medium 21 is decompressed by the codec 33 and temporarily stored in the memory 27. The image data is read out by the display control circuit 36 and used for driving the monitor 20, so that it can be confirmed by the monitor 20.

これらによりDSP19では、カメラ信号処理回路30、解像度変換回路32、コーディック33、表示制御回路36による複数の処理回路でメモリ27をアクセスするようになされ、このアクセスに供するバスBUSがこれらの処理回路とBIU29、メディア制御回路35とで共通に使用されるようになされている。これによりDSP19では、これら各部からのバスアクセス要求をメモリ制御回路31に設けられた調停回路により調停するようになされている。   Thus, in the DSP 19, the memory 27 is accessed by a plurality of processing circuits including the camera signal processing circuit 30, the resolution conversion circuit 32, the codec 33, and the display control circuit 36, and the bus BUS provided for this access is connected to these processing circuits. The BIU 29 and the media control circuit 35 are used in common. As a result, the DSP 19 arbitrates bus access requests from these units by an arbitration circuit provided in the memory control circuit 31.

しかしてこのメモリ制御回路31に設けられている調停回路においては、調停に係るアクセス要求がバスの占有を求めるアクセス要求に係る点を除いて、実施例1について上述した調停回路と同一に構成され、これにより優先順位の設定、基準回路の設定、帯域制限値の設定により、バスBUSのアクセス権を適切かつ効率良く設定するようになされている。   However, the arbitration circuit provided in the memory control circuit 31 has the same configuration as that of the arbitration circuit described above with respect to the first embodiment except that the access request related to arbitration relates to an access request for occupying the bus. Thus, the access right of the bus BUS is set appropriately and efficiently by setting the priority order, setting the reference circuit, and setting the bandwidth limit value.

さらにこの電子スチルカメラ11においては、中央処理ユニット18の制御により、第1及び第2の優先順位が選択的に調停回路に設定されるようになされている。ここで第1の優先順位は、表示制御回路36、カメラ信号処理回路30、BIU29、解像度変換回路32、コーディック33、メディア制御回路35の順位に優先順位が設定されるのに対し、第2の優先順位は、第1の優先順位におけるカメラ信号処理回路30とBIU29との順位が入れ換えられて、表示制御回路36、BIU29、カメラ信号処理回路30、解像度変換回路32、コーディック33、メディア制御回路35の順位に優先順位が設定される。   Further, in the electronic still camera 11, the first and second priorities are selectively set in the arbitration circuit under the control of the central processing unit 18. Here, the first priority order is set to the order of the display control circuit 36, the camera signal processing circuit 30, the BIU 29, the resolution conversion circuit 32, the codec 33, and the media control circuit 35, while the second priority order is set. As for the priority order, the order of the camera signal processing circuit 30 and the BIU 29 in the first priority order is interchanged, and the display control circuit 36, the BIU 29, the camera signal processing circuit 30, the resolution conversion circuit 32, the codec 33, and the media control circuit 35. The priority order is set to the order.

中央処理ユニット18は、キャプチャ時、第1の優先順位を調停回路に設定し、これによりこのキャプチャ時におけるリアルタイムの処理系である表示制御回路36、カメラ信号処理回路30に優先的にアクセス権を設定する。しかしてBIU29は中央処理ユニット18からの制御に係るインターフェースであり、解像度変換回路32、コーディック33、メディア制御回路35にあっては、リアルタイムの処理を要しない。これにより中央処理ユニット18は、中央処理ユニット18からのコマンドに係るバスBUSの占有に優先して、表示制御回路36、カメラ信号処理回路30の処理を優先させるようになされている。   The central processing unit 18 sets the first priority in the arbitration circuit at the time of capture, thereby giving priority to the display control circuit 36 and the camera signal processing circuit 30 which are real-time processing systems at the time of capture. Set. Thus, the BIU 29 is an interface related to control from the central processing unit 18, and the resolution conversion circuit 32, codec 33, and media control circuit 35 do not require real-time processing. Thereby, the central processing unit 18 gives priority to the processing of the display control circuit 36 and the camera signal processing circuit 30 in preference to the occupation of the bus BUS related to the command from the central processing unit 18.

これに対してキャプチャの処理を完了すると、中央処理ユニット18は、第2の優先順位を調停回路に設定する。これにより中央処理ユニット18は、中央処理ユニット18からの制御を優先するようにして、ユーザーインターフェース等を向上するようになされている。しかしてこのように中央処理ユニット18の優先順位を高く設定した場合にあって、使用する中央処理ユニット18により中央処理ユニット18からのアクセス頻度が多過ぎると、解像度変換回路32、コーディック33、メディア制御回路35における処理に時間を要することになる。しかしながらこの場合に、このBIU29を基準回路に設定して帯域制限値を設定すれば、中央処理ユニットのアクセス頻度が多過ぎる場合であっても、中央処理ユニット18によるバス権独占を防止することができ、これにより解像度変換回路32、コーディック33、メディア制御回路35において適切に画像データを処理することができる。   On the other hand, when the capture process is completed, the central processing unit 18 sets the second priority in the arbitration circuit. Thereby, the central processing unit 18 improves the user interface by giving priority to the control from the central processing unit 18. However, when the priority order of the central processing unit 18 is set high in this way and the access frequency from the central processing unit 18 is too high by the central processing unit 18 to be used, the resolution conversion circuit 32, the codec 33, the media The processing in the control circuit 35 takes time. However, in this case, if the BIU 29 is set as a reference circuit and a bandwidth limit value is set, even if the access frequency of the central processing unit is too high, the bus right monopoly by the central processing unit 18 can be prevented. Thus, the image data can be appropriately processed in the resolution conversion circuit 32, the codec 33, and the media control circuit 35.

また中央処理ユニット18は、記録メディア21に記録された撮像結果をモニタ20により表示する場合、第2の優先順位を調停回路に設定する。これによりこの場合も、バス権を効率良くかつ適切に各回路ブロックに割り当てるようになされている。しかしてこのような記録メディア21に記録された撮像結果をモニタ20に表示する場合にあっては、リアルタイムアクセスは表示制御回路36のみであることにより、このように表示制御回路36を高い優先順位に設定して撮像結果を違和感なく表示することができる。   The central processing unit 18 sets the second priority in the arbitration circuit when displaying the imaging result recorded on the recording medium 21 on the monitor 20. As a result, in this case as well, the bus right is efficiently and appropriately assigned to each circuit block. Thus, when displaying the imaging result recorded on the recording medium 21 on the monitor 20, since the real-time access is only the display control circuit 36, the display control circuit 36 is thus given high priority. The imaging result can be displayed without a sense of incongruity.

なおこの電子スチルカメラ11においては記録メディア21に記録した撮像結果をモニタする場合、コーディック33により黒パディング用の画像データを生成してメモリ27に記録した後、解像度変換回路32から出力される画像データを上書きによりメモリ27に記録し、これにより黒色の背景により1枚又は複数枚の撮像結果をモニタ20により表示する。この電子スチルカメラ11では、この場合にも一時的にコーディック33の優先順位を高く設定することにより、黒パディングの処理に係る画像データを連続してメモリ27に記録し、その後、BIU29の優先順位を高く設定し直すことにより、互いにバス権を取得して効率良く撮像結果をモニタに表示するようになされ、いわゆるバス権の独占を防止することができる。   In the electronic still camera 11, when monitoring the imaging result recorded on the recording medium 21, the image data output from the resolution conversion circuit 32 is generated after the codec 33 generates image data for black padding and records it in the memory 27. Data is recorded in the memory 27 by overwriting, whereby one or a plurality of imaging results are displayed on the monitor 20 with a black background. Even in this case, the electronic still camera 11 temporarily sets the priority of the codec 33 to a high level so that the image data related to the black padding process is continuously recorded in the memory 27, and then the priority of the BIU 29. Is set to a high value so that the bus rights are acquired from each other and the imaging results are efficiently displayed on the monitor, thereby preventing the so-called monopolization of the bus rights.

しかしてこの電子スチルカメラ11において、カメラ信号処理回路30は、撮像結果による画像データを処理してバスに出力する画像データ処理回路を構成し、コーディック33、メディア制御回路35は、バスに接続されて、画像データをデータ圧縮して記録媒体に記録し、記録媒体に記録された画像データをデータ伸長してバスに出力する記録再生回路を構成するようになされている。また表示制御回路36は、バスに接続されて、画像データを取得してモニタに表示する表示回路を構成し、中央処理ユニット18、BIU29は、バスに接続されて、画像データ処理回路、記録再生回路、表示回路の動作を制御するコマンドをバスに出力する制御回路を構成し、メモリ27は、メモリ制御回路31を介してバスに接続されて、画像データを一時保持する記憶回路を構成するようになされている。   In the electronic still camera 11, the camera signal processing circuit 30 constitutes an image data processing circuit that processes image data based on the imaging result and outputs the processed image data to the bus. The codec 33 and the media control circuit 35 are connected to the bus. Thus, the image data is compressed and recorded on a recording medium, and the recording / reproducing circuit is configured to decompress the image data recorded on the recording medium and output the data to a bus. The display control circuit 36 is connected to a bus to form a display circuit that acquires image data and displays it on a monitor. The central processing unit 18 and the BIU 29 are connected to the bus to connect the image data processing circuit, recording / reproduction. A control circuit that outputs a command for controlling the operation of the circuit and the display circuit to the bus is configured, and the memory 27 is connected to the bus via the memory control circuit 31 to configure a storage circuit that temporarily holds image data. Has been made.

図10の構成によれば、バスのアクセス要求に関して、優先順位に従ってアクセス権を設定することを前提にして、基準回路からのアクセス要求と、基準回路より優先順位の低い処理回路からのアクセス要求とが競合した場合に、基準回路へのアクセス権の設定回数に対する優先順位の低い処理回路へのアクセス権の設定回数が、事前の帯域制限値に応じた値となるようにアクセス権を設定することにより、バスへのアクセス権を複数の処理回路に適切かつ効率良く設定することができる。   According to the configuration of FIG. 10, on the assumption that the access right is set according to the priority order with respect to the bus access request, the access request from the reference circuit and the access request from the processing circuit having a lower priority than the reference circuit If there is a conflict, the access right should be set so that the number of times the access right is set to the processing circuit with a lower priority with respect to the number of times the access right is set to the reference circuit becomes a value corresponding to the bandwidth limit value in advance. Thus, the access right to the bus can be set appropriately and efficiently in a plurality of processing circuits.

またキャプチャ、キャプチャ以外の動作モードの切り換えにより、優先順位を切り換えることにより、リアルタイム系のアクセスにおいてはバスを破綻させること無く画像データを処理し得、非リアルタイムアクセスでも帯域制御を設定することで、互いにバスを効率良く使用することができる。   In addition, by switching the priority by switching the operation mode other than capture, capture, image data can be processed without breaking the bus in real-time access, and by setting bandwidth control even in non-real-time access, The buses can be used efficiently with each other.

なお上述の実施例2においては、基準回路をBIUに設定して優先順位のみを切り換える場合について述べたが、本発明はこれに限らず、動作モードの切り換えにより、優先順位に加えて基準回路及び又は帯域制限値の設定を切り換えるようにしてもよく、また実用上十分な特性を確保できる場合には、基準回路及び又は帯域制限値の設定のみを切り換えるようにしてもよい。   In the second embodiment, the case where the reference circuit is set to the BIU and only the priority is switched has been described. However, the present invention is not limited to this, and the reference circuit and the priority circuit are switched in addition to the priority by switching the operation mode. Alternatively, the setting of the band limit value may be switched. If a practically sufficient characteristic can be secured, only the setting of the reference circuit and / or the band limit value may be switched.

また上述の実施例1においては、全体の処理に応じて上位のコントローラにより優先順位、基準回路、帯域制限値を切り換える場合について述べたが、本発明はこれに限らず、処理回路が演算処理手段の場合にあっては、各演算処理手段の実行に係る処理プログラムに応じて、優先順位、基準回路及び又は帯域制限値の設定を切り換えるようにしてもよい。   In the first embodiment described above, the case where the priority order, the reference circuit, and the band limit value are switched by the host controller according to the overall processing has been described. However, the present invention is not limited to this, and the processing circuit is an arithmetic processing means. In this case, the setting of the priority order, the reference circuit and / or the band limit value may be switched according to the processing program related to the execution of each arithmetic processing means.

また上述の実施例においては、基準回路及び帯域制限値をそれぞれ1つ設定する場合について述べたが、本発明はこれに限らず、基準回路及び帯域制限値を複数種類設定するようにして1つの帯域制限値により振り分けた帯域を、さらに残りの帯域制限値により振り分けるようにしてもよい。   In the above-described embodiments, the case where one reference circuit and one band limit value are set has been described. However, the present invention is not limited to this, and a single reference circuit and one or more band limit values are set. The band allocated by the band limit value may be further allocated by the remaining band limit value.

また上述の実施例においては、メモリへのアクセス要求の調停、バスへのアクセス要求の調停に本発明を適用する場合について述べたが、本発明はこれに限らず、例えばデータ転送手段等へのアクセス要求を調停する場合等、種々のアクセス要求を調停する場合に広く適用することができる。   In the above-described embodiments, the case where the present invention is applied to arbitration of memory access requests and bus access requests has been described. However, the present invention is not limited to this. For example, the present invention is not limited to data transfer means. The present invention can be widely applied when various access requests are arbitrated, such as when arbitrating access requests.

本発明は、例えば電子スチルカメラに適用することができる。   The present invention can be applied to, for example, an electronic still camera.

本発明の実施例1に係る調停回路の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the arbitration circuit which concerns on Example 1 of this invention. 本発明の実施例1に係る調停システムを示すブロック図である。It is a block diagram which shows the arbitration system which concerns on Example 1 of this invention. 図2の調停システムにおける優先順位を示す図表である。It is a chart which shows the priority in the arbitration system of FIG. 図2の調停システムにおけるアクセス権設定カウンタにおけるカウント値の遷移を示す遷移図である。FIG. 3 is a transition diagram showing transition of a count value in an access right setting counter in the arbitration system of FIG. 2. 図1の続きを示すフローチャートである。It is a flowchart which shows the continuation of FIG. 基準回路と下位の処理回路とのアクセス要求の調停の説明に供するタイムチャートである。6 is a time chart for explaining arbitration of access requests between a reference circuit and a lower processing circuit. アクセス権設定カウンタにおけるカウント値を保持する場合の説明に供するタイムチャートである。It is a time chart with which it uses for description when holding the count value in an access right setting counter. キャッシュバックに係るアクセス要求の調停の説明に供するタイムチャートである。It is a time chart with which explanation of access request concerning cash back is explained. 上位の処理回路からのアクセス要求が競合する場合の説明に供するタイムチャートである。It is a time chart with which it uses for description when the access request from a high-order processing circuit competes. 実施例2に係る電子スチルカメラを示すブロック図である。6 is a block diagram illustrating an electronic still camera according to Embodiment 2. FIG.

符号の説明Explanation of symbols

1……調停システム、2、27……メモリ、3……制御回路、5……調停回路、11……電子スチルカメラ、12……撮像素子、18……中央処理ユニット、19……DSP、20……モニタ、20……カメラ信号処理回路、31……メモリ制御回路、32……解像度変換回路、33……コーディック、35……メディア制御回路、36……表示制御回路、c1〜cn+2……MPU
DESCRIPTION OF SYMBOLS 1 ... Arbitration system, 2, 27 ... Memory, 3 ... Control circuit, 5 ... Arbitration circuit, 11 ... Electronic still camera, 12 ... Image sensor, 18 ... Central processing unit, 19 ... DSP, DESCRIPTION OF SYMBOLS 20 ... Monitor, 20 ... Camera signal processing circuit, 31 ... Memory control circuit, 32 ... Resolution conversion circuit, 33 ... Codec, 35 ... Media control circuit, 36 ... Display control circuit, c1-cn + 2 ... ... MPU

Claims (15)

複数の処理回路からのアクセス要求に対して選択的にアクセス権を設定して、前記複数の処理回路からのアクセス要求を調停する調停装置において、
前記複数の処理回路からのアクセス要求に対する処理の順位を示す優先順位と、
前記複数の処理回路の1つを特定する基準回路と、
前記基準回路へのアクセス権の設定回数に対して、前記基準回路より前記優先順位の低い処理回路へのアクセス権の設定回数を指示する帯域制限値とが設定され、
前記基準回路へのアクセス権の設定により初期値に設定されて、前記基準回路より優先順位の低い前記処理回路へのアクセス権の設定をカウントするカウンタを有し、
前記アクセス要求が競合しない場合には、アクセス要求に係る前記処理回路にアクセス権を設定し、
前記アクセス要求が競合した場合、前記優先順位に従って前記複数の処理回路からのアクセス要求に対してアクセス権を設定するようにして、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い前記処理回路のアクセス要求とが競合した場合、前記カウンタのカウント値と前記帯域制限値との比較により、前記基準回路及び前記基準回路より優先順位の低い前記処理回路に選択的にアクセス権を設定し、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い前記処理回路のアクセス要求とが競合した場合における、前記基準回路へのアクセス権の設定回数に対する、前記基準回路より優先権の低い前記処理回路へのアクセス権の設定回数を、前記帯域制限値に応じた値に設定する
ことを特徴とする調停装置。
In an arbitration device that selectively sets access rights for access requests from a plurality of processing circuits and arbitrates access requests from the plurality of processing circuits,
A priority indicating a processing order for an access request from the plurality of processing circuits;
A reference circuit that identifies one of the plurality of processing circuits;
With respect to the number of times of setting the access right to the reference circuit, a band limit value indicating the number of times of setting the access right to the processing circuit having a lower priority than the reference circuit is set,
A counter that is set to an initial value by setting an access right to the reference circuit and counts an access right to the processing circuit having a lower priority than the reference circuit;
If the access request does not conflict, set an access right to the processing circuit related to the access request,
When the access request competes, an access right is set for the access request from the plurality of processing circuits according to the priority order.
When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete, the comparison between the count value of the counter and the band limit value causes the reference circuit and the reference circuit to An access right is selectively set to the processing circuit having a low priority,
When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete with each other, the processing having a lower priority than the reference circuit with respect to the set number of access rights to the reference circuit The arbitration device, wherein the number of times of setting the access right to the circuit is set to a value according to the bandwidth limit value.
前記基準回路より優先順位の低い前記処理回路へのアクセス権の設定を、前記優先順位に従って設定する
ことを特徴とする請求項1に記載の調停装置。
The arbitration device according to claim 1, wherein the access right to the processing circuit having a lower priority than the reference circuit is set according to the priority.
前記基準回路より優先順位の高い前記処理回路からのアクセス要求が存在する場合、前記優先順位に従って前記基準回路より優先順位の高い前記処理回路に前記アクセス権を設定する
ことを特徴とする請求項1に記載の調停装置。
The access right is set to the processing circuit having a higher priority than the reference circuit according to the priority when there is an access request from the processing circuit having a higher priority than the reference circuit. The arbitration device described in 1.
前記カウンタにおける、前記基準回路より優先順位の低い処理回路へのアクセス権の設定のカウントが、
前記基準回路、前記基準回路より優先順位の低い前記処理回路において、アクセス要求が競合した場合の、前記基準回路より優先順位の低い前記処理回路へのアクセス権の設定回数であり、
前記基準回路又は前記基準回路より優先順位の低い処理回路からのアクセス要求が競合しない場合、アクセス要求に係る前記基準回路又は前記基準回路より優先順位の低い前記処理回路にアクセス権を設定する
ことを特徴とする請求項1に記載の調停装置。
In the counter, the count of the setting of the access right to the processing circuit having a lower priority than the reference circuit,
In the reference circuit, the processing circuit having a lower priority than the reference circuit, the number of times of setting the access right to the processing circuit having a lower priority than the reference circuit when access requests compete.
If the access request from the reference circuit or the processing circuit having a lower priority than the reference circuit does not compete, the access right is set to the reference circuit related to the access request or the processing circuit having a lower priority than the reference circuit. The arbitrating device according to claim 1, wherein
前記アクセス要求がメモリへのアクセス要求であり、
前記基準回路が、
ライトバック方式のキャッシュシステムの場合にあって、前記メモリへのライトバックに係るアクセス要求に対してアクセス権を設定し、続く前記メモリからのリード要求に係るアクセス要求が、前記基準回路より優先順位の低い前記処理回路からのアクセス要求と競合した場合、
前記基準回路のリード要求に対して優先的にアクセス権を設定する
ことを特徴とする請求項1に記載の調停装置。
The access request is an access request to a memory;
The reference circuit is
In the case of a write-back cache system, an access right is set for an access request related to a write-back to the memory, and an access request related to a subsequent read request from the memory is prioritized over the reference circuit. If there is a conflict with an access request from the processing circuit having a low
The arbitration device according to claim 1, wherein an access right is preferentially set for a read request of the reference circuit.
前記メモリへのライトバックに係るアクセス要求に続く前記メモリからのリード要求に係るアクセス要求が、前記基準回路より優先順位の高い前記処理回路からのアクセス要求と競合した場合、
前記優先順位の高い前記処理回路からのアクセス要求に対して優先的にアクセス権を設定する
ことを特徴とする請求項5に記載の調停装置。
When an access request related to a read request from the memory following an access request related to a write back to the memory conflicts with an access request from the processing circuit having a higher priority than the reference circuit,
The arbitration device according to claim 5, wherein an access right is preferentially set for an access request from the processing circuit having a high priority.
前記アクセス要求がバスへのアクセス要求である
ことを特徴とする請求項1に記載の調停装置。
The arbitration device according to claim 1, wherein the access request is an access request to a bus.
前記優先順位、前記基準回路及び又は前記帯域制限値の設定を所定のタイミングで更新する
ことを特徴とする請求項1に記載の調停装置。
The arbitration device according to claim 1, wherein the priority order, the reference circuit, and / or the setting of the band limit value are updated at a predetermined timing.
動作モードの切り換えにより、前記優先順位、前記基準回路及び又は前記帯域制限値の設定を切り換える
ことを特徴とする請求項1に記載の調停装置。
The arbitration device according to claim 1, wherein the priority order, the reference circuit, and / or the band limit value are switched by switching an operation mode.
前記複数の処理回路がそれぞれ所定の処理プログラムを実行する演算処理回路であり、
前記複数の処理回路の何れかにおける前記処理プログラムの切り換えにより、前記優先順位、前記基準回路及び又は前記帯域制限値の設定を切り換える
ことを特徴とする請求項1に記載の調停装置。
Each of the plurality of processing circuits is an arithmetic processing circuit that executes a predetermined processing program,
2. The arbitration device according to claim 1, wherein the priority order, the reference circuit, and / or the band limit value are switched by switching the processing program in any of the plurality of processing circuits.
複数の処理回路からのアクセス要求に対して選択的にアクセス権を設定して、前記複数の処理回路からのアクセス要求を調停する調停方法において、
前記複数の処理回路からのアクセス要求に対する処理の順位を示す優先順位と、
前記複数の処理回路の1つを特定する基準回路と、
前記基準回路へのアクセス権の設定回数に対して、前記基準回路より前記優先順位の低い前記処理回路へのアクセス権の設定回数を指示する帯域制限値とが設定され、
前記基準回路へのアクセス権の設定により初期値に設定して、前記基準回路より優先順位の低い前記処理回路へのアクセス権の設定をカウントするカウントのステップと、
前記アクセス要求が競合しない場合には、アクセス要求に係る前記処理回路にアクセス権を設定し、前記アクセス要求が競合した場合、前記優先順位に従って前記複数の処理回路からのアクセス要求に対してアクセス権を設定するアクセス権設定のステップとを有し、
前記アクセス権設定のステップは、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い前記処理回路のアクセス要求とが競合した場合、前記カウントのステップによるカウント値と前記帯域制限値との比較により、前記基準回路及び前記基準回路より優先順位の低い前記処理回路に選択的にアクセス権を設定し、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い前記処理回路のアクセス要求とが競合した場合における、前記基準回路へのアクセス権の設定回数に対する、前記基準回路より優先権の低い前記処理回路へのアクセス権の設定回数を、前記帯域制限値に応じた値に設定する
ことを特徴とする調停方法。
In an arbitration method for selectively setting access rights for access requests from a plurality of processing circuits and arbitrating access requests from the plurality of processing circuits,
A priority indicating a processing order for an access request from the plurality of processing circuits;
A reference circuit that identifies one of the plurality of processing circuits;
With respect to the number of times of setting access rights to the reference circuit, a band limit value indicating the number of times of setting access rights to the processing circuit having a lower priority than the reference circuit is set,
A step of counting to set an initial value by setting an access right to the reference circuit and to count an access right to the processing circuit having a lower priority than the reference circuit;
When the access request does not conflict, an access right is set for the processing circuit related to the access request. When the access request conflicts, an access right for the access request from the plurality of processing circuits according to the priority order. And an access right setting step for setting
The access right setting step includes:
When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete, the reference circuit and the reference are compared by comparing the count value in the counting step with the band limit value. Selectively setting an access right to the processing circuit having a lower priority than the circuit;
When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete with each other, the processing having a lower priority than the reference circuit with respect to the set number of access rights to the reference circuit An arbitration method, wherein the number of times of setting access rights to the circuit is set to a value corresponding to the bandwidth limit value.
演算処理手段による実行により、複数の処理回路からのアクセス要求に対して選択的にアクセス権を設定して、前記複数の処理回路からのアクセス要求を調停する調停方法のプログラムにおいて、
前記複数の処理回路からのアクセス要求に対する処理の順位を示す優先順位と、前記複数の処理回路の1つを特定する基準回路と、前記基準回路へのアクセス権の設定回数に対して、前記基準回路より前記優先順位の低い前記処理回路へのアクセス権の設定回数を指示する帯域制限値とを設定するステップと
前記基準回路へのアクセス権の設定により初期値に設定して、前記基準回路より優先順位の低い前記処理回路へのアクセス権の設定をカウントするカウントのステップと、
前記アクセス要求が競合しない場合には、アクセス要求に係る前記処理回路にアクセス権を設定し、前記アクセス要求が競合した場合、前記優先順位に従って前記複数の処理回路からのアクセス要求に対してアクセス権を設定するアクセス権設定のステップとをコンピュータに実行させるためのプログラムであって
前記アクセス権設定のステップは、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い前記処理回路のアクセス要求とが競合した場合、前記カウントのステップによるカウント値と前記帯域制限値との比較により、前記基準回路及び前記基準回路より優先順位の低い前記処理回路に選択的にアクセス権を設定し、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い前記処理回路のアクセス要求とが競合した場合における、前記基準回路へのアクセス権の設定回数に対する、前記基準回路より優先権の低い前記処理回路へのアクセス権の設定回数を、前記帯域制限値に応じた値に設定する
ことを特徴とする調停方法のプログラム。
In an arbitration method program for arbitrating access requests from a plurality of processing circuits by selectively setting an access right for access requests from a plurality of processing circuits by execution by an arithmetic processing unit,
The reference for the priority indicating the order of processing for the access requests from the plurality of processing circuits, the reference circuit for specifying one of the plurality of processing circuits, and the number of times of setting the access right to the reference circuit and setting the band limiting value indicating the set number of access to the lower priority the processing circuit from the circuit,
A step of counting to set an initial value by setting an access right to the reference circuit and to count an access right to the processing circuit having a lower priority than the reference circuit;
When the access request does not conflict, an access right is set for the processing circuit related to the access request. When the access request conflicts, an access right for the access request from the plurality of processing circuits according to the priority order. A program for causing a computer to execute an access right setting step for setting
The access right setting step includes:
When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete, the reference circuit and the reference are compared by comparing the count value in the counting step with the band limit value. Selectively setting an access right to the processing circuit having a lower priority than the circuit;
When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete with each other, the processing having a lower priority than the reference circuit with respect to the set number of access rights to the reference circuit A program for an arbitration method, wherein the number of times of setting access right to a circuit is set to a value corresponding to the bandwidth limit value.
演算処理手段による実行により、複数の処理回路からのアクセス要求に対して選択的にアクセス権を設定して、前記複数の処理回路からのアクセス要求を調停する調停方法のプログラムを記録した記録媒体において、
前記調停方法のプログラムは、
前記複数の処理回路からのアクセス要求に対する処理の順位を示す優先順位と、前記複数の処理回路の1つを特定する基準回路と、前記基準回路へのアクセス権の設定回数に対して、前記基準回路より前記優先順位の低い前記処理回路へのアクセス権の設定回数を指示する帯域制限値とを設定するステップと
前記基準回路へのアクセス権の設定により初期値に設定して、前記基準回路より優先順位の低い前記処理回路へのアクセス権の設定をカウントするカウントのステップと、
前記アクセス要求が競合しない場合には、アクセス要求に係る前記処理回路にアクセス権を設定し、前記アクセス要求が競合した場合、前記優先順位に従って前記複数の処理回路からのアクセス要求に対してアクセス権を設定するアクセス権設定のステップとをコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体であって
前記アクセス権設定のステップは、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い前記処理回路のアクセス要求とが競合した場合、前記カウントのステップによるカウント値と前記帯域制限値との比較により、前記基準回路及び前記基準回路より優先順位の低い前記処理回路に選択的にアクセス権を設定し、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い前記処理回路のアクセス要求とが競合した場合における、前記基準回路へのアクセス権の設定回数に対する、前記基準回路より優先権の低い前記処理回路へのアクセス権の設定回数を、前記帯域制限値に応じた値に設定する
ことを特徴とする調停方法のプログラムを記録した記録媒体。
In a recording medium recording a program of an arbitration method for selectively arbitrating access requests from a plurality of processing circuits by selectively setting access rights with respect to access requests from the plurality of processing circuits by execution by an arithmetic processing means ,
The mediation method program is:
The reference for the priority indicating the order of processing for the access requests from the plurality of processing circuits, the reference circuit for specifying one of the plurality of processing circuits, and the number of times of setting the access right to the reference circuit and setting the band limiting value indicating the set number of access to the lower priority the processing circuit from the circuit,
A step of counting to set an initial value by setting an access right to the reference circuit and to count an access right to the processing circuit having a lower priority than the reference circuit;
When the access request does not conflict, an access right is set for the processing circuit related to the access request. When the access request conflicts, an access right for the access request from the plurality of processing circuits according to the priority order. A computer-readable recording medium storing a program for causing a computer to execute an access right setting step for setting
The access right setting step includes:
When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete, the reference circuit and the reference are compared by comparing the count value in the counting step with the band limit value. Selectively setting an access right to the processing circuit having a lower priority than the circuit;
When the access request of the reference circuit and the access request of the processing circuit having a lower priority than the reference circuit compete with each other, the processing having a lower priority than the reference circuit with respect to the set number of access rights to the reference circuit A recording medium on which a program of an arbitration method is recorded, wherein the number of times of setting access right to a circuit is set to a value corresponding to the band limit value.
撮像結果をモニタに表示すると共に記録媒体に記録し、前記記録媒体に記録した撮像結果を前記モニタで表示する電子スチルカメラにおいて、
前記撮像結果による画像データを処理してバスに出力する画像データ処理回路と、
前記バスに接続されて、前記画像データをデータ圧縮して前記記録媒体に記録し、前記記録媒体に記録された画像データをデータ伸長して前記バスに出力する記録再生回路と、
前記バスに接続されて、前記画像データを取得して前記モニタに表示する表示回路と、
前記バスに接続されて、前記画像データ処理回路、前記記録再生回路、表示回路の動作を制御するコマンドを前記バスに出力する制御回路と、
前記バスに接続されて、前記画像データを一時保持する記憶回路と、
前記画像データ処理回路、前記記録再生回路、前記表示回路、前記制御回路による前記バスのアクセス要求を調停する調停回路とを少なくとも有し、
前記調停回路は、
前記画像データ処理回路、前記記録再生回路、前記表示回路、前記制御回路による複数の回路からのアクセス要求に対する処理の順位を示す優先順位と、
前記複数の回路の1つを特定する基準回路と、
前記基準回路へのアクセス権の設定回数に対して、前記基準回路より優先順位の低い回路へのアクセス権の設定回数を指示する帯域制限値とが設定され、
前記基準回路へのアクセス権の設定により初期値に設定されて、前記基準回路より優先順位の低い回路へのアクセス権の設定をカウントするカウンタを有し、
前記アクセス要求が競合しない場合には、アクセス要求に係る前記回路にアクセス権を設定し、前記アクセス要求が競合した場合、前記優先順位に従って前記複数の回路からのアクセス要求に対してアクセス権を設定し、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い回路のアクセス要求とが競合した場合、前記カウンタのカウント値と前記帯域制限値との比較により、前記基準回路及び前記基準回路より優先順位の低い回路に選択的にアクセス権を設定し、
前記基準回路のアクセス要求と前記基準回路より優先順位の低い回路のアクセス要求とが競合した場合における、前記基準回路へのアクセス権の設定回数に対する、前記基準回路より優先権の低い回路へのアクセス権の設定回数を、前記帯域制限値に応じた値に設定する
ことを特徴とする電子スチルカメラ。
In an electronic still camera that displays an imaging result on a monitor and records it on a recording medium, and displays the imaging result recorded on the recording medium on the monitor.
An image data processing circuit that processes image data based on the imaging result and outputs the processed image data to a bus;
A recording / reproducing circuit connected to the bus for compressing and recording the image data on the recording medium, decompressing the image data recorded on the recording medium and outputting the data to the bus;
A display circuit connected to the bus for acquiring the image data and displaying it on the monitor;
A control circuit which is connected to the bus and outputs a command for controlling the operation of the image data processing circuit, the recording / reproducing circuit, and the display circuit to the bus;
A storage circuit connected to the bus and temporarily holding the image data;
The image data processing circuit, the recording / reproducing circuit, the display circuit, and an arbitration circuit that arbitrates the bus access request by the control circuit,
The arbitration circuit is:
A priority indicating the order of processing for access requests from a plurality of circuits by the image data processing circuit, the recording / reproducing circuit, the display circuit, and the control circuit;
A reference circuit for identifying one of the plurality of circuits;
With respect to the number of times of setting access rights to the reference circuit, a band limit value indicating the number of times of setting access rights to a circuit having a lower priority than the reference circuit is set,
A counter that is set to an initial value by setting an access right to the reference circuit and counts an access right setting to a circuit having a lower priority than the reference circuit;
When the access request does not conflict, an access right is set for the circuit related to the access request. When the access request conflicts, an access right is set for the access request from the plurality of circuits according to the priority order. And
When the access request of the reference circuit and the access request of a circuit having a lower priority than the reference circuit compete, the priority order of the reference circuit and the reference circuit is compared by comparing the count value of the counter with the bandwidth limit value. Selectively set access rights to low-
Access to a circuit having a lower priority than the reference circuit with respect to the set number of access rights to the reference circuit when an access request of the reference circuit and an access request of a circuit having a lower priority than the reference circuit compete An electronic still camera, wherein the number of times of right setting is set to a value corresponding to the bandwidth limit value.
前記画像データ処理回路によるキャプチャ時と、キャプチャ以外の動作モードの切り換えにより、前記優先順位、前記基準回路及び又は前記帯域制限値の設定を切り換える
ことを特徴とする請求項14に記載の電子スチルカメラ。
15. The electronic still camera according to claim 14, wherein the priority, the reference circuit, and / or the band limit value are switched by switching between an operation mode other than capture at the time of capture by the image data processing circuit. .
JP2004177737A 2004-06-16 2004-06-16 Arbitration device, arbitration method, mediation method program, recording medium recording mediation method program, and electronic still camera Expired - Fee Related JP4635482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004177737A JP4635482B2 (en) 2004-06-16 2004-06-16 Arbitration device, arbitration method, mediation method program, recording medium recording mediation method program, and electronic still camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004177737A JP4635482B2 (en) 2004-06-16 2004-06-16 Arbitration device, arbitration method, mediation method program, recording medium recording mediation method program, and electronic still camera

Publications (2)

Publication Number Publication Date
JP2006004028A JP2006004028A (en) 2006-01-05
JP4635482B2 true JP4635482B2 (en) 2011-02-23

Family

ID=35772394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004177737A Expired - Fee Related JP4635482B2 (en) 2004-06-16 2004-06-16 Arbitration device, arbitration method, mediation method program, recording medium recording mediation method program, and electronic still camera

Country Status (1)

Country Link
JP (1) JP4635482B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5915706B2 (en) * 2014-08-28 2016-05-11 富士通株式会社 Arbitration circuit, control method, and control program
JP7328928B2 (en) * 2020-04-06 2023-08-17 株式会社オートネットワーク技術研究所 In-vehicle relay device, information processing method and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04275655A (en) * 1991-03-01 1992-10-01 Nec Ibaraki Ltd Priority control circuit
JPH08235107A (en) * 1995-02-27 1996-09-13 Canon Inc Circuit and method for bus arbitration
JPH09293050A (en) * 1996-04-25 1997-11-11 Nec Eng Ltd Information processing system
JPH10289193A (en) * 1997-04-15 1998-10-27 Canon Inc Memory access control device and method, and storage medium storing computer readable program
JPH11272567A (en) * 1998-03-25 1999-10-08 Matsushita Electric Ind Co Ltd Memory control device
JP2003122705A (en) * 2001-10-18 2003-04-25 Matsushita Electric Ind Co Ltd Digital camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04275655A (en) * 1991-03-01 1992-10-01 Nec Ibaraki Ltd Priority control circuit
JPH08235107A (en) * 1995-02-27 1996-09-13 Canon Inc Circuit and method for bus arbitration
JPH09293050A (en) * 1996-04-25 1997-11-11 Nec Eng Ltd Information processing system
JPH10289193A (en) * 1997-04-15 1998-10-27 Canon Inc Memory access control device and method, and storage medium storing computer readable program
JPH11272567A (en) * 1998-03-25 1999-10-08 Matsushita Electric Ind Co Ltd Memory control device
JP2003122705A (en) * 2001-10-18 2003-04-25 Matsushita Electric Ind Co Ltd Digital camera

Also Published As

Publication number Publication date
JP2006004028A (en) 2006-01-05

Similar Documents

Publication Publication Date Title
JP5330264B2 (en) Access control device
US8621158B2 (en) Information processor system
JP5578713B2 (en) Information processing device
WO2017216840A1 (en) Memory access control device, image processing device, and imaging device
US8543777B2 (en) Memory control apparatus, memory control method, and computer program with refresh commands at optimum intervals
US7185133B2 (en) Data processor
KR102400104B1 (en) Image processing apparatus and Image processing method
JP4635482B2 (en) Arbitration device, arbitration method, mediation method program, recording medium recording mediation method program, and electronic still camera
JP4328906B2 (en) Bus control method and apparatus, and digital camera
JP6098366B2 (en) Image data processing apparatus and image data processing method
JP4633290B2 (en) Data processing apparatus and access arbitration method in the apparatus
JP2002351815A (en) Bus control method and device
JP2003046939A (en) Electronic camera and control ic for electronic camera
JP5623150B2 (en) Electronic device and control method thereof
JP2007156855A (en) Information processor and information processing method
US6651152B1 (en) Microcomputer including download circuit controlling data download to plurality of memories
JP4335327B2 (en) Arbitration apparatus and method
JP2003281083A (en) Bus control circuit
JP5229922B2 (en) Information processing system
JP2001109656A (en) Memory cooperation type data processor
JP2003122704A (en) Data processor
JP4150953B2 (en) Information processing device
JP2009104529A (en) Information processor, recording device of moving image with sound, and information processing method
JP5211537B2 (en) Interface circuit
JP2004326814A (en) Image processor and image processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070329

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090331

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100810

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101004

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101026

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101108

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131203

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131203

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees