JPS62113258A - Bus controller - Google Patents
Bus controllerInfo
- Publication number
- JPS62113258A JPS62113258A JP25304285A JP25304285A JPS62113258A JP S62113258 A JPS62113258 A JP S62113258A JP 25304285 A JP25304285 A JP 25304285A JP 25304285 A JP25304285 A JP 25304285A JP S62113258 A JPS62113258 A JP S62113258A
- Authority
- JP
- Japan
- Prior art keywords
- address
- module
- circuit
- partner
- coincidence
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理装置、におけるバスの制御装置に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus control device in an information processing device.
b &’lのモジュールをバスにより結合し、このバス
を介して各モジュールが通信を行なうという手法は広く
用いられている。このようなバス/ステムの一例として
、第3図のブロック図に示すものかめる。この場合、複
数のモジー−ル(1) −−−<n)をバスに接続し、
また、モジュール(1) −−−(n)にはそれぞれ(
1) −−−(n)のアドレスを設定する。そして。A widely used method is to connect the b&'l modules by a bus and to communicate with each other via this bus. An example of such a bus/stem is shown in the block diagram of FIG. In this case, multiple modules (1)---<n) are connected to the bus,
In addition, each module (1) --- (n) has (
1) Set the address of ---(n). and.
各モジュールは自分に設定されたアドレスと通信しよう
とする相手に設定されたアドレスをバス(l、2)上へ
送出することによりデータ転送を行なう。Each module performs data transfer by sending the address set for itself and the address set for the other party with which it wishes to communicate onto the bus (1, 2).
たとえば、モジー−ル(1)からモジュール(2)へデ
ータを転送する場合を考える。まず、モジュール(1)
はバスの使用権を獲得するための動作を行ない、このモ
ジュール(1)が使用権を獲得すると、要求側モジー−
ルとなり、バス上へ自分のアドレス(以下SAと略す)
の(1)と通信したい相手のアドレス(以下DAと略す
)の(2)と必要なデータとを送出する。モジュール(
2)は、侠求側モジーールより送出されたDAが自分の
アドレスの(2)であることを認識すると、応答側モジ
ュールとなり、送出されたSA、DA及びデータを取り
込み、さらに必要な動作を行ない、データ転送が終了す
る。For example, consider the case where data is transferred from module (1) to module (2). First, module (1)
performs an operation to acquire the right to use the bus, and when this module (1) acquires the right to use the bus, the requesting module
address (hereinafter abbreviated as SA) on the bus.
(1), the address (2) of the person with whom you wish to communicate (hereinafter abbreviated as DA), and necessary data are sent. module(
When 2) recognizes that the DA sent by the chivalry-seeking module is its own address (2), it becomes the responding module, takes in the sent SA, DA, and data, and performs the necessary operations. , data transfer ends.
次に、モジー−ル(1)から他のすべてのモジ−一ル(
2) −−−(n)へデータ転送する場合を考える。モ
ジュール(1)は、前述のようにして使用権を獲得する
と、バス上へSAの(1)とDAとしてすべてのモジュ
ール宛を表わすあらかじめ短めら扛た同報通信アドレス
(以下GAと略す)と必要なデータとを送出する。他の
すべてのモジュールは、賛求側七ジュールより送出され
たDAがOAであることを認識すると、応答側モジュー
ルとなり、送出されたSA、DA及びデータを取り込み
、さらに必要な動作を行ないデータ転送が終了する。Next, from module (1) to all other modules (
2) Consider the case of data transfer to ---(n). When module (1) acquires the right to use as described above, it sends on the bus a shortened broadcast communication address (hereinafter abbreviated as GA) that indicates the destination of all modules as SA (1) and DA. Send the necessary data. When all other modules recognize that the DA sent by the supporting side 7 Joules is OA, they become responding modules, take in the sent SA, DA, and data, perform further necessary operations, and transfer the data. ends.
以上のように従来のバス制御方式では、要求似モジュー
ルと応答側モジュールとのl対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.
上述した従来のバス制御方式では、バスの使用権を獲得
した要求側モジュールが送出する相手アドレスと自分の
アドレスが一致した場合か、又は相手アドレスがあらか
じめ定められた回報通信アドレスである場合に応答側モ
ジュールとなっである特定の1つのモジュールとだけ通
信を行なう方式なので、他のモジュールからのデータを
バス上で拒絶することができないため、処理が内に合わ
なくなることがあるという欠点かあった。In the conventional bus control method described above, a response is issued when the requesting module that has acquired the right to use the bus matches its own address with the destination address sent, or when the destination address is a predetermined broadcast communication address. Since this method communicates only with one specific module next to the side module, it is not possible to reject data from other modules on the bus, which has the disadvantage that processing may not be consistent. .
本発明の目的は、このような欠点を解決し、ある特定の
モジュールとのみ通信ができるようにして、処理を確実
に夾打てきるようにしたバス制御装置を提供することに
ある3゜
〔問題点を解決するための手段〕
本発明のバス制御装置は、要求側モジー−ルが自分のア
ドレスを第1の自アドレスとし通信相手のアドレスを第
1の相手アドレ゛スとし、応答側の各モジーールが自分
のアドレスを第2の自アドレスとし、通信すべき相手の
アドレスを第2の相手アドレスとして、バス上に伝送し
てこれら七シ−ル間の通信をするバス制御装置において
、前記第2の自アドレスと前記第1の相手アドレスとの
一致を判定する相手アドレス一致回路と、前記第2の相
手アドレスを設定する相手アドレスレジスタと、この相
手アドレスレジスタの設定アドレスと前記第1の自アド
レスとの一致を判定する自アドレス一致回路と、前記相
手アドレス一致回路の出力を前記第2のイ+1+アドレ
スの設定によりマスクする相手アドレスマスク回路と、
前記相手アドレス一致回路の一致出力があって前記相手
アドレスマスク回路によりマスクされない場合または前
記自アドレス一致回路の一致出力がめった場合前記応答
側モジー−ルを動作させる制御回路とを各モジーール内
に備えることを特徴とする。An object of the present invention is to provide a bus control device that solves these drawbacks and allows communication only with a specific module to reliably intercept processing. Means for Solving the Problems] In the bus control device of the present invention, the requesting module sets its own address as the first own address, the address of the communication partner as the first partner address, and the responding module In the bus control device in which each module sets its own address as a second own address and the address of the other party to communicate with as the second partner address, communication is carried out between these seven seals by transmitting the information on the bus. a partner address matching circuit that determines whether a second own address matches the first partner address; a partner address register that sets the second partner address; and a partner address matching circuit that determines whether the second own address matches the first partner address; a own address matching circuit that determines a match with the own address; a partner address mask circuit that masks the output of the partner address matching circuit by setting the second i+1+ address;
Each module is provided with a control circuit that operates the response module when there is a matching output from the partner address matching circuit and it is not masked by the partner address masking circuit or when there is a rare matching output from the own address matching circuit. It is characterized by
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例のブロック図、第2図は第1
図の動作を示すタイムチャートであり、ここでは、2バ
イトのパラレルバスの例を示している。図中、l、2は
それぞれ上位側の8ビツトのバスおよび下位1111の
8ビ、トのバス、3.4ffこれらバス1,2に接続で
れるモジー−ルで、ここでは要求側モジー−ル3から応
答側モジュール4−データ転送する場合を示している。FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
3 is a time chart showing the operation shown in the figure, and here, an example of a 2-byte parallel bus is shown. In the figure, l and 2 are the upper 8-bit bus and the lower 1111 8-bit bus, respectively, and 3.4ff are modules that can be connected to these buses 1 and 2. Here, the requesting module is 3 shows the case where data is transferred from the responding module 4 to the responding module 4.
また、5はラータ受信用バッファ、6は要求側モジュー
ルから転送されたSA及びDA”f格納するアドレスパ
、ファ、7は要求側モジー−ルより転送された1)Aと
応答側モジュールの自アドレスとが一致したことを判定
する相手アドレス一致回路、8け俊水側モジュールより
転送されたSAと応答側モジュールの相手アドレスレジ
スタの内容とが一致したことを判定する自アドレス一致
回路、9は受信したい相手のアドレスを設定する相手ア
ドレスレジスタ、10は応答側モジュール4の自アドレ
スレジスタ、11は応答側モジュール4内を制御するプ
ロセッサ、12は相手アドレス一致マスク回路、14は
転送されたデータが自分宛であることを認識するとセッ
トされる受信認識フリップフロップ、15は応答側モジ
ュール4と同じ構成のモジュール、21はバスクロック
線、22は応答側モジュールの内部バス、31.32は
論理和回路、33は論理積回路であり、これら回路31
〜33が制御回路を構成する。In addition, 5 is a buffer for receiving data, 6 is an address buffer for storing SA and DA'f transferred from the requesting module, and 7 is a buffer for storing 1) A and the self of the responding module transferred from the requesting module. 8 is a self-address matching circuit that determines that the SA transferred from the Shunsui side module matches the contents of the partner address register of the responding module; 10 is a self-address register of the responding module 4, 11 is a processor that controls the inside of the responding module 4, 12 is a destination address matching mask circuit, and 14 is a register in which the transferred data is set. A reception recognition flip-flop that is set when it recognizes that it is addressed to itself; 15 is a module with the same configuration as the response module 4; 21 is a bus clock line; 22 is an internal bus of the response module; 31 and 32 are OR circuits. , 33 are AND circuits, and these circuits 31
33 constitute a control circuit.
ここで要求側モジー−ル3から応答側モジ−一ル4ヘラ
ーータ転送する場合を考える。Let us now consider the case where data is transferred from the requesting module 3 to the responding module 4.
まず、要求側モジュール3がバスの使用権を獲得すると
、自分のアドレスバスlへ応答側モジュール4のアドレ
スをバス2へ送出する。この場合、バスl上のデータが
SAであり、バス2上のデータがl)Aである。送出さ
nたDAは応答側モジュール4の内部にある相手アドレ
ス−牧回路7に入力され、応答allモジーール4の自
アドレスレジスタlOの値とDAが一枚すると相手アド
レス一致回路7の出力かrlJとなる。この場合、相手
アドレス一致マスク回路12を「J 1とセットしてお
くと、次のバスクロックの立ち上りで隻信認識フリップ
フロップ14が「l」にセットされ、同時にSA及びD
Aをアドレスバッファ6へ格納しく第2図)、さらに8
AとDAに続くデータをバスタ「Jラフごとにデータバ
ッファ5へ格納する(第2図)。このようにして要求側
モジール3から送出されたデータを応答側モジ、−ル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 l to the bus 2. In this case, the data on bus l is SA and the data on bus 2 is l)A. The sent DA is input to the destination address matching circuit 7 inside the response module 4, and the value of the own address register IO of the response module 4 and the output of the destination address matching circuit 7 or rlJ when there is one DA are input. becomes. In this case, if the destination address matching mask circuit 12 is set to "J1", the one-way recognition flip-flop 14 is set to "l" at the next rising edge of the bus clock, and at the same time SA and D
A is stored in the address buffer 6 (Fig. 2), and then 8
The data following A and DA is stored in the data buffer 5 for every J rough of the bus (Figure 2).The data sent from the requesting module 3 in this way is stored in the responding module 4.
Receive crab.
ところで、例えばプロセッサ11により応答側モジュー
ル4の相手アドレスレジスタ9に扱水側七ジ1.−ル3
を示すアドレス値を設定し、また相手アドレス一致マス
ク回路12の出力を[1−1にセットしたとする。前述
と同様に要求側モジュール3かバスの使用権を獲得する
と、SAをバスlへ、DAをバス2へ送出する。要求側
モジー−ル3より送出烙れたSAは、応答側モジュール
4の内部にある自アドレス一致回路8に入力され、応答
側モジュール4の相手アドレスレジスタ9の値とSAが
一致すると、自アドレス一致回路8の出力が「1」とな
り、以後前述と同じ手順で、SA。By the way, for example, the processor 11 sets the destination address register 9 of the responding module 4 to the treated water side 7ji 1. -Le 3
Assume that the address value indicating the address matching mask circuit 12 is set to [1-1]. As described above, when the requesting module 3 acquires the right to use the bus, it sends SA to bus 1 and DA to bus 2. The SA sent from the requesting module 3 is input to the own address matching circuit 8 in the responding module 4, and when the SA matches the value of the partner address register 9 of the responding module 4, the own address is The output of the matching circuit 8 becomes "1", and SA is then performed in the same manner as described above.
1)Aをアドレスバッファ6へ、データをデータバッフ
ァ5へそれぞれ格納する。1) Store A into address buffer 6 and data into data buffer 5, respectively.
次に、応答側モジー−ル4の相手アドレスレジスタ9に
要求側モジュール3を示すアドレス値が設定され、また
相手アドレス一致マスク回路12の出力が「0」にセッ
トされている場合、要求側モジュール15が従来の方式
で応答11リモジユール4にデータを転送したとする。Next, if the address value indicating the requesting module 3 is set in the partner address register 9 of the responding module 4, and the output of the partner address matching mask circuit 12 is set to "0", the requesting module 15 transfers data to the responding remote module 4 using the conventional method.
この時、相手アドレス一致回路7の出力は「l−1とな
るが、相手アドレス一致マスク回路12の出力が「0」
であるから論理積回路33の出力は「0」のままとなり
。At this time, the output of the partner address matching circuit 7 becomes "l-1", but the output of the partner address matching mask circuit 12 becomes "0".
Therefore, the output of the AND circuit 33 remains "0".
応答側モジュール4には取り込まれずに拒絶される。It is rejected without being taken into the responding module 4.
このようにして、応答側モジュール4は要求佃モジュー
ル3のデータのみを受信し、その他のモジュールからの
データを拒絶フることかできる。In this way, the responding module 4 can only receive data from the requesting module 3 and reject data from other modules.
以上説明した様に、各モジュールは各モジュール内にあ
る相手アドレスレジスタに設定された値をアドレスに持
つ相手とのみ通信することができる。As explained above, each module can communicate only with a partner whose address has the value set in the partner address register in each module.
以上説明した様に、本発明は各モジュール自身を示すア
ドレスと要求側モジュールより送信された相手アドレス
とが一致したことを判定する相手アドレス一枚回路と、
受信したい相手のアドレスを設定する相手アドレスレジ
スタと、この相手アドレスレジスタの値と要求(1+1
1モジユールより送信された自アドレスとが一致したこ
とを判定する自アドレス一致回路と、相手アドレス一致
回路をマスクする相手アドレス一致マスク回路とを有し
、相手アト1/ス一致回路をマスクし、自アドレス一枚
目h118の条件が一致した時のみ応答側モジュールに
なるとうにすることにより、ある特定の1つのモジー−
ルとたけ通信をt工ない、他のモジュールからのテーク
をバス上で拒絶することができるので、処理が内に合わ
なくなることがなく、各処理を確実に実行することがで
きる。As explained above, the present invention includes a single destination address circuit that determines whether the address indicating each module itself matches the destination address transmitted from the requesting module;
The destination address register to set the address of the destination you want to receive, the value of this destination address register and the request (1+1
It has a self-address matching circuit that determines that the own address transmitted from the 1 module matches, and a partner address matching mask circuit that masks the partner address matching circuit, and masks the partner address matching circuit. By making it possible to become a responding module only when the conditions of the first self-address h118 are matched, one specific module
Since it is possible to reject take from other modules on the bus without having to do much communication between modules, each process can be reliably executed without causing problems in the processes.
第1図は本発明の一実施例のフロック図、第2図は第1
図の動作を示すタイムチャート、第3図は従来のバスシ
ステムの一例のブロック図である。
l・・・・・・バス(上位8ピッl−)、2・・・・・
・バス(下位8ビ、ト)、計・・・・・要−jF、側モ
ジーール、41169.。
応答側モジー−ル、5・・・・・・テークバッファ、6
・・・・°°アトレスバ、ファ、7−=°°°相手アド
レス一致回路、8゛−°−°自アドレス一致回路、9・
・・・・・相手アドレスレジスタ、lO・・・・・・自
アドレスレジスタ、11・°′・= フ0 セ、す、1
2・・・°゛相手アドレス一致マスク回路、14・・・
パ受信認識フリップフロップ、 15・・・・・・モシ
ー−ル、21・・・・・・バスクロックM、22・・・
・・・内部バス、23・・・・・・マスク回路セットク
ロック、31.32・°゛・°°論理和回路、3:う・
・・パ°論理積回路。
代理人 弁理士 内 原 賃
゛ 第1図FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a block diagram of an example of a conventional bus system. l...Bass (top 8 picks l-), 2...
・Bass (lower 8 bits, G), total...Requires -jF, side module, 41169. . Responder module, 5...Take buffer, 6
...°° Atres bar, Fa, 7-=°°° Other address matching circuit, 8゛-°-° Self-address matching circuit, 9.
・・・・・・Other address register, lO・・・・・・Self address register, 11・°′・= F0 SET, S, 1
2...°゛Counter address matching mask circuit, 14...
15...Moseal, 21...Bus clock M, 22...
・・・Internal bus, 23...Mask circuit set clock, 31.32・°゛・°°OR circuit, 3: U・
・Par° logical AND circuit. Agent Patent Attorney Uchihara Ren Figure 1
Claims (1)
とし通信相手のアドレスを第1の相手アドレスとし、応
答側の各モジュールが自分のアドレスを第2の自アドレ
スとし、通信すべき相手のアドレスを第2の相手アドレ
スとして、バス上に伝送してこれらモジュール間の通信
をするバス制御装置において、前記第2の自アドレスと
前記第1の相手アドレスとの一致を判定する相手アドレ
ス一致回路と、前記第2の相手アドレスを設定する相手
アドレスレジスタと、この相手アドレスレジスタの設定
アドレスと前記第1の自アドレスとの一致を判定する自
アドレス一致回路と、前記相手アドレス一致回路の出力
を前記第2の相手アドレスの設定によりマスクする相手
アドレスマスク回路と、前記相手アドレス一致回路の一
致出力があって前記相手アドレスマスク回路によりマス
クされない場合または前記自アドレス一致回路の一致出
力があった場合前記応答側モジュールを動作させる制御
回路とを各モジュール内に備えることを特徴とするバス
制御装置。The requesting module sets its own address as the first own address and the address of the communication partner as the first other address, and each responding module sets its own address as the second own address and sets the address of the other party with which it should communicate. In a bus control device that transmits a second address on a bus to communicate between these modules, a partner address matching circuit that determines whether the second own address and the first partner address match; a partner address register for setting the second partner address; a own address matching circuit for determining whether the address set in the second partner address register matches the first own address; If there is a matching output from the partner address mask circuit masked by the setting of the partner address in step 2 and the partner address matching circuit and it is not masked by the partner address mask circuit, or if there is a matching output from the own address matching circuit, the response A bus control device characterized in that each module includes a control circuit for operating the side modules.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25304285A JPS62113258A (en) | 1985-11-11 | 1985-11-11 | Bus controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25304285A JPS62113258A (en) | 1985-11-11 | 1985-11-11 | Bus controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62113258A true JPS62113258A (en) | 1987-05-25 |
Family
ID=17245667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25304285A Pending JPS62113258A (en) | 1985-11-11 | 1985-11-11 | Bus controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62113258A (en) |
-
1985
- 1985-11-11 JP JP25304285A patent/JPS62113258A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62113258A (en) | Bus controller | |
US7653765B2 (en) | Information communication controller interface apparatus and method | |
JPH07109598B2 (en) | Inter-module data transfer device | |
JPS6227848A (en) | Bus control system | |
JPS6113839A (en) | Method for controlling data transmission | |
EP0344915B1 (en) | Apparatus and method for processing bit streams | |
JPH02150949A (en) | Bus connecting device | |
JPS6362064A (en) | Bus converter | |
JPS58101361A (en) | Data processor | |
JP2763009B2 (en) | Semiconductor integrated circuit device for data communication | |
JPS5858671A (en) | Inter-device bus control system | |
JPH01309161A (en) | Data transfer method | |
JPS6410377A (en) | Inter-module communication system | |
JPS61269545A (en) | Computer system | |
JPH0236457A (en) | Data transfer method | |
JPH02164155A (en) | Communication mode for lan system | |
JPS6050094B2 (en) | Data bus method | |
JPH04352534A (en) | Address comparing system for communication control equipment | |
JPH03151740A (en) | Communication controller | |
JPH03262348A (en) | Address collation system | |
JPH05265923A (en) | Data transfer equipment | |
JP2000148662A (en) | Microcomputer | |
JPS61292446A (en) | Transmission line control system | |
JPS61105941A (en) | Communication control equipment | |
JPS63216153A (en) | Boot loading system |