JPS6227848A - Bus control system - Google Patents
Bus control systemInfo
- Publication number
- JPS6227848A JPS6227848A JP16873685A JP16873685A JPS6227848A JP S6227848 A JPS6227848 A JP S6227848A JP 16873685 A JP16873685 A JP 16873685A JP 16873685 A JP16873685 A JP 16873685A JP S6227848 A JPS6227848 A JP S6227848A
- Authority
- JP
- Japan
- Prior art keywords
- address
- module
- bus
- data
- partner
- 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
Links
Abstract
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.
従来、この種のバス制御方式は複数のモジュールをバス
により結合し、各モジュールが前記バスを介して通信を
行なうというバスシステムがある。Conventionally, this type of bus control system includes a bus system in which a plurality of modules are connected via a bus, and each module communicates via the bus.
このようなバスシステムは第3図に示すように、複数の
モジュールト・・nがバスに接続されており、モジュー
ルト・・nにはそれぞれ1・・・nのアドレスが設定さ
れていて、各モジュールが自分に設定されたアドレスと
通信しようとする相手に設定されたアドレスとをバス上
へ送出することによりデータ転送を行なうように構成さ
れている。As shown in Figure 3, in such a bus system, a plurality of modules...n are connected to the bus, and addresses 1...n are set for each module...n. Each module is configured to perform data transfer by transmitting onto the bus the address set for itself and the address set for the other party with which it wishes to communicate.
たとえば、モジュール1からモジュール2ヘデータを転
送する場合はまず、モジュール1がバスの使用権を獲得
するための動作を行なう、モジュール1は使用権を獲得
すると要求側モジュールとなり、バス上へ自分のアドレ
ス(以下SAと略す)の”1°°と通信したい相手のア
ドレス(以下DAと略す)の°“2゛′と必要なデータ
とを送出する。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. Once module 1 acquires the right to use the bus, it becomes the requesting module and transfers its own address onto the bus. (hereinafter abbreviated as SA), address of the party to communicate with (hereinafter abbreviated as DA) ``2'', and necessary data are sent.
モジュール2は、要求側モジュールより送出された相手
アドレスDAが自分のアドレスの2″であることを認識
すると応答側モジュールとなり送出された自アドレスS
A、相手アドレスDA及びデータを取り込み、さらに必
要な動作を行ない、データ転送が終了する。When module 2 recognizes that the destination address DA sent by the requesting module is its own address 2'', it becomes the responding module and uses the sent own address S.
A. The other party's address DA and data are taken in, further necessary operations are performed, and the data transfer is completed.
次に、モジュール1から他のすべてのモジュール2・・
・nヘデータ転送する場合はモジュール1が前記と同様
に使用権を獲得するとバス上へ自アドレスSAの1°′
と相手アドレスDAとしてすべてのモジュール宛を表わ
すあらかじめ定められた同報通信アドレス(以下GAと
略す)と必要なデータとを送出する。他のすべてのモジ
ュールは、要求側モジュールより送出された相手アドレ
スDAが回報通信アドレスGAであることを認識すると
応答側モジュールとなり送出された自アドレスSA、相
手アドレスDA及びデータを取り込み、さらに必要な動
作を行ないデータ転送が終了する。Then from module 1 to all other modules 2...
・When transferring data to n, module 1 acquires usage rights in the same manner as above, and transfers data to address SA 1°' on the bus.
A predetermined broadcast communication address (hereinafter abbreviated as GA) indicating destination for all modules as the destination address DA and necessary data are sent. When all other modules recognize that the destination address DA sent by the requesting module is the broadcast communication address GA, they become responding modules and take in the sent own address SA, destination address DA, and data, and further perform necessary The operation is performed and the data transfer is completed.
以上のように従来のバス制御方式では、要求側モジュー
ルと応答側モジュールとの1対1通信又は要求側モジュ
ールと他のすべてのモジュールという通信のみが行なえ
る。As described above, in the conventional bus control system, only one-to-one communication between a requesting module and a responding module or communication between a requesting module and all other modules can be performed.
上述した従来のバス制御方式は、バスの使用権を獲得し
た要求側モジュールが送出する相手アドレスと一致する
アドレスを持ったモジュールと通信を行なうか又はあれ
かしめ定められた回報通信アドレスを相手アドレスDA
として使用することにより要求側モジュール以外のバス
上のすべてのモジュールとデータ転送を行なう方式とな
っているので、バスの使用権を獲得した要求側モジュニ
ルが任意の複数のモジュールと同時に通信を行なうとい
うことができないという欠点があった。In the conventional bus control method described above, a requesting module that has acquired the right to use the bus communicates with a module whose address matches the destination address it sends, or sends a predetermined broadcast communication address to the destination address DA.
By using it as a bus, 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 could not be done.
本発明のバス制御方式は複数のモジュールを持ち、要求
側モジュールが自分のアドレスを自アドレスとして、応
答側モジュールのアドレスを相手アドレスとしてバス上
に送信することにより通信を行なうバス制御方式におい
て、バス上に接続されている各モジュール内に自分が持
っている自アドレスと要求側モジュールより送信された
相手アドレスとが一致したことを判定する相手アドレス
−回路と、受信したい相手のアドレスを設定する相手ア
ドレスレジスタと、該相手アドレスレジスタに設定され
た値と要求側モジュールより送信された自アドレスとが
一致したことを判定する自アドレス一致回路とを有する
。The bus control method of the present invention has a plurality of modules, and in a bus control method in which a requesting module performs communication by transmitting its own address on the bus as its own address and the address of a responding module as a destination address, the bus control method has multiple modules. A partner address-circuit that determines whether the own address it owns in each module connected above matches the partner address sent from the requesting module, and a partner that sets the address of the partner to whom it wants to receive data. It has an address register and a self-address matching circuit that determines whether the value set in the partner address register matches the self-address transmitted from the requesting module.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示す。第1図において、本
実施例は複数のモジュール3.4.15を持ちそれぞれ
バス30を介して接続されている。FIG. 1 shows an embodiment of the invention. In FIG. 1, this embodiment has a plurality of modules 3.4.15, each connected via a bus 30.
各モジュールは要求側モジュール又は応答側モジュール
になり得るが、要求側モジュールが自分のアドレスを自
アドレスとして、応答側モジュールのアドレスを相手ア
ドレスとしてバス30上に送信することにより通信を行
なうバス制御方式で、各モジューlしくたとえば、モジ
ュール4)には自分が持っている自アドレスと要求側モ
ジュールより送信された相手アドレスとが一致したこと
を判定する相手アドレス一致回路7と、受信したい相手
のアドレスを設定する相手アドレスレジスタ9と、該相
手アドレスレジスタ9に設定された値と要求側モジュー
ルより送信された自アドレスレジスタとが一致したこと
を判定する自アドレス一致回路8とを含んでいる。Each module can be a requesting module or a responding module, but the bus control method is such that the requesting module communicates by sending its own address as its own address and the responding module's address as the destination address on the bus 30. For example, each module (for example, module 4) includes a partner address matching circuit 7 that determines whether the own address it owns matches the partner address sent from the requesting module, and a partner address matching circuit 7 that determines whether the own address it owns matches the partner address sent from the requesting module. , and a self-address matching circuit 8 that determines whether the value set in the partner address register 9 matches the self-address register transmitted from the requesting module.
更にモジュール4にはバス30に接続されているデータ
バッファ5およびアドレスバッファ6と、自アドレスを
格納する自アドレスレジスタ10と、相手アト゛レス一
致回路7と自アドレス一致回路8との出力の論理和をと
る論理和回路102と、この論理和回路102に接続さ
れその出力がアドレスバッファ6に供給する受信認識フ
リップフロップ14と、受信認識フリップフロップ14
とバスクロツタ線21との出力の論理和を取り、かつそ
の出力をデータバッファ5に供給する論理和回路101
と、内部バス22に接続され各種の制御を行うプロセッ
サ11とを有している。Furthermore, the module 4 has a logical sum of the outputs of the data buffer 5 and address buffer 6 connected to the bus 30, the own address register 10 that stores the own address, the other address matching circuit 7, and the own address matching circuit 8. a reception recognition flip-flop 14 connected to the OR circuit 102 and whose output supplies the address buffer 6;
A logical sum circuit 101 that takes the logical sum of the outputs of the bus crosstalk line 21 and the logical sum circuit 101 and supplies the output to the 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 a data buffer 5 and an address buffer 6.
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は応答側モジュールの自アドレスを格納
しているレジスタである。受信認識フリップフロップ1
゛4は転送されたデータが自分宛であることを認識する
とセットされる受信認識フリップフロップである。なお
、モジュール15は応答側モジュール4とまったく同じ
構成をもつモジュールである。In this embodiment, when data is transferred from the module 3 to the module 4, the requesting module 3.4 is the responding module 4. The data buffer 5 is a buffer for receiving data, and the address buffer 6 is a buffer that stores 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. Reception recognition flip-flop 1
4 is a reception recognition flip-flop which is set when it is recognized that the transferred data is addressed to itself. Note that the module 15 is a module having exactly the same configuration as the response side module 4.
次に本実施例の動作について説明すると、要求側モジュ
ール3から応答側モジュール4ヘデータ転送する場合、
まず、要求側モジュール3がバスの使用権を獲得すると
自分のアドレスバス31へ、応答側モジュール4のアド
レスをバス32へ、送出する。この場合バス31上のデ
ータが自アドレスSAであり、バス32上のデータが相
手アドレスDAである。送出された相手アドレスDAは
応答側モジュール4の内部にある相手アドレス一致回路
7に入力され、応答側モジュール4の自アドレスレジス
タ10の値と相手アドレスDAが一致すると相手アドレ
ス一致回路7の出力が“1”となり、次のバスクロック
の立ち上りで受信認識フリップフロップ14が“1”に
セットされ、同時に自アドレスSA及び相手アドレスD
Aをアドレスバッファ6へ格納し、さらに自アドレスS
Aと相手アドレスDAに続くデータをバスクロックごと
にデータバッファ5へ格納する。このようにして、要求
側モジュール3から送出されたデータを応答側モジュー
ル4が受信する。第2図は上で述べた内容をタイムチャ
ートで示したものである。Next, to explain the operation of this embodiment, when data is transferred from the request side module 3 to the response side module 4,
First, when the requesting module 3 acquires the right to use the bus, it sends the address of the responding module 4 to its own address bus 31 and to the bus 32. In this case, the data on the bus 31 is the own address SA, and the data on the bus 32 is the other address DA. The sent destination address DA is input to the destination address matching circuit 7 inside the responding module 4, and when the value of the own address register 10 of the responding module 4 and the destination address DA match, the output of the destination address matching circuit 7 is The reception recognition flip-flop 14 is set to "1" at the next rising edge of the bus clock, and at the same time the own address SA and the other party's address D are set to "1".
A is stored in the address buffer 6, and further the own address S
The data following A and the destination address DA are 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をバス11
\、相手アドレス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 above, the own address SA bus 11
\, sends the destination address DA to bus 2. in this case,
The destination address DA may be any value.
要求側モジュール3より送出された自アドレスSAは、
応答側モジュール4の内部にある自アドレス一致回路8
に入力され、応答側モジュール4の相手アドレスレジス
タ9の値と自アドレスSAが一致すると自アドレス一致
回路8の出力が1°。The own address SA sent from the requesting module 3 is
Own address matching circuit 8 inside the responding module 4
When the value of the partner address register 9 of the responding module 4 and the own address SA match, the output of the own address matching circuit 8 is 1°.
となり、前記とまったく同様な手順で自アドレスSA、
相手アドレスDAをアドレスバッファ6へ、データをデ
ータバッファ5へそれぞれ格納する。Then, in exactly the same procedure as above, own address SA,
The destination address DA is stored in the address buffer 6, and the data is stored in the data buffer 5.
この時、モジュール15の内部にある相手アドレスレジ
スタに要求側モジュール3の自アドレスが設定されてい
ればモジュール15も応答側モジュール4とまったく同
様な手順で応答側モジュール4と同時にデータを格納で
きる。At this time, if the own address of the requesting module 3 is set in the partner address register inside the module 15, the module 15 can also store data simultaneously with the responding module 4 in exactly the same procedure as the responding module 4.
以上説明したように本発明は、各モジュール内に、自分
が持っている自アドレスと要求側モジュールより送信さ
れた相手アドレスとが一致したことを判定す相手アドレ
ス一致回路、受信したり相手のアドレスを設定する相手
アドレスレジスタ、その相手アドレスレジスタの値と要
求側モジュールより送信された自アドレスとが一致した
ことを判定する自アトーレス一致回路を有し、その2つ
の一致回路のどちらか一方の条件が満された場合に応答
側モジュールになるようにすることにより、要求側モジ
ュールが任意の複数のモジュールと同時に通信を行なう
ことができるという効果がある。As explained above, the present invention includes, in each module, a partner address matching circuit that determines whether the own address that the module owns and the partner address sent from the requesting module match, It has a remote address register that sets the value of the target address register, and a self address match circuit that determines whether the value of the partner address register matches the own address sent from the requesting module, and the condition of either of the two match circuits is set. By allowing the requesting module to become the responding module when the following is satisfied, the requesting module can communicate with any number of modules simultaneously.
第1図は本発明の一実施例を示す図、第2図は本実施例
におけるタイムチャートを示す図、第3図は従来のバス
システムを示す図である。
3・・・要求側モジュール、4・・・応答側モジュール
、5・・・データバッファ、6・・・アドレスバッファ
、7・・・相手アドレス一致回路、8・・・自アドレス
一致回路、9・・・相手アドレスレジスタ、10・・・
自アドレスレジスタ、11・・・プロセッサ、14・・
・受信認識フリップフロップ、15・・・モジュール、
21・・・バスクロック線、22・・・内部バス、30
・・・バス、101.102・・・論理和回路。
代理人 升埋士 門 涼 首\P】l、13’?
−’2、−ノ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 a conventional bus system. 3...Request side module, 4...Response side module, 5...Data buffer, 6...Address buffer, 7...Other address matching circuit, 8...Self address matching circuit, 9. ...Partner address register, 10...
Own address register, 11... Processor, 14...
・Reception recognition flip-flop, 15... module,
21...Bus clock line, 22...Internal bus, 30
...Bus, 101.102...OR circuit. Agent: Ryo Kado \P】l, 13'?
-'2, -ノ
Claims (1)
ドレスを自アドレスとして、応答側モジュールのアドレ
スを相手アドレスとしてバス上に送信することにより通
信を行なうバス制御方式において、バス上に接続されて
いる各モジュール内に自分が持っている自アドレスと要
求側モジュールより送信された相手アドレスとが一致し
たことを判定する相手アドレス一致回路と、受信したい
相手のアドレスを設定する相手アドレスレジスタと、該
相手アドレスレジスタに設定された値と要求側モジュー
ルより送信された自アドレスとが一致したことを判定す
る自アドレス一致回路とを含み、前記自アドレス一致回
路と相手アドレス一致回路のうち少なくとも一方の条件
が満たされた場合に応答側モジュールになるようにした
ことを特徴とするバス制御方式。In a bus control method that has multiple modules and communicates by sending the requesting module's own address on the bus as its own address and the address of the responding module as the destination address, each module connected on the bus A partner address matching circuit in the module that determines whether the own address that the module has and the partner address sent from the requesting module matches, a partner address register that sets the address of the partner to whom the request is to be received, and the partner address. A self-address matching circuit that determines whether the value set in the register matches the self-address transmitted from the requesting module, and at least one of the conditions of the self-address matching circuit and the other address matching circuit is satisfied. This bus control method is characterized in that the module becomes the responding module when the module is activated.
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 true JPS6227848A (en) | 1987-02-05 |
JPH0548504B2 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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5646166A (en) * | 1979-09-19 | 1981-04-27 | Hitachi Ltd | Sealing device |
-
1985
- 1985-07-30 JP JP16873685A patent/JPS6227848A/en active Granted
Patent Citations (1)
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 |
---|---|
JPH0548504B2 (en) | 1993-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10437772B2 (en) | Addressing of slave devices on a single wire communications bus through register map address selection | |
US4550401A (en) | Delivery information packet switching system | |
JPS6227848A (en) | Bus control system | |
JP2957354B2 (en) | Signal transfer method | |
JPH01129548A (en) | Communication controller | |
JPS6263360A (en) | Bus control system | |
JPS5992653A (en) | Data transmitter | |
JPS62113258A (en) | Bus controller | |
JPS62133555A (en) | Dma address control system | |
JPS6050094B2 (en) | Data bus method | |
JPS61269545A (en) | Computer system | |
JPH0650869B2 (en) | Communication method within the same node station of circuit-switched network | |
JPH0521378B2 (en) | ||
JPH03151740A (en) | Communication controller | |
JPH0443458B2 (en) | ||
JPS59207763A (en) | Loop type full duplex communication system of data transmission line | |
JPH02164155A (en) | Communication mode for lan system | |
JPH03252848A (en) | Variable bus width designation/information reception system for split bus | |
JPS635452A (en) | Transmission controller | |
JPS62123541A (en) | Control system for reception data buffer | |
JPH02133856A (en) | Data transfer device | |
JPS63284658A (en) | Intra-system unit interface system | |
JPS62200947A (en) | Bus repeater | |
JPS62115565A (en) | System for transferring data between processors | |
JPS62125736A (en) | Data transfer equipment |