[go: up one dir, main page]

JP2009009512A - Bus system - Google Patents

Bus system Download PDF

Info

Publication number
JP2009009512A
JP2009009512A JP2007172556A JP2007172556A JP2009009512A JP 2009009512 A JP2009009512 A JP 2009009512A JP 2007172556 A JP2007172556 A JP 2007172556A JP 2007172556 A JP2007172556 A JP 2007172556A JP 2009009512 A JP2009009512 A JP 2009009512A
Authority
JP
Japan
Prior art keywords
bus
master module
module
slave
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007172556A
Other languages
Japanese (ja)
Inventor
Yoshikazu Kawachi
義和 河内
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.)
NEC Electronics Corp
Original Assignee
NEC Electronics 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 NEC Electronics Corp filed Critical NEC Electronics Corp
Priority to JP2007172556A priority Critical patent/JP2009009512A/en
Publication of JP2009009512A publication Critical patent/JP2009009512A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve the data transfer efficiency in a bus system which is so configured that a data signal is transmitted/received between a master module and one of a plurality of slave modules which are connected through a system bus, on the basis of a command of the master module. <P>SOLUTION: Slave modules 2A and 2B inform a master module 1 of their load conditions, and the master module 1 reduces priorities of the command for slave modules 2A and 2B according as loads are heavier. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明はバスシステムに関し、特に、マスタモジュールと複数のスレーブモジュールとの間でデータが送受信されるバスシステムに関する。   The present invention relates to a bus system, and more particularly to a bus system in which data is transmitted and received between a master module and a plurality of slave modules.

図8は、従来のバスシステムの構成図である。   FIG. 8 is a configuration diagram of a conventional bus system.

マスタモジュール1ならびにスレーブモジュール2Aおよび2Bは、システムバス4を介して接続されている。   The master module 1 and slave modules 2A and 2B are connected via a system bus 4.

マスタモジュール1ならびにスレーブモジュール2Aおよび2Bは、システムバス4を介してさまざまな信号をやりとりする。図8には、説明上必要とされる信号のみを抜粋して示した。   The master module 1 and the slave modules 2A and 2B exchange various signals via the system bus 4. FIG. 8 shows only signals necessary for explanation.

マスタモジュール1によって出力されたバス要求信号5および書込データ信号7は、システムバス4を介して、スレーブモジュール2A、2Bに入力される。   The bus request signal 5 and the write data signal 7 output by the master module 1 are input to the slave modules 2A and 2B via the system bus 4.

スレーブモジュール2A、2Bによって出力されたバス応答信号6および読出データ信号8は、システムバス4を介してマスタモジュール1に入力される。   The bus response signal 6 and the read data signal 8 output by the slave modules 2A and 2B are input to the master module 1 via the system bus 4.

図9は、従来のバスシステムのタイムチャートである。   FIG. 9 is a time chart of a conventional bus system.

読み出し要求を行う場合、まず、マスタモジュール1から、スレーブモジュール2A、2Bに対して、バス要求信号5とともにデータ読み出しコマンドを出力する。次に、スレーブモジュール2Aは、バス応答信号6を出力して返答する。その後、スレーブモジュール2Aにおいて、読出データの準備ができると、読出データ有効信号、ステータスと共に、読出データ信号8をマスタモジュール1に対して出力する。   When making a read request, first, the master module 1 outputs a data read command together with the bus request signal 5 to the slave modules 2A and 2B. Next, the slave module 2A outputs a bus response signal 6 and responds. Thereafter, when read data is ready in the slave module 2A, the read data signal 8 is output to the master module 1 together with the read data valid signal and status.

マイコン等に使用されるバスシステムにおいては、性能を向上させるために、特定のアクセスに対するレイテンシがシステムバス全体のレイテンシに影響することを防ぐための対策がとられている。そのような対策の一例として、バスアクセスの終了を待たずにバス命令を複数発行する機能、バス命令をアウトオブオーダ処理する機能(非特許文献1)が挙げられる。   In a bus system used for a microcomputer or the like, measures are taken to prevent the latency for a specific access from affecting the latency of the entire system bus in order to improve performance. As an example of such measures, there are a function of issuing a plurality of bus instructions without waiting for the end of bus access and a function of out-of-order processing of bus instructions (Non-Patent Document 1).

