Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4432402B2 - Ring bus system - Google Patents
[go: Go Back, main page]

JP4432402B2 - Ring bus system - Google Patents

Ring bus system Download PDF

Info

Publication number
JP4432402B2
JP4432402B2 JP2003285792A JP2003285792A JP4432402B2 JP 4432402 B2 JP4432402 B2 JP 4432402B2 JP 2003285792 A JP2003285792 A JP 2003285792A JP 2003285792 A JP2003285792 A JP 2003285792A JP 4432402 B2 JP4432402 B2 JP 4432402B2
Authority
JP
Japan
Prior art keywords
bus
transfer
data
data transfer
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003285792A
Other languages
Japanese (ja)
Other versions
JP2005056112A (en
Inventor
祐一郎 栗原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2003285792A priority Critical patent/JP4432402B2/en
Publication of JP2005056112A publication Critical patent/JP2005056112A/en
Application granted granted Critical
Publication of JP4432402B2 publication Critical patent/JP4432402B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Description

本発明は、LSI(大規模集積回路)等の半導体装置内に設けたモジュール間を接続するバスシステムに関するものであり、特に、複数のバスをリング型に接続して形成したリング型バスからなるリング型バスシステムに関するものである。   The present invention relates to a bus system for connecting modules provided in a semiconductor device such as an LSI (Large Scale Integrated circuit), and more particularly, a ring bus formed by connecting a plurality of buses in a ring shape. The present invention relates to a ring bus system.

従来、LSI(大規模集積回路)等の半導体装置内には、演算部や記憶部等の各種機能を持たせたモジュールを設けるとともに、各モジュールを接続するバスを設け、このバスを介して各モジュール間における所要のデータの転送を可能としている。   2. Description of the Related Art Conventionally, in a semiconductor device such as an LSI (Large Scale Integrated Circuit), a module having various functions such as an arithmetic unit and a storage unit is provided, and a bus for connecting each module is provided. The required data can be transferred between modules.

このようなバスとしては、図7に示すように、両端をそれぞれ終端とした直線型バス100や、図8に示すように両端を接続することによりリング型としたリング型バス200が知られている(例えば、特許文献1参照。)。   As such a bus, a linear bus 100 having both ends as shown in FIG. 7 and a ring bus 200 having a ring type by connecting both ends as shown in FIG. 8 are known. (For example, refer to Patent Document 1).

このような直線型バスやリング型バスでは、バスに接続した第1のモジュールから、同じくバスに接続した第2のモジュールにデータを転送する場合には、第1のモジュールと第2のモジュールとの間でのみデータ転送を可能とする一方で、それ以外のモジュールはデータ転送を禁止することにより、第1のモジュールと第2のモジュールでのデータ転送を確実に実行可能としていた。
特開平10−23044号公報
In such a linear bus or ring bus, when data is transferred from the first module connected to the bus to the second module also connected to the bus, the first module and the second module The data transfer between the first module and the second module can be surely executed by prohibiting the data transfer while allowing the data transfer between the first module and the other module.
Japanese Patent Laid-Open No. 10-23044

しかしながら、上記したように第1のモジュールと第2のモジュールとの間でデータ転送を行っている際に、それ以外のモジュール間ではデータ転送を禁止した場合には、データ転送は一組のモジュール間でのみしか実行できないことによって転送効率を向上させることが困難となっていた。   However, as described above, when data transfer is performed between the first module and the second module, if data transfer is prohibited between the other modules, the data transfer is a set of modules. It has been difficult to improve transfer efficiency because it can only be executed between.

複数のデータ転送を同時実行させる方法としては、図9に示すように、各モジュール310をそれぞれバス320を介してスイッチバス330に接続し、スイッチバス330による切替操作によって所要のモジュール310間を接続するとともに、必要に応じて別のモジュール310間も接続することによってデータの同時転送を行う方法も提案されてはいるが、昨今のように半導体装置の機能向上にともなうモジュール310の増加によって、各モジュール310を全てスイッチバス330に接続することは極めて困難となっており、現実的な解決手段とはなっていなかった。   As shown in FIG. 9, each module 310 is connected to the switch bus 330 via the bus 320, and the required modules 310 are connected by a switching operation using the switch bus 330. At the same time, a method of simultaneously transferring data by connecting other modules 310 as necessary has also been proposed, but each of the modules 310 as the number of modules 310 increases as the functions of semiconductor devices increase. It has become extremely difficult to connect all the modules 310 to the switch bus 330, and has not been a practical solution.

そこで、請求項1に係る本発明では、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とを有し、バス制御部は、転送元のモジュールと転送先のモジュールとを接続する第1の転送経路と第2の転送経路とを検出し、第1の転送経路と第2の転送経路とでバスの数の少ない方の転送経路を選択する。 Therefore, in the present invention according to claim 1 , a plurality of modules, a bus connection unit connected to each module and transferring data in a predetermined transfer direction, and a ring connection via the bus connection unit are provided. A plurality of buses serving as data transfer paths, and a bus control unit that controls all the bus connection units ; the bus control unit connects a transfer source module and a transfer destination module; And the second transfer route are detected, and the transfer route having the smaller number of buses is selected from the first transfer route and the second transfer route.

また、請求項2に係る本発明では、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とを有し、バス制御部は、転送元のモジュールと転送先のモジュールとを接続する第1の転送経路と第2の転送経路とを検出し、第1の転送経路と第2の転送経路のうちいずれか一方の転送経路の一部が他のデータ転送に使用されていた場合には、他方の転送経路を選択する。 Further, in the present invention according to claim 2, by connecting a plurality of modules, a bus connection unit connected to each module and transferring data in a predetermined transfer direction, and a ring connection via the bus connection unit A plurality of buses serving as data transfer paths, and a bus control unit that controls all the bus connection units; the bus control unit connects a transfer source module and a transfer destination module; And the second transfer path are detected, and when one of the first transfer path and the second transfer path is used for another data transfer, the other transfer path If you select the route.

また、請求項3に係る本発明では、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とを有し、第1のデータ転送に使用されているバスを用いてデータを転送する第2のデータ転送が生じた場合には、第1のデータ転送を停止して第2のデータ転送を行い、この第2のデータ転送の終了後、第1のデータ転送を再開する。 Further, in the present invention according to claim 3, by connecting a plurality of modules, a bus connection unit connected to each module and transferring data in a predetermined transfer direction, and a ring connection through the bus connection unit Second data transfer having a plurality of buses serving as data transfer paths and a bus control unit for controlling all the bus connection units, and transferring data using the bus used for the first data transfer if occurs, stop the first data transfer executing a second data transfer, after the completion of the second data transfer, you resume the first data transfer.

また、請求項3に係る本発明では、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とを有し、第1のデータ転送に使用されているバスを用いてデータを転送する第2のデータ転送が生じた場合には、バス制御部は第1のデータ転送に使用している転送経路とは異なる転送経路を検出し、第1のデータ転送に使用する転送経路を切替えて第1のデータ転送を行うとともに第2のデータ転送を行う。 Further, in the present invention according to claim 3, by connecting a plurality of modules, a bus connection unit connected to each module and transferring data in a predetermined transfer direction, and a ring connection through the bus connection unit Second data transfer having a plurality of buses serving as data transfer paths and a bus control unit for controlling all the bus connection units, and transferring data using the bus used for the first data transfer If this occurs, the bus control unit detects a transfer path different from the transfer path used for the first data transfer, switches the transfer path used for the first data transfer, and transfers the first data transfer. It intends line a second data transfer performs.

請求項1記載の発明によれば、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とからなるリング型バスシステムとしたことによって、データの転送に使用しているバス以外のバスを他のデータの転送に用いることができ、同時に複数のデータ転送を実行とすることができる。特に、データの転送方向を切替える各バス接続部は、それぞれ2本のバスと接続しているだけであるので、バスの取回しを容易に行うことができ、極めて簡潔にリング型バスシステムを構築することができる。   According to the first aspect of the present invention, a plurality of modules, a bus connection unit that is connected to each module and transfers data in a predetermined transfer direction, and data is connected by ring connection via the bus connection unit. By using a ring-type bus system consisting of multiple buses that serve as transfer paths and a bus control unit that controls all bus connection units, buses other than the bus used for data transfer can be transferred to other data. It can be used for transfer, and a plurality of data transfers can be executed simultaneously. In particular, since each bus connection section for switching the data transfer direction is only connected to two buses, the bus can be easily routed, and a ring bus system can be formed very simply. Can be built.

また、バス制御部は、転送元のモジュールと転送先のモジュールとを接続する第1の転送経路と第2の転送経路とを検出し、第1の転送経路と第2の転送経路とでバスの数の少ない方の転送経路を選択することによって、より短時間でデータ転送を終了させることが可能な転送経路を使用することができるので、データの転送効率を向上させることができる。 In addition , the bus control unit detects a first transfer path and a second transfer path that connect the transfer source module and the transfer destination module, and the bus is transferred between the first transfer path and the second transfer path. By selecting the transfer path with the smaller number of data lines, it is possible to use a transfer path that can finish data transfer in a shorter time, and therefore, it is possible to improve data transfer efficiency.

請求項記載の発明によれば、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とからなるリング型バスシステムとしたことによって、データの転送に使用しているバス以外のバスを他のデータの転送に用いることができ、同時に複数のデータ転送を実行とすることができる。特に、データの転送方向を切替える各バス接続部は、それぞれ2本のバスと接続しているだけであるので、バスの取回しを容易に行うことができ、極めて簡潔にリング型バスシステムを構築することができる。しかも、バス制御部は、転送元のモジュールと転送先のモジュールとを接続する第1の転送経路と第2の転送経路とを検出し、第1の転送経路と第2の転送経路のうちいずれか一方の転送経路の一部が他のデータ転送に使用されていた場合には、他方の転送経路を選択することによって、データ転送において待機状態が生じることを抑止できるので、データの転送効率を向上させることができる。 According to the second aspect of the present invention, a plurality of modules, a bus connection unit that is connected to each module and transfers data in a predetermined transfer direction, and a data is obtained by connecting in a ring shape via the bus connection unit. By using a ring-type bus system consisting of multiple buses that serve as transfer paths and a bus control unit that controls all bus connection units, buses other than the bus used for data transfer can be transferred to other data. It can be used for transfer, and a plurality of data transfers can be executed simultaneously. In particular, since each bus connection section for switching the data transfer direction is only connected to two buses, the bus can be easily routed, and a ring bus system can be formed very simply. Can be built. In addition, the bus control unit detects the first transfer path and the second transfer path that connect the transfer source module and the transfer destination module, and any of the first transfer path and the second transfer path is detected. If a part of one of the transfer paths is used for other data transfers, it is possible to suppress the occurrence of a standby state in the data transfer by selecting the other transfer path. Can be improved.

請求項記載の発明によれば、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とからなるリング型バスシステムとしたことによって、データの転送に使用しているバス以外のバスを他のデータの転送に用いることができ、同時に複数のデータ転送を実行とすることができる。特に、データの転送方向を切替える各バス接続部は、それぞれ2本のバスと接続しているだけであるので、バスの取回しを容易に行うことができ、極めて簡潔にリング型バスシステムを構築することができる。しかも、第1のデータ転送に使用されているバスを用いてデータを転送する第2のデータ転送が生じた場合には、第1のデータ転送を停止して第2のデータ転送を行い、この第2のデータ転送の終了後、第1のデータ転送を再開することによって、データ転送に使用するバスの数が少ないことによって短時間でデータ転送を終了させることができる方のデータ転送を優先して実行することができるので、トータルとしてのデータ転送に要する時間を短縮させることができ、データの転送効率を向上させることができる。 According to the third aspect of the present invention, a plurality of modules, a bus connection unit that is connected to each module and transfers data in a predetermined transfer direction, and the data is obtained by connecting in a ring shape via the bus connection unit. By using a ring-type bus system consisting of multiple buses that serve as transfer paths and a bus control unit that controls all bus connection units, buses other than the bus used for data transfer can be transferred to other data. It can be used for transfer, and a plurality of data transfers can be executed simultaneously. In particular, since each bus connection section for switching the data transfer direction is only connected to two buses, the bus can be easily routed, and a ring bus system can be formed very simply. Can be built. In addition, when a second data transfer occurs in which data is transferred using the bus used for the first data transfer, the first data transfer is stopped and the second data transfer is performed. By resuming the first data transfer after the end of the second data transfer, priority is given to the data transfer that can finish the data transfer in a short time due to the small number of buses used for the data transfer. Therefore, the time required for the total data transfer can be shortened, and the data transfer efficiency can be improved.

請求項記載の発明によれば、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とからなるリング型バスシステムとしたことによって、データの転送に使用しているバス以外のバスを他のデータの転送に用いることができ、同時に複数のデータ転送を実行とすることができる。特に、データの転送方向を切替える各バス接続部は、それぞれ2本のバスと接続しているだけであるので、バスの取回しを容易に行うことができ、極めて簡潔にリング型バスシステムを構築することができる。しかも、第1のデータ転送に使用されているバスを用いてデータを転送する第2のデータ転送が生じた場合には、バス制御部は第1のデータ転送に使用している転送経路とは異なる転送経路を検出し、第1のデータ転送に使用する転送経路を切替えて第1のデータ転送を行うとともに第2のデータ転送を行うことによって、複数のデータ転送を同時に実行することができるので、データの転送効率を向上させることができる。 According to the fourth aspect of the present invention, a plurality of modules, a bus connection unit that is connected to each module and transfers data in a predetermined transfer direction, and the data is obtained by connecting in a ring shape via the bus connection unit. By using a ring-type bus system consisting of multiple buses that serve as transfer paths and a bus control unit that controls all bus connection units, buses other than the bus used for data transfer can be transferred to other data. It can be used for transfer, and a plurality of data transfers can be executed simultaneously. In particular, since each bus connection section for switching the data transfer direction is only connected to two buses, the bus can be easily routed, and a ring bus system can be formed very simply. Can be built. In addition, when a second data transfer occurs in which data is transferred using the bus used for the first data transfer, the bus control unit uses the transfer path used for the first data transfer. By detecting different transfer paths and switching the transfer path used for the first data transfer to perform the first data transfer and the second data transfer, a plurality of data transfers can be executed simultaneously. Data transfer efficiency can be improved.

本発明のリング型バスシステムは、図1(a)に示すように、複数のモジュールと、各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、全てのバス接続部を制御するバス制御部とから構成しているものである。   As shown in FIG. 1 (a), the ring bus system of the present invention includes a plurality of modules, a bus connection unit connected to each module and transferring data in a predetermined transfer direction, and the bus connection unit. The plurality of buses serving as data transfer paths by connecting in a ring shape and a bus control unit for controlling all the bus connection units.

本実施形態では、説明の便宜上、モジュールとして、第1モジュール11、第2モジュール12、第3モジュール13、第4モジュール14、第5モジュール15、第6モジュール16、第7モジュール17、第8モジュール18を設けているものとする。各モジュール11〜18は、プロセッサやメモリ等の各種の機能を有している機能部である。   In this embodiment, for convenience of explanation, the first module 11, the second module 12, the third module 13, the fourth module 14, the fifth module 15, the sixth module 16, the seventh module 17, and the eighth module are used as modules. 18 is provided. Each of the modules 11 to 18 is a functional unit having various functions such as a processor and a memory.

各モジュール11〜18は、それぞれ、第1バス接続部21、第2バス接続部22、第3バス接続部23、第4バス接続部24、第5バス接続部25、第6バス接続部26、第7バス接続部27、第8バス接続部28と接続している。   Each of the modules 11 to 18 includes a first bus connection unit 21, a second bus connection unit 22, a third bus connection unit 23, a fourth bus connection unit 24, a fifth bus connection unit 25, and a sixth bus connection unit 26, respectively. The seventh bus connection unit 27 and the eighth bus connection unit 28 are connected.

そして、第1バス接続部21と第2バス接続部22とを第1バス31で接続し、第2バス接続部22と第3バス接続部23とを第2バス32で接続し、第3バス接続部23と第4バス接続部24とを第3バス33で接続し、第4バス接続部24と第5バス接続部25とを第4バス34で接続し、第5バス接続部25と第6バス接続部26とを第5バス35で接続し、第6バス接続部26と第7バス接続部27とを第6バス36で接続し、第7バス接続部27と第8バス接続部28とを第7バス37で接続し、第8バス接続部28と第1バス接続部21とを第8バス38で接続して、リング型バスを形成している。   The first bus connection unit 21 and the second bus connection unit 22 are connected by the first bus 31, the second bus connection unit 22 and the third bus connection unit 23 are connected by the second bus 32, and the third bus The bus connection unit 23 and the fourth bus connection unit 24 are connected by the third bus 33, the fourth bus connection unit 24 and the fifth bus connection unit 25 are connected by the fourth bus 34, and the fifth bus connection unit 25 is connected. And the sixth bus connection unit 26 are connected by the fifth bus 35, the sixth bus connection unit 26 and the seventh bus connection unit 27 are connected by the sixth bus 36, and the seventh bus connection unit 27 and the eighth bus are connected. The connecting portion 28 is connected by a seventh bus 37, and the eighth bus connecting portion 28 and the first bus connecting portion 21 are connected by an eighth bus 38 to form a ring bus.

このように、第1バス接続部21〜第8バス接続部28にはそれぞれ2本のバスを接続することによって、無端であって全てのバス接続部21〜28を一連に連結したバスを構成している。   In this way, by connecting two buses to each of the first bus connection part 21 to the eighth bus connection part 28, an endless bus is formed by connecting all the bus connection parts 21 to 28 in series. is doing.

さらに、第1バス接続部21〜第8バス接続部28はバス制御部40と接続しており、後述するようにバス制御部40によってデータの転送経路の制御を行っている。   Furthermore, the first bus connection unit 21 to the eighth bus connection unit 28 are connected to the bus control unit 40, and the data transfer path is controlled by the bus control unit 40 as described later.

上記したリング型バスシステムの動作を以下の順番で接続する。
(1)1つのデータ転送のみを行う場合
(2)1つのデータ転送中にそのデータ転送に使用していないバスを用いて別のデータ転送を行う場合
(3)1つのデータ転送中にそのデータ転送に使用しているバスを用いて別のデータ転送を行う場合
The operations of the ring bus system described above are connected in the following order.
(1) When only one data transfer is performed (2) When another data transfer is performed using a bus not used for the data transfer during one data transfer (3) The data during one data transfer When performing another data transfer using the bus used for transfer

(1)1つのデータ転送のみを行う場合
リング型バスシステムにおいて、データ転送が行われていないときに、例えば第1モジュール11から第4モジュール14へのデータ転送処理が発生したとする。
(1) When only one data transfer is performed In the ring bus system, it is assumed that, for example, data transfer processing from the first module 11 to the fourth module 14 occurs when data transfer is not performed.

この場合、バスがリング型となっていることによって、バス制御部40は、図1(a)に示すように、第1モジュール11と第4モジュール14とを接続する第1仮想転送経路R1と、第2仮想転送経路R2の2つの仮想転送経路を選定する。ここで、第1仮想転送経路R1は、第1バス31と第2バス32と第3バス33とから構成し、第2仮想転送経路R2は、第4バス34と第5バス35と第6バス36と第7バス37と第8バス38とから構成している。   In this case, since the bus is ring-shaped, the bus control unit 40, as shown in FIG. 1A, is connected to the first virtual transfer path R1 that connects the first module 11 and the fourth module 14. The two virtual transfer paths of the second virtual transfer path R2 are selected. Here, the first virtual transfer path R1 includes a first bus 31, a second bus 32, and a third bus 33, and the second virtual transfer path R2 includes a fourth bus 34, a fifth bus 35, and a sixth bus. The bus 36, the seventh bus 37, and the eighth bus 38 are included.

そして、バス制御部40は、第1仮想転送経路R1と第2仮想転送経路R2のうち、第1仮想転送経路R1及び第2仮想転送経路R2を構成しているバスの数の少ない仮想転送経路、すなわち、ここでは第1仮想転送経路R1を、図1(b)に示すように転送経路Tとして選択するように構成している。   Then, the bus control unit 40 includes the first virtual transfer path R1 and the second virtual transfer path R2 that have a small number of buses constituting the first virtual transfer path R1 and the second virtual transfer path R2. That is, here, the first virtual transfer route R1 is selected as the transfer route T as shown in FIG.

転送経路Tの選択は、バス制御部40が第2仮想転送経路R2を構成しているバスを切り離すように第5バス接続部25、第6バス接続部26、第7バス接続部27を制御することによって行っている。   The transfer path T is selected by controlling the fifth bus connection section 25, the sixth bus connection section 26, and the seventh bus connection section 27 so that the bus control section 40 disconnects the buses constituting the second virtual transfer path R2. Is done by doing.

第1仮想転送経路R1と第2仮想転送経路R2のうち、バスの数の少ない仮想転送経路の方を転送経路Tとして選択することによって、バスの数の多い仮想転送経路よりも短時間でデータ転送を終了させることができるので、データの転送効率を向上させることができる。なお、第1仮想転送経路R1と第2仮想転送経路R2とにおいてバスの数が同数である場合には、いずれか一方を自由に選択してよい。   By selecting the virtual transfer route having the smaller number of buses as the transfer route T out of the first virtual transfer route R1 and the second virtual transfer route R2, the data can be transmitted in a shorter time than the virtual transfer route having the larger number of buses. Since the transfer can be terminated, the data transfer efficiency can be improved. When the number of buses is the same in the first virtual transfer path R1 and the second virtual transfer path R2, either one may be freely selected.

転送経路Tによるデータの転送後、バス制御部40は、切り離していたバスを再度接続させるよういしている。   After transferring the data through the transfer path T, the bus control unit 40 reconnects the disconnected bus.

(2)1つのデータ転送中にそのデータ転送に使用していないバスを用いて別のデータ転送を行う場合
リング型バスシステムにおいて、図2(a)に示すように、例えば第1モジュール11と第4モジュール14とを接続する第1バス31と第2バス32と第3バス33とから構成した第1転送経路T1において第1データ転送処理が行われている場合に、第8モジュール18から第6モジュール16への第2データ転送処理が発生したとする。
(2) When performing another data transfer using a bus not used for the data transfer during one data transfer In the ring type bus system, as shown in FIG. When the first data transfer process is performed in the first transfer path T1 constituted by the first bus 31, the second bus 32, and the third bus 33 connecting the fourth module 14, the eighth module 18 It is assumed that the second data transfer process to the sixth module 16 has occurred.

この場合、バス制御部40は、図2(a)に示すように、第8モジュール18と第6モジュール16とを接続する第1仮想転送経路R1と、第2仮想転送経路R2を選定する。ここで、第1仮想転送経路R1は、第8バス38と第1バス31と第2バス32と第3バス33と第4バス34と第5バス35とから構成し、第2仮想転送経路R2は、第6バス36と第7バス37とから構成している。   In this case, as shown in FIG. 2A, the bus control unit 40 selects the first virtual transfer path R1 and the second virtual transfer path R2 that connect the eighth module 18 and the sixth module 16. Here, the first virtual transfer path R1 includes an eighth bus 38, a first bus 31, a second bus 32, a third bus 33, a fourth bus 34, and a fifth bus 35, and a second virtual transfer path. R2 includes a sixth bus 36 and a seventh bus 37.

そして、バス制御部40は、第1仮想転送経路R1と第2仮想転送経路R2のうち、第1仮想転送経路R1の一部が第1転送経路T1として使用されているために使用できないことによって、図2(b)に示すように第2仮想転送経路R2を第2転送経路T2として選択するように構成している。   Then, the bus control unit 40 cannot use the first virtual transfer path R1 and the second virtual transfer path R2 because a part of the first virtual transfer path R1 is used as the first transfer path T1. As shown in FIG. 2B, the second virtual transfer route R2 is selected as the second transfer route T2.

この場合、第2仮想転送経路R2が第1仮想転送経路R1よりも少ない数のバスで構成しているかどうかは考慮することなく、データ転送に使用されていないバスが使用できるのであれば、そのバスを用いて転送経路を構成するようにしている。   In this case, if a bus that is not used for data transfer can be used without considering whether the second virtual transfer path R2 is configured with a smaller number of buses than the first virtual transfer path R1, A transfer path is configured using a bus.

すなわち、例えば図3(a)に示すように、第1モジュール11と第2モジュール12とを接続する第1バス31で構成した第1転送経路T1において第1データ転送処理が行われている場合に、第8モジュール18から第3モジュール13への第2データ転送処理が発生した場合でも、第8バス38と第1バス31と第2バス32とで構成する第1仮想転送経路R1の方が、第3バス33と第4バス34と第5バス35と第6バス36と第7バス37とで構成する第2仮想転送経路R2よりもバスの数が少ないにもかかわらず、第1仮想転送経路R1の第1バス31が既に第1転送経路T1として使用されているので、バス制御部40は、図3(b)に示すように、第2仮想転送経路R2を第2転送経路T2として選択するように構成している。   That is, for example, as shown in FIG. 3A, when the first data transfer process is performed in the first transfer path T1 configured by the first bus 31 connecting the first module 11 and the second module 12. Even when the second data transfer process from the eighth module 18 to the third module 13 occurs, the first virtual transfer path R1 constituted by the eighth bus 38, the first bus 31, and the second bus 32 is used. However, although the number of buses is smaller than that of the second virtual transfer path R2 constituted by the third bus 33, the fourth bus 34, the fifth bus 35, the sixth bus 36, and the seventh bus 37, the first bus Since the first bus 31 of the virtual transfer path R1 has already been used as the first transfer path T1, the bus control unit 40 uses the second virtual transfer path R2 as the second transfer path as shown in FIG. It is configured to select as T2.

このように、一方の仮想転送経路の一部が他のデータ転送に使用されていた場合には、他方の仮想転送経路を転送経路として選択することによって、データ転送において待機状態が生じることを抑止できるので、データの転送効率を向上させることができる。
(3)1つのデータ転送中にそのデータ転送に使用しているバスを用いて別のデータ転送を行う場合
リング型バスシステムにおいて、図4(a)に示すように、例えば第8モジュール18と第3モジュール13とを接続する第8バス38と第1バス31と第2バス32とで構成した第1転送経路T1において第1データ転送処理が行われている場合に、第1転送経路T1を構成している第1バス31を使用して第1モジュール11から第2モジュール12へデータを転送する第2転送経路T2による第2データ転送処理が発生したとする。
As described above, when a part of one virtual transfer path is used for another data transfer, the other virtual transfer path is selected as the transfer path, thereby preventing a standby state from occurring in the data transfer. Therefore, the data transfer efficiency can be improved.
(3) When performing another data transfer using the bus used for the data transfer during one data transfer In the ring type bus system, as shown in FIG. When the first data transfer process is performed in the first transfer path T1 configured by the eighth bus 38, the first bus 31, and the second bus 32 connecting the third module 13, the first transfer path T1 Suppose that a second data transfer process has occurred by the second transfer path T2 for transferring data from the first module 11 to the second module 12 using the first bus 31 constituting the.

この場合、バス制御部40は、図4(b)に示すように、第1転送経路T1によるデータ転送を一次中断し、第2転送経路T2による第1モジュール11から第2モジュール12への第2データ転送処理を先に実行するように構成している。   In this case, as shown in FIG. 4B, the bus control unit 40 temporarily interrupts the data transfer through the first transfer path T1, and performs the second transfer from the first module 11 to the second module 12 through the second transfer path T2. 2 The data transfer process is executed first.

そして、バス制御部40は、第2データ転送処理の終了後に第1転送経路T1による第1データ転送処理を再開するように構成している。   The bus control unit 40 is configured to resume the first data transfer process through the first transfer path T1 after the second data transfer process is completed.

このように、第1データ転送処理の実行中に、第1転送経路T1中の一部のバスを用いてデータを転送する第2データ転送処理が生じた場合に、第1データ転送処理のデータ転送を一次中断して第2データ転送処理のデータ転送を先に実行することによって、短時間でデータ転送を終了させることができる方のデータ転送を優先して終了させることができるので、トータルとしてのデータ転送に要する時間を短縮させることができ、データの転送効率を向上させることができる。   In this way, when the second data transfer process for transferring data using a part of the buses in the first transfer path T1 occurs during the execution of the first data transfer process, the data of the first data transfer process By first interrupting the transfer and executing the data transfer of the second data transfer process first, it is possible to preferentially end the data transfer that can finish the data transfer in a short time. The time required for the data transfer can be shortened, and the data transfer efficiency can be improved.

上記したように、第1データ転送処理の実行中に、第1転送経路T1中の一部のバスを用いてデータを転送する第2データ転送処理が生じた場合に、第1データ転送処理を中断させるのではなく、以下のようにして第1データ転送処理と第2データ転送処理とを同時に実行させることもできる。   As described above, when the second data transfer process for transferring data using a part of the buses in the first transfer path T1 occurs during the execution of the first data transfer process, the first data transfer process is performed. Instead of interrupting, the first data transfer process and the second data transfer process can be executed simultaneously as follows.

すなわち、例えば、図5(a)に示すように、第8モジュール18と第3モジュール13とを接続する第8バス38と第1バス31と第2バス32とで構成した第1転送経路T1において第1データ転送処理が行われている場合に、第1転送経路T1を構成している第1バス31を使用して第1モジュール11から第2モジュール12へデータを転送する第2転送経路T2での第2データ転送処理が発生したとする。   That is, for example, as shown in FIG. 5A, the first transfer path T1 constituted by the eighth bus 38, the first bus 31, and the second bus 32 that connect the eighth module 18 and the third module 13 to each other. The second transfer path for transferring data from the first module 11 to the second module 12 using the first bus 31 constituting the first transfer path T1 when the first data transfer process is performed in FIG. Assume that the second data transfer process at T2 occurs.

この場合に、バス制御部40は、図5(b)に示すように、第1転送経路T1を用いて行っていた第1データ転送処理を、第1転送経路T1とは異なる第3バス33と第4バス34と第5バス35と第6バス36と第7バス37とから構成した第3転送経路T3を検出して、その転送経路で第1データ転送処理を実施可能かどうかを検証し、第1データ転送処理が実施可能であった場合に第3転送経路T3に切り替えて第1データ転送処理を行うとともに、第2転送経路T2による第1モジュール11から第2モジュール12への第2データ転送処理を実行するように構成している。   In this case, as shown in FIG. 5B, the bus control unit 40 performs the first data transfer processing that has been performed using the first transfer path T1, as a third bus 33 different from the first transfer path T1. And a third transfer path T3 composed of the fourth bus 34, the fifth bus 35, the sixth bus 36, and the seventh bus 37 is detected, and it is verified whether or not the first data transfer process can be performed on the transfer path. When the first data transfer process can be performed, the first data transfer process is performed by switching to the third transfer path T3, and the second module 12 is switched from the first module 11 to the second module 12 by the second transfer path T2. Two data transfer processes are executed.

したがって、第1データ転送処理と第2データ転送処理とを同時に実行することができるので、データの転送効率を向上させることができる。   Therefore, since the first data transfer process and the second data transfer process can be executed simultaneously, the data transfer efficiency can be improved.

なお、第1データ転送処理を第1転送経路T1から第3転送経路T3に切り替える場合に、第3転送経路T3のバスが他のデータ転送に使用されていた場合には、そのデータ転送が終了するまで、または、第2データ転送処理が終了するまで第1データ転送処理を一次中断し、先に空いた方の経路を用いて第1データ転送処理を再開するように構成している。   When the first data transfer process is switched from the first transfer path T1 to the third transfer path T3, if the bus of the third transfer path T3 is used for other data transfer, the data transfer ends. The first data transfer process is temporarily interrupted until the second data transfer process is completed, or the first data transfer process is restarted using the previously free path.

上記した実施形態では、同時に2種類のデータ転送を行う場合について説明したが、2種類のデータ転送を同時に行うだけでなく、データ転送が可能なバスを用いて、例えば図6に示すように、第1バス31で構成した第1転送経路T1と、第3バス33で構成した第2転送経路T2と、第5バス35で構成した第3転送経路T3と、第7バス37で構成した第4転送経路T4とによるデータ転送を同時に行うこともできる。   In the above-described embodiment, the case where two types of data transfer are performed at the same time has been described, but not only the two types of data transfer are performed simultaneously, but also using a bus capable of data transfer, for example, as shown in FIG. The first transfer path T1 configured by the first bus 31; the second transfer path T2 configured by the third bus 33; the third transfer path T3 configured by the fifth bus 35; Data transfer through the four transfer paths T4 can be performed simultaneously.

本発明にかかるリング型バスシステムの説明図である。It is explanatory drawing of the ring type bus system concerning this invention. 本発明にかかるリング型バスシステムの説明図である。It is explanatory drawing of the ring type bus system concerning this invention. 本発明にかかるリング型バスシステムの説明図である。It is explanatory drawing of the ring type bus system concerning this invention. 本発明にかかるリング型バスシステムの説明図である。It is explanatory drawing of the ring type bus system concerning this invention. 本発明にかかるリング型バスシステムの説明図である。It is explanatory drawing of the ring type bus system concerning this invention. 本発明にかかるリング型バスシステムの説明図である。It is explanatory drawing of the ring type bus system concerning this invention. 従来のバスシステムの説明図である。It is explanatory drawing of the conventional bus system. 従来のバスシステムの説明図である。It is explanatory drawing of the conventional bus system. 従来のバスシステムの説明図である。It is explanatory drawing of the conventional bus system.

符号の説明Explanation of symbols

11 第1モジュール
12 第2モジュール
13 第3モジュール
14 第4モジュール
15 第5モジュール
16 第6モジュール
17 第7モジュール
18 第8モジュール
21 第1バス接続部
22 第2バス接続部
23 第3バス接続部
24 第4バス接続部
25 第5バス接続部
26 第6バス接続部
27 第7バス接続部
28 第8バス接続部
31 第1バス
32 第2バス
33 第3バス
34 第4バス
35 第5バス
36 第6バス
37 第7バス
38 第8バス
40 バス制御部
11 First module
12 Second module
13 Third module
14 Fourth module
15 5th module
16 Sixth module
17 Seventh module
18 Eighth module
21 First bus connection
22 Second bus connection
23 Third bus connection
24 4th bus connection
25 5th bus connection
26 6th bus connection
27 7th bus connection
28 8th bus connection
31 Bus 1
32 Second bus
33 Third bus
34 4th bus
35 5th bus
36 Bus 6
37 Bus 7
38 8th bus
40 Bus controller

Claims (4)

複数のモジュールと、
各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、
このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、
全ての前記バス接続部を制御するバス制御部とを有し、
前記バス制御部は、
転送元のモジュールと転送先のモジュールとを接続する第1の転送経路と第2の転送経路とを検出し、前記第1の転送経路と前記第2の転送経路とでバスの数の少ない方の転送経路を選択するリング型バスシステム。
Multiple modules,
A bus connection unit that connects to each module and transfers data in a predetermined transfer direction;
A plurality of buses serving as data transfer paths by connecting in a ring shape through the bus connection unit,
A bus control unit for controlling all the bus connection units ,
The bus control unit
The first transfer path and the second transfer path connecting the transfer source module and the transfer destination module are detected, and the bus having the smaller number of buses in the first transfer path and the second transfer path Ring type bus system that selects the transfer route of
複数のモジュールと、
各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、
このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、
全ての前記バス接続部を制御するバス制御部とを有し、
前記バス制御部は、転送元のモジュールと転送先のモジュールとを接続する第1の転送経路と第2の転送経路とを検出し、前記第1の転送経路と前記第2の転送経路のうちいずれか一方の転送経路の一部が他のデータ転送に使用されていた場合には、他方の転送経路を選択するリング型バスシステム。
Multiple modules,
A bus connection unit that connects to each module and transfers data in a predetermined transfer direction;
A plurality of buses serving as data transfer paths by connecting in a ring shape through the bus connection unit,
A bus control unit for controlling all the bus connection units,
The bus control unit detects a first transfer path and a second transfer path that connect a transfer source module and a transfer destination module, and includes the first transfer path and the second transfer path. in the case where a part of one of the transfer paths has been used for other data transfer, re ring type bus system for selecting the other transfer path.
複数のモジュールと、Multiple modules,
各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、A bus connection unit that connects to each module and transfers data in a predetermined transfer direction;
このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、A plurality of buses serving as data transfer paths by connecting in a ring shape through the bus connection unit,
全ての前記バス接続部を制御するバス制御部とを有し、A bus control unit for controlling all the bus connection units,
第1のデータ転送に使用されているバスを用いてデータを転送する第2のデータ転送が生じた場合には、第1のデータ転送を停止して第2のデータ転送を行い、この第2のデータ転送の終了後、前記第1のデータ転送を再開するリング型バスシステム。When a second data transfer occurs in which data is transferred using the bus used for the first data transfer, the first data transfer is stopped and the second data transfer is performed. A ring bus system that resumes the first data transfer after the data transfer is completed.
複数のモジュールと、Multiple modules,
各モジュールと接続してデータを所定の転送方向に転送するバス接続部と、A bus connection unit that connects to each module and transfers data in a predetermined transfer direction;
このバス接続部を介してリング状に接続することによりデータの転送経路となる複数のバスと、A plurality of buses serving as data transfer paths by connecting in a ring shape through the bus connection unit,
全ての前記バス接続部を制御するバス制御部とを有し、A bus control unit for controlling all the bus connection units,
第1のデータ転送に使用されているバスを用いてデータを転送する第2のデータ転送が生じた場合には、前記バス制御部は、前記第1のデータ転送に使用している転送経路とは異なる転送経路を検出し、前記第1のデータ転送に使用する転送経路を切替えて前記第1のデータ転送を行うとともに前記第2のデータ転送を行うリング型バスシステム。When a second data transfer occurs in which data is transferred using the bus used for the first data transfer, the bus control unit uses a transfer path used for the first data transfer and A ring-type bus system that detects different transfer paths, switches the transfer path used for the first data transfer, performs the first data transfer, and performs the second data transfer.
JP2003285792A 2003-08-04 2003-08-04 Ring bus system Expired - Fee Related JP4432402B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003285792A JP4432402B2 (en) 2003-08-04 2003-08-04 Ring bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003285792A JP4432402B2 (en) 2003-08-04 2003-08-04 Ring bus system

Publications (2)

Publication Number Publication Date
JP2005056112A JP2005056112A (en) 2005-03-03
JP4432402B2 true JP4432402B2 (en) 2010-03-17

Family

ID=34365315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003285792A Expired - Fee Related JP4432402B2 (en) 2003-08-04 2003-08-04 Ring bus system

Country Status (1)

Country Link
JP (1) JP4432402B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6465843B2 (en) 2016-09-13 2019-02-06 キヤノン株式会社 Ring bus system
JP7358878B2 (en) * 2019-09-25 2023-10-11 日本電気株式会社 Data transfer system, data transfer method, and data transfer program

Also Published As

Publication number Publication date
JP2005056112A (en) 2005-03-03

Similar Documents

Publication Publication Date Title
JP5323828B2 (en) Virtual machine control device, virtual machine control program, and virtual machine control circuit
US8140875B2 (en) Integrated circuit apparatus
CN112188084B (en) Communication circuit, control method, device and electronic equipment
JP4831599B2 (en) Processing equipment
CN111463886A (en) Method, device, storage medium and terminal device for rapidly switching static transfer switch
JP2017011519A (en) Communication system using network
JP2004164367A (en) Multiprocessor system
CN104427012A (en) Port Negotiation Method and Device
JP4432402B2 (en) Ring bus system
JP4015986B2 (en) Semiconductor integrated circuit device
JP6109442B2 (en) Slave equipment and redundant system
CN102880167A (en) Field communication system
KR20100086211A (en) Gateway device for car
JP7205439B2 (en) electronic controller
CN104698916B (en) Method for operation automation device
US8621262B2 (en) Semiconductor integrated circuit and method for controlling semiconductor integrated circuit
JP2993337B2 (en) Double bus control method
JP2008269078A (en) Bus control device
JP7271973B2 (en) VEHICLE CONTROL DEVICE AND OPERATING CLOCK SWITCHING METHOD
JP3268460B2 (en) Transmission line switching control method and device
US6801498B1 (en) Asynchronous transfer mode communication equipment and method for switching virtual path of same
JP2706390B2 (en) Vector unit usage right switching control method using multiple scalar units
JP2004062589A (en) Information processor
JP5020869B2 (en) Programmable logic controller
JP2005278114A (en) Portable terminal device, control method and its program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090602

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090626

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

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

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

Free format text: PAYMENT UNTIL: 20130108

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees