JP2009032248A - Bus communication apparatus using shared memory - Google Patents

Bus communication apparatus using shared memory Download PDF

Info

Publication number
JP2009032248A
JP2009032248A JP2008169858A JP2008169858A JP2009032248A JP 2009032248 A JP2009032248 A JP 2009032248A JP 2008169858 A JP2008169858 A JP 2008169858A JP 2008169858 A JP2008169858 A JP 2008169858A JP 2009032248 A JP2009032248 A JP 2009032248A
Authority
JP
Japan
Prior art keywords
command
master
access
shared memory
arbitration
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.)
Granted
Application number
JP2008169858A
Other languages
Japanese (ja)
Other versions
JP5129040B2 (en
Inventor
Koichi Ishino
公一 石野
Hideyuki Kanzaki
英之 神崎
Kazuhiro Watanabe
一弘 渡邉
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.)
Panasonic Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2008169858A priority Critical patent/JP5129040B2/en
Priority to US12/167,153 priority patent/US7774529B2/en
Publication of JP2009032248A publication Critical patent/JP2009032248A/en
Application granted granted Critical
Publication of JP5129040B2 publication Critical patent/JP5129040B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a bus communication apparatus which allows a communication destination master to issue a command in advance and is capable of improving bus transfer efficiency. <P>SOLUTION: A communication source master 101 selectively uses an arbitration completion notification signal and a memory access completion notification signal. Based on the arbitration completion notification signal, the communication source master 101 issues a command issue permission signal to the communication destination master 102, and the communication destination master 102 generates and issues a command for accessing a shared memory 12. Based on the memory access completion notification signal, the communication source master 101 issues a command issue permission signal to the communication destination master 102, and the communication destination master 102 generates and issues a command for accessing the shared memory 12. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、マスタ間のデータ転送を、共有メモリを介して行うバス通信装置に関する。   The present invention relates to a bus communication device that performs data transfer between masters via a shared memory.

従来より、共有メモリを用いて複数のマスタ間でバス通信が行われている。このとき、通信元マスタによる共有メモリへのアクセスの完了により、通信元マスタが通信先マスタに対して出力する割込みや通信元マスタからの完了通知信号をトリガとして、通信先マスタは、起動し、共有メモリへのメモリアクセスコマンドを生成するフェーズに移行する。
その一例として、特許文献1に記載のバス通信装置では、プロセッサ間のデータ転送において、転送元プロセッサは、共有メモリにデータを書き込み、書き込み完了後、転送先プロセッサに割込みを出力する。割込みを受信した転送先プロセッサは、共有メモリにアクセスし、そのメモリに書き込まれたデータを読み出す。
Conventionally, bus communication is performed between a plurality of masters using a shared memory. At this time, upon completion of access to the shared memory by the communication source master, the communication source master starts up, triggered by an interrupt output from the communication source master to the communication destination master or a completion notification signal from the communication source master, The process proceeds to a phase for generating a memory access command to the shared memory.
As an example, in the bus communication device described in Patent Document 1, in data transfer between processors, the transfer source processor writes data to the shared memory, and outputs an interrupt to the transfer destination processor after the writing is completed. The transfer destination processor that has received the interrupt accesses the shared memory and reads the data written in the memory.

また、特許文献2に記載されている技術によると、転送元の系のローカルメモリのデータを、共有メモリを介して、転送先の系に転送するにあたり、ダイレクトメモリアクセスコントローラを用いて転送元の系におけるローカルメモリのデータを直接共有メモリに書き込む。書込みが完了すると、書込み完了をダイレクトメモリアクセスコントローラが割込み分岐回路を介して、転送先の系に割込み通知する。割込み通知を受けた転送先の系が、共有メモリにアクセスし、その書き込まれたデータを読み出す。
特開2004−86615号公報 特開2004−70642号公報
Further, according to the technique described in Patent Document 2, when transferring the data in the local memory of the transfer source system to the transfer destination system via the shared memory, the transfer source system is transferred using a direct memory access controller. Write local memory data directly to the shared memory. When the writing is completed, the direct memory access controller notifies the transfer destination system of an interrupt via the interrupt branch circuit when the writing is completed. Upon receiving the interrupt notification, the transfer destination system accesses the shared memory and reads the written data.
JP 2004-86615 A JP 2004-70642 A

上記のような、従来のバス通信装置では、通信元マスタのメモリアクセスによりデータ転送が完了したことによる割込みや通信元完了通知信号をもって、通信先マスタは、メモリアクセスコマンドの生成フェーズに移行している。
このため、通信元マスタのデータ転送完了よりも前の段階で通信先マスタのコマンド発行を先行的に行ってもデータコヒーレンシ(data coherency)が保たれる場合においても、通信先マスタによりコマンドを先行的に発行できないという問題がある。
In the conventional bus communication device as described above, the communication destination master shifts to the memory access command generation phase with an interrupt or a communication source completion notification signal when the data transfer is completed by the memory access of the communication source master. Yes.
For this reason, even if the command of the communication destination master is issued in advance before the data transfer of the communication source master is completed, even if data coherency is maintained, the command is advanced by the communication destination master. There is a problem that it cannot be issued automatically.

本発明は、上記の問題を解決し、上記のような場合において、通信先マスタによるコマンドの先行発行を可能とし、バス転送効率を向上させることができるバス通信装置及びその制御方法を提供することを目的とする。   The present invention solves the above-described problems, and provides a bus communication device and a control method thereof capable of improving the bus transfer efficiency by enabling the command issuance by the communication destination master in the above case. With the goal.

上記目的を達成するため、本発明は、バス通信装置であって、共有メモリ、メモリ制御部、通信元マスタ及び通信先マスタを含むことを特徴とする。前記メモリ制御部は、(a)前記共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与し、(b)当該コマンドについて調停が完了したことを示す調停完了信号を出力し、(c)アクセス権を付与したコマンドに基づいて前記共有メモリへのアクセスを行い、(d)前記コマンドによる共有メモリへのアクセスが完了したときに、共有メモリへのアクセスの完了を示すアクセス完了信号を出力する。前記通信元マスタは、前記共有メモリへの対象データの書込みを示す書込コマンドを出力し、前記調停完了信号又は前記アクセス完了信号をプログラマブルに選択し、選択した完了信号に基づいて、コマンドの発行の許可を示す許可信号を出力する。前記通信先マスタは、前記許可信号に基づき、前記共有メモリからの前記対象データの読込みを示す読込コマンドを出力する。   To achieve the above object, the present invention is a bus communication device including a shared memory, a memory control unit, a communication source master, and a communication destination master. The memory control unit (a) arbitrates a plurality of commands indicating access to the shared memory, grants an access right to any command, and (b) arbitrates indicating that arbitration has been completed for the command. A completion signal is output, (c) the shared memory is accessed based on the command to which the access right is given, and (d) the access to the shared memory is completed when the access to the shared memory by the command is completed. An access completion signal indicating completion is output. The communication source master outputs a write command indicating writing of target data to the shared memory, programmably selects the arbitration completion signal or the access completion signal, and issues a command based on the selected completion signal A permission signal indicating permission is output. The communication destination master outputs a read command indicating reading of the target data from the shared memory based on the permission signal.

この構成によると、調停完了信号又はアクセス完了信号をプログラマブルに選択して、許可信号を出力するため、アクセス完了信号のみを用いていた従来技術にくらべ、より柔軟に通信先マスタのコマンド生成タイミングを制御することが可能になる。
ここで、前記バス通信装置において、前記通信元マスタは、前記書込コマンドの出力とともに、前記読込コマンドの生成を指示する生成指示信号を出力し、前記生成指示信号の出力後、時間差を設けて前記読込コマンドの発行の許可を示す前記許可信号を出力し、前記通信先マスタは、前記生成指示信号に基づき、前記読込コマンドを生成し、前記許可信号に基づき、生成した前記読込コマンドを出力するとしてもよい。
According to this configuration, since the arbitration completion signal or the access completion signal is selected programmably and the permission signal is output, the command generation timing of the communication destination master can be more flexibly compared to the conventional technique using only the access completion signal. It becomes possible to control.
Here, in the bus communication device, the communication source master outputs a generation instruction signal instructing generation of the read command together with the output of the write command, and provides a time difference after outputting the generation instruction signal. The permission signal indicating permission to issue the read command is output, and the communication destination master generates the read command based on the generation instruction signal, and outputs the generated read command based on the permission signal. It is good.

この構成によると、生成指示信号を受信した時点で、通信先マスタの読込コマンドの生成を先行して開始するため、許可信号を受信した時点で生成を開始するよりも早期にコマンド生成が完了し、早期にコマンド発行を行うことが可能となる。
ここで、前記バス通信装置において、前記メモリ制御部は、前記共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与するコマンド調停部と、アクセス権を獲得したコマンドに基づいて前記共有メモリへのアクセスを行うメモリアクセス部と、何れかのコマンドがアクセス権を獲得したときに、前記調停完了信号を出力する調停完了信号出力部と、アクセス権を獲得した前記コマンドによる前記共有メモリへのアクセスが完了したときに、前記アクセス完了信号を発生するアクセス完了信号出力部とを備える。前記通信元マスタは、前記書込コマンドを出力するコマンド出力部と、前記調停完了信号又は前記アクセス完了信号をプログラマブルに選択し、選択した完了信号に基づいて前記許可信号を出力する完了通知制御部とを備える。
ここで、前記バス通信装置において、前記通信元マスタは、さらに、各マスタに対応して、当該マスタが前記コマンド調停部における最優先権限を有するか否かを示す最優先情報を記憶しているマスタ情報テーブルを含み、前記完了通知制御部は、前記マスタ情報テーブルに記憶され、前記転送先マスタに対応する最優先情報を用いて、前記転送先マスタが最優先権限を有するか否かを判断し、前記転送先マスタが最優先権限を有する場合には、前記アクセス完了信号を選択し、前記転送先マスタが最優先権限を有さない場合には、前記調停完了信号を選択する。
According to this configuration, since the generation of the read command of the communication destination master is started in advance when the generation instruction signal is received, the command generation is completed earlier than when generation is started when the permission signal is received. It becomes possible to issue a command at an early stage.
Here, in the bus communication device, the memory control unit arbitrates a plurality of commands indicating access to the shared memory, and acquires an access right, and a command arbitration unit that grants an access right to any command A memory access unit that accesses the shared memory based on the command, an arbitration completion signal output unit that outputs the arbitration completion signal when any command acquires an access right, and an access right An access completion signal output unit for generating the access completion signal when access to the shared memory by the command is completed. The communication source master programmatically selects a command output unit that outputs the write command, and the arbitration completion signal or the access completion signal, and outputs the permission signal based on the selected completion signal. With.
Here, in the bus communication device, the communication source master further stores, in correspondence with each master, top priority information indicating whether or not the master has the highest priority authority in the command arbitration unit. The completion notification control unit includes a master information table, and the completion notification control unit determines whether the transfer destination master has the highest priority authority using the highest priority information stored in the master information table and corresponding to the transfer destination master. Then, when the transfer destination master has the highest priority authority, the access completion signal is selected, and when the transfer destination master does not have the highest priority authority, the arbitration completion signal is selected.

通信先マスタに最優先度の権限がある場合は、通信元マスタの転送が完了する前に、通信先マスタのコマンドが調停対象となると、通信元コマンドと通信先コマンドの実行順序が逆転する可能性があるため、データコヒーレンシが保たれなくなる。
この構成では、転送先マスタが最優先権限を有する場合には、アクセス完了信号に基づいて許可信号を発生するようにしたため、データコヒーレンシを保つことができる。
If the communication destination master has the highest priority authority, the execution order of the communication source command and the communication destination command can be reversed if the command of the communication destination master is subject to arbitration before the transfer of the communication source master is completed. Therefore, data coherency cannot be maintained.
In this configuration, when the transfer destination master has the highest priority authority, the permission signal is generated based on the access completion signal, so that data coherency can be maintained.

一方、通信先マスタがコマンド調停部における最優先度権限を持たない場合、コマンド調停部により通信元マスタのコマンドが調停された後であれば、通信先コマンドを先行的に発行しても、通信元コマンドの実行後、通信先コマンドの実行という順序は変化しないため、データコヒーレンシは保たれる。
このように、通信先マスタがコマンド調停部における最優先度権限を持つかどうかに基づいて、コマンドの発行の許可を示す許可信号を発生させるトリガをプログラマブルに選択することで、データコヒーレンシを確保しつつ、バス転送効率を向上させることが可能となる。
ここで、前記バス通信装置において、前記通信元マスタは、さらに、各マスタに対応して、前記共有メモリを構成する領域毎に、当該マスタによる当該領域へのアクセスが最優先権限を有するかを示す最優先情報を記憶しているスレーブ属性情報テーブルを含み、前記完了通知制御部は、前記スレーブ属性情報テーブルに記憶され、当該転送先マスタによるアクセスの対象である領域についての最優先情報を用いて、前記転送先マスタによるアクセスの対象である当該領域が最優先権限を有するか否かを判断し、前記領域が最優先権限を有する場合には、前記アクセス完了信号を選択し、前記領域が最優先権限を有さない場合には、前記調停完了信号を選択する。
On the other hand, if the communication destination master does not have the highest priority authority in the command arbitration unit, communication can be performed even if the communication destination command is issued in advance, after the command of the communication source master is adjusted by the command arbitration unit. Since the order of execution of the communication destination command does not change after execution of the original command, data coherency is maintained.
In this way, data coherency is ensured by programmablely selecting a trigger that generates a permission signal indicating permission to issue a command based on whether the communication destination master has the highest priority authority in the command arbitration unit. However, the bus transfer efficiency can be improved.
Here, in the bus communication device, the communication source master further determines whether access to the area by the master has the highest priority authority for each area constituting the shared memory corresponding to each master. Including a slave attribute information table storing the highest priority information to be displayed, wherein the completion notification control unit is stored in the slave attribute information table and uses the highest priority information for an area to be accessed by the transfer destination master. Determining whether or not the area to be accessed by the transfer destination master has the highest priority authority. If the area has the highest priority authority, the access completion signal is selected, and the area is If the highest priority authority is not possessed, the arbitration completion signal is selected.

この構成によると、アクセスの対象の領域が最優先権限を有するかどうかに基づいて、コマンドの発行の許可を示す許可信号を発生させるトリガをプログラマブルに選択することで、データコヒーレンシを確保しつつ、バス転送効率を向上させることが可能となる。
ここで、前記バス通信装置において、前記通信元マスタは、さらに、各マスタに対応して、当該マスタが前記コマンド調停部における最優先権限を有するか否かを示す第1最優先情報を記憶しているマスタ情報テーブルと、各マスタに対応して、前記共有メモリを構成する領域毎に、当該マスタによる当該領域へのアクセスが最優先権限を有するかを示す第2最優先情報を記憶しているスレーブ属性情報テーブルとを含み、前記完了通知制御部は、(a)前記マスタ情報テーブルに記憶され、前記転送先マスタに対応する第1最優先情報を用いて、前記転送先マスタが最優先権限を有するか否かを判断し、(b)前記スレーブ属性情報テーブルに記憶され、当該転送先マスタによるアクセスの対象である領域についての第2最優先情報を用いて、前記転送先マスタによるアクセスの対象である当該領域が最優先権限を有するか否かを判断し、(c)前記転送先マスタが最優先権限を有さず、かつ、前記領域が最優先権限を有さない場合には、前記調停完了信号を選択し、(d)前記通信先マスタが最優先権限を有する場合、又は、前記通信先マスタが最優先権限を有さず、かつ、前記領域が最優先権限を有する場合に、前記アクセス完了信号を選択する。
According to this configuration, while ensuring data coherency by programmatically selecting a trigger that generates a permission signal indicating permission to issue a command based on whether the area to be accessed has the highest priority authority, The bus transfer efficiency can be improved.
Here, in the bus communication device, the communication source master further stores, in correspondence with each master, first highest priority information indicating whether or not the master has the highest priority authority in the command arbitration unit. Corresponding to each master, and for each area constituting the shared memory, second highest priority information indicating whether the access by the master to the area has the highest priority authority is stored. The completion notification control unit (a) uses the first highest priority information stored in the master information table and corresponding to the transfer destination master, and the transfer destination master has the highest priority. (B) using the second highest priority information for the area that is stored in the slave attribute information table and is the access target by the transfer destination master Determining whether or not the area to be accessed by the transfer destination master has the highest priority authority, and (c) the transfer destination master does not have the highest priority authority, and the area has the highest priority authority. The arbitration completion signal is selected, and (d) the communication destination master has the highest priority authority, or the communication destination master does not have the highest priority authority, and the area Selects the access completion signal when has the highest priority.