五月女、「AMBA3.0に追加された高性能バス用のAXI仕様」、デザインウェーブマガジン、2003年12月、第73巻、p.47−57May Woman, “AXI specification for high-performance buses added to AMBA 3.0”, Design Wave Magazine, December 2003, Volume 73, p. 47-57

以下の分析は、本発明者によってなされたものである。   The following analysis was made by the present inventors.

従来技術において、バス命令の複数発行やアウトオブオーダ処理を行うには、マスタモジュール1およびスレーブモジュール2A、2Bの持つコマンドキューの大きさ、システムバス4上のコマンドID発行数などの制限があり、いずれかの上限に達したときにコマンドを発行できなかったり、スレーブモジュール2A、2Bにアクセスを拒否されたりする。   In the prior art, there are restrictions on the size of the command queue of the master module 1 and the slave modules 2A and 2B, the number of command IDs issued on the system bus 4 and the like in order to issue multiple bus instructions and out-of-order processing. When either of the upper limits is reached, the command cannot be issued, or the slave modules 2A and 2B are denied access.

このような現象は、スレーブモジュール2A、2Bのコマンドキューが少ないシステムや、バスの仕様上コマンドIDが少ないバスシステムにおいて頻発する。   Such a phenomenon frequently occurs in a system in which the command queues of the slave modules 2A and 2B are small and a bus system in which the command ID is small due to bus specifications.

また、ブリッジ等のマスタモジュール1においては、複数のバス要求が発生する。   In the master module 1 such as a bridge, a plurality of bus requests are generated.

例えば、スレーブモジュール2Aのコマンドキュー残量制限によってアクセスが拒否された場合、マスタモジュール1のバス要求から、バス応答によるアクセス拒否の回答までの間、結果としてシステムバス4上に無駄なトラヒックが発生し、バスの転送効率が低下する。また、バス応答に引き続いてダミーデータの転送を伴う場合には、バスの転送効率はさらに低下する(図10)。   For example, when access is denied due to the command queue remaining amount limit of the slave module 2A, useless traffic occurs on the system bus 4 as a result from the bus request of the master module 1 to the reply of access denial by the bus response. As a result, the bus transfer efficiency decreases. Further, when dummy data is transferred following the bus response, the bus transfer efficiency is further reduced (FIG. 10).

このようなトラヒックを回避することができれば、例えば、別のスレーブモジュール2Bに対するデータ転送を行うことができ、システムバス4を有効に利用できる。したがって、アクセス拒否されるようなバス要求が元々発生しないように保留し、別の要求を優先してアクセスすることが好ましい。   If such traffic can be avoided, for example, data transfer to another slave module 2B can be performed, and the system bus 4 can be used effectively. Therefore, it is preferable to hold the bus request so that access is denied from the beginning so that another request is preferentially accessed.

したがって、システムバスを介して接続されたマスタモジュールと複数のスレーブモジュールとの間で、マスタモジュールのコマンドに基づいてデータ信号が送受信されるように構成されたバスシステムにおいて、転送効率を向上させることが課題となる。   Therefore, in a bus system configured to transmit and receive data signals based on a command of the master module between a master module and a plurality of slave modules connected via the system bus, transfer efficiency is improved. Is an issue.

本発明の第1の視点に係るバスシステムは、システムバスを介して接続されたマスタモジュールと複数のスレーブモジュールのいずれかとの間で、前記マスタモジュールのコマンドに基づいてデータ信号が送受信されるように構成されたバスシステムにおいて、前記スレーブモジュールが、前記マスタモジュールへ自身の負荷状況を通知するように構成され、前記マスタモジュールが、前記スレーブモジュールに対するコマンドの優先度を負荷が高くなるにしたがって引き下げるように構成されたことを特徴とする。   In the bus system according to the first aspect of the present invention, a data signal is transmitted / received between a master module connected via a system bus and one of a plurality of slave modules based on a command of the master module. In the bus system configured as described above, the slave module is configured to notify the master module of its own load status, and the master module lowers the priority of commands to the slave module as the load increases. It was configured as described above.

本発明に係るバスシステムによって、マスタモジュールによるデータ転送要求がスレーブモジュールによって拒否される頻度が減り、システムバスにおける無駄なトラヒックを削減することができるため、システムバスにおけるデータ転送効率を向上させることができる。   With the bus system according to the present invention, the frequency with which data transfer requests by the master module are rejected by the slave module is reduced, and unnecessary traffic on the system bus can be reduced, so that the data transfer efficiency on the system bus can be improved. it can.

