JP2012208790A - Data transfer device - Google Patents
Data transfer device Download PDFInfo
- Publication number
- JP2012208790A JP2012208790A JP2011074701A JP2011074701A JP2012208790A JP 2012208790 A JP2012208790 A JP 2012208790A JP 2011074701 A JP2011074701 A JP 2011074701A JP 2011074701 A JP2011074701 A JP 2011074701A JP 2012208790 A JP2012208790 A JP 2012208790A
- Authority
- JP
- Japan
- Prior art keywords
- data transfer
- circuit
- bus
- data
- bus use
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Bus Control (AREA)
Abstract
【課題】共通バスの動作状態を少ない端子数で効率よく外部に出力することができるデータ転送装置を提供する。
【解決手段】複数の周辺回路A,Bは、共通バス4を通じてデータの授受を行なう。転送待ち判定部12は、複数の周辺回路A,Bの中の選択された周辺回路がデータ転送待ちか否かを表わす第1の信号Wを第1の端子Cを通じて外部へ出力する。データ転送権通知部14は、複数の周辺回路A,Bの中のデータ転送中の周辺回路を表わす第2の信号Kを第2の端子Dを通じて外部へ出力する。エラー通知部16は、複数の周辺回路の中のいずれかの周辺回路でバッファエラーが発生したか否かを表わす第3の信号Eを第3の端子Eを通じて外部へ出力する。
【選択図】図1A data transfer device capable of efficiently outputting the operation state of a common bus to the outside with a small number of terminals is provided.
A plurality of peripheral circuits A and B exchange data through a common bus. The transfer waiting determination unit 12 outputs a first signal W indicating whether or not a selected peripheral circuit among the plurality of peripheral circuits A and B is waiting for data transfer to the outside through the first terminal C. The data transfer right notifying unit 14 outputs the second signal K representing the peripheral circuit in the plurality of peripheral circuits A and B that is transferring data to the outside through the second terminal D. The error notification unit 16 outputs a third signal E indicating whether or not a buffer error has occurred in any one of the plurality of peripheral circuits to the outside through the third terminal E.
[Selection] Figure 1
Description
本発明は、データ転送装置に関する。 The present invention relates to a data transfer apparatus.
共通バス方式を採用したシステムにおいて、障害内容を検知する方式が特許文献1(特開昭60−183657号公報)および特許文献2(特開昭60−69754号公報)に開示されている。 In a system that employs a common bus system, methods for detecting a failure content are disclosed in Patent Document 1 (Japanese Patent Laid-Open No. 60-183657) and Patent Document 2 (Japanese Patent Laid-Open No. 60-69754).
特許文献1には、共通バスにバスマスターと、バス・スレーブを接続したマイクロ・コンピュータ応用システムにおいて、上記バスマスターごとに共通バス制御権の要求から転送応答信号を受信するまでの時間を監視するタイマー回路を備えるとともに、上記バスマスターの少なくとも1つに、故障診断プログラムを格納するメモリと、該メモリを割込み処理動作で使用するマイクロ・コンピュータとを備え、上記タイマー回路が監視時間をオーバーすることにより、上記マイクロ・コンピュータに割込み処理動作を実行させることが開示されている。
In
また、特許文献2には、共通バスに接続され、複数のCPUからなるコンピュータシステムの共通バスの制御方法において、前記複数のCPUのそれぞれについてバス使用要求信号を発してから、バス使用権が与えられるまでの待時間を測定し、待時間が前記各CPUに対して定められた設定時間よりも長くなった場合にバス負荷異常信号を発することが開示されている。
ところで、高機能SoC(System-on-a-chip)などでは、動作上必要な外部端子の数が多く、データ転送バスの動作状態を通知するために多数の信号を引き出すことができない。 By the way, in a high-function SoC (System-on-a-chip) or the like, the number of external terminals necessary for operation is large, and a large number of signals cannot be extracted in order to notify the operation state of the data transfer bus.
その結果、チップ内部のデータ転送用バスの動作状態を外部から正確に把握できず、設計者は、専ら、高集積回路仕様書情報に基づいて、各周辺回路のデータ転送用バスの動作状態を推測するしかなかった。したがって、バス性能計算の推測値の妥当性を確認したり、異常時の原因を特定することが困難であった。 As a result, the operation state of the data transfer bus inside the chip cannot be accurately grasped from the outside, and the designer can determine the operation state of the data transfer bus of each peripheral circuit exclusively based on highly integrated circuit specification information. I had to guess. Therefore, it is difficult to confirm the validity of the estimated value of the bus performance calculation and to identify the cause of the abnormality.
しかしながら、特許文献1および特許文献2には、データ転送バスの動作状態を少ない端子数で効率よく外部に出力する構成が開示されていない。
However,
それゆえに、本発明の目的は、共通バスの動作状態を少ない端子数で効率よく外部に出力することができるデータ転送装置を提供することである。 SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a data transfer device that can efficiently output the operation state of a common bus to the outside with a small number of terminals.
本発明の一実施形態のデータ転送装置は、共通バスと、共通バスを通じてデータの授受を行なう複数のバス使用回路と、外部と接続された第1、第2および第3の端子と、複数のバス使用回路の中の選択されたバス使用回路がデータ転送待ちか否かを表わす第1の信号を第1の端子を通じて外部へ出力する転送待ち判定部と、複数のバス使用回路の中のデータ転送中のバス使用回路を表わす第2の信号を第2の端子を通じて外部へ出力するデータ転送権通知部と、複数のバス使用回路の中のいずれかのバス使用回路でバッファエラーが発生したか否かを表わす第3の信号を第3の端子を通じて外部へ出力するエラー通知部とを備える。 A data transfer device according to an embodiment of the present invention includes a common bus, a plurality of bus use circuits that exchange data through the common bus, first, second, and third terminals connected to the outside, A transfer wait determination unit for outputting a first signal indicating whether or not a selected bus use circuit in the bus use circuit is waiting for data transfer to the outside through the first terminal; and data in the plurality of bus use circuits Whether a buffer error has occurred in the data transfer right notification unit that outputs the second signal representing the bus use circuit being transferred to the outside through the second terminal, and any of the bus use circuits among the plurality of bus use circuits And an error notification unit for outputting a third signal indicating whether or not to the outside through a third terminal.
本発明の一実施形態のデータ転送装置によれば、共通バスの動作状態を少ない端子数で効率よく外部に出力することができる。 According to the data transfer device of one embodiment of the present invention, the operation state of the common bus can be efficiently output to the outside with a small number of terminals.
以下、本発明の実施形態について図面を参照して説明する。
[第1の実施形態]
図1は、第1の実施形態におけるデータ転送装置の構成を表わす図である。
Embodiments of the present invention will be described below with reference to the drawings.
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration of a data transfer apparatus according to the first embodiment.
図1を参照して、このデータ転送装置2は、データ転送バス4と、複数の周辺回路A、Bと、データ転送制御回路10と、転送待ち判定部12と、データ転送権通知部14と、エラー通知部16と、外部端子C、D、Eとを備える。
Referring to FIG. 1, this
外部端子C、D、Eは、データ転送装置の外部と接続され、外部へ信号を出力する。
データ転送バス4は、複数の周辺回路A,Bで共通に使用される共通バスである。
The external terminals C, D, and E are connected to the outside of the data transfer device and output signals to the outside.
The
各周辺回路A,Bは、データ転送バス4に接続される。各周辺回路A,Bは、データ転送バス4を通じて他の周辺回路とデータの授受を行なう。
Each peripheral circuit A, B is connected to the
周辺回路A,Bは、リードバッファと、ライトバッファとを含む。周辺回路A,Bは、リードバッファまたはライトバッファにエラーが発生したときに、バッファエラー信号を「H」レベルにアサートする。エラーには、アンダーフローとオーバーフローがある。アンダーフローとは、バッファ内にデータが蓄積されていない状態でデータの引き抜きが発生した場合をいう。オーバーフローは、バッファ内のデータ量が所定の閾値を超えている状態をいう。 Peripheral circuits A and B include a read buffer and a write buffer. The peripheral circuits A and B assert the buffer error signal to the “H” level when an error occurs in the read buffer or the write buffer. Errors include underflow and overflow. Underflow refers to a case where data is extracted while data is not stored in the buffer. Overflow refers to a state where the amount of data in the buffer exceeds a predetermined threshold.
周辺回路A,Bは、他の周辺回路A,Bへデータを転送する必要があるとき、または他のデータ転送からデータの転送を受ける必要があるときに、データ転送要求信号をデータ転送バス4を介してデータ転送制御回路10へ出力する。周辺回路A,Bは、データ転送制御回路10からデータ転送バス4を介してデータ転送許可信号を受けた後、他の周辺回路A,Bへのライトデータ(つまり、他の周辺回路A,Bへ送るデータ)をデータ転送バス4へ出力し、または他の周辺回路A,Bからのリードデータ(つまり、他の周辺回路A,Bから送られるデータ)をデータ転送バス4から受ける。
When the peripheral circuits A and B need to transfer data to other peripheral circuits A and B, or when they need to receive data transfer from other data transfers, the peripheral circuits A and B send data transfer request signals to the
データ転送制御回路10は、周辺回路A,Bのデータ転送を制御する。データ転送制御回路10は、データ転送バス4を介して周辺回路A,Bからデータ転送要求信号を受けて、データ転送を許可する場合にはデータ転送許可信号をデータ転送バス4を介して周辺回路A,Bへ出力する。データ転送制御回路10は、複数の周辺回路A,Bからデータ転送要求信号を受けたときには、最も優先度の高い周辺回路A,Bに対してデータ転送を許可する許可信号を出力し、その他の周辺回路A,Bに対してデータ転送を拒否する拒否信号を出力する。また、データ転送制御回路10は、周辺回路A,Bからデータ転送要求信号を受けたときに、他の周辺回路A,Bでデータ転送が実行されている場合には、他の周辺回路A,Bでのデータ転送が終了後に、データ転送要求信号を発行した周辺回路A,Bにデータ転送許可信号を出力する。
The data
転送待ち判定部12は、複数の周辺回路A,Bのうち選択された周辺回路A,Bについて、データ転送の待ち時間を測定する。転送待ち判定部12は、転送待ち信号を外部端子Cへ出力する。転送待ち判定部12は、複数の周辺回路A,Bのうち選択された周辺回路A,Bについて、データ転送待ちが発生したときに、転送待ち信号Wを「H」レベルにアサートする。
The transfer
データ転送権通知部14は、モードレジスタ18と、セレクタ20と、エンコーダ回路22とを含む。
The data transfer
図示しないCPUは、モードレジスタ18に、データ転送権の有無を通知する周辺回路を表わす識別子を設定する。 A CPU (not shown) sets an identifier representing a peripheral circuit for notifying the presence / absence of data transfer right in the mode register 18.
セレクタ20は、データ転送バス4に接続されているすべての周辺回路A,Bからリードデータ、またはライトデータを受け、そのうち、モードレジスタ18に設定された識別子の周辺回路から出力されたリードデータ、またはライトデータをエンコーダ回路22へ出力する。
The
エンコーダ回路22は、セレクタ20から出力されるリードデータまたはライトデータを受けて、リードデータまたはライトデータがデータ転送中を表わすときには、データ転送権を有する周辺回路を特定する。エンコーダ回路22は、データ転送権を有する周辺回路の識別子をエンコードした3ビットのバス権表示信号Kを外部端子Dへ出力する。
The
たとえば、モードレジスタ18に周辺回路A、周辺回路Bの識別子が設定された場合に、セレクタ20は、周辺回路A,周辺回路Bからのリードデータ、ライトデータをエンコーダ回路22へ出力する。エンコーダ回路22は、周辺回路Aのリードデータがデータをリードしている状態を表わすとき(たとえば、ヘッダによってリードデータまたはライトデータを識別できたとき)には、周辺回路Aを表わす識別子をエンコードした3ビットのバス権表示信号Kを出力する。たとえば、周辺回路A、B、C、D、E、F、Gを表わすときには、3ビットのバス権表示信号Kはそれぞれ2進数で001、010、011、100、101、110、111となる。
For example, when the identifiers of the peripheral circuit A and the peripheral circuit B are set in the mode register 18, the
エラー通知部16は、OR回路24と、エラーステイタスレジスタ26とを備える。
OR回路24は、データ転送バス4に接続されているすべての周辺回路A,Bからのバッファエラー信号を受ける。OR回路24は、すべての周辺回路A,Bからのバッファエラー信号の論理和を算出して、エラー信号Eとして外部端子Eへ出力する。したがって、OR回路24は、データ転送バス4に接続されているいずれかの周辺回路にバッファエラーが発生したときには、エラー信号Eを「H」レベルにアサートする。OR回路24は、データ転送バス4に接続されているすべての周辺回路A,Bでバッファエラーが発生しないときには、エラー信号Eを「L」レベルにする。
The
The OR
エラーステイタスレジスタ26は、バッファエラーが発生した周辺回路の識別子と、バッファエラーの種類を表わす識別子とを記憶する。バッファエラーの種類を表わす識別子は、リードバッファのオーバーフローを“00”とし、リードバッファのアンダーフローを“01”とし、ライトバッファのオーバーフローを“10”とし、ライトバッファのアンダーフローを“11”とする。 The error status register 26 stores an identifier of a peripheral circuit in which a buffer error has occurred and an identifier indicating the type of buffer error. The identifier indicating the type of buffer error is “00” for the overflow of the read buffer, “01” for the underflow of the read buffer, “10” for the overflow of the write buffer, and “11” for the underflow of the write buffer. To do.
(動作)
図2は、第1の実施形態におけるデータ転送権の通知とエラーの通知の動作を説明するための図である。
(Operation)
FIG. 2 is a diagram for explaining the data transfer right notification and error notification operations in the first embodiment.
まず、CPUによって、データ転送権通知内のモードレジスタ18に周辺回路Aおよび周辺回路Bを特定する識別子が設定されているものとする。 First, it is assumed that an identifier for identifying the peripheral circuit A and the peripheral circuit B is set in the mode register 18 in the data transfer right notification by the CPU.
図2を参照して、データ転送制御回路10は、データ転送要求信号が発生するのを待つ(ステップS101)。
Referring to FIG. 2, data
周辺回路Aがデータ転送要求信号をデータ転送制御回路10へ出力する。周辺回路Aが、データ転送制御回路10からデータ転送許可信号を受けて、ライトデータの出力を開始、すなわちデータ転送を開始する(ステップS102)。
Peripheral circuit A outputs a data transfer request signal to data transfer
セレクタ20は、周辺回路Aからのライトデータをエンコーダ回路22へ出力する。エンコーダ回路22は、セレクタ20から出力されるライトデータを受けて、ライトデータがデータ転送中を表わすときには、データ転送権を有する周辺回路Aを特定する。エンコーダ回路22は、データ転送権を有する周辺回路Aの識別子をエンコードした3ビットのバス権表示信号K“001”を外部端子Dへ出力する(ステップS103)。
The
その後、周辺回路Aのライトバッファでオーバーフローが発生し(ステップS104)、周辺回路Aは、バッファエラー信号を出力し、エラー通知部16のOR回路24は、エラー信号Eを「H」レベルにアサートする(ステップS105)。
Thereafter, an overflow occurs in the write buffer of the peripheral circuit A (step S104), the peripheral circuit A outputs a buffer error signal, and the
また、エラー通知部16のエラーステイタスレジスタ26は、バッファエラーが発生した周辺回路の識別子“001”と、バッファエラーの種類(ここでは、ライトバッファのオーバーフロー)を表わす識別子“10”とを記憶する(ステップS106)。
The
その後、周辺回路Bがデータ転送要求信号をデータ転送制御回路10へ出力する。周辺回路Bが、データ転送制御回路10からデータ転送許可信号を受けて、ライトデータの出力を開始、すなわちデータ転送を開始する(ステップS107)。
Thereafter, the peripheral circuit B outputs a data transfer request signal to the data
エンコーダ回路22は、セレクタ20から出力されるライトデータを受けて、ライトデータがデータ転送中を表わすときには、データ転送権を有する周辺回路Bを特定する。エンコーダ回路22は、外部端子Dへ出力する3ビットのバス権表示信号Kを“000”に一旦クリアし(ステップS108)、その後データ転送権を有する周辺回路Bの識別子“010”に設定する(ステップS109)。
The
(信号の変化のタイミング)
図3は、第1の実施形態のデータ転送装置で伝送される信号のタイミングを表わす図である。
(Signal change timing)
FIG. 3 is a diagram illustrating the timing of signals transmitted by the data transfer apparatus according to the first embodiment.
まず、周辺回路Bがデータ転送を行ない、その後、周辺回路Aがデータ転送を行なうものとする。 First, it is assumed that the peripheral circuit B performs data transfer, and then the peripheral circuit A performs data transfer.
各周辺回路A,Bは、データ転送要求信号を送信してから、許可信号を受けて実際にデータを転送するまでの転送待ちの状態を有する。図3の例では、周辺回路Aがデータ転送要求信号を送信したときには、周辺回路Bがデータ転送中であったので、周辺回路Bがデータ転送を終了した後、周辺回路Aは許可信号を受信してデータ転送を実行している。 Each of the peripheral circuits A and B has a transfer waiting state from when the data transfer request signal is transmitted until the data is actually transferred after receiving the permission signal. In the example of FIG. 3, when the peripheral circuit A transmits the data transfer request signal, the peripheral circuit B is in the data transfer state, so that the peripheral circuit A receives the permission signal after the peripheral circuit B finishes the data transfer. Data transfer.
転送待ち信号Wは、いずれかの周辺回路で転送待ちが発生したときに、「H」レベルに活性化される。 The transfer waiting signal W is activated to “H” level when transfer waiting occurs in any of the peripheral circuits.
バス権表示信号Kは、周辺回路Bでデータ転送が行なわれているときに、周辺回路Bの識別子を表わし、周辺回路Aでデータ転送が行なわれているときに、周辺回路Aの識別子を表わす。 The bus right indication signal K represents the identifier of the peripheral circuit B when the data transfer is performed in the peripheral circuit B, and represents the identifier of the peripheral circuit A when the data transfer is performed in the peripheral circuit A. .
以上のように、本実施の形態によれば、選択された周辺回路がデータ転送待ちであるか否かを表わす信号、いずれかの周辺回路でバッファエラーが発生したか否かを表わす信号、データ転送権を有する周辺回路がいずれであるかを示す信号を3個の端子で効率よく外部に出力することができるので、システム上重要な端子の多い高機能SoCにも実装環境への負荷を与えることなく実装することができる。 As described above, according to the present embodiment, a signal indicating whether or not the selected peripheral circuit is waiting for data transfer, a signal indicating whether or not a buffer error has occurred in any of the peripheral circuits, and data Since a signal indicating which peripheral circuit has the transfer right can be efficiently output to the outside with three terminals, a load on the mounting environment is also given to a high-functional SoC having many important terminals in the system. It can be implemented without
また、端子から出力される信号によって、設計者によるデバッグが容易となる。すなわち、端子から出力される信号によって、データ転送方式や転送優先順位の妥当性を確認したりすることができる。また、設計者は、次期デバイス設計時の最適なハードウエア構成(内蔵FIFO(First In First out)量など)を検討することができる。 Further, debugging by the designer is facilitated by a signal output from the terminal. That is, the validity of the data transfer method and the transfer priority can be confirmed by the signal output from the terminal. In addition, the designer can consider an optimal hardware configuration (such as a built-in FIFO (First In First Out) amount) when designing the next device.
また、バッファエラーが発生した時点が明示化され、エラーステイタスレジスタ26の内容、発生時点前後のエンコーダ回路22の出力を参照すれば、何の転送時にエラーが発生しているかが判るため、問題点を明確化でき、対策が立てやすくなる。
In addition, the point in time when the buffer error occurs is clarified, and by referring to the contents of the
[第2の実施形態]
図4は、第2の実施形態のデータ転送装置の構成を表わす図である。
[Second Embodiment]
FIG. 4 is a diagram illustrating the configuration of the data transfer apparatus according to the second embodiment.
図4を参照して、データ転送装置2は、周辺回路A,Bと、データ転送バス4と、データ転送制御回路10と、転送待ち判定部12と、外部端子Cとを備える。このデータ転送装置は、さらに、図1で説明したエラー通知部16、データ転送権通知部14、および外部端子D、Eとを備えるものとしてもよい。
Referring to FIG. 4,
周辺回路A,Bと、データ転送バス4と、データ転送制御回路10とは、第1の実施形態で説明したものと同様である。
The peripheral circuits A and B, the
転送待ち判定部12は、モードレジスタ28と、セレクタ回路30と、カウンタ制御回路32と、16ビットカウンタ38と、転送待ち時間保持レジスタ34と、最大転送待ち時間保持レジスタ36とを含む。
The transfer waiting
図示しないCPUは、モードレジスタ28に、転送待ち時間を測定する周辺回路を表わす識別子を設定する。
A CPU (not shown) sets an identifier representing a peripheral circuit for measuring the transfer waiting time in the
セレクタ回路30は、データ転送バス4に接続されているすべての周辺回路A,Bからデータ転送要求信号、リードデータ、ライトデータを受け、そのうち、モードレジスタ28に設定された識別子の周辺回路から出力されたデータ転送要求信号、リードデータ、ライトデータをカウンタ制御回路32へ出力する。
The
カウンタ制御回路32は、セレクタからデータ転送要求信号を受けたときには、16ビットカウンタ38のカウント動作を開始させる開始信号を出力するともに、第1の実施形態で説明した転送待ち信号Wを活性化して外部端子Cへ出力する。
When the
また、カウンタ制御回路32は、セレクタからリードデータまたはライトデータの先頭を受けたときに、16ビットカウンタ38のカウント動作を停止させる停止信号を出力する。
Further, the
16ビットカウンタ38は、データ転送バスクロックの立上りに基づいて、カウント値を増加させる。16ビットカウンタ38は、開始信号を受けたときにカウント値の更新を開始し、終了信号を受けたときにカウント値の更新を停止する。16ビットカウンタ38のカウント値は、停止後、転送待ち時間保持レジスタ34へ出力される。
The 16-
転送待ち時間保持レジスタ34は、16ビットカウンタ38の停止後のカウント値、つまりモードレジスタ28に設定された識別子の周辺回路についての、データ転送バスクロックの立ち上がりを受信した回数で表わされる転送待ち時間を保持する。
The transfer waiting
最大転送待ち時間保持レジスタ36は、転送待ち時間保持レジスタ34に保持されたカウント値の履歴の最大値を保持する。
The maximum transfer wait
(動作)
図5は、第2の実施形態のデータ転送待ち時間の測定動作を説明するための図である。
(Operation)
FIG. 5 is a diagram for explaining the data transfer waiting time measurement operation of the second embodiment.
図5を参照して、CPUによって、転送待ち判定部12内のモードレジスタ28に周辺回路Aを特定する識別子が設定されているものとする。
Referring to FIG. 5, it is assumed that an identifier for specifying peripheral circuit A is set in
図5を参照して、データ転送制御回路10は、データ転送要求信号が発生するのを待つ(ステップS201)。
Referring to FIG. 5, data
周辺回路Aがデータ転送要求信号をデータ転送制御回路10へ出力する(ステップS202)。 The peripheral circuit A outputs a data transfer request signal to the data transfer control circuit 10 (step S202).
その後、セレクタ回路30は、周辺回路Aから出力されるデータ転送要求信号をカウンタ制御回路32へ出力する。カウンタ制御回路32は、セレクタ回路30からデータ転送要求信号を受けて、16ビットカウンタ38のカウント動作を開始させる開始信号を出力する(ステップS203)。
Thereafter, the
次に、周辺回路Aが、データ転送許可信号を受けて、ライトデータの出力を開始、すなわちデータ転送を開始する(ステップS204)。 Next, the peripheral circuit A receives the data transfer permission signal and starts outputting write data, that is, starts data transfer (step S204).
その後、カウンタ制御回路32は、セレクタ回路30からライトデータの先頭を受けると、16ビットカウンタ38のカウント動作を停止させる停止信号を出力する(ステップS205)。
Thereafter, when receiving the head of the write data from the
16ビットカウンタ38のカウント動作が停止すると、カウント値が転送待ち時間保持レジスタ34に送られて、転送待ち時間保持レジスタ34内の保持しているカウント値が更新される。たとえば、カウンタ値“b”が格納されるとする(ステップS206)。
When the counting operation of the 16-
最大転送待ち時間保持レジスタ36は、転送待ち時間保持レジスタ34の更新されたカウント値が、保持しているカウント値(たとえば“a”)よりも大きいときには、保持しているカウント値“a”を転送待ち時間保持レジスタ34内のカウント値“b”で更新する(ステップS207)。
The maximum transfer waiting
16ビットカウンタ38は、カウント動作を停止した後、カウント値を0にクリアする(ステップS208)。
The 16-
その後、周辺回路Aが、ライトデータの出力を停止、すなわちデータ転送を終了する(ステップS209)。 Thereafter, the peripheral circuit A stops outputting the write data, that is, ends the data transfer (step S209).
以上のように、本実施の形態によれば、データ転送要求信号を受けたときには、カウンタにデータ転送バスクロックに基づくカウント動作を開始させ、リードデータまたはライトデータの先頭を受けたときに、カウンタのカウント動作を停止させることによって、データ転送要求信号が発行されてから実際にデータが転送されるまので時間を測定することができる。 As described above, according to the present embodiment, when a data transfer request signal is received, the counter starts a count operation based on the data transfer bus clock, and when the head of read data or write data is received, the counter By stopping the counting operation, it is possible to measure the time from when the data transfer request signal is issued until the data is actually transferred.
[第3の実施形態]
図6は、第3の実施形態のデータ転送装置の構成を表わす図である。
[Third Embodiment]
FIG. 6 is a diagram illustrating the configuration of the data transfer apparatus according to the third embodiment.
図6を参照して、このデータ転送装置72は、データ転送バス4と、周辺回路A,Bと、エラー通知部16と、データ転送制御回路10と、優先度変更回路40とを備える。このデータ転送装置は、さらに、図1で説明したデータ転送権通知部14、転送待ち判定部12、および外部端子C〜Eを備えるものとしてもよい。
Referring to FIG. 6,
周辺回路A,Bは、ライトバッファ46,50とリードバッファ44,48とを含む。ライトバッファ46,50は、ライトアクセス時にライトデータをデータ転送バス4へ出力するために保持する。リードバッファ44,48は、リードアクセス時にデータ転送バス4から受けたリードデータを保持する。
Peripheral circuits A and B include write buffers 46 and 50 and read
周辺回路A,Bのリードバッファ44,48がアンダーフローとなったときには、その周辺回路A,Bの識別子が、リードバッファ44,48がアンダーフローした周辺回路A,Bの識別子としてエラーステイタスレジスタ26に設定される。 When the read buffers 44 and 48 of the peripheral circuits A and B underflow, the identifiers of the peripheral circuits A and B are used as the identifiers of the peripheral circuits A and B underflowed by the read buffers 44 and 48. Set to
周辺回路A,Bのリードバッファ44,48がオーバーフローとなったときには、その周辺回路A,Bの識別子が、リードバッファ44,48がオーバーフローした周辺回路A,Bの識別子としてエラーステイタスレジスタ26に設定される。
When the read buffers 44 and 48 of the peripheral circuits A and B overflow, the identifiers of the peripheral circuits A and B are set in the
周辺回路A,Bのライトバッファ46,50がアンダーフローとなったときには、その周辺回路A,Bの識別子が、ライトバッファ46,50がアンダーフローした周辺回路A,Bの識別子としてエラーステイタスレジスタ26に設定される。 When the write buffers 46 and 50 of the peripheral circuits A and B are underflowed, the identifiers of the peripheral circuits A and B are used as the identifiers of the peripheral circuits A and B whose write buffers 46 and 50 are underflowed. Set to
周辺回路A,Bのライトバッファ46,50がオーバーフローとなったときには、その周辺回路A,Bの識別子が、ライトバッファ46,50がオーバーフローした周辺回路A,Bの識別子A,Bとしてエラーステイタスレジスタ26に設定される。 When the write buffers 46 and 50 of the peripheral circuits A and B overflow, the identifiers of the peripheral circuits A and B become the identifiers A and B of the peripheral circuits A and B that have overflowed the write buffers 46 and 50, respectively. 26.
データ転送制御回路10は、優先度設定レジスタ42を備える。優先度設定レジスタ42は、データ転送バス4に接続されている複数の周辺回路の優先度の設定値を保持する。優先度は、0〜15の値をとる。優先度0が最も優先度が低く、優先度15が最も優先度が高い。
The data
データ転送制御回路10は、複数の周辺回路A,Bに対して設定された優先度に基づいて、周辺回路によるデータ転送の要求を許否または却下する。
The data
図7は、優先度変更回路40による優先度の変更例を表わす図である。
優先度変更回路40は、エラー通知部16のエラーステイタスレジスタ26にリードバッファがオーバーフローした周辺回路の識別子が保持されている場合には、その識別子で特定される周辺回路の優先度を1段階下げる。
FIG. 7 is a diagram illustrating a priority change example by the
When the
優先度変更回路40は、エラー通知部16のエラーステイタスレジスタ26にリードバッファがアンダーフローした周辺回路の識別子が保持されている場合には、その識別子で特定される周辺回路の優先度を1段階上げる。
When the
優先度変更回路40は、エラー通知部16のエラーステイタスレジスタ26にライトバッファがオーバーフローした周辺回路の識別子が保持されている場合には、その識別子で特定される周辺回路の優先度を1段階上げる。
When the
優先度変更回路40は、エラー通知部16のエラーステイタスレジスタ26にライトバッファがアンダーフローした周辺回路の識別子が保持されている場合には、その識別子で特定される周辺回路の優先度を1段階下げる。
When the
以上のように、本実施の形態によれば、エラーが発生した周辺回路の優先度を変更することによって、エラーの発生を抑えるようにすることができる。 As described above, according to the present embodiment, it is possible to suppress the occurrence of errors by changing the priority of peripheral circuits in which errors have occurred.
[第4の実施形態]
図8は、第4の実施形態のデータ転送装置の構成を表わす図である。
[Fourth Embodiment]
FIG. 8 is a diagram illustrating the configuration of the data transfer apparatus according to the fourth embodiment.
図8を参照して、このデータ転送装置2は、データ転送バス4と、周辺回路A,Bと、データ転送制御回路10と、全転送待ち時間算出回路53と、加算回路55と、全転送時間算出回路52と、クロック制御回路57とを備える。このデータ転送装置は、さらに、図1で説明したエラー通知部16とデータ転送権通知部14と外部端子C〜Eを備えるものとしてもよい。
Referring to FIG. 8,
データ転送制御回路10は、転送量設定レジスタ59を含む。転送量設定レジスタ59は、データ転送バス4に接続されている周辺回路ごとの一転送当りで転送されるデータ量の設定値を保持する。
The data
全転送待ち時間算出回路53は、サンプリング区間内の全データ転送時間に対応するデータ転送バスクロックの数Aを算出する。
The total transfer waiting
具体的には、全転送待ち時間算出回路53は、第2の実施形態で説明した転送待ち判定部12と、加算回路150と、全転送待ち時間保持レジスタ51とを含む。
Specifically, the total transfer wait
加算回路150は、サンプリング区間において、転送待ち判定部12内のカウンタ制御回路32から停止信号を受けると、転送待ち判定部12の転送待ち時間保持レジスタ34からカウント値R0を読み出して、全転送待ち時間保持レジスタ51内のカウント値と加算して、加算結果で全転送待ち時間保持レジスタ51内のカウント値を更新する。サンプリング区間の終了後には、全転送待ち時間保持レジスタ51には、全転送待ち時間に対応するデータ転送バスクロックの数Aが保持される。
When the
全転送時間算出回路52は、転送量設定レジスタ59に設定される周辺回路ごとの1回当りのデータ転送量に基づいて、サンプリング区間における全転送時間に対応するデータ転送バスクロックの数Bを算出する。
The total transfer
たとえば、周辺回路Aの1回当りのデータ転送量が64バイトであり、周辺回路Bの1回当りのデータ転送量が32バイトであるとする。また、データ転送バス4の転送速度がXバイト/秒とする。サンプリング区間において周辺回路Aで10回のデータ転送が発生し、周辺回路Bで5回のデータ転送が発生した場合に、周辺回路Aのデータ転送に(64×10)/X(秒)を要し、周辺回路Bのデータ転送に(32×5)/X(秒)を要する。したがって、一定期間における全転送時間は、800/X(秒)となり、全転送時間に対応するデータ転送バスクロックの数Bは、800/(X×T)となる。ただし、Tは、データ転送バスクロックの周期である。
For example, it is assumed that the data transfer amount per one time of the peripheral circuit A is 64 bytes, and the data transfer amount per one time of the peripheral circuit B is 32 bytes. The transfer rate of the
加算回路55は、サンプリング区間内の全データ転送時間に対応するデータ転送バスクロックの数Aと、全データ転送時間に対応するデータ転送バスクロックの数Bとを加算して、サンプリング区間内の全転送待ち時間と全転送時間の合計時間に対応するデータ転送バスクロックの数Cを算出する。
The
クロック制御回路57は、サンプリング区間の時間に対する合計時間の割合に基づいて、データ転送バスクロックの周波数を変更する。
The
クロック制御回路57は、除算回路54と、乗算回路56と、クロック逓倍回路58とを備える。
The
除算回路54は、サンプリング区間の時間に対応するデータ転送バスクロックの数Sをサンプリング区間内の全転送待ち時間と全転送時間の合計時間に対応するデータ転送バスクロックの数Cで除算して、除算値Dを出力する。
The
乗算回路56は、逓倍設定値hと除算値Dとを乗算して、乗算値Mを出力する。
クロック逓倍回路58は、除算値Dだけデータ転送バスクロックの周波数を増加させる。
The
The
すなわち、クロック逓倍回路58は、調整前は、基準クロックの周波数のh倍の周波数のクロックをデータ転送バスクロックとして出力していたのに対して、調整後は、基準クロックの周波数のM倍の周波数のクロックをデータ転送バスクロックとして出力する。
That is, the
(例)
図9は、サンプリング区間における転送待ちとデータ転送とを表わす図である。
(Example)
FIG. 9 is a diagram illustrating transfer waiting and data transfer in the sampling period.
図9に示すように、サンプリング区間において、周辺回路Aにおいて、転送待ち時間がデータ転送バスクロックの100個分の長さ、転送時間がデータ転送バスクロックの250個分の長さ、転送待ち時間がデータ転送バスクロックの150個分の長さ、転送時間がデータ転送バスクロックの250個分の長さであるとする。 As shown in FIG. 9, in the sampling period, in the peripheral circuit A, the transfer waiting time is 100 data transfer bus clocks long, the transfer time is 250 data transfer bus clocks long, transfer waiting time Is the length of 150 data transfer bus clocks, and the transfer time is 250 data transfer bus clocks long.
また、周辺回路Bにおいて、転送待ち時間がデータ転送バスクロックの100個分の長さ、転送時間がデータ転送バスクロックの250個分の長さ、転送待ち時間がデータ転送バスクロックの150個分の長さ、転送時間がデータ転送バスクロックの250個分の長さであるとする。 In peripheral circuit B, the transfer waiting time is 100 data transfer bus clocks long, the transfer time is 250 data transfer bus clocks long, and the transfer waiting time is 150 data transfer bus clocks. , And the transfer time is 250 data transfer bus clocks.
図10は、図9の転送待ちおよびデータ転送の状態でのクロック制御を説明するための図である。 FIG. 10 is a diagram for explaining clock control in the transfer waiting and data transfer states of FIG.
図10に示すように、全転送待ち時間算出部で算出される全転送待ち時間Aはデータ転送バスクロックの500個分の長さである。全転送時間算出部で算出される全転送時間Bはデータ転送バスクロックの1000個分の長さである。加算回路55で算出される全転送待ち時間と全転送時間の合計時間Cはデータ転送バスクロックの1500個分の長さである。サンプリング区間Sは、データ転送バスクロックの4500個分の長さである。
As shown in FIG. 10, the total transfer waiting time A calculated by the total transfer waiting time calculation unit is the length of 500 data transfer bus clocks. The total transfer time B calculated by the total transfer time calculation unit is the length of 1000 data transfer bus clocks. The total time C of the total transfer waiting time and the total transfer time calculated by the
除算回路54で算出される除算値Dは3となる。また、逓倍設定値hは2のときには、乗算値Mは6となる。したがって、クロック逓倍回路58は、基準クロックの周波数の6倍の周波数のクロックをデータ転送バスクロックとして出力することになる。
The division value D calculated by the
以上のように、本実施の形態によれば、実動作からデータ転送バスクロックの最適な動作周波数を割り出して、設定することができるので、無駄な電力消費を抑えることができる。 As described above, according to the present embodiment, it is possible to determine and set the optimum operating frequency of the data transfer bus clock from the actual operation, and thus it is possible to suppress wasteful power consumption.
[第5の実施形態]
図11は、第5の実施形態のデータ転送装置の構成を表わす図である。
[Fifth Embodiment]
FIG. 11 is a diagram illustrating the configuration of the data transfer apparatus according to the fifth embodiment.
図11を参照して、このデータ転送装置90は、周辺回路A,Bと、データ転送バス4と、データ転送権通知部14と、エラー通知部16と、転送量変更回路60と、データ転送制御回路10とを備える。このデータ転送装置は、さらに、図1で説明した転送待ち判定部12、および外部端子C〜Eを備えるものとしてもよい。
Referring to FIG. 11,
データ転送制御回路10は、優先度設定レジスタ42と、転送量設定レジスタ59とを含む。
The data
優先度設定レジスタ42は、データ転送バス4に接続される周辺回路A,Bの優先度の設定値を保持する。
The
転送量設定レジスタ59は、データ転送バス4に接続される周辺回路ごとの1回当りのデータ転送量の設定値を保持する。ここで、1回当りのデータ転送量とは、1つのデータ転送要求信号を発行して、許可信号を受けたときに転送できるデータ量をいう。
The transfer
データ転送制御回路10は、優先度設定レジスタ42を参照して、複数の周辺回路A,Bに対して設定された優先度に基づいて、周辺回路A,Bからデータ転送要求信号に対して許否または却下する。データ転送制御回路10は、データ転送を許可するときには、転送量設定レジスタ59を参照して、データ転送を許可する周辺回路に設定された1回当りのデータ転送量に基づいて、その周辺回路による1回当りのデータ転送量を制御する。
The data
データ転送権通知部14は、第1の実施形態で説明したように、データ転送権を有する周辺回路の識別子をエンコードした3ビットのバス権表示信号Kを出力する。
As described in the first embodiment, the data transfer
エラー通知部16は、第1の実施形態で説明したように、データ転送バス4に接続されているいずれかの周辺回路にバッファエラーが発生したときには、「H」レベルにアサートしたエラー信号Eを「H」を出力する。
As described in the first embodiment, when a buffer error occurs in any of the peripheral circuits connected to the
転送量変更回路60は、エラー通知部16から出力されるエラー信号Eが「H」レベルにアサートされているときに、データ転送権通知部14から出力されるバス権表示信号Kを参照して、エラーが発生している周辺回路を特定する。転送量変更回路60は、優先度設定レジスタ42を参照して、特定したエラーが発生した周辺回路よりも優先度が高い周辺回路を特定する。転送量変更回路60は、優先度が高い周辺回路が複数個あるときには、それらのうち優先度が最も高い周辺回路を1つだけ特定する。転送量変更回路60は、特定した優先度が高い周辺回路の1回当りのデータ転送量を減少させる。
The transfer amount changing circuit 60 refers to the bus right display signal K output from the data transfer
図12は、周辺回路の優先度の例を表わす図である。
図12を参照して、この例では、周辺回路A、B、Cの優先度がそれぞれ「9」、「6」、「4」である。
FIG. 12 is a diagram illustrating an example of priorities of peripheral circuits.
Referring to FIG. 12, in this example, the priorities of peripheral circuits A, B, and C are “9”, “6”, and “4”, respectively.
図13(a)は、各周辺回路の1回当りのデータ転送量の初期値を表わす図である。
図13(a)に示すように、この例では、すべての周辺回路の1回当りのデータ転送量は、「64」バイトである。
FIG. 13A shows an initial value of the data transfer amount per time of each peripheral circuit.
As shown in FIG. 13A, in this example, the data transfer amount per time of all the peripheral circuits is “64” bytes.
この状態で、周辺回路Bにエラーが発生したときに、周辺回路Bよりも優先度が高い周辺回路Cの一回が特定される。そして、周辺回路Cの一転送当りのデータ転送量が現在の転送量の1/2に減少させられる。 In this state, when an error occurs in the peripheral circuit B, one time of the peripheral circuit C having a higher priority than the peripheral circuit B is specified. Then, the data transfer amount per transfer of the peripheral circuit C is reduced to ½ of the current transfer amount.
図13(b)は、転送量調整後の各周辺回路の1回当りのデータ転送量を表わす図である。 FIG. 13B is a diagram showing the data transfer amount per time of each peripheral circuit after the transfer amount adjustment.
図13(b)に示すように、この例では、周辺回路Cの1回当りのデータ転送量は、32バイトに減少する。 As shown in FIG. 13B, in this example, the data transfer amount per time of the peripheral circuit C is reduced to 32 bytes.
図14(a)は、図13(a)の転送量の設定値の下での、周辺回路Bのデータ転送を説明するための図である。 FIG. 14A is a diagram for explaining data transfer of the peripheral circuit B under the transfer amount set value of FIG.
図14(a)に示すように、周辺回路Bから転送されるデータは、64バイトに分割されて転送される。この場合、周辺回路Bは、分割された64バイトのデータを転送する前ごとにデータ転送要求信号を発行する。 As shown in FIG. 14A, the data transferred from the peripheral circuit B is divided into 64 bytes and transferred. In this case, the peripheral circuit B issues a data transfer request signal every time before transferring the divided 64-byte data.
図14(b)は、図13(b)の転送量の設定値の下での、周辺回路Bのデータ転送を説明するための図である。 FIG. 14B is a diagram for explaining data transfer of the peripheral circuit B under the transfer amount setting value of FIG. 13B.
図14(b)に示すように、周辺回路Bから転送されるデータは、32バイトに分割されて転送される。この場合、周辺回路Bは、分割された32バイトのデータを転送する前ごとにデータ転送要求信号を発行する。 As shown in FIG. 14B, the data transferred from the peripheral circuit B is divided into 32 bytes and transferred. In this case, the peripheral circuit B issues a data transfer request signal every time before transferring the divided 32-byte data.
以上のように、本実施の形態によれば、エラーが発生した周辺回路よりも優先度が高い周辺回路の1回当りのデータ転送量を減少させるので、エラーの発生を抑制することができる。 As described above, according to the present embodiment, since the amount of data transferred per time of a peripheral circuit having a higher priority than the peripheral circuit in which the error has occurred is reduced, the occurrence of an error can be suppressed.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
2,72,90 データ転送装置、4 データ転送バス、10 データ転送制御回路、12 転送待ち判定部、14 データ転送権通知部、16 エラー通知部、18,28 モードレジスタ、20 セレクタ、22 エンコーダ回路、24 OR回路、26 エラーステイタスレジスタ、30 セレクタ回路、32 カウンタ制御回路、34 転送待ち時間保持レジスタ、36 最大転送待ち時間保持レジスタ、38 16ビットカウンタ、40 優先度変更回路、42 優先度設定レジスタ、44,48 リードバッファ、46,50 ライトバッファ、51 全転送待ち時間保持レジスタ、52 全転送時間算出回路、53 全転送待ち時間算出回路、54 除算回路、55,150 加算回路、56 乗算回路、57 クロック制御回路、58 クロック逓倍回路、59 転送量設定レジスタ、60 転送量偏向回路、A,B 周辺回路、C,D,E 外部端子。
2, 72, 90 Data transfer device, 4 Data transfer bus, 10 Data transfer control circuit, 12 Transfer wait determination unit, 14 Data transfer right notification unit, 16 Error notification unit, 18, 28 Mode register, 20 Selector, 22 Encoder circuit , 24 OR circuit, 26 error status register, 30 selector circuit, 32 counter control circuit, 34 transfer waiting time holding register, 36 maximum transfer waiting time holding register, 38 16 bit counter, 40 priority changing circuit, 42
Claims (10)
前記共通バスを通じてデータの授受を行なう複数のバス使用回路と、
外部と接続された第1、第2および第3の端子と、
前記複数のバス使用回路の中の選択されたバス使用回路がデータ転送待ちか否かを表わす第1の信号を前記第1の端子を通じて外部へ出力する転送待ち判定部と、
前記複数のバス使用回路の中のデータ転送中のバス使用回路を表わす第2の信号を前記第2の端子を通じて外部へ出力するデータ転送権通知部と、
前記複数のバス使用回路の中のいずれかのバス使用回路でバッファエラーが発生したか否かを表わす第3の信号を前記第3の端子を通じて外部へ出力するエラー通知部とを備えた、データ転送装置。 A common bus,
A plurality of bus use circuits for transferring data through the common bus;
First, second and third terminals connected to the outside;
A transfer wait determination unit for outputting a first signal indicating whether or not a selected bus use circuit of the plurality of bus use circuits is waiting for data transfer to the outside through the first terminal;
A data transfer right notifying unit for outputting a second signal representing the bus use circuit that is transferring data among the plurality of bus use circuits to the outside through the second terminal;
An error notification unit that outputs a third signal indicating whether or not a buffer error has occurred in any one of the plurality of bus use circuits to the outside through the third terminal; Transfer device.
前記共通バスのクロックにしたがって、カウントアップするカウンタと、
前記選択されたバス使用回路から出力された転送要求信号を受けると前記カウンタのカウントアップを開始させ、前記選択されたバス使用回路から出力されたリードデータまたはライトデータを受けると前記カウンタのカウントアップを停止させるカウンタ制御回路と、
前記カウンタの停止後のカウント値を保持する第1のレジスタとを含む、請求項2記載のデータ転送装置。 The transfer waiting determination unit
A counter that counts up according to the clock of the common bus;
When the transfer request signal output from the selected bus use circuit is received, the counter starts counting up. When the read data or write data output from the selected bus use circuit is received, the counter counts up. A counter control circuit for stopping
The data transfer device according to claim 2, further comprising: a first register that holds a count value after the counter is stopped.
前記第1のレジスタに保持される前記カウント値の履歴の最大値を保持する第2のレジスタを含む、請求項3記載のデータ転送装置。 The transfer waiting determination unit further includes:
The data transfer device according to claim 3, further comprising a second register that holds a maximum value of the history of the count values held in the first register.
前記データ転送装置は、
前記複数のバス使用回路に対して設定された優先度に基づいて、前記バス使用回路によるデータ転送の要求を許否または却下するデータ転送制御回路と、
前記エラーステイタスレジスタ内の前記バッファエラーが発生したバス使用回路の前記優先度を変更する優先度変更回路とを備えた、請求項1記載のデータ転送装置。 The error notification unit further includes an error status register that holds an identifier representing a bus use circuit in which the buffer error has occurred,
The data transfer device
A data transfer control circuit for permitting or rejecting a request for data transfer by the bus using circuit based on the priority set for the plurality of bus using circuits;
The data transfer device according to claim 1, further comprising: a priority changing circuit that changes the priority of the bus use circuit in which the buffer error has occurred in the error status register.
前記優先度変更回路は、前記バッファエラーとしてリードバッファのオーバーフローが発生したバス使用回路の優先度を減少させ、前記バッファエラーとしてリードバッファのアンダーフローが発生したバス使用回路の優先度を増加させる、請求項5記載のデータ転送装置。 The bus use circuit includes a read buffer,
The priority changing circuit decreases the priority of the bus use circuit in which an overflow of the read buffer has occurred as the buffer error, and increases the priority of the bus use circuit in which an underflow of the read buffer has occurred as the buffer error. The data transfer device according to claim 5.
前記優先度変更回路は、前記バッファエラーとしてライトバッファのオーバーフローが発生したバス使用回路の優先度を増加させ、前記バッファエラーとしてライトバッファのアンダーフローが発生したバス使用回路の優先度を減少させる、請求項5記載のデータ転送装置。 The bus use circuit includes a write buffer,
The priority changing circuit increases the priority of the bus use circuit in which the write buffer overflow has occurred as the buffer error, and decreases the priority of the bus use circuit in which the write buffer underflow has occurred as the buffer error. The data transfer device according to claim 5.
サンプリング区間において、前記複数のバス使用回路によるデータ転送待ちの合計時間を算出する第1の算出部と、
前記サンプリング区間において、前記複数のバス使用回路によるデータ転送の合計時間を算出する第2の算出部と、
前記サンプリング区間内の前記データ転送の合計時間と前記データ転送待ちの合計時間の和を算出する加算部と、
前記サンプリング区間の時間に対する前記合計時間の和の割合に基づいて、前記共通バスのクロック周波数を変更するクロック制御回路とを備えた、請求項1記載のデータ転送装置。 The data transfer device further includes:
A first calculation unit for calculating a total time for waiting for data transfer by the plurality of bus use circuits in the sampling period;
A second calculation unit for calculating a total time of data transfer by the plurality of bus using circuits in the sampling period;
An adder that calculates a sum of the total time of the data transfer and the total time of the data transfer waiting in the sampling period;
The data transfer device according to claim 1, further comprising: a clock control circuit that changes a clock frequency of the common bus based on a ratio of the sum of the total times to the time of the sampling period.
前記複数のバス使用回路に対して設定された優先度に基づいて、前記バス使用回路によるデータ転送の要求を許否または却下し、データ転送を許可するときには、データ転送を許可するバス使用回路に対して設定された1回当りの転送量に基づいて、前記バス使用回路による1回当りの転送量を制御するデータ転送制御部と、
前記第2の信号および前記第3の信号に基づいて、前記バッファエラーが発生したバス使用回路を特定し、前記特定したバス使用回路の優先度よりも高い優先度のバス使用回路の1回当りの転送量を減少させる転送量変更回路とを備える、請求項1記載のデータ転送装置。 The data transfer device further includes:
Based on the priority set for the plurality of bus use circuits, when the data transfer request by the bus use circuit is permitted or rejected and the data transfer is permitted, the data transfer is permitted. A data transfer control unit for controlling the transfer amount per time by the bus using circuit based on the transfer amount per time set in
Based on the second signal and the third signal, the bus use circuit in which the buffer error has occurred is specified, and each bus use circuit having a higher priority than the priority of the specified bus use circuit The data transfer apparatus according to claim 1, further comprising: a transfer amount changing circuit that decreases a transfer amount of the data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011074701A JP2012208790A (en) | 2011-03-30 | 2011-03-30 | Data transfer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011074701A JP2012208790A (en) | 2011-03-30 | 2011-03-30 | Data transfer device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2012208790A true JP2012208790A (en) | 2012-10-25 |
Family
ID=47188446
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011074701A Pending JP2012208790A (en) | 2011-03-30 | 2011-03-30 | Data transfer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2012208790A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6367844A (en) * | 1986-09-09 | 1988-03-26 | Mitsubishi Electric Corp | Operation state monitoring circuit |
| JPH07168784A (en) * | 1993-12-14 | 1995-07-04 | Toshiba Corp | DMA controller and high-speed data transfer device |
| JP2000267993A (en) * | 1999-03-18 | 2000-09-29 | Minolta Co Ltd | Dma controller |
| JP2004185451A (en) * | 2002-12-05 | 2004-07-02 | Naltec Inc | Memory access arbitration method and memory access arbitration unit |
| JP2007026021A (en) * | 2005-07-15 | 2007-02-01 | Nec Electronics Corp | Bus control system and bus control method |
| JP2008059047A (en) * | 2006-08-29 | 2008-03-13 | Oki Electric Ind Co Ltd | Information processing system and control method therefor |
-
2011
- 2011-03-30 JP JP2011074701A patent/JP2012208790A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6367844A (en) * | 1986-09-09 | 1988-03-26 | Mitsubishi Electric Corp | Operation state monitoring circuit |
| JPH07168784A (en) * | 1993-12-14 | 1995-07-04 | Toshiba Corp | DMA controller and high-speed data transfer device |
| JP2000267993A (en) * | 1999-03-18 | 2000-09-29 | Minolta Co Ltd | Dma controller |
| JP2004185451A (en) * | 2002-12-05 | 2004-07-02 | Naltec Inc | Memory access arbitration method and memory access arbitration unit |
| JP2007026021A (en) * | 2005-07-15 | 2007-02-01 | Nec Electronics Corp | Bus control system and bus control method |
| JP2008059047A (en) * | 2006-08-29 | 2008-03-13 | Oki Electric Ind Co Ltd | Information processing system and control method therefor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6460107B1 (en) | Integrated real-time performance monitoring facility | |
| US9009368B2 (en) | Interrupt latency performance counters | |
| CN104298628B (en) | A kind of data storage arbitration circuit and referee method for concurrently accessing | |
| US9189433B2 (en) | Tracking a relative arrival order of events being stored in multiple queues using a counter | |
| US20110022759A1 (en) | Multiprocessor system | |
| JP2009025866A (en) | Memory controller, bus system, integrated circuit and control method for integrated circuit | |
| CN104024977B (en) | Power management using reward-based sleep state selection | |
| US20140032803A1 (en) | Prediction of electronic component behavior in bus-based systems | |
| JP2008021298A (en) | Method and system for providing interrupt collection with low latency and scalability | |
| WO2007099613A1 (en) | Command selecting method and device, and command inputting method and device | |
| JP2007526670A (en) | Lossless transfer of events between clock domains | |
| JP5239769B2 (en) | Request order control system, request order control method, and request order control program | |
| JP2010044645A (en) | Data transfer device, and data transfer method | |
| JP2012208790A (en) | Data transfer device | |
| JP4971676B2 (en) | Interrupt control circuit and interrupt control method | |
| KR100644597B1 (en) | Bus system and command delivery method | |
| CN114911588B (en) | Interrupt routing control method and interrupt controller for system-on-a-chip | |
| JP4504737B2 (en) | Performance monitor circuit | |
| US9582438B2 (en) | Method and apparatus for identifying cause of interrupt | |
| CN106354672A (en) | Apparatus and method for processing interrupt request event | |
| CN103135703B (en) | A kind of method for being used to quickly read Field Replaceable Unit information | |
| US8510482B2 (en) | Data processing system having peripheral-paced DMA transfer and method therefor | |
| CN117331510B (en) | Data migration method, device and equipment applied to NVMe controller | |
| JP2000299716A (en) | Data receiving device and data receiving method | |
| CN121524115A (en) | A pending transaction bus bridge, control method, and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130913 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140411 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140422 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140819 |