この構成によると、通信先マスタがコマンド調停部における最優先度権限を持つかどうかに基づいて、及びアクセスの対象の領域が最優先権限を有するかどうかに基づいて、コマンドの発行の許可を示す許可信号を発生させるトリガをプログラマブルに選択することで、データコヒーレンシを確保しつつ、バス転送効率を向上させることが可能となる。
また、本発明は、バス通信装置であって、共有メモリ、メモリ制御部、通信元マスタ及び通信先マスタを備えることを特徴とする。前記メモリ制御部は、前記共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与し、当該コマンドについて調停が完了したことを示す調停完了信号を出力し、アクセス権を付与したコマンドに基づいて前記共有メモリへのアクセスを行う。通信元マスタは、(a)前記共有メモリへの対象データの書込みを示す書込コマンドを出力し、(b)前記書込コマンドに係るアクセスが前記調停における最優先の権限を有しないか否かを判断し、(c)最優先の権限を有しないと判断される場合に、前記書込コマンドについての前記調停完了信号を受信した後に、コマンド発行の許可を示す許可信号を出力する。前記通信先マスタは、前記許可信号を受信した場合に、前記共有メモリから前記対象データの読込みを示す読込コマンドを出力する。
According to this configuration, permission to issue a command is indicated based on whether the communication destination master has the highest priority authority in the command arbitration unit, and whether the area to be accessed has the highest priority authority. By selecting the trigger for generating the permission signal in a programmable manner, it is possible to improve bus transfer efficiency while ensuring data coherency.
In addition, the present invention is a bus communication device including a shared memory, a memory control unit, a communication source master, and a communication destination master. The memory control unit arbitrates a plurality of commands indicating access to the shared memory, grants an access right to any command, and outputs an arbitration completion signal indicating that arbitration has been completed for the command, The shared memory is accessed based on the command to which the access right is given. The communication source master outputs (a) a write command indicating writing of the target data to the shared memory, and (b) whether or not the access related to the write command has the highest priority authority in the arbitration. (C) When it is determined that the user does not have the highest priority authority, after receiving the arbitration completion signal for the write command, a permission signal indicating permission to issue a command is output. When the communication destination master receives the permission signal, the communication destination master outputs a read command indicating reading of the target data from the shared memory.

このように、通信先マスタがコマンド調停部における最優先度権限を持たない場合に、調停完了信号を受信した後で、コマンドの発行の許可を示す許可信号を発生させることで、データコヒーレンシを確保しつつ、バス転送効率を向上させることが可能となる。   As described above, when the communication destination master does not have the highest priority authority in the command arbitration unit, data coherency is ensured by generating a permission signal indicating permission to issue a command after receiving the arbitration completion signal. However, the bus transfer efficiency can be improved.

以下本発明の実施の形態について、図面を参照しながら説明する。
(実施の形態1)
図1は、本実施の形態におけるバス通信装置10の構成を示す。図1に示すバス通信装置10は、通信元マスタ101、通信先マスタ102、メモリ制御部11、共有メモリ12、通信バス13及びメモリバス14から構成される。通信元マスタ101、通信先マスタ102及びメモリ制御部11は、通信バス13を介して相互に接続されており、メモリ制御部11及び共有メモリ12は、メモリバス14を介して接続されている。なお、バス通信装置10は、説明の簡略化のため、マスタとして通信元マスタ101及び通信先マスタ102の二つのみを含んでいるが、二つ以上のマスタを備えるように構成してもよい。ここで、通信元マスタ101及び通信先マスタ102は、それぞれ、一例として、プロセッサである。
Embodiments of the present invention will be described below with reference to the drawings.
(Embodiment 1)
FIG. 1 shows a configuration of a bus communication device 10 according to the present embodiment. A bus communication device 10 illustrated in FIG. 1 includes a communication source master 101, a communication destination master 102, a memory control unit 11, a shared memory 12, a communication bus 13, and a memory bus 14. The communication source master 101, the communication destination master 102, and the memory control unit 11 are connected to each other via a communication bus 13, and the memory control unit 11 and the shared memory 12 are connected to each other via a memory bus 14. Note that the bus communication device 10 includes only two of the communication source master 101 and the communication destination master 102 as masters for simplification of description, but may be configured to include two or more masters. . Here, each of the communication source master 101 and the communication destination master 102 is a processor, for example.

通信元マスタ101及び通信先マスタ102は、それぞれ、メモリ制御部11を介して共有メモリ12にアクセスする。
メモリ制御部11は、(a)共有メモリ12へのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与し、(b)アクセス権を付与したコマンドについて調停が完了したことを示す調停完了通知信号を出力し(c)、アクセス権を付与したコマンドに基づいて共有メモリ12へのアクセスを行い、(d)アクセス権を付与したコマンドによる共有メモリ12へのアクセスが完了したときに、共有メモリへのアクセスの完了を示すメモリアクセス完了通知信号を出力する。
The communication source master 101 and the communication destination master 102 each access the shared memory 12 via the memory control unit 11.
The memory control unit 11 (a) arbitrates a plurality of commands indicating access to the shared memory 12, grants an access right to any command, and (b) completes arbitration for the command to which the access right is granted. (C) outputs an arbitration completion notification signal indicating that access is made to the shared memory 12 based on the command to which the access right is granted, and (d) completes access to the shared memory 12 by the command to which the access right is granted. When this occurs, a memory access completion notification signal indicating completion of access to the shared memory is output.

通信元マスタ101は、前記共有メモリ12への対象データの書込みを示す書込コマンドを出力し、前記調停完了通知信号又は前記メモリアクセス完了通知信号をプログラマブルに選択し、選択した完了通知信号に基づいて、コマンドの発行の許可を示すコマンド発行許可信号を出力する。
通信先マスタ102は、前記コマンド発行許可信号に基づき、共有メモリ12からの前記対象データの読込みを示す読込コマンドを出力する。
The communication source master 101 outputs a write command indicating the writing of the target data to the shared memory 12, and programmably selects the arbitration completion notification signal or the memory access completion notification signal, and based on the selected completion notification signal Then, a command issue permission signal indicating permission for command issue is output.
The communication destination master 102 outputs a read command indicating the reading of the target data from the shared memory 12 based on the command issue permission signal.

図2は、メモリ制御部11の内部構成を示す。メモリ制御部11は、図2に示すように、メモリアクセスコマンド保持部201、202、調停部21及びメモリアクセス部22から構成される。なお、メモリ制御部11は、説明の簡略化のため、メモリアクセスコマンド保持部として、メモリアクセスコマンド保持部201、202の二つのみを含んでいるが、バス通信装置10を構成するマスタの数と同じ数のメモリアクセスコマンド保持部を備えるように構成すればよい。   FIG. 2 shows the internal configuration of the memory control unit 11. As shown in FIG. 2, the memory control unit 11 includes memory access command holding units 201 and 202, an arbitration unit 21, and a memory access unit 22. Note that the memory control unit 11 includes only two memory access command holding units 201 and 202 as memory access command holding units for the sake of simplicity of explanation, but the number of masters constituting the bus communication device 10 The number of memory access command holding units may be the same.

メモリアクセスコマンド保持部201は、通信元マスタ101のメモリアクセスコマンドを取得して保持する。通信元マスタ101のメモリアクセスコマンドは、共有メモリ12へ対象データを書き込むことを示すコマンドである。同様に、メモリアクセスコマンド保持部202は、通信先マスタ102のメモリアクセスコマンドを取得して保持する。通信先マスタ102のメモリアクセスコマンドは、前記対象データを共有メモリ12から読み込むことを示すコマンドである。   The memory access command holding unit 201 acquires and holds the memory access command of the communication source master 101. The memory access command of the communication source master 101 is a command indicating that the target data is written to the shared memory 12. Similarly, the memory access command holding unit 202 acquires and holds the memory access command of the communication destination master 102. The memory access command of the communication destination master 102 is a command indicating that the target data is read from the shared memory 12.

調停部21は、各メモリアクセスコマンド保持部に保持されているメモリアクセスコマンドのうち調停対象の複数のコマンドに対して調停を行い、何れかのコマンドにアクセス権を付与し、当該コマンドについて調停が完了したことを示す調停完了通知信号を出力する。調停部21は、メモリアクセスコマンド単位で調停する。最優先権限を有するマスタからのアクセスがあると、実行中コマンドを一旦停止し、最優先権限を有するコマンドを実行し、その後、停止していたコマンドを再開する。   The arbitration unit 21 arbitrates a plurality of commands to be arbitrated among the memory access commands held in each memory access command holding unit, grants an access right to any command, and performs arbitration for the command. An arbitration completion notification signal indicating completion is output. The arbitration unit 21 arbitrates in units of memory access commands. When there is an access from the master having the highest priority authority, the command being executed is temporarily stopped, the command having the highest priority authority is executed, and then the stopped command is resumed.

メモリアクセス部22は、調停され権利を得たメモリアクセスコマンドを元に、実際に共有メモリ12にアクセスを行う。
図3は、調停部21の内部構成を示す。調停部21は、調停完了通知信号を発生する調停完了通知信号発生部31を備える。調停完了通知信号は、メモリアクセスコマンドの調停が完了したことを示し、コマンド発行元マスタに対して通知される。
The memory access unit 22 actually accesses the shared memory 12 based on the memory access command that has been arbitrated and obtained the right.
FIG. 3 shows the internal configuration of the arbitration unit 21. The arbitration unit 21 includes an arbitration completion notification signal generation unit 31 that generates an arbitration completion notification signal. The arbitration completion notification signal indicates that the arbitration of the memory access command has been completed, and is notified to the command issuing master.

図4は、メモリアクセス部22の内部構成である。メモリアクセス部22は、メモリアクセス完了通知信号を発生するメモリアクセス完了通知信号発生部41を備える。メモリアクセス完了通知信号は、共有メモリ12へのアクセスが完了したことを示し、コマンド発行元マスタに対して通知される。
図5は、各マスタの内部構成を示す。通信元マスタ101は、メモリアクセスコマンド生成部51、完了通知制御部52、バス通信設定レジスタ55及びマスタ情報テーブル71を備える。
FIG. 4 shows the internal configuration of the memory access unit 22. The memory access unit 22 includes a memory access completion notification signal generation unit 41 that generates a memory access completion notification signal. The memory access completion notification signal indicates that access to the shared memory 12 has been completed and is notified to the command issuing master.
FIG. 5 shows the internal configuration of each master. The communication source master 101 includes a memory access command generation unit 51, a completion notification control unit 52, a bus communication setting register 55, and a master information table 71.

図6は、バス通信設定レジスタ55の構成を示す。バス通信設定レジスタ55は、転送がバス通信を行う転送か否かを示すバス転送フラグ及びバス通信を行う際の通信対象のマスタを識別する通信先マスタIDから構成される。
通信元マスタは、転送開始時に、バス通信設定レジスタ55に、その転送がバス通信を行う転送か否かを示すバス転送フラグ、及びバス通信を行う際どのマスタと通信を行うのかを示す通信先マスタIDを設定する。また、通信元マスタ101は、どのマスタが調停部21における最優先権限を持つかを示す情報を図7のマスタ情報テーブル71として保持する。マスタ情報テーブル71は、各マスタの識別番号(ID)に対応付けて、当該マスタが最優先度の権限を有するか、最優先度の権限を有しないかを示す。図7では、一例として、識別番号(ID)「0」により識別されるマスタが最優先度の権限を持ち、識別番号(ID)「1」ないし「3」により識別されるマスタは最優先度の権限を持たない事を示している。
FIG. 6 shows the configuration of the bus communication setting register 55. The bus communication setting register 55 includes a bus transfer flag indicating whether or not the transfer is a transfer for performing bus communication and a communication destination master ID for identifying a master to be communicated when performing the bus communication.
At the start of the transfer, the communication source master stores in the bus communication setting register 55 a bus transfer flag indicating whether the transfer is a transfer for performing bus communication, and a communication destination indicating which master is to communicate with when performing the bus communication. Set the master ID. Further, the communication source master 101 holds information indicating which master has the highest priority authority in the arbitration unit 21 as the master information table 71 in FIG. The master information table 71 indicates whether the master has the highest priority authority or does not have the highest priority authority in association with the identification number (ID) of each master. In FIG. 7, as an example, the master identified by the identification number (ID) “0” has the highest priority authority, and the master identified by the identification numbers (ID) “1” to “3” is the highest priority. It shows that it does not have the authority of.

完了通知制御部52は、バス通信設定レジスタ55及びマスタ情報テーブル71により、実行中のコマンド毎に調停完了通知信号及びメモリアクセス完了通知信号のいずれかの選択を行い、該当通信先マスタへ通信元マスタにおける完了を通知する。
完了通知制御部52は、上記の選択を、次のようにして行う。
完了通知制御部52は、バス通信設定レジスタ55のバス通信フラグにより、転送がバス通信を行う転送か否かを判断する。バス通信フラグがバス通信を行う転送でないことを示す場合には、これに対応する処理を行う。バス通信フラグがバス通信を行う転送であることを示す場合には、完了通知制御部52は、マスタ情報テーブル71を用いて、バス通信設定レジスタ55の通信マスタIDにより示される通信マスタが、最優先度の権限を有するか否かを判断する。完了通知制御部52により、バス通信設定レジスタ55の通信マスタIDにより示される通信マスタが、最優先度の権限を有すると判断される場合には、調停完了通知信号が選択される。一方、前記通信マスタが、最優先度の権限を有しないと判断される場合には、メモリアクセス完了通知信号が選択される。
The completion notification control unit 52 selects either the arbitration completion notification signal or the memory access completion notification signal for each command being executed by the bus communication setting register 55 and the master information table 71, and sends the communication source to the corresponding communication destination master. Notify completion in the master.
The completion notification control unit 52 performs the above selection as follows.
The completion notification control unit 52 determines, based on the bus communication flag of the bus communication setting register 55, whether or not the transfer is a transfer for performing bus communication. When the bus communication flag indicates that the transfer is not for bus communication, the corresponding processing is performed. When the bus communication flag indicates that the transfer is to perform bus communication, the completion notification control unit 52 uses the master information table 71 to indicate that the communication master indicated by the communication master ID of the bus communication setting register 55 is the highest. Determine whether you have priority authority. When the completion notification control unit 52 determines that the communication master indicated by the communication master ID in the bus communication setting register 55 has the highest priority authority, the arbitration completion notification signal is selected. On the other hand, if it is determined that the communication master does not have the highest priority authority, the memory access completion notification signal is selected.