本発明の第1の視点に係るバスシステムは、上記の通りである。   The bus system according to the first aspect of the present invention is as described above.

第1の展開形態のバスシステムは、前記スレーブモジュールが、前記マスタモジュールへ送信するデータ信号において前記負荷状況を通知するように構成されたことを特徴とする。   The bus system according to the first development mode is characterized in that the slave module notifies the load status in a data signal transmitted to the master module.

第2の展開形態のバスシステムは、前記負荷状況が前記スレーブモジュールのコマンドキュー残量であって、前記マスタモジュールが、前記スレーブモジュールのうち、自身が発行しようとするコマンド数よりも前記コマンドキュー残量が少ないスレーブモジュールに対するコマンドの優先度を引き下げるように構成されたことを特徴とする。   In the bus system according to the second development mode, the load status is the remaining command queue remaining in the slave module, and the master module is more likely to issue the command queue than the number of commands that the slave module intends to issue. The present invention is characterized in that the command priority for the slave module with a small remaining amount is lowered.

第3の展開形態のバスシステムは、前記システムバスが、前記スレーブモジュールから通知された負荷状況のいずれかを選択して前記マスタモジュールへ通知するセレクタを備えたことを特徴とする。   A bus system according to a third development mode is characterized in that the system bus includes a selector that selects any one of the load situations notified from the slave module and notifies the master module.

第4の展開形態のバスシステムは、前記セレクタが、前記負荷状況のいずれか一をラウンドロビン方式に基づいて選択するように構成されたことを特徴とする。   The bus system according to a fourth development mode is characterized in that the selector is configured to select any one of the load situations based on a round robin method.

本発明の実施の形態に係るバスシステムは、図1を参照すると、システムバス4に対して、スレーブモジュール2A、2Bからマスタモジュール1に対して、スレーブモジュール2A、2Bの負荷状況を通知する負荷状況通知信号9を追加する。   Referring to FIG. 1, the bus system according to the embodiment of the present invention refers to a load that notifies the system bus 4 of the load status of the slave modules 2A and 2B from the slave modules 2A and 2B to the master module 1. A status notification signal 9 is added.

この負荷状況通知信号9において、スレーブモジュール2A、2Bのコマンドキュー残量を通知する。また、マスタモジュール1において、対象スレーブモジュール2A、2Bのコマンドキュー残量に応じてコマンド発行の優先順位を変更する。   The load status notification signal 9 notifies the command queue remaining amount of the slave modules 2A and 2B. In the master module 1, the command issue priority is changed according to the command queue remaining amount of the target slave modules 2A and 2B.

マスタモジュール1において、対象スレーブモジュール2A、2Bのコマンドキュー残量がない場合にはコマンド発行を保留し、マスタモジュール1が発行予定のコマンド数と対象スレーブモジュール2A、2Bのコマンドキュー残量とを比較して対象スレーブモジュール2A、2Bの残りコマンドキュー量が不足している場合には、対象スレーブモジュール2A、2Bへのコマンド発行の優先順位を下げる。   In the master module 1, if there is no remaining command queue in the target slave modules 2A and 2B, the command issuance is suspended, and the number of commands scheduled to be issued by the master module 1 and the remaining command queue in the target slave modules 2A and 2B are determined. If the remaining command queue amounts of the target slave modules 2A and 2B are insufficient, the command issue priority to the target slave modules 2A and 2B is lowered.

図1は、本発明の第1の実施例に係るバスシステムの構成図を示す。   FIG. 1 shows a block diagram of a bus system according to a first embodiment of the present invention.

従来のバスシステムの構成図(図8)と比較すると、負荷状況通知信号9が、新たに追加されている。   Compared to the configuration diagram of the conventional bus system (FIG. 8), a load status notification signal 9 is newly added.

負荷状況通知信号9は、スレーブモジュール2A、2Bによって出力され、システムバス4を介してマスタモジュール1へ入力される。   The load status notification signal 9 is output by the slave modules 2A and 2B and input to the master module 1 via the system bus 4.

