JPH0548504B2 - - Google Patents

Info

Publication number
JPH0548504B2
JPH0548504B2 JP60168736A JP16873685A JPH0548504B2 JP H0548504 B2 JPH0548504 B2 JP H0548504B2 JP 60168736 A JP60168736 A JP 60168736A JP 16873685 A JP16873685 A JP 16873685A JP H0548504 B2 JPH0548504 B2 JP H0548504B2
Authority
JP
Japan
Prior art keywords
address
module
bus
requesting
data
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 - Lifetime
Application number
JP60168736A
Other languages
Japanese (ja)
Other versions
JPS6227848A (en
Inventor
Yukio Uchama
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP16873685A priority Critical patent/JPS6227848A/en
Publication of JPS6227848A publication Critical patent/JPS6227848A/en
Publication of JPH0548504B2 publication Critical patent/JPH0548504B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、バス制御方式に関し、特に情報処理
装置におけるバスの制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus control method, and particularly to a bus control method in an information processing device.

〔従来の技術〕[Conventional technology]

従来、この種のバス制御方式は複数のモジユー
ルをバスにより結合し、各モジユールが前記バス
を介して通信を行なうというバスシステムがあ
る。このようなバスシステムは第3図に示すよう
に、複数のモジユール1…nがバスに接続されて
おり、モジユール1…nにはそれぞれ1…nのア
ドレスが設定されていて、各モジユールが自分に
設定されたアドレスと通信しようとする相手に設
定されたアドレスとをバス上へ送出することによ
りデータ転送を行なうように構成されている。
Conventionally, this type of bus control system includes a bus system in which a plurality of modules are connected by a bus, and each module communicates via the bus. In such a bus system, as shown in Figure 3, a plurality of modules 1...n are connected to the bus, each module 1...n is assigned an address 1...n, and each module has its own address. The device is configured to perform data transfer by sending out onto the bus the address set for the communication partner and the address set for the other party to communicate with.

たとえば、モジユール1からモジユール2へデ
ータを転送する場合はまず、モジユール1がバス
の使用権を獲得するための動作を行なう。モジユ
ール1は使用権を獲得すると要求側モジユールと
なり、バス上へ自分のアドレス(以下SAと略す)
の“1”と通信したい相手のアドレス(以下DA
と略す)の“2”と必要なデータとを送出する。
モジユール2は、要求側モジユールより送出され
た相手アドレスDAが自分のアドレスの“2”で
あることを認識すると応答側モジユールとなり送
出された自アドレスSA、相手アドレスDA及び
データを取り込み、さらに必要な動作を行ない、
データ転送が終了する。
For example, when transferring data from module 1 to module 2, module 1 first performs an operation to acquire the right to use the bus. When module 1 acquires the usage right, it becomes the requesting module and sends its own address (hereinafter abbreviated as SA) on the bus.
The address of the party you want to communicate with “1” (hereinafter referred to as DA)
(abbreviated as "2") and the necessary data are sent.
When module 2 recognizes that the destination address DA sent from the requesting module is its own address "2," it becomes the responding module and takes in the sent own address SA, destination address DA, and data, and further performs necessary operations. perform the action,
Data transfer ends.

次に、モジユール1から他のすべてのモジユー
ル2…nへデータ転送する場合はモジユール1が
前記と同様に使用権を獲得するとバス上へ自アド
レスSAの“1”と相手アドレスDAとしてすべ
てのモジユール宛を表わすあらかじめ定められた
同報通信アドレス(以下GAと略す)必要なデー
タとを送出する。他のすべてのモジユールは、要
求側モジユールより送出された相手アドレスDA
が同報通信アドレスGAであることを認識すると
応答側モジユールとなり送出された自アドレス
SA、相手アドレスDA及びデータを取り込み、
さらに必要な動作を行ないデータ転送が終了す
る。以上のように従来のバス制御方式では、要求
側モジユールと応答側モジユールとの1対1通信
又は要求側モジユールと他のすべてのモジユール
という通信のみが行なえる。
Next, when data is to be transferred from module 1 to all other modules 2...n, when module 1 acquires usage rights in the same way as above, all modules are transferred onto the bus with their own address SA as "1" and the destination address DA. A predetermined broadcast communication address (hereinafter abbreviated as GA) indicating the destination and necessary data are sent. All other modules use the destination address DA sent by the requesting module.
When it recognizes that GA is the broadcast communication address, it becomes the responding module and sends its own address.
Import SA, other party address DA and data,
Further necessary operations are performed and the data transfer is completed. As described above, in the conventional bus control system, only one-to-one communication between the requesting module and the responding module or communication between the requesting module and all other modules can be performed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のバス制御方式は、バスの使用権
を獲得した要求側モジユールが送出する相手アド
レスと一致するアドレスを持つたモジユールと通
信を行なうか又はあれかじめ定められた同報通信
アドレスを相手アドレスDAとして使用すること
により要求側モジユール以外のバス上のすべての
モジユールとデータ転送を行なう方式となつてい
るので、バスの使用権を獲得した要求側モジユー
ルが任意の複数のモジユールと同時に通信を行な
うということができないという欠点があつた。
In the conventional bus control method described above, the requesting module that has acquired the right to use the bus either communicates with a module whose address matches the destination address to be sent, or sends a predetermined broadcast communication address to the destination. By using the address as DA, data is transferred with all modules on the bus other than the requesting module, so the requesting module that has acquired the right to use the bus can communicate with any number of modules at the same time. The drawback was that it was impossible to do so.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のバス制御方式は、複数のモジユールの
それぞれに、要求側モジユールの自アドレスを設
定する格納手段と、受信した要求モジユールの自
アドレスと格納手段の内容との一致を検出する一
致検出手段とを設けている。
The bus control method of the present invention includes storage means for setting the self-address of the requesting module in each of a plurality of modules, and coincidence detection means for detecting a match between the self-address of the received requesting module and the contents of the storage means. has been established.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す。第1図にお
いて、本実施例は複数のモジユール3,4,15
を持ちそれぞれバス30を介して接続されてい
る。各モジユールは要求側モジユール又は応答側
モジユールになり得るが、要求側モジユールが自
分のアドレスを自アドレスとして、応答側モジユ
ールのアドレスを相手アドレスとしてバス30上
に送信することにより通信を行なうバス制御方式
で、各モジユール(たとえば、モジユール4)に
は自分が持つている自アドレスと要求側モジユー
ルより送信された相手アドレスとが一致したこと
を判定する相手アドレス一致回路7と、受信した
い相手のアドレスを設定する相手アドレスレジス
タ9と、該相手アドレスレジスタ9に設定された
値と要求側モジユールより送信された自アドレス
レジスタとが一致したことを判定する自アドレス
一致回路8とを含んでいる。
FIG. 1 shows an embodiment of the invention. In FIG. 1, this embodiment has a plurality of modules 3, 4, 15.
and are connected to each other via a bus 30. Each module can be a requesting module or a responding module, but in this bus control method, the requesting module communicates by sending its own address as its own address and the responding module's address as the other party's address on the bus 30. Each module (for example, module 4) has a partner address matching circuit 7 that determines whether its own address matches the partner address sent from the requesting module, and a circuit 7 that determines whether the address it owns matches the partner address sent from the requesting module. It includes a partner address register 9 to be set, and a self-address matching circuit 8 to determine whether the value set in the partner address register 9 matches the own address register transmitted from the requesting module.

更にモジユール4にはバス30に接続されてい
るデータバツフア5およびアドレスバツフア6
と、自アドレスを格納する自アドレスレジスタ1
0と、相手アドレス一致回路7と自アドレス一致
回路8との出力の論理和をとる論理和回路102
と、この論理和回路102に接続されその出力が
アドレスバツフア6に供給する受信認識フリツプ
フロツプ14と、受信認識フリツプフロツプバス
クロツク線21との出力の論理和を取り、かつそ
の出力をデータバツフア5に供給する論理和回路
101と、内部バス22に接続され各種の制御を
行うプロセツサ11とを有している。
Furthermore, the module 4 has a data buffer 5 and an address buffer 6 connected to the bus 30.
and own address register 1 that stores the own address.
0 and the outputs of the other address matching circuit 7 and own address matching circuit 8.
, a reception recognition flip-flop 14 connected to this OR circuit 102 and whose output supplies the address buffer 6, and a reception recognition flip-flop bus clock line 21 are ORed, and the output is sent to a data buffer. 5, and a processor 11 that is connected to an internal bus 22 and performs various controls.

各モジユールの内部バス22はデータバツフア
5とアドレスバツフア6とに接続されており、更
に相手アドレスレジスタ9に接続されている。
The internal bus 22 of each module is connected to a data buffer 5 and an address buffer 6, and further connected to a partner address register 9.

各モジユールに接続されるバス30は上位8ビ
ーツトのバス31と下位8ビツトのバス32を有
しており、両バス31,32はデータバツフア5
とアドレスバツフア6に接続され、上位8ビツト
のバス31は自アドレス一致回路8に接続されて
いて、下位8ビツトのバス32は相手アドレス一
致回路7に接続されている。
The bus 30 connected to each module has a bus 31 for upper 8 bits and a bus 32 for lower 8 bits, and both buses 31 and 32 are connected to data buffer 5.
The upper 8 bits of the bus 31 are connected to the own address matching circuit 8, and the lower 8 bits of the bus 32 are connected to the other address matching circuit 7.

本実施例においてはモジユール3からモジユー
ル4へデータ転送する場合で要求側モジユール
3,4を応答側モジユール4とする。データバツ
フア5はデータ受信用バツフアで、アドレスバツ
フア6は要求側モジユール3より転送された自ア
ドレスSA及び相手アドレスDAを格納するバツ
フアである。相手アドレス一致回路7は要求側モ
ジユールより転送されたDAと応答側モジユール
の自アドレスとが一致したことを判定する一致回
路で、自アドレス一致回路8は要求側モジユール
より転送された自アドレスSAと応答側モジユー
ルの相手アドレスレジスタの内容とが一致したこ
とを判定する一致回路である。相手アドレスレジ
スタ9は受信したい相手のアドレスをプロセツサ
11により設定するレジスタで、自アドレスレジ
スタ10は応答側モジユールの自アドレスを格納
しているレジスタである。受信認識フリツプフロ
ツプ14は転送されたデータが自分宛であること
を認識するとセツトされる受信認識フリツプフロ
ツプである。なお、モジユール15は応答側モジ
ユール4とまつたく同じ構成をもつモジユールで
ある。
In this embodiment, when data is transferred from module 3 to module 4, the requesting modules 3 and 4 are assumed to be the responding module 4. The data buffer 5 is a buffer for receiving data, and the address buffer 6 is a buffer for storing the own address SA and the other party's address DA transferred from the requesting module 3. The destination address matching circuit 7 is a matching circuit that determines whether the DA transferred from the requesting module matches the own address of the responding module, and the own address matching circuit 8 judges whether the DA transferred from the requesting module matches the own address SA transferred from the requesting module. This is a matching circuit that determines whether the contents of the partner address register of the responding module match. The destination address register 9 is a register in which the processor 11 sets the address of the destination to which data is to be received, and the own address register 10 is a register that stores the own address of the responding module. The reception recognition flip-flop 14 is a reception recognition flip-flop that is set when it recognizes that the transferred data is addressed to itself. Note that the module 15 is a module having exactly the same configuration as the response module 4.

次に本実施例の動作について説明すると、要求
側モジユール3から応答側モジユール4へデータ
転送する場合、まず、要求側モジユール3がバス
の使用権を獲得すると自分のアドレスバス31
へ、応答側モジユール4のアドレスをバス32
へ、送出する。この場合バス31上のデータが自
アドレスSAであり、バス32上のデータが相手
アドレスDAである。送出された相手アドレス
DAは応答側モジユール4の内部にある相手アド
レス一致回路7に入力され、応答側モジユール4
の自アドレスレジスタ10の値と相手アドレス
DAが一致すると相手アドレス一致回路7の出力
が“1”となり、次のバスクロツクの立ち上りで
受信認識フリツプフロツプ14が“1”にセツト
され、同時に自アドレスSA及び相手アドレス
DAをアドレスバツフア6へ格納し、さらに自ア
ドレスSAと相手アドレスDAに続くデータをバ
スクロツクごとにデータバツフア5へ格納する。
このようにして、要求側モジユール3から送出さ
れたデータを応答側モジユール4が受信する。第
2図は上で述べた内容をタイムチヤートで示した
ものである。
Next, the operation of this embodiment will be explained. When data is transferred from the requesting module 3 to the responding module 4, first, when the requesting module 3 acquires the right to use the bus, it transfers its own address bus 31.
to the address of the responding module 4 on the bus 32.
Send to. In this case, the data on the bus 31 is the own address SA, and the data on the bus 32 is the other party's address DA. Sent address
DA is input to the other party address matching circuit 7 inside the response module 4, and the response module 4
The value of own address register 10 and the other party's address
When the DA matches, the output of the destination address matching circuit 7 becomes "1", and at the rising edge of the next bus clock, the reception recognition flip-flop 14 is set to "1", and at the same time the own address SA and the destination address are set to "1".
DA is stored in the address buffer 6, and data following the own address SA and the other address DA is stored in the data buffer 5 every bus clock.
In this way, the response module 4 receives the data sent from the request module 3. FIG. 2 shows the above-mentioned contents in the form of a time chart.

次に、応答側モジユール4の相手アドレスレジ
スタ9に要求側モジユール3の自アドレスをプロ
セツサ11により設定しておく、前記と同様に要
求側モジユール3がバスの使用権を獲得すると、
自アドレスSAをバス1へ、相手アドレスDAを
バス2へ送出する。この場合、相手アドレスDA
は任意の値でよい。
Next, the processor 11 sets the own address of the requesting module 3 in the partner address register 9 of the responding module 4. When the requesting module 3 acquires the right to use the bus in the same manner as described above,
Sends own address SA to bus 1 and sends destination address DA to bus 2. In this case, the other party address DA
can be any value.

要求側モジユール3より送出された自アドレス
SAは、応答側モジユール4の内部にある自アド
レス一致回路8に入力され、応答側モジユール4
の相手アドレスレジスタ9の値と自アドレスSA
が一致すると自アドレス一致回路8の出力が
“1”となり、前記とまつたく同様な手順で自ア
ドレスSA、相手アドレスDAをアドレスバツフ
ア6へ、データをデータバツフア5へそれぞれ格
納する。この時、モジユール15の内部にある相
手アドレスレジスタに要求側モジユール3の自ア
ドレスが設定されていればモジユール15も応答
側モジユール4とまつたく同様な手順で応答側モ
ジユール4と同時にデータを格納できる。
Own address sent from requesting module 3
The SA is input to the own address matching circuit 8 inside the response module 4, and the response module 4
The value of the other party's address register 9 and the own address SA
If they match, the output of the own address matching circuit 8 becomes "1", and the own address SA and the other party's address DA are stored in the address buffer 6, and the data is stored in the data buffer 5, respectively, in exactly the same procedure as described above. At this time, if the own address of the requesting module 3 is set in the destination address register inside the module 15, the module 15 can also store data at the same time as the responding module 4 using exactly the same procedure as the responding module 4. .

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、各モジユール内
に、自分が持つている自アドレスと要求側モジユ
ールより送信された相手アドレスとが一致したこ
とを判定す相手アドレス一致回路、受信したり相
手のアドレスを設定する相手アドレスレジスタ、
その相手アドレスレジスタの値と要求側モジユー
ルより送信された自アドレスとが一致したことを
判定する自アドレス一致回路を有し、その2つの
一致回路のどちらか一方の条件が満された場合に
応答側モジユールになるようにすることにより、
要求側モジユールが任意の複数のモジユールと同
時に通信を行なうことができるという効果があ
る。
As explained above, the present invention includes, in each module, a partner address matching circuit that determines whether the own address it owns and the partner address sent from the requesting module match, and Set the other party address register,
It has a self-address matching circuit that determines whether the value of the other party's address register matches the own address sent from the requesting module, and responds when one of the two matching circuits' conditions is met. By making it a side module,
This has the advantage that the requesting module can communicate with any number of modules simultaneously.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示す図、第2図は
本実施例におけるタイムチヤートを示す図、第3
図は従来のバスシステムを示す図である。 3…要求側モジユール、4…応答側モジユー
ル、5…データバツフア、6…アドレスバツフ
ア、7…相手アドレス一致回路、8…自アドレス
一致回路、9…相手アドレスレジスタ、10…自
アドレスレジスタ、11…プロセツサ、14…受
信認識フリツプフロツプ、15…モジユール、2
1…バスクロツク線、22…内部バス、30…バ
ス、101,102…論理和回路。
Fig. 1 is a diagram showing an embodiment of the present invention, Fig. 2 is a diagram showing a time chart in this embodiment, and Fig. 3 is a diagram showing an embodiment of the present invention.
The figure shows a conventional bus system. 3... Request side module, 4... Response side module, 5... Data buffer, 6... Address buffer, 7... Other address matching circuit, 8... Own address matching circuit, 9... Other address register, 10... Own address register, 11... Processor, 14... Reception recognition flip-flop, 15... Module, 2
1... Bus clock line, 22... Internal bus, 30... Bus, 101, 102... OR circuit.

Claims (1)

【特許請求の範囲】 1 複数のモジユールをバスを介して接続し、要
求側モジユールが持つ固有のアドレスを自アドレ
スとし、通信したい応答側モジユールが持つ固有
のアドレスを相手アドレスとしてこれらのアドレ
スを前記要求側モジユールから前記バス上に送信
するとともに、受信した前記相手アドレスと自分
が持つ固有のアドレスとの一致を検出したモジユ
ールが前記応答側モジユールとして前記要求側モ
ジユールとの間で通信を行うバス制御方式におい
て、 前記各モジユールに、前記要求側モジユールの
前記自アドレスを設定する格納手段と、受信した
前記要求側モジユールの前記自アドレスと前記格
納手段の内容との一致を検出する一致検出手段と
を設け、 前記一致検出手段で一致が検出されたモジユー
ルも前記応答側モジユールとして前記要求側モジ
ユールとの間で通信を行うことを特徴とするバス
制御方式。
[Scope of Claims] 1 A plurality of modules are connected via a bus, and the unique address of the requesting module is taken as its own address, and the unique address of the responding module with which it wants to communicate is taken as the other party's address, and these addresses are used as the above-mentioned address. Bus control in which the requesting module transmits data onto the bus, and the module that detects a match between the received destination address and its own unique address communicates with the requesting module as the responding module. In the method, each module includes a storage means for setting the self-address of the requesting module, and a coincidence detection means for detecting a match between the received self-address of the requesting module and the contents of the storage means. A bus control method, characterized in that a module whose match is detected by the match detecting means also communicates with the requesting module as the responding module.
JP16873685A 1985-07-30 1985-07-30 Bus control system Granted JPS6227848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16873685A JPS6227848A (en) 1985-07-30 1985-07-30 Bus control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16873685A JPS6227848A (en) 1985-07-30 1985-07-30 Bus control system

Publications (2)

Publication Number Publication Date
JPS6227848A JPS6227848A (en) 1987-02-05
JPH0548504B2 true JPH0548504B2 (en) 1993-07-21

Family

ID=15873462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16873685A Granted JPS6227848A (en) 1985-07-30 1985-07-30 Bus control system

Country Status (1)

Country Link
JP (1) JPS6227848A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5646166A (en) * 1979-09-19 1981-04-27 Hitachi Ltd Sealing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5646166A (en) * 1979-09-19 1981-04-27 Hitachi Ltd Sealing device

Also Published As

Publication number Publication date
JPS6227848A (en) 1987-02-05

Similar Documents

Publication Publication Date Title
JPS63255759A (en) Control system
JPH0213040A (en) System for registering/searching address information in network system
JPS63255760A (en) Control system
JPH0548504B2 (en)
JPH01129548A (en) Communication controller
JPS6113839A (en) Method for controlling data transmission
JPH07109598B2 (en) Inter-module data transfer device
JPS626361A (en) Inter-processor data transfer system
JPS61269545A (en) Computer system
JPS62113258A (en) Bus controller
JPS5992653A (en) Data transmitter
JPH05324545A (en) Bus controller
JPH03151740A (en) Communication controller
JPH02133856A (en) Data transfer device
JPH0122300Y2 (en)
JPH01133444A (en) System bus controller
JPS6238636A (en) Acquisition system for transmission right in multi-drop
JPS61260350A (en) Parallel processing control system
JPS589620B2 (en) Peer communication system
JPS61288261A (en) Multiprocessor system
JPH01108665A (en) Dma transfer control system
JPH0531974B2 (en)
JPS63104155A (en) Electronic computer
JPH05346907A (en) Inter-processor communication system
JPH0521377B2 (en)