通信先マスタ102は、図5に示すように、コマンド発行許可信号受付部53及びメモリアクセスコマンド生成部54を備える。
コマンド発行許可信号受付部53は、通信元マスタ101から、メモリ制御部11を介して、コマンド発行許可信号を受け取る。コマンド発行許可信号受付部53がコマンド発行許可信号を受け取ると、メモリアクセスコマンド生成部54は、通信先マスタ102のメモリアクセスコマンドを生成し、生成したメモリアクセスコマンドをメモリ制御部11へ出力する。
As shown in FIG. 5, the communication destination master 102 includes a command issue permission signal reception unit 53 and a memory access command generation unit 54.
The command issuance permission signal receiving unit 53 receives a command issuance permission signal from the communication source master 101 via the memory control unit 11. When the command issuance permission signal reception unit 53 receives the command issuance permission signal, the memory access command generation unit 54 generates a memory access command for the communication destination master 102 and outputs the generated memory access command to the memory control unit 11.

図10に実施の形態1の全体構成図を示す。
次に、図12〜図14に示すシーケンス図を用いて、本実施形態におけるバス通信装置10の動作について述べる。
本実施形態におけるバス通信装置10において、通信元マスタ101が起動するとき、通信元マスタ101は、バス通信設定レジスタ55に、バス通信フラグ及びバス通信を行う相手である通信マスタを識別する通信先マスタIDを設定する(ステップS101)。次に、完了通知制御部52は、この通信先マスタIDにより示される通信マスタが調停部21における最優先権限を持つか否かをマスタ情報テーブル71を用いて判定する(ステップS102)。
FIG. 10 shows an overall configuration diagram of the first embodiment.
Next, the operation of the bus communication device 10 in the present embodiment will be described using the sequence diagrams shown in FIGS.
In the bus communication device 10 according to the present embodiment, when the communication source master 101 is activated, the communication source master 101 causes the bus communication setting register 55 to identify the communication master that is the other party performing the bus communication flag and bus communication. A master ID is set (step S101). Next, the completion notification control unit 52 determines whether or not the communication master indicated by the communication destination master ID has the highest priority authority in the arbitration unit 21 using the master information table 71 (step S102).

通信先マスタに最優先度の権限がない場合(ステップS102)、調停部21によりバス通信を行う通信元コマンドが調停された後では、どのタイミングで通信先コマンドが発行されたとしても、通信元コマンドの実行後、通信先コマンドを実行する実行順序は変化せず、データコヒーレンシは保たれる。このため、調停完了通知信号発生部31による調停完了通知信号を元に(ステップS111)、完了通知制御部52が、通信先マスタに対してコマンド発行許可信号を発生して、通信元マスタの処理完了を通知する(ステップS112)。   If the communication destination master does not have the highest priority authority (step S102), after the communication source command for performing bus communication is arbitrated by the arbitration unit 21, the communication source command can be issued no matter what timing the communication destination command is issued. After the command is executed, the execution order for executing the communication destination command does not change, and data coherency is maintained. Therefore, based on the arbitration completion notification signal from the arbitration completion notification signal generation unit 31 (step S111), the completion notification control unit 52 generates a command issuance permission signal for the communication destination master, and processing of the communication source master Completion is notified (step S112).

通信先マスタ102のコマンド発行許可信号受付部53は、コマンド発行許可信号を受け取り(ステップS112)、メモリアクセスコマンド生成部54に指示し(ステップS114)、メモリアクセスコマンド生成部54は、メモリアクセスコマンドを生成し(ステップS115)、メモリ制御部11に対して生成したメモリアクセスコマンドを発行(出力)する(ステップS116)。   The command issuance permission signal receiving unit 53 of the communication destination master 102 receives the command issuance permission signal (step S112), instructs the memory access command generation unit 54 (step S114), and the memory access command generation unit 54 receives the memory access command. Is generated (step S115), and the generated memory access command is issued (output) to the memory control unit 11 (step S116).

メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS116)、受け取ったメモリアクセスコマンドを実行する(ステップS117)。
これにより、通信元マスタのメモリアクセスが完了する時点より早期段階で通信先マスタのコマンド生成・発行が可能となり、バスの転送効率が向上する。
また、通信先マスタに最優先度の権限がある場合は(ステップS102)、通信元マスタの転送が完了する前に、通信先マスタのコマンドが調停対象となると、通信元コマンドと通信先コマンドの実行順序が逆転する可能性があるため、データコヒーレンシが保たれなくなる。この場合、メモリアクセス完了通知信号発生部41によるメモリアクセス完了通知信号を元に(ステップS131)、完了通知制御部52が、通信先マスタに対してコマンド発行許可信号を発生して、通信元マスタの処理完了を通知する(ステップS132)。
The memory control unit 11 receives the memory access command (step S116), and executes the received memory access command (step S117).
As a result, it becomes possible to generate and issue a command of the communication destination master at an earlier stage than the time when the memory access of the communication source master is completed, and the bus transfer efficiency is improved.
Further, when the communication destination master has the highest priority authority (step S102), if the communication destination master command is subject to arbitration before the transfer of the communication source master is completed, the communication source command and the communication destination command are updated. Since the execution order may be reversed, data coherency cannot be maintained. In this case, based on the memory access completion notification signal from the memory access completion notification signal generation unit 41 (step S131), the completion notification control unit 52 generates a command issuance permission signal to the communication destination master, and the communication source master. The process completion is notified (step S132).

コマンド発行許可信号受付部53は、コマンド発行許可信号を受け取り(ステップS132)、メモリアクセスコマンド生成部54に指示し(ステップS134)、メモリアクセスコマンド生成部54は、メモリアクセスコマンドを生成し(ステップS135)、メモリ制御部11に対して生成したメモリアクセスコマンドを発行(出力)する(ステップS136)。   The command issuance permission signal accepting unit 53 receives the command issuance permission signal (step S132), instructs the memory access command generation unit 54 (step S134), and the memory access command generation unit 54 generates a memory access command (step S134). In step S135, the generated memory access command is issued (output) to the memory control unit 11 (step S136).

メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS136)、受け取ったメモリアクセスコマンドを実行する(ステップS137)。
以上説明したように、本実施形態を用いれば、通信先マスタに、調停部21における最優先度の権限があるか否かで、調停完了通知信号またはメモリアクセス完了通知信号を選択して利用し、バス転送効率を向上できる。
The memory control unit 11 receives the memory access command (step S136), and executes the received memory access command (step S137).
As described above, according to the present embodiment, the arbitration completion notification signal or the memory access completion notification signal is selected and used depending on whether or not the communication destination master has the highest priority authority in the arbitration unit 21. The bus transfer efficiency can be improved.

(実施の形態2)
実施の形態2に係るバス通信装置10は、実施の形態1のバス通信装置10において、通信元マスタ101による調停完了通知信号又はメモリアクセス完了通知信号の選択を、通信先マスタに関してバス通信で用いる共有メモリ領域の属性に応じて行うようにしたものである。
(Embodiment 2)
The bus communication device 10 according to the second embodiment uses the selection of the arbitration completion notification signal or the memory access completion notification signal by the communication source master 101 in the bus communication with respect to the communication destination master in the bus communication device 10 of the first embodiment. This is performed according to the attribute of the shared memory area.

通信元マスタ101は、マスタ情報テーブル71に代えて、図8に一例として示すスレーブ属性情報テーブル81を保持している。共有メモリ12は、複数の領域A、領域B、領域C、領域D、・・・から構成されている。スレーブ属性情報テーブル81は、マスタ毎に、共有メモリ12の各領域に対応付けて、当該領域へのアクセスが調停部21における最優先度権限で調停されるか否かを記憶している。一例として、スレーブ属性情報テーブル81は、マスタ毎に、共有メモリ12の各領域の開始アドレス及び終了アドレスに対応付けて、当該領域へのアクセスが調停部21における最優先度権限で調停されるか否かを記憶している。また、スレーブ属性情報テーブル81は、マスタ毎に、共有メモリ12の各領域を識別する領域識別子に対応付けて、当該領域へのアクセスが調停部21における最優先度権限で調停されるか否かを記憶しているとしてもよい。図8に示すスレーブ属性情報テーブル81は、マスタ1について、領域Aへのアクセスが調停部21における最優先度権限で調停されることを示し、領域B、領域C、領域D、・・・へのアクセスが調停部21における最優先度権限で調停されないことを示しており、またマスタ2について、領域Bへのアクセスが調停部21における最優先度権限で調停されることを示し、領域A、領域C、領域D、・・・へのアクセスが調停部21における最優先度権限で調停されないことを示している。   The communication source master 101 holds a slave attribute information table 81 shown as an example in FIG. 8 instead of the master information table 71. The shared memory 12 is composed of a plurality of areas A, B, C, D,. The slave attribute information table 81 stores, for each master, in association with each area of the shared memory 12, whether or not access to the area is arbitrated with the highest priority authority in the arbitration unit 21. As an example, the slave attribute information table 81 is associated with the start address and the end address of each area of the shared memory 12 for each master, and whether the access to the area is arbitrated with the highest priority authority in the arbitration unit 21. I remember whether or not. Further, the slave attribute information table 81 is associated with an area identifier for identifying each area of the shared memory 12 for each master, and whether or not access to the area is arbitrated with the highest priority authority in the arbitration unit 21. May be stored. The slave attribute information table 81 shown in FIG. 8 indicates that access to the area A is arbitrated with the highest priority authority in the arbitration unit 21 for the master 1, and to the areas B, C, D,. , Indicating that access to the area B is arbitrated with the highest priority authority in the arbitration unit 21 for the master 2, and the area A, This indicates that access to the area C, the area D,... Is not arbitrated with the highest priority authority in the arbitration unit 21.

完了通知制御部52は、通信先マスタに関して、バス通信におけるアクセスの対象となる領域が、調停部21における最優先権限で調停されるか領域か否かをスレーブ属性情報テーブル81を用いて判定する。一例として、完了通知制御部52は、バス通信におけるアクセスの対象となる共有メモリ12のアドレスを取得し、バス通信設定レジスタ55の通信先マスタIDによりマスタを決定し、決定したマスタについて、取得したアドレスにより示される領域が、調停部21における最優先権限で調停されるか領域か否かをスレーブ属性情報テーブル81を用いて判定する。別の一例として、完了通知制御部52は、バス通信設定レジスタ55の通信先マスタIDによりマスタを決定し、バス通信におけるアクセスの対象となる領域を識別する識別子を取得し、決定したマスタについて、取得した識別子により示される領域が、調停部21における最優先権限で調停されるか領域か否かをスレーブ属性情報テーブル81を用いて判定する。   The completion notification control unit 52 uses the slave attribute information table 81 to determine whether the area to be accessed in bus communication is an area to be arbitrated with the highest priority authority in the arbitration unit 21 with respect to the communication destination master. . As an example, the completion notification control unit 52 acquires the address of the shared memory 12 to be accessed in bus communication, determines the master by the communication destination master ID of the bus communication setting register 55, and acquires the determined master. It is determined using the slave attribute information table 81 whether the area indicated by the address is an area to be arbitrated with the highest priority authority in the arbitration unit 21. As another example, the completion notification control unit 52 determines a master based on the communication destination master ID of the bus communication setting register 55, acquires an identifier for identifying an area to be accessed in bus communication, and for the determined master, The slave attribute information table 81 is used to determine whether the area indicated by the acquired identifier is an area to be arbitrated with the highest priority authority in the arbitration unit 21.

次に、図15、図13及び図14に示すシーケンス図を用いて、本実施形態におけるバス通信装置10の動作フローについて述べる。
本実施形態におけるバス通信装置10で、通信元マスタ101が起動するとき、通信元マスタ101は、バス通信設定レジスタ55に、バス通信フラグ及びバス通信を行う相手である通信マスタを識別する通信先マスタIDを設定する(ステップS150)。
Next, the operation flow of the bus communication device 10 according to the present embodiment will be described with reference to the sequence diagrams shown in FIGS. 15, 13, and 14.
In the bus communication device 10 according to the present embodiment, when the communication source master 101 is activated, the communication source master 101 has the bus communication setting register 55 identify the communication master that is the other party performing the bus communication flag and bus communication. A master ID is set (step S150).

次に、完了通知制御部52は、通信先マスタIDにより定まる通信先マスタについて、バス通信におけるアクセスの対象となる領域が、調停部21における最優先権限で調停されるか領域か否かをスレーブ属性情報テーブル81を用いて判定する(ステップS151)。
アクセス領域に最優先度の権限がない場合(ステップS151)、調停部21によりバス通信を行う通信元コマンドが調停された後では、どのタイミングで通信先コマンドが発行されたとしても、通信元コマンドの実行後、通信先コマンドの実行という実行順序は変化せずデータコヒーレンシは保たれる。そこで、調停完了通知信号発生部31による調停完了通知信号を元に(ステップS111)、完了通知制御部52が、通信先マスタ102に対してコマンド発行許可信号を発生して、通信元マスタの処理完了を通知する(ステップS112)。
Next, the completion notification control unit 52 determines whether the area to be accessed in the bus communication is the area to be arbitrated with the highest priority authority in the arbitration unit 21 for the communication destination master determined by the communication destination master ID. The determination is made using the attribute information table 81 (step S151).
If there is no authority with the highest priority in the access area (step S151), after the communication source command for performing bus communication is arbitrated by the arbitration unit 21, the communication source command can be issued no matter what timing the communication destination command is issued. After execution, the execution order of execution of the communication destination command does not change and data coherency is maintained. Therefore, based on the arbitration completion notification signal from the arbitration completion notification signal generation unit 31 (step S111), the completion notification control unit 52 generates a command issuance permission signal for the communication destination master 102, and processing of the communication source master Completion is notified (step S112).

コマンド発行許可信号を、通信先マスタ102のコマンド発行許可信号受付部53が受け取り(ステップS112、S114)、メモリアクセスコマンド生成部54がメモリアクセスコマンドを生成し(ステップS115)、発行する(ステップS116)。メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS116)、受け取ったメモリアクセスコマンドを実行する(ステップS117)。   The command issuance permission signal is received by the command issuance permission signal reception unit 53 of the communication destination master 102 (steps S112 and S114), and the memory access command generation unit 54 generates and issues a memory access command (step S115) (step S116). ). The memory control unit 11 receives the memory access command (step S116), and executes the received memory access command (step S117).

これにより、従来技術であるように、通信元マスタ101のメモリアクセスが完了する時点より早期段階で通信先マスタのコマンド生成と発行が可能となり、バスの転送効率が向上する。
また、アクセス領域に最優先度の権限がある場合は(ステップS151)、通信元マスタ101の転送が完了する前に、通信先マスタ102のコマンドが調停対象となると、通信元コマンドと通信先コマンドの実行順序が逆転する可能性があるため、データコヒーレンシが保たれなくなる。この場合、メモリアクセス完了通知信号発生部41によるメモリアクセス完了通知信号を元に(ステップS131)、完了通知制御部52が、通信先マスタに対してコマンド発行許可信号を発生して、通信元マスタの処理完了を通知する(ステップS132)。
As a result, as in the prior art, it becomes possible to generate and issue commands of the communication destination master at an earlier stage than when the memory access of the communication source master 101 is completed, and the bus transfer efficiency is improved.
If the access area has the highest priority authority (step S151), if the command of the communication destination master 102 is subject to arbitration before the transfer of the communication source master 101 is completed, the communication source command and the communication destination command Since the execution order may be reversed, data coherency cannot be maintained. In this case, based on the memory access completion notification signal from the memory access completion notification signal generation unit 41 (step S131), the completion notification control unit 52 generates a command issuance permission signal to the communication destination master, and the communication source master. The process completion is notified (step S132).