負荷状況通知信号9は、スレーブモジュール2A、2Bのコマンドキュー残量と、スレーブモジュール2A、2Bを識別するスレーブモジュールIDとを含む。   The load status notification signal 9 includes the remaining command queues of the slave modules 2A and 2B and the slave module ID for identifying the slave modules 2A and 2B.

図2は、本発明の第1の実施例に係るバスシステムに対する、さらに詳細な構成図である。   FIG. 2 is a more detailed configuration diagram for the bus system according to the first embodiment of the present invention.

マスタモジュール1は、負荷状況テーブル11を備え、スレーブモジュール2A、2Bの負荷状況を負荷状況テーブル11に記録する。   The master module 1 includes a load status table 11 and records the load status of the slave modules 2A and 2B in the load status table 11.

スレーブモジュール2A、2Bから出力される負荷状況通知信号9は、システムバス4に備えた負荷状況通知信号セレクタ10に入力され、スレーブモジュール2A、2Bのいずれかが選択されてマスタモジュール1へ通知される。   The load status notification signal 9 output from the slave modules 2A and 2B is input to the load status notification signal selector 10 provided in the system bus 4, and one of the slave modules 2A and 2B is selected and notified to the master module 1. The

図3は、実施例1に係るバスシステムのタイムチャートである。   FIG. 3 is a time chart of the bus system according to the first embodiment.

実施例1の動作について、図3を参照して、説明する。   The operation of the first embodiment will be described with reference to FIG.

スレーブモジュール2A、2Bは、それぞれ連続して負荷状況通知信号9を出力する。負荷状況通知信号9は、スレーブモジュールIDとコマンドキュー残量とを通知する。   Each of the slave modules 2A and 2B outputs a load status notification signal 9 continuously. The load status notification signal 9 notifies the slave module ID and the remaining command queue.

負荷状況通知信号セレクタ10は、スレーブモジュール2A、2Bのいずれの負荷状況通知信号9をマスタモジュール1へ通知するかを選択する。選択方法は、例えば、ラウンドロビン方式としてもよい。   The load status notification signal selector 10 selects which of the slave modules 2A and 2B is notified of the load status notification signal 9 to the master module 1. The selection method may be, for example, a round robin method.

マスタモジュール1は、受け取った負荷状況通知信号9からスレーブモジュールIDとコマンドキュー残量とを読み取り、負荷状況テーブル11に記録されたスレーブモジュール2A、2Bそれぞれのコマンドキュー残量を更新する。   The master module 1 reads the slave module ID and the command queue remaining amount from the received load status notification signal 9, and updates the command queue remaining amount of each of the slave modules 2A and 2B recorded in the load status table 11.

マスタモジュール1内部において、スレーブモジュール2A、2Bに対してバス要求が発生したとき、負荷状況テーブル11に保持しているコマンドキュー残量がゼロの場合にはバス要求を保留し、コマンドキュー残量が更新されたときに再評価する。また、バス要求のコマンド数とコマンドキュー残量とを比較して、コマンドキュー残量の方が少ない場合、そのバス要求の優先順位を下げる。   In the master module 1, when a bus request is generated for the slave modules 2A and 2B, if the remaining command queue is zero in the load status table 11, the bus request is suspended and the remaining command queue Re-evaluate when is updated. Also, the number of bus request commands is compared with the remaining command queue, and if the remaining command queue is smaller, the priority of the bus request is lowered.

スレーブモジュール2A、2Bのコマンドキュー残量が0の場合において、バス要求を行ったとき、バス要求信号およびバス応答信号によって一定のバス帯域が占有される。また、バスシステムによっては、ダミーデータの転送を伴うため、バス帯域がさらに多く占有される。しかし、実際にデータ転送は行われないため、転送効率は低下する。   When the remaining command queues of the slave modules 2A and 2B are 0, when a bus request is made, a certain bus bandwidth is occupied by the bus request signal and the bus response signal. Also, depending on the bus system, dummy data transfer is involved, so that a larger bus bandwidth is occupied. However, since data transfer is not actually performed, transfer efficiency is reduced.

本発明では、スレーブモジュール2A、2Bによって要求を拒否されるようなバス要求を保留することで、従来技術ではエラー情報を通知していた期間についてもデータ転送が行うことができるようになる。   In the present invention, by holding a bus request that is rejected by the slave modules 2A and 2B, data transfer can be performed even during a period in which error information was notified in the prior art.

また、従来技術においても、コマンドの終了を待たずに別のコマンドを発行する方法が知られている。このため、スレーブモジュール2A、2Bの応答を待たずに、マスタモジュール1がコマンドを連続発行する場合、応答を拒否されるコマンドが多数生じることになる。   Also in the prior art, a method of issuing another command without waiting for the end of the command is known. For this reason, when the master module 1 issues commands continuously without waiting for the responses of the slave modules 2A and 2B, a large number of commands whose responses are rejected occur.

本発明に係るバスシステムでは、係る場合においてコマンド発行を保留するため、システムバス4上にスレーブモジュール2A、2Bによって拒否されるようなコマンドが発行されることを防ぐことができる。   In the bus system according to the present invention, since the command issuance is suspended in such a case, it is possible to prevent a command that is rejected by the slave modules 2A and 2B from being issued on the system bus 4.

図4は、本発明の第2の実施例に係るバスシステムの構成図である。   FIG. 4 is a block diagram of a bus system according to the second embodiment of the present invention.

実施例1において、負荷状況通知信号9は独立した信号として実現した。   In the first embodiment, the load status notification signal 9 is realized as an independent signal.

本実施例においては、この負荷状況通知信号9と読出データ信号8とを兼用させた拡張読出データ信号12とした。   In the present embodiment, the extended read data signal 12 that combines the load status notification signal 9 and the read data signal 8 is used.

読出データ信号8と負荷状況通知信号9との兼用は時分割で行い、RDVALID信号がアクティブの場合に従来技術からの機能である読出データ信号8とし、RDVALID信号がインアクティブの場合に負荷状況通知信号9とすることができる。   The shared use of the read data signal 8 and the load status notification signal 9 is performed in a time-sharing manner. When the RDVALID signal is active, the read data signal 8 is a function from the prior art, and when the RDVALID signal is inactive, the load status notification is performed. Signal 9 can be used.

これにより、実施例1と比較してシステムバス4における信号の本数を削減することができ、従来技術(図8)と同じ信号の本数で本発明を実現することができる。   As a result, the number of signals in the system bus 4 can be reduced as compared with the first embodiment, and the present invention can be realized with the same number of signals as in the prior art (FIG. 8).

実施例2の動作について、図6のタイムチャートを参照して、説明する。   The operation of the second embodiment will be described with reference to the time chart of FIG.

拡張読出データ信号12は、スレーブモジュール2A、2Bから出力され、システムバス4を介してマスタモジュール1へ入力される。この拡張読出データ信号12のうち、負荷状況通知信号9においては、スレーブモジュール2A、2Bのコマンドキュー残量とともにスレーブモジュール2A、2Bを識別するスレーブモジュールIDが信号に含まれる。   The extended read data signal 12 is output from the slave modules 2A and 2B and input to the master module 1 via the system bus 4. Of the extended read data signal 12, the load status notification signal 9 includes a slave module ID for identifying the slave modules 2A and 2B together with the remaining command queues of the slave modules 2A and 2B.

図5は、本発明の第2の実施例に係るバスシステムの構成図をさらに詳細に示す。   FIG. 5 shows in more detail the block diagram of the bus system according to the second embodiment of the present invention.

マスタモジュール1は、スレーブモジュール2A、2Bの負荷状況を記録した負荷状況テーブル11を備える。   The master module 1 includes a load status table 11 that records the load status of the slave modules 2A and 2B.

各スレーブモジュール2A、2Bから出力された拡張読出データ信号12は、負荷状況通知信号セレクタ10に入力され、スレーブモジュール2A、2Bのいずれか1つから出力された拡張読出データ信号12が選択されてマスタモジュール1へ通知される。   The extended read data signal 12 output from each slave module 2A, 2B is input to the load status notification signal selector 10, and the extended read data signal 12 output from any one of the slave modules 2A, 2B is selected. The master module 1 is notified.

図7は、負荷状況通知信号セレクタ10の動作のフローチャートである。   FIG. 7 is a flowchart of the operation of the load status notification signal selector 10.

負荷状況通知信号セレクタ10は、拡張読出データ信号12が、読出データ信号8または負荷状況通知信号9のいずれであるかを判定する(ステップS71)。   The load status notification signal selector 10 determines whether the extended read data signal 12 is the read data signal 8 or the load status notification signal 9 (step S71).