コマンド発行許可信号受付部53は、コマンド発行許可信号を受け取り(ステップS132)、メモリアクセスコマンド生成部54に指示し(ステップS134)、メモリアクセスコマンド生成部54は、メモリアクセスコマンドを生成し(ステップS135)、メモリ制御部11に対して生成したメモリアクセスコマンドを発行する(ステップS136)。   The command issuance permission signal accepting unit 53 receives the command issuance permission signal (step S132), instructs the memory access command generation unit 54 (step S134), and the memory access command generation unit 54 generates a memory access command (step S134). In step S135, the generated memory access command is issued to the memory control unit 11 (step S136).

メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS136)、受け取ったメモリアクセスコマンドを実行する(ステップS137)。
以上説明したように、本実施の形態を用いれば、バス通信に用いる共有メモリ領域が調停部21における最優先度の権限があるか否かで、調停完了通知信号またはメモリアクセス完了通知信号を選択して利用し、バス転送効率を向上できる。
The memory control unit 11 receives the memory access command (step S136), and executes the received memory access command (step S137).
As described above, according to the present embodiment, the arbitration completion notification signal or the memory access completion notification signal is selected depending on whether or not the shared memory area used for bus communication has the highest priority authority in the arbitration unit 21. To improve the bus transfer efficiency.

(実施の形態3)
実施の形態3に係るバス通信装置は、実施の形態1での、調停完了通知信号またはメモリアクセス完了通知信号の選択を、通信先マスタの種類に応じて行い、更に実施の形態2での、調停完了通知信号またはメモリアクセス完了通知信号の選択を、バス通信でアクセスする共有メモリ領域の属性に応じた選択も行うものである。
(Embodiment 3)
The bus communication device according to the third embodiment performs selection of the arbitration completion notification signal or the memory access completion notification signal in the first embodiment according to the type of the communication destination master, and further in the second embodiment. The selection of the arbitration completion notification signal or the memory access completion notification signal is also performed according to the attribute of the shared memory area accessed by bus communication.

通信元マスタ101は、どのマスタが調停部21における最優先権限を持つかを示すマスタ情報テーブル71と、共有メモリのどの領域が調停部21における最優先度権限で調停されるかを示すスレーブ属性情報テーブル81とを保持している。
次に、図16、図13及び図14に示すシーケンス図を用いて、本実施形態におけるバス通信装置10の動作フローについて述べる。
The communication source master 101 has a master information table 71 indicating which master has the highest priority authority in the arbitration unit 21 and a slave attribute indicating which area of the shared memory is arbitrated with the highest priority authority in the arbitration unit 21. An information table 81 is held.
Next, the operation flow of the bus communication device 10 according to the present embodiment will be described with reference to the sequence diagrams shown in FIGS.

本実施形態におけるバス通信装置10で、通信元マスタ101が起動するとき、通信元マスタ101は、バス通信設定レジスタ55に、バス通信フラグ及びバス通信を行う通信先マスタIDを設定する(ステップS170)。
次に、完了通知制御部52は、この通信先マスタIDにより示される通信先マスタが調停部21における最優先権限を持つか否かをマスタ情報テーブル71により判定する(ステップS171)。
When the communication source master 101 is activated in the bus communication device 10 according to the present embodiment, the communication source master 101 sets the bus communication flag and the communication destination master ID for performing the bus communication in the bus communication setting register 55 (step S170). ).
Next, the completion notification control unit 52 determines whether or not the communication destination master indicated by the communication destination master ID has the highest priority authority in the arbitration unit 21 based on the master information table 71 (step S171).

また、完了通知制御部52は、この通信先マスタIDにより示される通信先マスタについて、バス通信でアクセスする領域が、調停部21における最優先権限で調停されるか否かをスレーブ属性情報テーブル81より判定する(ステップS172)。
通信先マスタに最優先度の権限がなく(ステップS171でNO)かつアクセス領域に最優先度の権限がない場合(ステップS172でNO)、調停部21によりバス通信を行う通信元コマンドが調停された後では、どのタイミングで通信先コマンドが発行されたとしても、通信元コマンドの実行後、通信先コマンドの実行するという順序は変化せず、データコヒーレンシは保たれる。そこで、調停完了通知信号発生部31による調停完了通知信号を元に(ステップS111)、完了通知制御部52が、通信先マスタに対してコマンド発行許可信号を発生して、通信元マスタの処理完了を通知する(ステップS112)。
Further, the completion notification control unit 52 determines whether or not an area accessed by bus communication is arbitrated with the highest priority authority in the arbitration unit 21 for the communication destination master indicated by the communication destination master ID. (Step S172).
If the communication destination master does not have the highest priority authority (NO in step S171) and the access area does not have the highest priority authority (NO in step S172), the arbitrating unit 21 adjusts the communication source command for performing the bus communication. After that, no matter what timing the communication destination command is issued, the execution order of the communication destination command does not change after the execution of the communication source command, and the data coherency is maintained. Therefore, based on the arbitration completion notification signal from the arbitration completion notification signal generation unit 31 (step S111), the completion notification control unit 52 generates a command issuance permission signal to the communication destination master, and the processing of the communication source master is completed. Is notified (step S112).

コマンド発行許可信号を、通信先マスタのコマンド発行許可信号受付部53が受け取り(ステップS112)、メモリアクセスコマンド生成部54がメモリアクセスコマンドを生成し(ステップS115)、発行する(ステップS116)。
メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS116)、受け取ったメモリアクセスコマンドを実行する(ステップS117)。
The command issuance permission signal is received by the command issuance permission signal receiving unit 53 of the communication destination master (step S112), and the memory access command generating unit 54 generates and issues a memory access command (step S115).
The memory control unit 11 receives the memory access command (step S116), and executes the received memory access command (step S117).

これにより、従来技術であるように、通信元マスタのメモリアクセスが完了する時点より早期段階で通信先マスタのコマンド生成と発行が可能となり、バスの転送効率が向上する。
また、通信先マスタに最優先度の権限がなく(ステップS171でNO)かつアクセス領域に最優先度の権限がある場合(ステップS172でYES)、又は通信先マスタに最優先度の権限がある場合は(ステップS171でYES)、通信元マスタの転送が完了する前に、通信先マスタのコマンドが調停対象となると、通信元コマンドと通信先コマンドの実行順序が逆転する可能性があるため、データコヒーレンシが保たれなくなる。この場合は、メモリアクセス完了通知信号発生部41によるメモリアクセス完了通知信号を元に(ステップS131)、完了通知制御部52が、通信先マスタに対してコマンド発行許可信号を発生して、通信元マスタの処理完了を通知する(ステップS132)。
As a result, as in the prior art, it becomes possible to generate and issue a command of the communication destination master at an earlier stage than when the memory access of the communication source master is completed, thereby improving the bus transfer efficiency.
If the communication destination master does not have the highest priority authority (NO in step S171) and the access area has the highest priority authority (YES in step S172), or the communication destination master has the highest priority authority. In this case (YES in step S171), if the command of the communication destination master is subject to arbitration before the transfer of the communication source master is completed, the execution order of the communication source command and the communication destination command may be reversed. Data coherency cannot be maintained. In this case, based on the memory access completion notification signal from the memory access completion notification signal generation unit 41 (step S131), the completion notification control unit 52 generates a command issuance permission signal to the communication destination master, and the communication source Notification of master processing completion is sent (step S132).

コマンド発行許可信号受付部53は、コマンド発行許可信号を受け取り(ステップS132)、メモリアクセスコマンド生成部54に指示し(ステップS134)、メモリアクセスコマンド生成部54は、メモリアクセスコマンドを生成し(ステップS135)、メモリ制御部11に対して生成したメモリアクセスコマンドを発行する(ステップS136)。   The command issuance permission signal accepting unit 53 receives the command issuance permission signal (step S132), instructs the memory access command generation unit 54 (step S134), and the memory access command generation unit 54 generates a memory access command (step S134). In step S135, the generated memory access command is issued to the memory control unit 11 (step S136).

メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS136)、受け取ったメモリアクセスコマンドを実行する(ステップS137)。
以上説明したように、本実施形態を用いれば、通信先マスタに、調停部21における最優先度の権限があるか否か、またバス通信に用いる共有メモリ領域が調停部21における最優先度の権限があるか否かで、調停完了通知信号またはメモリアクセス完了通知信号を選択して利用し、バス転送効率を向上できる。
The memory control unit 11 receives the memory access command (step S136), and executes the received memory access command (step S137).
As described above, according to this embodiment, whether or not the communication destination master has the authority of the highest priority in the arbitration unit 21, and the shared memory area used for bus communication has the highest priority in the arbitration unit 21. The bus transfer efficiency can be improved by selecting and using the arbitration completion notification signal or the memory access completion notification signal depending on whether or not there is an authority.

(実施の形態4)
実施の形態4に係るバス通信装置10においては、通信元マスタ101及び通信先マスタ102は、図9に示すように構成され、通信元マスタ101から通信先マスタ102への通知を、コマンド生成指示信号及びコマンド発行許可信号の二段階により、行う。図9は、実施の形態4での通信元マスタ101及び通信先マスタ102の内部構成図を示している。また、図11は、実施の形態4に係るバス通信装置10における全体構成図を示している。
(Embodiment 4)
In the bus communication apparatus 10 according to the fourth embodiment, the communication source master 101 and the communication destination master 102 are configured as shown in FIG. 9, and a command generation instruction is sent from the communication source master 101 to the communication destination master 102. This is done in two steps: a signal and a command issue permission signal. FIG. 9 shows an internal configuration diagram of the communication source master 101 and the communication destination master 102 in the fourth embodiment. FIG. 11 is an overall configuration diagram of the bus communication device 10 according to the fourth embodiment.

通信元マスタ101は、共有メモリ12への対象データの書込みを示す書込コマンドの出力とともに、共有メモリ12からの前記対象データの読込みを示す読込コマンドの生成を指示するコマンド生成指示信号を出力し、前記コマンド生成指示信号の出力後、時間差を設けて前記読込コマンドの発行の許可を示すコマンド発行許可信号を出力する。通信先マスタ102は、前記コマンド生成指示信号に基づき、前記読込コマンドを生成し、前記コマンド発行許可信号に基づき、生成した前記読込コマンドを出力する。   The communication source master 101 outputs a command generation instruction signal for instructing generation of a read command indicating reading of the target data from the shared memory 12 together with output of a write command indicating writing of the target data to the shared memory 12. After outputting the command generation instruction signal, a command issue permission signal indicating permission for issuing the read command is output with a time difference. The communication destination master 102 generates the read command based on the command generation instruction signal, and outputs the generated read command based on the command issue permission signal.

通信元マスタ101は、図9に示すように、メモリアクセスコマンド生成部91、完了通知制御部92、バス通信設定レジスタ55及びマスタ情報テーブル71を備える。
通信元マスタ101は、通信元マスタの転送開始時に、バス通信設定レジスタ55に、その転送がバス通信を行う転送か否かを示すバス通信フラグ、及びバス通信を行う際、どのマスタと通信を行うのかを示す通信先マスタIDを設定する。
As shown in FIG. 9, the communication source master 101 includes a memory access command generation unit 91, a completion notification control unit 92, a bus communication setting register 55, and a master information table 71.
When the communication source master 101 starts the transfer of the communication source master, the communication source master 101 communicates with the bus communication setting register 55 which bus communication flag indicates whether the transfer is a transfer for performing the bus communication, and which master when the bus communication is performed. A communication destination master ID indicating whether or not to perform is set.

完了通知制御部92は、通信先マスタIDにより識別される通信先マスタが調停部21における最優先権限を持つか否かをマスタ情報テーブル71を用いて判定する。
メモリアクセスコマンド生成部91は、コマンドの発行を完了すると、コマンド発行完了信号を完了通知制御部92に通知する。
完了通知制御部92は、コマンド発行完了信号を受けると、バス通信設定レジスタ55により、該当通信先マスタへ、一段階目の通知(以下、コマンド生成指示信号)を発生させる。また、バス通信設定レジスタ55及びマスタ情報テーブル71により、調停完了通知信号またはメモリアクセス完了通知信号の選択を行い、該当通信先マスタへ二段階目の通知(以下、コマンド発行許可信号)を発生させる。
The completion notification control unit 92 determines whether or not the communication destination master identified by the communication destination master ID has the highest priority authority in the arbitration unit 21 using the master information table 71.
When the issue of the command is completed, the memory access command generation unit 91 notifies the completion notification control unit 92 of a command issue completion signal.
Upon receiving the command issuance completion signal, the completion notification control unit 92 causes the bus communication setting register 55 to generate a first-stage notification (hereinafter, a command generation instruction signal) to the corresponding communication destination master. Further, the arbitration completion notification signal or the memory access completion notification signal is selected by the bus communication setting register 55 and the master information table 71, and a second notification (hereinafter referred to as a command issue permission signal) is generated to the corresponding communication destination master. .

コマンド生成指示/発行許可信号受付部93は、コマンド生成指示信号を受けると、メモリアクセスコマンド生成部54に通信先マスタのコマンド生成を指示する。
メモリアクセスコマンド生成部54は、コマンド生成指示信号を受けると、通信先コマンドの生成を開始し、コマンド発行許可信号を受けると、生成したコマンドを発行する。
次に、図17〜19に示すシーケンス図を用いて、本実施形態におけるバス通信装置10の動作フローについて述べる。
When receiving the command generation instruction signal, the command generation instruction / issue permission signal reception unit 93 instructs the memory access command generation unit 54 to generate a command for the communication destination master.
When the memory access command generation unit 54 receives the command generation instruction signal, the memory access command generation unit 54 starts generating the communication destination command, and when receiving the command issue permission signal, the memory access command generation unit 54 issues the generated command.
Next, the operation flow of the bus communication device 10 in the present embodiment will be described using the sequence diagrams shown in FIGS.

本実施形態におけるバス通信装置10で、通信元マスタ101が起動するとき、バス通信設定レジスタ55に、バス通信を行う通信先マスタIDを設定する(ステップS191)。
メモリアクセスコマンド生成部91は、コマンドの発行を完了すると、コマンド発行完了信号を完了通知制御部92に通知する(ステップS192)。
In the bus communication device 10 according to the present embodiment, when the communication source master 101 is activated, a communication destination master ID for performing bus communication is set in the bus communication setting register 55 (step S191).
When completing the issue of the command, the memory access command generation unit 91 notifies the completion notification control unit 92 of a command issue completion signal (step S192).

完了通知制御部92は、コマンド発行完了信号を受けると(ステップS192)、バス通信設定レジスタ55により示される該当通信先マスタへ、コマンド生成指示信号を発生させる(ステップS193)。
コマンド生成指示/発行許可信号受付部93は、コマンド生成指示信号を受け取り(ステップS193)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS194)、メモリアクセスコマンド生成部54は、通信先マスタ102のコマンドを生成し(ステップS195)、発行待ち状態となる。
Upon receiving the command issue completion signal (step S192), the completion notification control unit 92 generates a command generation instruction signal to the corresponding communication destination master indicated by the bus communication setting register 55 (step S193).
The command generation instruction / issue permission signal reception unit 93 receives the command generation instruction signal (step S193), and the memory access command generation unit 54 performs communication according to an instruction from the command generation instruction / issue permission signal reception unit 93 (step S194). A command for the destination master 102 is generated (step S195), and issuance is waited.