負荷状況通知信号セレクタ10は、拡張読出データ信号12が読出データ信号8である場合、読み出しデータを出力しているスレーブモジュールを優先して選択する(ステップS72)。   When the extended read data signal 12 is the read data signal 8, the load status notification signal selector 10 preferentially selects the slave module that outputs the read data (step S72).

一方、負荷状況通知信号セレクタ10は、拡張読出データ信号12が負荷状況通知信号9である場合、ラウンドロビンによってスレーブモジュール2A、2Bを選択する(ステップS73)。   On the other hand, when the extended read data signal 12 is the load status notification signal 9, the load status notification signal selector 10 selects the slave modules 2A and 2B by round robin (step S73).

マスタモジュール1の内部において、スレーブモジュール2A、2Bに対してシステムバス4の使用要求が発生したとき、負荷状況テーブル11に記録されたコマンドキュー残量がゼロの場合にはバス要求を保留し、コマンドキュー残量が更新されたときに再評価を行う。   In the master module 1, when a request to use the system bus 4 is generated for the slave modules 2A and 2B, if the remaining command queue recorded in the load status table 11 is zero, the bus request is suspended. Re-evaluate when the remaining command queue is updated.

また、バス要求のコマンド数とコマンドキュー残量とを比較して、コマンドキュー残量の方が少ない場合には、そのバス要求の優先順位を下げる。   Also, the command number of the bus request and the command queue remaining amount are compared, and if the command queue remaining amount is smaller, the priority of the bus request is lowered.

実施例2により、従来技術(図8)と比較して、システムバス4における信号の本数を増やさずに、スレーブモジュール2A、2Bの負荷状況を通知することができる。   According to the second embodiment, it is possible to notify the load status of the slave modules 2A and 2B without increasing the number of signals on the system bus 4 as compared with the conventional technique (FIG. 8).

本発明の第3の実施例に係るバスシステムでは、負荷状況通知信号9において、スレーブモジュール2A、2Bのレイテンシの見積もり値を通知する。   In the bus system according to the third embodiment of the present invention, the estimated value of the latency of the slave modules 2A and 2B is notified in the load status notification signal 9.

マスタモジュール1において、バス要求を行うときに、このレイテンシの見積もり値を利用する。マスタモジュール1が発行することができる残りコマンド数が少ない場合にレイテンシの大きなバス要求の優先順位を下げてバス要求を行う。   The master module 1 uses this estimated latency value when making a bus request. When the number of remaining commands that can be issued by the master module 1 is small, a bus request is made by lowering the priority of a bus request having a large latency.

上述の実施例1および実施例2においては、負荷状況通知信号9によってスレーブモジュール2A、2Bのコマンドキューの残量を通知するものとしたが、実施例3においてはスレーブモジュール2A、2Bがコマンドを受け付ける時のレイテンシの見積もり値を通知する。   In the first and second embodiments described above, the remaining amount of the command queue of the slave modules 2A and 2B is notified by the load status notification signal 9. However, in the third embodiment, the slave modules 2A and 2B send commands to the command queue. Notify the estimated latency when accepting.

実施例1および実施例2では、マスタモジュール1がバス要求を発行した後、スレーブモジュール2A、2Bにおいてコマンドキュー残量が不足し、アクセス拒否される場合について対策を施した。   In the first and second embodiments, after the master module 1 issues a bus request, measures are taken for cases where the command queue remaining amount is insufficient in the slave modules 2A and 2B and access is denied.

実施例3では、マスタモジュール1が発行することができる残りコマンド数が少ない場合について対策を施す。   In the third embodiment, measures are taken when the number of remaining commands that the master module 1 can issue is small.

マスタモジュール1のコマンドキューと、システムバス4のコマンドIDの残数によって、マスタモジュール1が発行することができるコマンド数が制限される。残り発行コマンド数が少ない場合において、レイテンシの長いコマンドを発行したとき、次のコマンドを発行するまでの待ち時間が長くなる。そこで、マスタモジュール1は、レイテンシの短いコマンドを優先して発行することが好ましい。   The number of commands that can be issued by the master module 1 is limited by the command queue of the master module 1 and the remaining number of command IDs of the system bus 4. When the number of remaining issued commands is small, when a command with a long latency is issued, the waiting time until the next command is issued becomes long. Therefore, the master module 1 preferably issues a command with a short latency with priority.