完了通知制御部92は、通信先マスタIDにより識別される通信先マスタが調停部21における最優先権限を持つか否かをマスタ情報テーブル71を用いて判定する(ステップS196)。
通信先マスタ102に最優先度の権限がない場合(ステップS196)、調停部21によりバス通信を行う通信元コマンドが調停された後では、どのタイミングで通信先コマンドが発行されたとしても、通信元コマンドの実行後、通信先コマンドの実行する順序は変化せず、データコヒーレンシは保たれる。そこで、調停完了通知信号発生部31による調停完了通知信号を元に(ステップS201)、完了通知制御部92が、通信先マスタに対してコマンド発行許可信号を発生し、通信先マスタ102に、発行待ち状態コマンドの発行可能を示すコマンド発行許可信号を伝える(ステップS202)。
The completion notification control unit 92 determines whether or not the communication destination master identified by the communication destination master ID has the highest priority authority in the arbitration unit 21 using the master information table 71 (step S196).
If the communication destination master 102 does not have the authority of the highest priority (step S196), after the communication source command for performing the bus communication is arbitrated by the arbitration unit 21, the communication destination command is issued no matter what timing is issued. After the original command is executed, the order in which the communication destination commands are executed does not change, and data coherency is maintained. Therefore, based on the arbitration completion notification signal from the arbitration completion notification signal generation unit 31 (step S201), the completion notification control unit 92 generates a command issue permission signal for the communication destination master and issues it to the communication destination master 102. A command issue permission signal indicating that the waiting state command can be issued is transmitted (step S202).

コマンド生成指示/発行許可信号受付部93がコマンド発行許可信号を受け取ると(ステップS202)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS203)、メモリアクセスコマンド生成部54は、発行待ち状態であるコマンドを直ちに発行する(ステップS204)。コマンド発行許可信号を受けた時点でコマンド生成が完了していない場合は、完了した後速やかに発行する。   When the command generation instruction / issue permission signal reception unit 93 receives the command issue permission signal (step S202), the memory access command generation unit 54 issues the command according to the instruction of the command generation instruction / issue permission signal reception unit 93 (step S203). A command in a waiting state is immediately issued (step S204). If command generation is not completed when the command issue permission signal is received, it is issued immediately after completion.

メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS204)、受け取ったメモリアクセスコマンドを実行する(ステップS205)。
これにより、従来技術であるように、通信元マスタのメモリアクセスが完了する時点より早期段階で通信先マスタのコマンド生成・発行が可能となり、バスの転送効率が向上する。
The memory control unit 11 receives the memory access command (step S204), and executes the received memory access command (step S205).
As a result, as in the prior art, it becomes possible to generate and issue commands at the communication destination master at an earlier stage than when the memory access of the communication source master is completed, and the bus transfer efficiency is improved.

また、通信先マスタ102に最優先度の権限がある場合は(ステップS196)、通信元マスタ101の転送が完了する前に、通信先マスタ102のコマンドが調停対象となると、通信元コマンドと通信先コマンドの実行順序が逆転する可能性があるため、データコヒーレンシが保たれなくなる。この場合、メモリアクセス完了通知信号発生部41によるメモリアクセス完了通知信号を元に(ステップS211)、完了通知制御部92が、通信先マスタ102に対してコマンド発行許可信号を通知して、通信先マスタ102に、コマンド発行可能を伝える(ステップS212)。   If the communication destination master 102 has the highest priority authority (step S196), if the command of the communication destination master 102 is subject to arbitration before the transfer of the communication source master 101 is completed, communication with the communication source command is performed. Since the execution order of the previous command may be reversed, data coherency cannot be maintained. In this case, based on the memory access completion notification signal from the memory access completion notification signal generation unit 41 (step S211), the completion notification control unit 92 notifies the communication destination master 102 of a command issuance permission signal, and the communication destination The master 102 is notified that the command can be issued (step S212).

コマンド生成指示/発行許可信号受付部93がコマンド発行許可信号を受け取ると(ステップS212)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS213)、メモリアクセスコマンド生成部54は、発行待ち状態であるコマンドを直ちに発行する(ステップS214)。
メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS214)、受け取ったメモリアクセスコマンドを実行する(ステップS215)。
When the command generation instruction / issue permission signal reception unit 93 receives the command issue permission signal (step S212), the memory access command generation unit 54 issues the command according to the instruction of the command generation instruction / issue permission signal reception unit 93 (step S213). A command in a waiting state is immediately issued (step S214).
The memory control unit 11 receives the memory access command (step S214), and executes the received memory access command (step S215).

以上説明したように、本実施形態を用いれば、通信先マスタ102に、調停部21における最優先度の権限があるか否かで、調停完了通知信号またはメモリアクセス完了通知信号を選択して利用し、バス転送効率を向上できる。
(実施の形態5)
実施の形態5に係るバス通信装置10においては、通信元マスタ101及び通信先マスタ102は、図9に示すように構成され、実施の形態4に係るバス通信装置10と同様に、通信元マスタ101から通信先マスタ102への通知を、コマンド生成指示信号及びコマンド発行許可信号の二段階により、行う。
As described above, according to the present embodiment, the arbitration completion notification signal or the memory access completion notification signal is selected and used depending on whether or not the communication destination master 102 has the highest priority authority in the arbitration unit 21. In addition, the bus transfer efficiency can be improved.
(Embodiment 5)
In the bus communication device 10 according to the fifth embodiment, the communication source master 101 and the communication destination master 102 are configured as shown in FIG. 9 and, like the bus communication device 10 according to the fourth embodiment, the communication source master. The notification from the communication destination master 102 to the communication destination master 102 is performed in two steps: a command generation instruction signal and a command issue permission signal.

通信元マスタ101は、図8に示すスレーブ属性情報テーブル81を保持している。
実施の形態5では、実施の形態4と同様に、通信元マスタ101のコマンド発行完了をもってコマンド生成指示信号を通信先マスタ102に通知し、実施の形態2で説明したコマンド発行許可信号を通信先マスタ102に通知することにより、通信先マスタ102の早期コマンド生成を実現し、バス転送効率を向上できる。
The communication source master 101 holds a slave attribute information table 81 shown in FIG.
In the fifth embodiment, as in the fourth embodiment, a command generation instruction signal is notified to the communication destination master 102 upon completion of command issue of the communication source master 101, and the command issue permission signal described in the second embodiment is transmitted to the communication destination. By notifying the master 102, it is possible to realize early command generation of the communication destination master 102 and improve the bus transfer efficiency.

次に、図20、図18及び図19に示すシーケンス図を用いて、本実施形態におけるバス通信装置10の動作フローについて述べる。
本実施形態におけるバス通信装置10で、通信元マスタ101が起動するとき、バス通信設定レジスタ55に、バス通信を行う通信先マスタIDを設定する(ステップS191)。
Next, the operation flow of the bus communication device 10 according to the present embodiment will be described with reference to the sequence diagrams shown in FIGS. 20, 18 and 19.
In the bus communication device 10 according to the present embodiment, when the communication source master 101 is activated, a communication destination master ID for performing bus communication is set in the bus communication setting register 55 (step S191).

メモリアクセスコマンド生成部91は、コマンドの発行を完了すると、コマンド発行完了信号を完了通知制御部92に通知する(ステップS192)。
完了通知制御部92は、コマンド発行完了信号を受けると(ステップS192)、バス通信設定レジスタ55により示される該当通信先マスタへ、コマンド生成指示信号を発生させる(ステップS193)。
When completing the issue of the command, the memory access command generation unit 91 notifies the completion notification control unit 92 of a command issue completion signal (step S192).
Upon receiving the command issue completion signal (step S192), the completion notification control unit 92 generates a command generation instruction signal to the corresponding communication destination master indicated by the bus communication setting register 55 (step S193).

コマンド生成指示/発行許可信号受付部93は、コマンド生成指示信号を受け取り(ステップS193)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS194)、メモリアクセスコマンド生成部54は、通信先マスタ102のコマンドを生成し(ステップS195)、発行待ち状態となる。
次に、完了通知制御部92は、バス通信におけるアクセスの対象となる領域が、調停部21における最優先権限で調停されるか領域か否かをスレーブ属性情報テーブル81を用いて判定する(ステップS231)。
The command generation instruction / issue permission signal reception unit 93 receives the command generation instruction signal (step S193), and the memory access command generation unit 54 performs communication according to an instruction from the command generation instruction / issue permission signal reception unit 93 (step S194). A command for the destination master 102 is generated (step S195), and issuance is waited.
Next, the completion notification control unit 92 determines, using the slave attribute information table 81, whether or not the area to be accessed in bus communication is an area to be arbitrated with the highest priority authority in the arbitration unit 21 (step). S231).

アクセス領域に最優先度の権限がない場合(ステップS231)、調停完了通知信号発生部31による調停完了通知信号を元に(ステップS201)、完了通知制御部92が、通信先マスタに対してコマンド発行許可信号を発生し、通信先マスタ102に、発行待ち状態コマンドの発行可能を示すコマンド発行許可信号を伝える(ステップS202)。
コマンド生成指示/発行許可信号受付部93がコマンド発行許可信号を受け取ると(ステップS202)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS203)、メモリアクセスコマンド生成部54は、発行待ち状態であるコマンドを直ちに発行する(ステップS204)。メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS204)、受け取ったメモリアクセスコマンドを実行する(ステップS205)。
If there is no authority with the highest priority in the access area (step S231), the completion notification control unit 92 sends a command to the communication destination master based on the arbitration completion notification signal from the arbitration completion notification signal generation unit 31 (step S201). An issuance permission signal is generated, and a command issuance permission signal indicating that the issuance waiting state command can be issued is transmitted to the communication destination master 102 (step S202).
When the command generation instruction / issue permission signal reception unit 93 receives the command issue permission signal (step S202), the memory access command generation unit 54 issues the command according to the instruction of the command generation instruction / issue permission signal reception unit 93 (step S203). A command in a waiting state is immediately issued (step S204). The memory control unit 11 receives the memory access command (step S204), and executes the received memory access command (step S205).

また、アクセス領域に最優先度の権限がある場合は(ステップS231)、メモリアクセス完了通知信号発生部41によるメモリアクセス完了通知信号を元に(ステップS211)、完了通知制御部92が、通信先マスタ102に対してコマンド発行許可信号を通知して、通信先マスタ102に、コマンド発行可能を伝える(ステップS212)。
コマンド生成指示/発行許可信号受付部93がコマンド発行許可信号を受け取ると(ステップS212)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS213)、メモリアクセスコマンド生成部54は、発行待ち状態であるコマンドを直ちに発行する(ステップS214)。メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS214)、受け取ったメモリアクセスコマンドを実行する(ステップS215)。
If the access area has the highest priority authority (step S231), the completion notification control unit 92 determines whether the communication destination is the communication destination based on the memory access completion notification signal from the memory access completion notification signal generation unit 41 (step S211). A command issuance permission signal is notified to the master 102 to notify the communication destination master 102 that a command can be issued (step S212).
When the command generation instruction / issue permission signal reception unit 93 receives the command issue permission signal (step S212), the memory access command generation unit 54 issues the command according to the instruction of the command generation instruction / issue permission signal reception unit 93 (step S213). A command in a waiting state is immediately issued (step S214). The memory control unit 11 receives the memory access command (step S214), and executes the received memory access command (step S215).

(実施の形態6)
実施の形態6に係るバス通信装置10においては、通信元マスタ101及び通信先マスタ102は、図9に示すように構成され、実施の形態4に係るバス通信装置10と同様に、通信元マスタ101から通信先マスタ102への通知を、コマンド生成指示信号及びコマンド発行許可信号の二段階により、行う。
(Embodiment 6)
In the bus communication device 10 according to the sixth embodiment, the communication source master 101 and the communication destination master 102 are configured as shown in FIG. 9 and, like the bus communication device 10 according to the fourth embodiment, the communication source master. The notification from the communication destination master 102 to the communication destination master 102 is performed in two steps: a command generation instruction signal and a command issue permission signal.

通信元マスタ101は、どのマスタが調停部21における最優先権限を持つかを示すマスタ情報テーブル71と、共有メモリのどの領域が調停部21における最優先度権限で調停されるかを示すスレーブ属性情報テーブル81とを保持している。
実施の形態6においては、実施の形態4と同様に、通信元マスタ101のコマンド発行完了をもってコマンド生成指示信号を通信先マスタ102に通知し、実施の形態2で説明したコマンド発行許可信号を通信先マスタ102に通知することにより、通信先マスタ102の早期コマンド生成を実現し、バス転送効率を向上できる。
The communication source master 101 has a master information table 71 indicating which master has the highest priority authority in the arbitration unit 21 and a slave attribute indicating which area of the shared memory is arbitrated with the highest priority authority in the arbitration unit 21. An information table 81 is held.
In the sixth embodiment, as in the fourth embodiment, a command generation instruction signal is notified to the communication destination master 102 upon completion of command issue of the communication source master 101, and the command issue permission signal described in the second embodiment is communicated. By notifying the destination master 102, the early command generation of the communication destination master 102 can be realized, and the bus transfer efficiency can be improved.

次に、図21、図18及び図19に示すシーケンス図を用いて、本実施形態におけるバス通信装置10の動作フローについて述べる。
本実施形態におけるバス通信装置10で、通信元マスタ101が起動するとき、バス通信設定レジスタ55に、バス通信を行う通信先マスタIDを設定する(ステップS191)。
Next, the operation flow of the bus communication device 10 according to the present embodiment will be described with reference to sequence diagrams shown in FIGS.
In the bus communication device 10 according to the present embodiment, when the communication source master 101 is activated, a communication destination master ID for performing bus communication is set in the bus communication setting register 55 (step S191).

メモリアクセスコマンド生成部91は、コマンドの発行を完了すると、コマンド発行完了信号を完了通知制御部92に通知する(ステップS192)。
完了通知制御部92は、コマンド発行完了信号を受けると(ステップS192)、バス通信設定レジスタ55により、該当通信先マスタへ、コマンド生成指示信号を発生させる(ステップS193)。
When completing the issue of the command, the memory access command generation unit 91 notifies the completion notification control unit 92 of a command issue completion signal (step S192).
Upon receipt of the command issuance completion signal (step S192), the completion notification control unit 92 causes the bus communication setting register 55 to generate a command generation instruction signal to the corresponding communication destination master (step S193).

コマンド生成指示/発行許可信号受付部93は、コマンド生成指示信号を受け取り(ステップS193)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS194)、メモリアクセスコマンド生成部54は、通信先マスタ102のコマンドを生成し(ステップS195)、発行待ち状態となる。
次に、完了通知制御部92は、この通信先マスタIDにより示される通信先マスタが調停部21における最優先権限を持つか否かをマスタ情報テーブル71により判定する(ステップS251)。
The command generation instruction / issue permission signal reception unit 93 receives the command generation instruction signal (step S193), and the memory access command generation unit 54 performs communication according to an instruction from the command generation instruction / issue permission signal reception unit 93 (step S194). A command for the destination master 102 is generated (step S195), and issuance is waited.
Next, the completion notification control unit 92 determines whether or not the communication destination master indicated by the communication destination master ID has the highest priority authority in the arbitration unit 21 based on the master information table 71 (step S251).