本発明の第1の実施例に係るバスシステムの構成図である。1 is a configuration diagram of a bus system according to a first embodiment of the present invention. 本発明の第1の実施例に係るバスシステムの詳細な構成図である。1 is a detailed configuration diagram of a bus system according to a first embodiment of the present invention. 本発明の第1の実施例に係るバスシステムのタイムチャートである。It is a time chart of the bus system concerning the 1st example of the present invention. 本発明の第2の実施例に係るバスシステムの構成図である。It is a block diagram of the bus system which concerns on 2nd Example of this invention. 本発明の第2の実施例に係るバスシステムの詳細な構成図である。It is a detailed block diagram of the bus system based on 2nd Example of this invention. 本発明の第2の実施例に係るバスシステムのタイムチャートである。It is a time chart of the bus system which concerns on 2nd Example of this invention. 本発明の第2の実施例に係るバスシステムにおける負荷状況通知信号セレクタのフローチャートである。It is a flowchart of the load condition notification signal selector in the bus system based on 2nd Example of this invention. 従来のバスシステムの構成図である。It is a block diagram of the conventional bus system. 従来のバスシステムのタイムチャートである。It is a time chart of the conventional bus system. 従来のバスシステムのタイムチャートである。It is a time chart of the conventional bus system.

符号の説明Explanation of symbols

1 マスタモジュール
2A、2B スレーブモジュール
4 システムバス
5 バス要求信号
6 バス応答信号
7 書込データ信号
8 読出データ信号
9 負荷状況通知信号
10 負荷状況通知信号セレクタ
11 負荷状況テーブル
12 拡張読出データ信号
1 Master module 2A, 2B Slave module 4 System bus 5 Bus request signal 6 Bus response signal 7 Write data signal 8 Read data signal 9 Load status notification signal 10 Load status notification signal selector 11 Load status table 12 Extended read data signal

Claims (5)

システムバスを介して接続されたマスタモジュールと複数のスレーブモジュールのいずれかとの間で、前記マスタモジュールのコマンドに基づいてデータ信号が送受信されるように構成されたバスシステムにおいて、
前記スレーブモジュールが、前記マスタモジュールへ自身の負荷状況を通知するように構成され、
前記マスタモジュールが、前記スレーブモジュールに対するコマンドの優先度を負荷が高くなるにしたがって引き下げるように構成されたことを特徴とするバスシステム。
In a bus system configured to transmit / receive a data signal based on a command of the master module between a master module and any of a plurality of slave modules connected via a system bus,
The slave module is configured to notify the master module of its own load status;
The bus system, wherein the master module is configured to lower the priority of a command for the slave module as the load increases.
前記スレーブモジュールが、前記マスタモジュールへ送信するデータ信号において前記負荷状況を通知するように構成されたことを特徴とする、請求項1に記載のバスシステム。   The bus system according to claim 1, wherein the slave module is configured to notify the load status in a data signal transmitted to the master module. 前記負荷状況が前記スレーブモジュールのコマンドキュー残量であって、
前記マスタモジュールが、前記スレーブモジュールのうち、自身が発行しようとするコマンド数よりも前記コマンドキュー残量が少ないスレーブモジュールに対するコマンドの優先度を引き下げるように構成されたことを特徴とする、請求項1または2に記載のバスシステム。
The load status is the command queue remaining amount of the slave module,
The master module is configured to lower a command priority for a slave module having a remaining command queue remaining amount less than the number of commands to be issued among the slave modules. The bus system according to 1 or 2.
前記システムバスが、前記スレーブモジュールから通知された負荷状況のいずれかを選択して前記マスタモジュールへ通知するセレクタを備えたことを特徴とする、請求項1ないし3のいずれか一に記載のバスシステム。   The bus according to any one of claims 1 to 3, wherein the system bus includes a selector that selects any one of the load conditions notified from the slave module and notifies the master module. system. 前記セレクタが、前記負荷状況のいずれか一をラウンドロビン方式に基づいて選択するように構成されたことを特徴とする、請求項4に記載のバスシステム。   The bus system according to claim 4, wherein the selector is configured to select any one of the load situations based on a round robin method.
JP2007172556A 2007-06-29 2007-06-29 Bus system Pending JP2009009512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007172556A JP2009009512A (en) 2007-06-29 2007-06-29 Bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007172556A JP2009009512A (en) 2007-06-29 2007-06-29 Bus system