また、完了通知制御部52は、この通信先マスタIDにより示される通信先マスタについて、バス通信でアクセスする領域が、調停部21における最優先権限で調停されるか否かをスレーブ属性情報テーブル81より判定する(ステップS252)。
通信先マスタに最優先度の権限がなく(ステップS251でNO)かつアクセス領域に最優先度の権限がない場合(ステップS252でNO)、調停完了通知信号発生部31による調停完了通知信号を元に(ステップS201)、完了通知制御部92が、通信先マスタに対してコマンド発行許可信号を発生し、通信先マスタ102に、発行待ち状態コマンドの発行可能を示すコマンド発行許可信号を伝える(ステップS202)。
Further, the completion notification control unit 52 determines whether or not an area accessed by bus communication is arbitrated with the highest priority authority in the arbitration unit 21 for the communication destination master indicated by the communication destination master ID. (Step S252).
If the communication destination master does not have the highest priority authority (NO in step S251) and the access area does not have the highest priority authority (NO in step S252), the arbitration completion notification signal generated by the arbitration completion notification signal generation unit 31 is used as a source. (Step S201), the completion notification control unit 92 generates a command issuance permission signal for the communication destination master, and notifies the communication destination master 102 of a command issuance permission signal indicating that an issuance waiting state command can be issued (Step S201). S202).

コマンド生成指示/発行許可信号受付部93がコマンド発行許可信号を受け取ると(ステップS202)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS203)、メモリアクセスコマンド生成部54は、発行待ち状態であるコマンドを直ちに発行する(ステップS204)。メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS204)、受け取ったメモリアクセスコマンドを実行する(ステップS205)。   When the command generation instruction / issue permission signal reception unit 93 receives the command issue permission signal (step S202), the memory access command generation unit 54 issues the command according to the instruction of the command generation instruction / issue permission signal reception unit 93 (step S203). A command in a waiting state is immediately issued (step S204). The memory control unit 11 receives the memory access command (step S204), and executes the received memory access command (step S205).

また、通信先マスタに最優先度の権限がなく(ステップS251でNO)かつアクセス領域に最優先度の権限がある場合(ステップS252でYES)、又は通信先マスタに最優先度の権限がある場合は(ステップS251でYES)、メモリアクセス完了通知信号発生部41によるメモリアクセス完了通知信号を元に(ステップS211)、完了通知制御部92が、通信先マスタ102に対してコマンド発行許可信号を通知して、通信先マスタ102に、コマンド発行可能を伝える(ステップS212)。   If the communication destination master does not have the highest priority authority (NO in step S251) and the access area has the highest priority authority (YES in step S252), or the communication destination master has the highest priority authority. In this case (YES in step S251), the completion notification control unit 92 sends a command issue permission signal to the communication destination master 102 based on the memory access completion notification signal from the memory access completion notification signal generation unit 41 (step S211). This is notified and the communication destination master 102 is notified that the command can be issued (step S212).

コマンド生成指示/発行許可信号受付部93がコマンド発行許可信号を受け取ると(ステップS212)、コマンド生成指示/発行許可信号受付部93の指示により(ステップS213)、メモリアクセスコマンド生成部54は、発行待ち状態であるコマンドを直ちに発行する(ステップS214)。メモリ制御部11は、メモリアクセスコマンドを受け取り(ステップS214)、受け取ったメモリアクセスコマンドを実行する(ステップS215)。   When the command generation instruction / issue permission signal reception unit 93 receives the command issue permission signal (step S212), the memory access command generation unit 54 issues the command according to the instruction of the command generation instruction / issue permission signal reception unit 93 (step S213). A command in a waiting state is immediately issued (step S214). The memory control unit 11 receives the memory access command (step S214), and executes the received memory access command (step S215).

(まとめ)
以上説明したように、上記の各実施の形態は、1のマスタと他のマスタとの間のバス通信において、コヒーレンシを維持しつつ、転送効率を高めるために、多階層の完了通信信号を選択的に利用可能な制御装置である。
ここで、各階層は、コマンド発行フェーズ、調停完了フェーズ、メモリアクセス完了フェーズなどの各イベントのフェーズを示す。コマンド発行フェーズは、通信元マスタ101がメモリアクセスコマンドを発行するフェーズであり、調停完了フェーズは、メモリ制御部11の調停部21が複数のコマンドを調停するフェーズであり、メモリアクセス完了フェーズは、通信元マスタ101が発行したメモリアクセスコマンドによるメモリアクセスが完了するフェーズである。これらのフェーズは、階層的に構成されている。各階層の完了通信信号は、それぞれ、一例として図11に示すコマンドの発行完了を示すコマンド発行完了信号301、コマンドの調停完了を示す調停完了通知信号302及びコマンドによるメモリアクセスの完了を示すメモリアクセス通知完了信号303である。
(Summary)
As described above, each of the above embodiments selects a multi-layered completion communication signal in order to improve transfer efficiency while maintaining coherency in bus communication between one master and another master. It is a control device that can be used.
Here, each layer indicates a phase of each event such as a command issue phase, an arbitration completion phase, and a memory access completion phase. The command issue phase is a phase in which the communication source master 101 issues a memory access command, the arbitration completion phase is a phase in which the arbitration unit 21 of the memory control unit 11 arbitrates a plurality of commands, and the memory access completion phase is This is a phase in which the memory access by the memory access command issued by the communication source master 101 is completed. These phases are organized hierarchically. As an example, the completion communication signal of each layer includes a command issue completion signal 301 indicating completion of command issuance shown in FIG. 11, an arbitration completion notification signal 302 indicating completion of command arbitration, and memory access indicating completion of memory access by the command. This is a notification completion signal 303.

各実施の形態は、これらの完了通知信号を選択的に利用して、バス転送効率を高めるものである。
(その他の変形例)
なお、本発明を上記の実施の形態に基づいて説明してきたが、本発明は、上記の実施の形態に限定されないのはもちろんである。以下のような場合も本発明に含まれる。
Each embodiment uses these completion notification signals selectively to improve bus transfer efficiency.
(Other variations)
Although the present invention has been described based on the above embodiment, it is needless to say that the present invention is not limited to the above embodiment. The following cases are also included in the present invention.

(1)上記の各装置を構成する構成要素の一部又は全部は、1個のシステムLSI(Large Scale Integration:大規模集積回路)から構成されているとしてもよい。システムLSIは、複数の構成部を1個のチップ上に集積して製造された超多機能LSIであり、具体的には、マイクロプロセッサ、ROM、RAMなどを含んで構成されるコンピュータシステムである。前記RAMには、コンピュータプログラムが記憶されている。前記マイクロプロセッサが、前記コンピュータプログラムに従って動作することにより、システムLSIは、その機能を達成する。   (1) A part or all of the constituent elements constituting each of the above-described apparatuses may be configured by one system LSI (Large Scale Integration). The system LSI is a super multifunctional LSI manufactured by integrating a plurality of components on one chip, and specifically, a computer system including a microprocessor, a ROM, a RAM, and the like. . A computer program is stored in the RAM. The system LSI achieves its functions by the microprocessor operating according to the computer program.

また、上記の各装置を構成する構成要素の各部は、個別に1チップ化されても良いし、一部又は全てを含むように1チップ化されてもよい。また、ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。
また、集積回路化の手法はLSIに限るものではなく、専用回路又は汎用プロセッサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)やLSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用しても良い。
In addition, each part of the constituent elements constituting each of the above devices may be individually made into one chip, or may be made into one chip so as to include a part or all of them. Further, although it is referred to as LSI here, it may be referred to as IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.
Further, the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible. An FPGA (Field Programmable Gate Array) that can be programmed after manufacturing the LSI or a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.

さらには、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適用等が可能性としてありえる。
具体的には、通信元マスタ101、通信先マスタ102及びメモリ制御部11は、一体として、1個のLSIから構成されているとしてもよい。
Further, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology. Biotechnology can be applied.
Specifically, the communication source master 101, the communication destination master 102, and the memory control unit 11 may be integrally configured by one LSI.

また、通信元マスタ101は、1個のLSIから構成され、通信先マスタ102は、別の1個のLSIから構成され、メモリ制御部11は、さらに別の1個のLSIから構成されているとしてもよい。
さらに、通信元マスタ101及び通信先マスタ102は、一体として、1個のLSIから構成され、メモリ制御部11は、別の1個のLSIから構成されているとしてもよい。
Further, the communication source master 101 is composed of one LSI, the communication destination master 102 is composed of another one LSI, and the memory control unit 11 is composed of another one LSI. It is good.
Further, the communication source master 101 and the communication destination master 102 may be integrally configured from one LSI, and the memory control unit 11 may be configured from another single LSI.

(2)上記のバス通信装置は、デジタル放送受信装置、DVDプレーヤ、BDプレーヤ、携帯電話などの機器に組み込まれている。これらの装置は、上記のバス通信装置を組み込んだバス通信システムを構成している。
(3)本発明は、上記に示す方法であるとしてもよい。
(4)第1の発明に係るバス通信装置は、通信元マスタと、通信先マスタと、共有メモリと、メモリ制御部とを備える。前記メモリ制御部は、通信元マスタと前記通信先マスタからのメモリアクセスコマンドを調停し、何れかのメモリアクセスコマンドにアクセス権を付与するコマンド調停部と、アクセス権を獲得したメモリアクセスコマンドに基づいて共有メモリへのアクセスを行うメモリアクセス部と、通信元マスタからのメモリアクセスコマンドがアクセス権を獲得した際に、調停完了通知信号を発生する調停完了通知信号発生部と、通信元マスタからのメモリアクセスコマンドの処理を完了した際に、メモリアクセス完了通知信号を発生するメモリアクセス完了通知信号発生部とを備える。前記通信元マスタは、共有メモリへ対象データを書き込むメモリアクセスコマンドを発行する第1のコマンド発行部と、調停完了通知信号またはメモリアクセス完了通知信号をプログラマブルに選択し、選択した信号に基づいてコマンド発行許可信号を発生する完了通知制御部とを備える。前記通信先マスタは、コマンド発行許可信号に基づき、対象データを共有メモリから読み込むメモリアクセスコマンドを発行する第2のコマンド発行部を備える。
(2) The bus communication device described above is incorporated in devices such as a digital broadcast receiving device, a DVD player, a BD player, and a mobile phone. These devices constitute a bus communication system incorporating the above-described bus communication device.
(3) The present invention may be the method described above.
(4) A bus communication device according to a first invention includes a communication source master, a communication destination master, a shared memory, and a memory control unit. The memory control unit arbitrates a memory access command from the communication source master and the communication destination master, and grants an access right to any memory access command, and a memory access command that has acquired the access right A memory access unit that accesses the shared memory, an arbitration completion notification signal generation unit that generates an arbitration completion notification signal when a memory access command from the communication source master acquires an access right, and a communication source master A memory access completion notification signal generating section for generating a memory access completion notification signal when processing of the memory access command is completed; The communication source master programmatically selects a first command issuing unit that issues a memory access command for writing target data to the shared memory, and an arbitration completion notification signal or a memory access completion notification signal, and commands based on the selected signal A completion notification control unit for generating an issue permission signal. The communication destination master includes a second command issuing unit that issues a memory access command for reading target data from the shared memory based on a command issue permission signal.

この構成では、調停完了通知信号またはメモリアクセス完了通知信号をプログラマブルに選択して、コマンド発行許可信号を発生するため、メモリアクセス完了通知信号のみを用いていた従来技術にくらべ、より柔軟に通信先マスタのコマンド生成タイミングを制御することが可能になる。
また、第2の発明に係るバス通信装置は、通信元マスタと、通信先マスタと、共有メモリと、メモリ制御部とを備える。前記メモリ制御部は、通信元マスタまたは通信先マスタからのメモリアクセスコマンドに基づいて共有メモリへのアクセスを行うメモリアクセス部を備える。前記通信元マスタは、共有メモリへ対象データを書き込むメモリアクセスコマンドを発行する第1のコマンド発行部と、メモリアクセスコマンドを発行した際に、コマンド生成指示信号を発生し、コマンド生成指示信号の発生後、時間差を設けて二段階目のコマンド発行許可信号を発生する完了通知制御部とを備える。前記通信先マスタは、コマンド生成指示信号に基づき、対象データを共有メモリから読み込むメモリアクセスコマンドを生成し、コマンド発行許可信号に基づき、生成したメモリアクセスコマンドを発行する第2のコマンド発行部を備える。
In this configuration, the arbitration completion notification signal or the memory access completion notification signal is selected in a programmable manner, and a command issue permission signal is generated. Therefore, the communication destination is more flexible than the conventional technology that uses only the memory access completion notification signal. It becomes possible to control the command generation timing of the master.
The bus communication device according to the second invention includes a communication source master, a communication destination master, a shared memory, and a memory control unit. The memory control unit includes a memory access unit that accesses a shared memory based on a memory access command from a communication source master or a communication destination master. The communication source master generates a command generation instruction signal and a command generation instruction signal when a memory access command is issued, and a first command issuing unit that issues a memory access command for writing target data to the shared memory And a completion notification control unit for generating a second-stage command issuance permission signal with a time difference. The communication destination master includes a second command issuing unit that generates a memory access command for reading target data from the shared memory based on a command generation instruction signal and issues the generated memory access command based on a command issue permission signal. .

この構成では、コマンド生成指示信号を受信した時点で、通信先マスタのメモリアクセスコマンド生成を先行して開始するため、コマンド発行許可信号を受信した時点で生成を開始するよりも早期にコマンド生成が完了し、早期にコマンド発行を行うことが可能となる。
また、第3の発明に係るバス通信装置において、メモリ制御部は、通信元マスタと通信先マスタからのメモリアクセスコマンドを調停し、何れかのメモリアクセスコマンドにアクセス権を付与するコマンド調停部と、通信元マスタからのメモリアクセスコマンドがアクセス権を獲得した際に、調停完了通知信号を発生する調停完了通知信号発生部と、通信元マスタからのメモリアクセスコマンドの処理を完了した際に、メモリアクセス完了通知信号を発生するメモリアクセス完了通知信号発生部とを更に備える。メモリアクセス部は、アクセス権を獲得したメモリアクセスコマンドに基づいて共有メモリへのアクセスを行うよう構成される。完了通知制御部は、調停完了通知信号またはメモリアクセス完了通知信号をプログラマブルに選択し、選択した信号に基づいてコマンド発行許可信号を発生するよう構成される。
In this configuration, since the memory access command generation of the communication destination master is started in advance when the command generation instruction signal is received, the command generation is performed earlier than the generation is started when the command issue permission signal is received. Completion of the command can be performed early.
Further, in the bus communication device according to the third invention, the memory control unit arbitrates a memory access command from the communication source master and the communication destination master, and assigns an access right to any of the memory access commands; An arbitration completion notification signal generator for generating an arbitration completion notification signal when the memory access command from the communication source master acquires an access right, and a memory when the processing of the memory access command from the communication source master is completed. A memory access completion notification signal generation unit for generating an access completion notification signal; The memory access unit is configured to access the shared memory based on the memory access command that has acquired the access right. The completion notification control unit is configured to select an arbitration completion notification signal or a memory access completion notification signal in a programmable manner and generate a command issue permission signal based on the selected signal.

この構成では、コマンド発行許可信号を発生するトリガとして、調停完了通知信号またはメモリアクセス完了通知信号をプログラマブルに選択するため、通信先マスタのコマンド生成タイミング制御の自由度が向上する。
また、第4の発明に係るバス通信装置において、通信元マスタは、調停部においてどのマスタが最優先権限を有するかを示す情報を設定可能なマスタ情報テーブルを更に備える。完了通知制御部は、マスタ情報テーブルを参照して、転送先マスタが最優先権限を有する場合には、メモリアクセス完了通知信号を選択し、転送先マスタが最優先権限を有さない場合には、調停完了通知信号を選択するよう構成される。
In this configuration, the arbitration completion notification signal or the memory access completion notification signal is programmably selected as a trigger for generating the command issue permission signal, so that the degree of freedom in controlling the command generation timing of the communication destination master is improved.
In the bus communication device according to the fourth invention, the communication source master further includes a master information table capable of setting information indicating which master has the highest priority authority in the arbitration unit. The completion notification control unit refers to the master information table, selects the memory access completion notification signal when the transfer destination master has the highest priority authority, and selects the memory access completion notification signal when the transfer destination master does not have the highest priority authority. And an arbitration completion notification signal is selected.

ここで、通信先マスタに最優先度の権限がある場合は、通信元マスタの転送が完了する前に、通信先マスタのコマンドが調停対象となると、通信元コマンドと通信先コマンドの実行順序が逆転する可能性があるため、データコヒーレンシが保たれなくなる。
この構成では、転送先マスタが最優先権限を有する場合には、メモリアクセス完了通知信号に基づいてコマンド発行許可信号を発生するようにしたため、データコヒーレンシを保つことができる。
Here, if the communication destination master has the highest priority authority, if the communication destination master command is subject to arbitration before the transfer of the communication source master is completed, the execution order of the communication source command and the communication destination command will be Data coherency cannot be maintained because of the possibility of reverse.
In this configuration, when the transfer destination master has the highest priority authority, the command issue permission signal is generated based on the memory access completion notification signal, so that data coherency can be maintained.

一方、通信先マスタが調停部における最優先度権限を持たない場合、調停部により通信元マスタのコマンドが調停された後であれば、通信先コマンドを先行的に発行しても、通信元コマンドの実行後、通信先コマンドの実行という順序は変化しないため、データコヒーレンシは保たれる。
このように、通信先マスタが調停部における最優先度権限を持つかどうかに基づいて、コマンド発行許可信号を発生させるトリガをプログラマブルに選択することで、データコヒーレンシを確保しつつ、バス転送効率を向上させることが可能となる。
On the other hand, if the communication destination master does not have the highest priority authority in the arbitration unit, the communication source command can be issued even if the communication destination command is issued in advance, after the communication source master command is adjusted by the arbitration unit. Since the order of execution of the communication destination commands does not change after execution of the data, data coherency is maintained.
In this way, by selecting the trigger that generates the command issuance permission signal based on whether or not the communication destination master has the highest priority authority in the arbitration unit, the bus transfer efficiency can be improved while ensuring data coherency. It becomes possible to improve.

また、第5の発明に係るバス通信装置において、通信元マスタは、調停部において共有メモリのどの領域へのアクセスが最優先権限を有するかを示す情報を設定可能なスレーブ属性情報テーブルを更に備え、完了通知部は、スレーブ属性情報テーブルを参照して、アクセス対象領域が最優先権限を有する場合には、メモリアクセス完了通知信号を選択し、アクセス対象領域が最優先権限を有さない場合には、調停完了通知信号を選択するよう構成される。   In the bus communication device according to the fifth invention, the communication source master further includes a slave attribute information table capable of setting information indicating which area of the shared memory has the highest priority authority in the arbitration unit. The completion notification unit refers to the slave attribute information table, selects the memory access completion notification signal when the access target area has the highest priority authority, and selects the memory access completion notification signal when the access target area does not have the highest priority authority. Is configured to select an arbitration completion notification signal.

この構成では、アクセス対象領域が最優先権限を有するかどうかに基づいて、コマンド発行許可信号を発生させるトリガをプログラマブルに選択することで、データコヒーレンシを確保しつつ、バス転送効率を向上させることが可能となる。
本発明によれば、通信先コマンドの早期発行が可能となり、バス転送効率の向上を可能とする。
In this configuration, it is possible to improve the bus transfer efficiency while ensuring data coherency by selecting the trigger that generates the command issue permission signal based on whether the access target area has the highest priority authority. It becomes possible.
According to the present invention, a communication destination command can be issued at an early stage, and bus transfer efficiency can be improved.

(5)上記実施の形態及び上記変形例をそれぞれ組み合わせるとしてもよい。   (5) The above embodiment and the above modifications may be combined.

本発明は、共有メモリを用いたデータのバス通信を行うシステムLSIにおいて有用である。また、ネットワークチップ及びCPU間のデータ転送など、ネットワーク通信等の用途にも有用である。   The present invention is useful in a system LSI that performs data bus communication using a shared memory. It is also useful for applications such as network communication such as data transfer between a network chip and a CPU.

本発明におけるバス通信装置10の構成図Configuration diagram of bus communication device 10 in the present invention 実施の形態1におけるメモリ制御部11の内部構成図Internal configuration diagram of memory control unit 11 according to the first embodiment 実施の形態1における調停部21の内部構成図Internal configuration diagram of arbitration unit 21 in the first embodiment 実施の形態1におけるメモリアクセス部22の内部構成図Internal configuration diagram of memory access unit 22 in the first embodiment 実施の形態1における通信元マスタ101及び通信先マスタ102の構成図Configuration diagram of communication source master 101 and communication destination master 102 in the first embodiment 実施の形態1におけるバス通信設定レジスタ55の構成図Configuration diagram of bus communication setting register 55 in the first embodiment 実施の形態1におけるマスタ情報テーブル71の構成図Configuration diagram of master information table 71 in the first embodiment 実施の形態2におけるスレーブ属性情報テーブル81の構成図Configuration diagram of slave attribute information table 81 in the second embodiment 実施の形態4における通信元マスタ101及び通信先マスタ102の構成図Configuration diagram of communication source master 101 and communication destination master 102 in the fourth embodiment 実施の形態1ないし3におけるバス通信装置10の構成図Configuration diagram of bus communication device 10 in the first to third embodiments 実施の形態4ないし6におけるバス通信装置10の構成図Configuration diagram of bus communication device 10 in Embodiments 4 to 6 実施の形態1におけるバス通信装置10のシーケンス図。図13又は図14へ続く。FIG. 3 is a sequence diagram of the bus communication device 10 according to the first embodiment. Continued to FIG. 13 or FIG. 実施の形態1におけるバス通信装置10のシーケンス図。図12から続く。FIG. 3 is a sequence diagram of the bus communication device 10 according to the first embodiment. Continuing from FIG. 実施の形態1におけるバス通信装置10のシーケンス図。図12から続く。FIG. 3 is a sequence diagram of the bus communication device 10 according to the first embodiment. Continuing from FIG. 実施の形態2におけるバス通信装置10のシーケンス図。FIG. 10 is a sequence diagram of the bus communication device 10 according to the second embodiment. 実施の形態3におけるバス通信装置10のシーケンス図。FIG. 11 is a sequence diagram of the bus communication device 10 according to the third embodiment. 実施の形態4におけるバス通信装置10のシーケンス図。図18又は図19へ続く。FIG. 10 is a sequence diagram of the bus communication device 10 according to the fourth embodiment. Continued to FIG. 18 or FIG. 実施の形態4におけるバス通信装置10のシーケンス図。図17から続く。FIG. 10 is a sequence diagram of the bus communication device 10 according to the fourth embodiment. It continues from FIG. 実施の形態4におけるバス通信装置10のシーケンス図。図17から続く。FIG. 10 is a sequence diagram of the bus communication device 10 according to the fourth embodiment. It continues from FIG. 実施の形態5におけるバス通信装置10のシーケンス図。FIG. 10 is a sequence diagram of the bus communication device 10 according to the fifth embodiment. 実施の形態6におけるバス通信装置10のシーケンス図。FIG. 17 is a sequence diagram of the bus communication device 10 according to the sixth embodiment.

符号の説明Explanation of symbols

10 バス通信装置
101 通信元マスタ
102 通信先マスタ
11 メモリ制御部
12 共有メモリ
13 通信バス
14 メモリバス
201、202 メモリアクセスコマンド保持部
21 調停部
22 メモリアクセス部
31 調停完了通知信号発生部
41 メモリアクセス完了通知信発生部
51,54 メモリアクセスコマンド生成部
52 完了通知制御部
53 コマンド発行許可信号受付部
55 バス通信設定レジスタ
71 マスタ情報テーブル
81 スレーブ属性情報テーブル
DESCRIPTION OF SYMBOLS 10 Bus communication apparatus 101 Communication origin master 102 Communication destination master 11 Memory control part 12 Shared memory 13 Communication bus 14 Memory bus 201, 202 Memory access command holding part 21 Arbitration part 22 Memory access part 31 Arbitration completion notification signal generation part 41 Memory access Completion notification signal generation unit 51, 54 Memory access command generation unit 52 Completion notification control unit 53 Command issue permission signal reception unit 55 Bus communication setting register 71 Master information table 81 Slave attribute information table

Claims (12)