Publications (1)

Publication Number Publication Date
JP2009009512A true JP2009009512A (en) 2009-01-15

Family

ID=40324497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007172556A Pending JP2009009512A (en) 2007-06-29 2007-06-29 Bus system

Country Status (1)

Country Link
JP (1) JP2009009512A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04233356A (en) * 1990-05-29 1992-08-21 Advanced Micro Devices Inc Apparatus for network adaptor containing a plurality of processors and system memory means, network controller and control method
JPH06208526A (en) * 1992-10-23 1994-07-26 Internatl Business Mach Corp <Ibm> Data communication method and data processing system by way of bas and bridge
JPH08278941A (en) * 1995-04-07 1996-10-22 Hitachi Ltd Bus control method
JPH09185580A (en) * 1995-12-28 1997-07-15 Hitachi Ltd Bus system
JPH09200290A (en) * 1996-01-11 1997-07-31 Hitachi Ltd Flow control method and communication control device when communication control is busy
JP2000148670A (en) * 1998-11-06 2000-05-30 Nec Corp Bus access arbitration system
JP2005284578A (en) * 2004-03-29 2005-10-13 Mitsubishi Electric Corp Bus device
JP2007004815A (en) * 2006-07-26 2007-01-11 Mobility Electronics Inc Link bridge
JP2007164388A (en) * 2005-12-13 2007-06-28 Fujitsu Ltd Bus arbitration method, apparatus and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04233356A (en) * 1990-05-29 1992-08-21 Advanced Micro Devices Inc Apparatus for network adaptor containing a plurality of processors and system memory means, network controller and control method
JPH06208526A (en) * 1992-10-23 1994-07-26 Internatl Business Mach Corp <Ibm> Data communication method and data processing system by way of bas and bridge
JPH08278941A (en) * 1995-04-07 1996-10-22 Hitachi Ltd Bus control method
JPH09185580A (en) * 1995-12-28 1997-07-15 Hitachi Ltd Bus system
JPH09200290A (en) * 1996-01-11 1997-07-31 Hitachi Ltd Flow control method and communication control device when communication control is busy
JP2000148670A (en) * 1998-11-06 2000-05-30 Nec Corp Bus access arbitration system
JP2005284578A (en) * 2004-03-29 2005-10-13 Mitsubishi Electric Corp Bus device
JP2007164388A (en) * 2005-12-13 2007-06-28 Fujitsu Ltd Bus arbitration method, apparatus and program
JP2007004815A (en) * 2006-07-26 2007-01-11 Mobility Electronics Inc Link bridge

Similar Documents

Publication Publication Date Title
CN101313288B (en) Memory system with both single and consolidated commands
US8572342B2 (en) Data transfer device with confirmation of write completion and method of controlling the same
WO2017000822A1 (en) Transmission control method and device for direct memory access
US8190801B2 (en) Interconnect logic for a data processing apparatus
JP2021152933A (en) Memory access technique and computer system
JP5180268B2 (en) Scalable bus structure
JP5414350B2 (en) Memory control circuit and control method thereof
US8583842B2 (en) Data transfer device and data transfer system
US20140006742A1 (en) Storage device and write completion notification method
CN108025685A (en) On-vehicle control apparatus
US9984014B2 (en) Semiconductor device
JP2008276391A (en) Memory access control device
CN103023669A (en) Switching network based broadcast scheduling method
US10402348B2 (en) Method and system for using feedback information for selecting a routing bus for a memory transaction
US20100042756A1 (en) Data transfer device
CN101739367B (en) Method and device for storing and controlling various buses
JP2009009512A (en) Bus system
CN106598742B (en) SSD master control internal load balancing system and method
JP5932261B2 (en) Memory control device and memory control method
CN102405466A (en) Memory control device and method for controlling same
US7167939B2 (en) Asynchronous system bus adapter for a computer system having a hierarchical bus structure
US7315913B2 (en) CPU system, bus bridge, control method therefor, and computer system
JP5146284B2 (en) Data transfer apparatus and data transfer method
CN113900978A (en) Data transmission method, device and chip
JP2009251652A (en) Multi-core system

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20100513

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120321

A131 Notification of reasons for refusal

Effective date: 20120417

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20120814

Free format text: JAPANESE INTERMEDIATE CODE: A02