バス通信装置であって、
共有メモリと、
(a)前記共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与し、(b)当該コマンドについて調停が完了したことを示す調停完了信号を出力し、(c)アクセス権を付与したコマンドに基づいて前記共有メモリへのアクセスを行い、(d)前記コマンドによる共有メモリへのアクセスが完了したときに、共有メモリへのアクセスの完了を示すアクセス完了信号を出力するメモリ制御部と、
前記共有メモリへの対象データの書込みを示す書込コマンドを出力し、前記調停完了信号又は前記アクセス完了信号をプログラマブルに選択し、選択した完了信号に基づいて、コマンドの発行の許可を示す許可信号を出力する通信元マスタと、
前記許可信号に基づき、前記共有メモリからの前記対象データの読込みを示す読込コマンドを出力する通信先マスタと
を備えることを特徴とするバス通信装置。
A bus communication device,
Shared memory,
(A) arbitrating a plurality of commands indicating access to the shared memory, granting an access right to any command, (b) outputting an arbitration completion signal indicating that arbitration has been completed for the command; (C) Access to the shared memory is performed based on a command to which an access right is given, and (d) an access completion signal indicating completion of access to the shared memory when access to the shared memory by the command is completed A memory control unit for outputting
A write signal indicating writing of the target data to the shared memory is output, the arbitration completion signal or the access completion signal is selected programmably, and a permission signal indicating permission to issue a command based on the selected completion signal Communication source master that outputs
A bus communication apparatus comprising: a communication destination master that outputs a read command indicating reading of the target data from the shared memory based on the permission signal.
前記通信元マスタは、前記書込コマンドの出力とともに、前記読込コマンドの生成を指示する生成指示信号を出力し、前記生成指示信号の出力後、時間差を設けて前記読込コマンドの発行の許可を示す前記許可信号を出力し、
前記通信先マスタは、前記生成指示信号に基づき、前記読込コマンドを生成し、前記許可信号に基づき、生成した前記読込コマンドを出力する
ことを特徴とする請求項1に記載のバス通信装置。
The communication source master outputs a generation instruction signal instructing generation of the read command together with the output of the write command, and after the generation instruction signal is output, indicates permission to issue the read command with a time difference. Outputting the permission signal;
The bus communication device according to claim 1, wherein the communication destination master generates the read command based on the generation instruction signal and outputs the generated read command based on the permission signal.
前記メモリ制御部は、
前記共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与するコマンド調停部と、
アクセス権を獲得したコマンドに基づいて前記共有メモリへのアクセスを行うメモリアクセス部と、
何れかのコマンドがアクセス権を獲得したときに、前記調停完了信号を出力する調停完了信号出力部と、
アクセス権を獲得した前記コマンドによる前記共有メモリへのアクセスが完了したときに、前記アクセス完了信号を発生するアクセス完了信号出力部とを含み、
前記通信元マスタは、
前記書込コマンドを出力するコマンド出力部と、
前記調停完了信号又は前記アクセス完了信号をプログラマブルに選択し、選択した完了信号に基づいて前記許可信号を出力する完了通知制御部とを含む
ことを特徴とする請求項1に記載のバス通信装置。
The memory control unit
A command arbitration unit that arbitrates a plurality of commands indicating access to the shared memory and grants an access right to any command;
A memory access unit that accesses the shared memory based on a command that has acquired an access right;
An arbitration completion signal output unit that outputs the arbitration completion signal when any command acquires an access right;
An access completion signal output unit for generating the access completion signal when the access to the shared memory by the command having acquired the access right is completed,
The communication source master is
A command output unit for outputting the write command;
The bus communication apparatus according to claim 1, further comprising: a completion notification control unit that programmably selects the arbitration completion signal or the access completion signal and outputs the permission signal based on the selected completion signal.
前記通信元マスタは、さらに、
各マスタに対応して、当該マスタが前記コマンド調停部における最優先権限を有するか否かを示す最優先情報を記憶しているマスタ情報テーブルを含み、
前記完了通知制御部は、前記マスタ情報テーブルに記憶され、前記転送先マスタに対応する最優先情報を用いて、前記転送先マスタが最優先権限を有するか否かを判断し、前記転送先マスタが最優先権限を有する場合には、前記アクセス完了信号を選択し、前記転送先マスタが最優先権限を有さない場合には、前記調停完了信号を選択する
ことを特徴とする請求項3に記載のバス通信装置。
The communication source master further includes:
Corresponding to each master, including a master information table storing the highest priority information indicating whether the master has the highest priority authority in the command arbitration unit,
The completion notification control unit determines whether or not the transfer destination master has the highest priority authority using the highest priority information stored in the master information table and corresponding to the transfer destination master. 4. The access completion signal is selected if the access master has the highest priority authority, and the arbitration completion signal is selected if the transfer destination master does not have the highest priority authority. The bus communication device described.
前記通信元マスタは、さらに、
各マスタに対応して、前記共有メモリを構成する領域毎に、当該マスタによる当該領域へのアクセスが最優先権限を有するかを示す最優先情報を記憶しているスレーブ属性情報テーブルを含み、
前記完了通知制御部は、前記スレーブ属性情報テーブルに記憶され、当該転送先マスタによるアクセスの対象である領域についての最優先情報を用いて、前記転送先マスタによるアクセスの対象である当該領域が最優先権限を有するか否かを判断し、前記領域が最優先権限を有する場合には、前記アクセス完了信号を選択し、前記領域が最優先権限を有さない場合には、前記調停完了信号を選択する
ことを特徴とする請求項3に記載のバス通信装置。
The communication source master further includes:
Corresponding to each master, for each area constituting the shared memory, including a slave attribute information table storing the highest priority information indicating whether the access by the master to the area has the highest priority authority,
The completion notification control unit is stored in the slave attribute information table and uses the highest priority information on the area to be accessed by the transfer destination master, so that the area to be accessed by the transfer destination master is the highest. It is determined whether or not it has priority authority, and if the area has the highest priority authority, the access completion signal is selected, and if the area does not have the highest priority authority, the arbitration completion signal is The bus communication device according to claim 3, wherein the bus communication device is selected.
前記通信元マスタは、さらに、
各マスタに対応して、当該マスタが前記コマンド調停部における最優先権限を有するか否かを示す第1最優先情報を記憶しているマスタ情報テーブルと、
各マスタに対応して、前記共有メモリを構成する領域毎に、当該マスタによる当該領域へのアクセスが最優先権限を有するかを示す第2最優先情報を記憶しているスレーブ属性情報テーブルとを含み、
前記完了通知制御部は、(a)前記マスタ情報テーブルに記憶され、前記転送先マスタに対応する第1最優先情報を用いて、前記転送先マスタが最優先権限を有するか否かを判断し、(b)前記スレーブ属性情報テーブルに記憶され、当該転送先マスタによるアクセスの対象である領域についての第2最優先情報を用いて、前記転送先マスタによるアクセスの対象である当該領域が最優先権限を有するか否かを判断し、(c)前記転送先マスタが最優先権限を有さず、かつ、前記領域が最優先権限を有さない場合には、前記調停完了信号を選択し、(d)前記通信先マスタが最優先権限を有する場合、又は、前記通信先マスタが最優先権限を有さず、かつ、前記領域が最優先権限を有する場合に、前記アクセス完了信号を選択する
ことを特徴とする請求項3に記載のバス通信装置。
The communication source master further includes:
In correspondence with each master, a master information table storing first highest priority information indicating whether or not the master has the highest priority authority in the command arbitration unit;
Corresponding to each master, for each area constituting the shared memory, a slave attribute information table storing second highest priority information indicating whether access to the area by the master has the highest priority authority; Including
The completion notification control unit (a) uses the first highest priority information stored in the master information table and corresponding to the transfer destination master to determine whether the transfer destination master has the highest priority authority. (B) Using the second highest priority information on the area that is stored in the slave attribute information table and that is to be accessed by the transfer destination master, the area that is to be accessed by the transfer destination master has the highest priority. (C) if the transfer destination master does not have the highest priority authority and the area does not have the highest priority authority, the arbitration completion signal is selected; (D) When the communication destination master has the highest priority authority, or when the communication destination master does not have the highest priority authority and the area has the highest priority authority, the access completion signal is selected. That features The bus communication device according to claim 3.
共有メモリ、メモリ制御部、通信元マスタ及び通信先マスタから構成されるバス通信装置において用いられる制御方法であって、
前記通信元マスタにおいて、前記共有メモリへの対象データの書込みを示す書込コマンドを出力するステップと、
前記メモリ制御部において、前記共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与するステップと、
前記メモリ制御部において、当該コマンドについて調停が完了したことを示す調停完了信号を出力するステップと、
前記メモリ制御部において、アクセス権を付与したコマンドに基づいて前記共有メモリへのアクセスを行うステップと、
前記メモリ制御部において、前記コマンドによる共有メモリへのアクセスが完了したときに、共有メモリへのアクセスの完了を示すアクセス完了信号を出力するステップと、
前記通信元マスタにおいて、前記調停完了信号又は前記アクセス完了信号をプログラマブルに選択し、選択した完了信号に基づいて、コマンドの発行の許可を示す許可信号を出力するステップと、
前記通信先マスタにおいて、前記許可信号に基づき、前記共有メモリからの前記対象データの読込みを示す読込コマンドを出力するステップと
を含むことを特徴とする制御方法。
A control method used in a bus communication device composed of a shared memory, a memory control unit, a communication source master and a communication destination master,
In the communication source master, outputting a write command indicating writing of the target data to the shared memory;
In the memory control unit, arbitrating a plurality of commands indicating access to the shared memory, and granting an access right to any command;
In the memory control unit, outputting an arbitration completion signal indicating that arbitration has been completed for the command;
In the memory control unit, accessing the shared memory based on a command to which an access right is granted;
Outputting an access completion signal indicating completion of access to the shared memory when access to the shared memory by the command is completed in the memory control unit;
In the communication source master, the arbitration completion signal or the access completion signal is programmably selected, and based on the selected completion signal, outputting a permission signal indicating permission to issue a command;
And a step of outputting a read command indicating reading of the target data from the shared memory based on the permission signal in the communication destination master.
集積回路であって、
(a)共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与し、(b)当該コマンドについて調停が完了したことを示す調停完了信号を出力し、(c)アクセス権を付与したコマンドに基づいて前記共有メモリへのアクセスを行い、(d)前記コマンドによる共有メモリへのアクセスが完了したときに、共有メモリへのアクセスの完了を示すアクセス完了信号を出力するメモリ制御部と、
前記共有メモリへの対象データの書込みを示す書込コマンドを出力し、前記調停完了信号又は前記アクセス完了信号をプログラマブルに選択し、選択した完了信号に基づいて、コマンドの発行の許可を示す許可信号を出力する通信元マスタと、
前記許可信号に基づき、前記共有メモリからの前記対象データの読込みを示す読込コマンドを出力する通信先マスタと
を備えることを特徴とする集積回路。
An integrated circuit,
(A) Arbitrate a plurality of commands indicating access to the shared memory, grant an access right to any of the commands, (b) output an arbitration completion signal indicating that the arbitration has been completed for the command, ( c) accessing the shared memory based on the command to which the access right is given, and (d) when an access to the shared memory by the command is completed, an access completion signal indicating completion of the access to the shared memory A memory control unit to output;
A write signal indicating writing of the target data to the shared memory is output, the arbitration completion signal or the access completion signal is selected programmably, and a permission signal indicating permission to issue a command based on the selected completion signal Communication source master that outputs
An integrated circuit, comprising: a communication destination master that outputs a read command indicating reading of the target data from the shared memory based on the permission signal.
メモリ制御回路であって、
共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与するコマンド調停部と、
アクセス権を獲得したコマンドに基づいて前記共有メモリへのアクセスを行うメモリアクセス部と、
何れかのコマンドがアクセス権を獲得したときに、当該コマンドについて調停が完了したことを示す調停完了信号を出力する調停完了信号出力部と、
アクセス権を獲得した前記コマンドによる前記共有メモリへのアクセスが完了したときに、共有メモリへのアクセスの完了を示すアクセス完了信号を発生するアクセス完了信号出力部と
を備えることを特徴とするメモリ制御回路。
A memory control circuit,
A command arbitration unit that arbitrates a plurality of commands indicating access to the shared memory and grants an access right to any command;
A memory access unit that accesses the shared memory based on a command that has acquired an access right;
An arbitration completion signal output unit that outputs an arbitration completion signal indicating that arbitration has been completed for the command when any command has acquired an access right;
An access completion signal output unit for generating an access completion signal indicating completion of access to the shared memory when access to the shared memory by the command having acquired the access right is completed. circuit.
マスタ回路であって、
共有メモリへの対象データの書込みを示す書込コマンドを出力するコマンド出力部と、
請求項9のメモリ制御回路から出力される前記調停完了信号又は前記アクセス完了信号をプログラマブルに選択し、選択した完了信号に基づいて前記許可信号を出力する完了通知制御部と
を備えることを特徴とするマスタ回路。
A master circuit,
A command output unit for outputting a write command indicating writing of target data to the shared memory;
A completion notification control unit that programmably selects the arbitration completion signal or the access completion signal output from the memory control circuit according to claim 9, and outputs the permission signal based on the selected completion signal. Master circuit to perform.
バス通信装置であって、
共有メモリと、
(a)前記共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与し、(b)当該コマンドについて調停が完了したことを示す調停完了信号を出力し、(c)アクセス権を付与したコマンドに基づいて前記共有メモリへのアクセスを行い、(d)前記コマンドによる共有メモリへのアクセスが完了したときに、共有メモリへのアクセスの完了を示すアクセス完了信号を出力するメモリ制御部と、
前記共有メモリへの対象データの書込みを示す書込コマンドと前記共有メモリからの前記対象データの読込みを示す読込コマンドの生成を指示する生成指示信号とを出力し、前記生成指示信号の出力後、時間差を設けて前記読込コマンドの発行の許可を示す発行許可信号を出力する通信元マスタと、
前記生成指示信号に基づき、前記読込コマンドを生成し、前記発行許可信号に基づき、生成した前記読込コマンドを出力する通信先マスタと
を備えることを特徴とするバス通信装置。
A bus communication device,
Shared memory,
(A) arbitrating a plurality of commands indicating access to the shared memory, granting an access right to any command, (b) outputting an arbitration completion signal indicating that arbitration has been completed for the command; (C) Access to the shared memory is performed based on a command to which an access right is given, and (d) an access completion signal indicating completion of access to the shared memory when access to the shared memory by the command is completed A memory control unit for outputting
Outputting a write command indicating writing of target data to the shared memory and a generation instruction signal instructing generation of a read command indicating reading of the target data from the shared memory, and after outputting the generation instruction signal, A communication source master that outputs an issue permission signal indicating permission to issue the read command with a time difference;
A bus communication device comprising: a communication destination master that generates the read command based on the generation instruction signal and outputs the generated read command based on the issue permission signal.
バス通信装置であって、
共有メモリと、
前記共有メモリへのアクセスを示す複数のコマンドを調停して、何れかのコマンドにアクセス権を付与し、当該コマンドについて調停が完了したことを示す調停完了信号を出力し、アクセス権を付与したコマンドに基づいて前記共有メモリへのアクセスを行うメモリ制御部と、
(a)前記共有メモリへの対象データの書込みを示す書込コマンドを出力し、(b)前記書込コマンドに係るアクセスが前記調停における最優先の権限を有しないか否かを判断し、(c)最優先の権限を有しないと判断される場合に、前記書込コマンドについての前記調停完了信号を受信した後に、コマンド発行の許可を示す許可信号を出力する通信元マスタと、
前記許可信号を受信した場合に、前記共有メモリから前記対象データの読込みを示す読込コマンドを出力する通信先マスタと
を備えることを特徴とするバス通信装置。
A bus communication device,
Shared memory,
A command that grants an access right by arbitrating a plurality of commands indicating access to the shared memory, granting an access right to any command, outputting an arbitration completion signal indicating that the arbitration has been completed for the command. A memory control unit for accessing the shared memory based on
(A) outputting a write command indicating writing of the target data to the shared memory; (b) determining whether or not the access relating to the write command has the highest priority authority in the arbitration; c) a communication source master that outputs a permission signal indicating permission to issue a command after receiving the arbitration completion signal for the write command when it is determined that the authority has the highest priority;
A bus communication apparatus comprising: a communication destination master that outputs a read command indicating reading of the target data from the shared memory when the permission signal is received.
JP2008169858A 2007-07-03 2008-06-30 Bus communication device using shared memory Expired - Fee Related JP5129040B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008169858A JP5129040B2 (en) 2007-07-03 2008-06-30 Bus communication device using shared memory
US12/167,153 US7774529B2 (en) 2007-07-03 2008-07-02 Bus communication apparatus that uses shared memory

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2007174838 2007-07-03
JP2007174838 2007-07-03
JP2008169858A JP5129040B2 (en) 2007-07-03 2008-06-30 Bus communication device using shared memory

Publications (2)

Publication Number Publication Date
JP2009032248A true JP2009032248A (en) 2009-02-12
JP5129040B2 JP5129040B2 (en) 2013-01-23

Family

ID=40402642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008169858A Expired - Fee Related JP5129040B2 (en) 2007-07-03 2008-06-30 Bus communication device using shared memory

Country Status (1)

Country Link
JP (1) JP5129040B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015159699A1 (en) * 2014-04-14 2015-10-22 株式会社東芝 Transmission device, controller, and system comprising transmission device and controller

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2498006B (en) 2011-12-22 2014-07-09 Rolls Royce Plc Gas turbine engine systems

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01261766A (en) * 1988-04-13 1989-10-18 Nec Eng Ltd Data communication system
JPH0469754A (en) * 1990-07-11 1992-03-04 Nec Data Terminal Ltd Access time monitoring system
JP2000235553A (en) * 1999-02-17 2000-08-29 Hitachi Ltd Multiprocessor system
JP2003196151A (en) * 2001-12-26 2003-07-11 Matsushita Electric Ind Co Ltd Data memory control device
JP2005309649A (en) * 2004-04-20 2005-11-04 Matsushita Electric Ind Co Ltd Shared memory transfer control circuit and system
JP2006251875A (en) * 2005-03-08 2006-09-21 Matsushita Electric Ind Co Ltd Bus arbitration device and bus arbitration method
JP2007148748A (en) * 2005-11-28 2007-06-14 Seiko Epson Corp Multiprocessor system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01261766A (en) * 1988-04-13 1989-10-18 Nec Eng Ltd Data communication system
JPH0469754A (en) * 1990-07-11 1992-03-04 Nec Data Terminal Ltd Access time monitoring system
JP2000235553A (en) * 1999-02-17 2000-08-29 Hitachi Ltd Multiprocessor system
JP2003196151A (en) * 2001-12-26 2003-07-11 Matsushita Electric Ind Co Ltd Data memory control device
JP2005309649A (en) * 2004-04-20 2005-11-04 Matsushita Electric Ind Co Ltd Shared memory transfer control circuit and system
JP2006251875A (en) * 2005-03-08 2006-09-21 Matsushita Electric Ind Co Ltd Bus arbitration device and bus arbitration method
JP2007148748A (en) * 2005-11-28 2007-06-14 Seiko Epson Corp Multiprocessor system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015159699A1 (en) * 2014-04-14 2015-10-22 株式会社東芝 Transmission device, controller, and system comprising transmission device and controller
JP2015203976A (en) * 2014-04-14 2015-11-16 株式会社東芝 Transmission device, controller, and system comprising transmission device and controller
CN105393233A (en) * 2014-04-14 2016-03-09 株式会社东芝 Transmission device, controller, and system comprising transmission device and controller
US10025750B2 (en) 2014-04-14 2018-07-17 Kabushiki Kaisha Toshiba Transmission device, controller, and system comprising transmission device and controller

Also Published As

Publication number Publication date
JP5129040B2 (en) 2013-01-23

Similar Documents

Publication Publication Date Title
JP6436512B2 (en) Scalable multi-core system-on-chip architecture in multi-die for high-end microcontroller
KR100899951B1 (en) System and method for controlling bus arbitration during cache memory burst cycles
JP2008130056A (en) Semiconductor circuit
JP5578713B2 (en) Information processing device
US9984014B2 (en) Semiconductor device
JP4198376B2 (en) Bus system and information processing system including bus system
US20190171597A1 (en) SYSTEM ON CHIP (SoC), MOBILE ELECTRONIC DEVICE INCLUDING THE SAME, AND METHOD OF OPERATING THE SoC
JP2008009817A (en) Semiconductor device and data transfer method
US7774529B2 (en) Bus communication apparatus that uses shared memory
US9003092B2 (en) System on chip bus system and a method of operating the bus system
JP5129040B2 (en) Bus communication device using shared memory
US20150177816A1 (en) Semiconductor integrated circuit apparatus
JP2004030161A (en) Method for controlling interrupt in computer system, computer system, semiconductor integrated circuit and program
JP2005303718A (en) Matrix bus connection system
JP2022072452A (en) Information processing device and program
JP4249741B2 (en) Bus system and information processing system including bus system
JP2002366511A (en) Bus arbitration circuit
JP2010140440A (en) Bus arbitration device
JP2007108858A (en) Pin sharing device and pin sharing method
JPH11203253A (en) Exclusive access control method for shared resource
JPH02207363A (en) Data transfer system, device controller, and memory controller
JP2007188214A (en) Semiconductor integrated circuit device
JP2003281081A (en) Card access bus controller
JP2007334600A (en) Semiconductor integrated circuit device
JP2007272358A (en) Information processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110311

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120626

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: 20121009

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: 20121101

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151109

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees