JPH01124044A - Data transmission equipment - Google Patents

Data transmission equipment

Info

Publication number
JPH01124044A
JPH01124044A JP28370487A JP28370487A JPH01124044A JP H01124044 A JPH01124044 A JP H01124044A JP 28370487 A JP28370487 A JP 28370487A JP 28370487 A JP28370487 A JP 28370487A JP H01124044 A JPH01124044 A JP H01124044A
Authority
JP
Japan
Prior art keywords
bus
data
word
request
signal
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
Application number
JP28370487A
Other languages
Japanese (ja)
Inventor
Tadashi Sato
正 佐藤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP28370487A priority Critical patent/JPH01124044A/en
Publication of JPH01124044A publication Critical patent/JPH01124044A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To continuously write or read out 1-word or 2-word data without deteriorating responseness by providing the title equipment with a bus request/ gate control means for writing or reading out data consisting of one word or plural words and a bus determining mean for sending bus authorized signals. CONSTITUTION:When a corresponding bus request/gate control means 10 is accessed from each of bus masters 21, 22...,5 a bus request signal is sent to the bus determining means 30. At the time of receiving the bus request signal, the means 30 sends bus authorized signals at a fixed rate in the order of priority. The means 10 controls plural write data gates 11, 12 and plural read data gates 13, 14 for data divided in each word to selectively open the gate and writes or reads out one-word or plural-word data. Consequently, data of one word or more can be continuously written or read out without deteriorating responseness.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、複数の装置が共有メモリを用いてデータの読
出し・書込みを行う例えばプロセス制御システム等に利
用するデータ伝送装置に係わり、特にプロトコルを持た
ないで非同期アクセスにて2ワードデータを読出しまた
は書込み可能とするデータ伝送装置の改良に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a data transmission device used in, for example, a process control system where a plurality of devices read and write data using a shared memory. In particular, the present invention relates to an improvement of a data transmission device that can read or write 2-word data by asynchronous access without having a protocol.

(従来の技術) 通常、化学プラント、鉄鋼プラントその他の各種のプロ
セス制御システムでは、主装置側と各外部機器間で短時
間に即応的に応答動作を行いながら必要な処理を行う必
要性から実時間制御を滴定すべく高速性および各外部機
器との簡易な接続性が要求される。その理由はデータの
伝送速度を上げても各外部機器との間のデータ授受のプ
ロトコルが複雑であればデータの伝送速度は最終的に低
下するためである。
(Conventional technology) Generally, in various process control systems such as chemical plants, steel plants, etc., it is necessary to perform necessary processing while quickly responding between the main equipment side and each external device. High speed and easy connectivity with external devices are required for titrating time control. The reason for this is that even if the data transmission speed is increased, if the protocol for exchanging data with each external device is complicated, the data transmission speed will eventually decrease.

そこで、従来、上記要求を満足させるものとして、第7
図に示すようなコモンメモリ(共有メモリ)方式が考え
られている。この方式は例えば16ビツトの共通バス1
に複数の外部機器21゜22、・・・および主装置3が
それぞれ接続され、この主装置3には各外部機器21 
+  22 + ・・・の送信エリアに分割して割当て
られたコモンメモリ4および装置基本部5が設けられ、
各外部機器21 +22、・・・が送信権を得たとき自
局の送信エリアのデータを他局へ同報通信し、他局はそ
のデータを前記自局の送信エリアと同じようなエリア部
分に格納していく方式である。その結果、接続外部機器
2++22.・・・は全で同一のメモリを持つことにな
り、かつ、分割されたデータマツプさえ認識していれば
複雑なプロトコルを持つことなく他の外部機器との間で
容易にデータ通信を行うことができる。
Therefore, conventionally, the seventh
A common memory (shared memory) system as shown in the figure is being considered. This method uses, for example, a 16-bit common bus 1
A plurality of external devices 21, 22, . . . and the main device 3 are respectively connected to the main device 3.
A common memory 4 and a device basic unit 5 are provided which are divided and allocated to transmission areas of + 22 + .
When each external device 21 + 22, ... obtains the transmission right, it broadcasts data in its own transmission area to other stations, and the other stations transmit the data to areas similar to the transmission area of their own station. This method stores the data in As a result, the connected external devices 2++22. ... will all have the same memory, and as long as it recognizes the divided data map, it will be possible to easily communicate data with other external devices without having to have a complicated protocol. can.

しかし、以上のようなコモンメモリ方式においては、コ
モンメモリ4て取り扱うデータがワード(データバス長
)単位の値しか保証されていない。
However, in the above-described common memory system, the data handled by the common memory 4 is guaranteed only in units of words (data bus length).

それは、主装置3内部と外部機器21,2□11.・と
の間でプロトコルを持っていないのでコモンメモリ4へ
のアクセスが非同期となり、1ワードデータの伝送終了
時に既に他の機器でアクションを起している場合が多い
ためである。また、外部機器21+  22 + ・・
・からロック命令等を出力して共有バス1を自由に専有
させた場合、主装置基本部5においてコモンメモリ4か
らデータの読出しまたは書込む場合に時間的に間に合わ
なくなる恐れがでてくるためである。そのため、主装置
基本部5あるいは各外部機器21,22.・・・等て2
ワードデータをコモンメモリ4を書込みあるいは読出し
可能とするが、時間の経過に伴って変化したワードデー
タを読出さないために、時間をあけて各ワードデータを
2度読みし前回と今回のデータの一致性を確めながらデ
ータを利用するとか、あるいはコモンメモリ4に各ワー
ドデータを書込だときにフラグ1”を立て、そのワード
データを読出したときにフラグ0”を立てることにより
、そのデータの正当性を保証しつつデータを各外部機器
21,22+ ・・・等に利用させている。
It consists of the inside of the main device 3 and the external devices 21, 2□11. This is because access to the common memory 4 is asynchronous because there is no protocol between the two devices, and in many cases, an action has already been taken by another device when the transmission of one word of data is completed. In addition, external equipment 21+ 22 +...
- If the shared bus 1 is freely monopolized by outputting a lock command etc. from the main unit basic unit 5, there is a risk that the main device basic unit 5 will not be able to read or write data from the common memory 4 in time. be. Therefore, the main device basic section 5 or each external device 21, 22. ...etc.2
Word data can be written to or read from the common memory 4, but in order to avoid reading out word data that has changed over time, each word data is read twice with an interval between the previous and current data. By using the data while checking the consistency, or by setting flag 1'' when writing each word data to the common memory 4 and setting flag 0'' when reading that word data, that data can be saved. The data is used by each external device 21, 22+, etc. while ensuring the validity of the data.

(発明が解決しようとする問題点) 従って、以上のようなデータ伝送装置においては、プロ
トコルなしでコモンメモリ4を非同期でアクセスする場
合、主伝送装置3内部でコモンメモリ4に書込んだ2ワ
ードデータの正当性をチエツクさせつつ外部機器21 
+  22 、・・・等に利用させる必要があり、その
結果、データの応答性が非常に悪化し例えば実時間制御
を行うプロセス制御システム等にとって適用しにくい問
題があった。
(Problem to be Solved by the Invention) Therefore, in the data transmission device as described above, when accessing the common memory 4 asynchronously without a protocol, the two words written to the common memory 4 inside the main transmission device 3 External device 21 while checking the validity of the data.
+ 22 , . . . , etc., and as a result, the responsiveness of the data becomes extremely poor, making it difficult to apply it to, for example, a process control system that performs real-time control.

本発明は上記実情に鑑みてなされたもので、プロトコル
なしでコモンメモリを非同期で確実にアクセスし得、か
つ、応答性の悪化を招くことなく1ワードまたは2ワー
ドデータを連続的に書込みまたは読出できるデータ伝送
装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned circumstances, and is capable of reliably accessing a common memory asynchronously without a protocol, and continuously writing or reading 1-word or 2-word data without deteriorating responsiveness. The purpose is to provide a data transmission device that can.

[発明の構成] (問題点を解決するための手段) 本発明によるデータ伝送装置は、複数のバスマスタが共
通バスを使用して非同期アクセス方式によりコモンメモ
リにデータを書込みあるいはデータを読出すデータ伝送
装置において、前記バスマスタごとに設けられバスマス
タからのアクセスに基づいてバス要求信号を出力すると
ともにバス許可信号およびワード数指定信号を受けてワ
ード単位の複数のライトデータゲートおよびリードデー
タゲートを選択的にゲート制御して前記コモンメモリに
1ワードまたは複数ワードのデータを書込みあるいはコ
モンメモリから1ワードまたは複数ワードのデータを読
出すバス要求・ゲート制御手段と、これらのバス要求・
ゲート制御手段に共通的に設けられ当該バス要求・ゲー
ト制御手段からバス要求信号を受けたときプライオリテ
ィの順に一定の割合でアクセスを許可するために前記ワ
ード数指定信号に基づいて1個または複数の前記バス許
可信号を送出するバス決定手段とを備えたものである。
[Structure of the Invention] (Means for Solving the Problems) A data transmission device according to the present invention provides data transmission in which a plurality of bus masters write data to or read data from a common memory using a common bus using an asynchronous access method. The device is provided for each bus master and outputs a bus request signal based on an access from the bus master, and selectively operates a plurality of write data gates and read data gates in units of words in response to a bus permission signal and a word number designation signal. bus request/gate control means for writing one word or multiple words of data into the common memory or reading one word or multiple words of data from the common memory through gate control;
One or a plurality of bus request signals are commonly provided in the gate control means and are configured to permit access at a fixed rate in priority order when a bus request signal is received from the bus request/gate control means based on the number of words designation signal. and bus determining means for sending out the bus permission signal.

(作用) 従って、本発明は、以上のような手段とすることにより
、各バスマスタからアクセスを受けるとバスマスタ対応
のバス要求・ゲート制御手段からバス要求信号をバス決
定手段へ送出する。このとき、バス決定手段では予め伝
送速度およびバスマスタ数等を考慮したスループットか
らアクセス周回時間が定められ、前記バス要求・ゲート
制御手段からバス要求信号を受けるとそれをラッチする
とともにプライオリティの順に一定の割合でバスマスタ
からバス要求があるか否かを判断しバス要求があればバ
ス許可信号を送出する。ここで、バス要求・、ゲート制
御手段はバス許可信号を受けるとワード単位の複数のラ
イトデータゲートおよび複数のリードデータゲートを選
択的にゲート開制御し、1ワードまたは複数ワードのデ
ータを書込みまたは読出すものである。
(Function) Accordingly, in the present invention, by using the above means, when access is received from each bus master, a bus request signal is sent from the bus request/gate control means corresponding to the bus master to the bus determining means. At this time, the bus determining means determines the access cycle time in advance from the throughput considering the transmission speed and the number of bus masters, etc., and when it receives the bus request signal from the bus request/gate control means, it latches it and assigns a certain number of signals in order of priority. It is determined whether there is a bus request from the bus master based on the ratio, and if there is a bus request, a bus permission signal is sent out. Here, when the bus request/gate control means receives the bus permission signal, it selectively controls the gate opening of a plurality of write data gates and a plurality of read data gates in word units to write or write data of one word or a plurality of words. It is something to read out.

(実施例) 以下、本発明装置の一実施例について図面を参照して説
明する。第1図は本発明装置の構成を概略的に示した図
であって、従来のコモンメモリ方式(第7図)に新たに
付加回路6が追加された構成となっている。この付加回
路6は外部機器21+22.・・・および主装置基本部
5等、つまりバスマスタごとにインタフェース機能を持
つバス要求・ゲート制御手段が設けられ、さらにバス要
求・ゲート制御手段からのバス要求に基づいてバスを決
定するバス決定手段が設けられている。7はローカルバ
スである。
(Example) Hereinafter, an example of the apparatus of the present invention will be described with reference to the drawings. FIG. 1 is a diagram schematically showing the configuration of the device of the present invention, which has a configuration in which an additional circuit 6 is newly added to the conventional common memory system (FIG. 7). This additional circuit 6 includes external devices 21+22. . . . and the main unit basic unit 5, that is, a bus request/gate control means having an interface function for each bus master, and further a bus determination means for determining a bus based on a bus request from the bus request/gate control means. is provided. 7 is a local bus.

このバス要求・ゲート制御手段10は、第2図に示すよ
うにローカルバス7と共通バス1との間の信号変換およ
び前記バス決定手段旦(第3図)に対しバス要求を行う
部分であって、具体的には各バスマスタ21,2゜、・
・・、5ごとのローカルバス7のデータライン7−1と
共通バス1のデータライン1−1間に2ワ一ド分のロー
カルなライトデータを保持するライトデータゲート11
゜12およびリード時に2ワ一ド分のデータを保持する
リードデータゲー)13.14が設けられ、同様にアド
レスライン7−2〜1−2間にアドレスゲート15が設
けられている。なお、各ゲート11〜14の入出力バス
は1ワ一ド単位に相当する16ビツト構成となっている
This bus request/gate control means 10 is a part that performs signal conversion between the local bus 7 and the common bus 1 as shown in FIG. 2, and makes a bus request to the bus determination means (FIG. 3). Specifically, each bus master 21, 2°,
..., a write data gate 11 that holds local write data for 2 words between the data line 7-1 of the local bus 7 every 5 and the data line 1-1 of the common bus 1.
12 and read data gates 13 and 14 which hold data for two words during reading are provided, and an address gate 15 is similarly provided between address lines 7-2 and 1-2. The input/output bus of each gate 11-14 has a 16-bit configuration corresponding to one word unit.

16および17はローカルバス7のコントロールライン
と共通バス1のコントロールライン1−3間に設けられ
たバス要求回路およびコモンメモリコントロール回路で
あり、そのうちバス要求回路16はローカルバス7から
のコントロール信号。
16 and 17 are a bus request circuit and a common memory control circuit provided between the control line of the local bus 7 and the control lines 1 to 3 of the common bus 1; of these, the bus request circuit 16 receives control signals from the local bus 7;

つまりコモンメモリセレクト信号7−3.リード信号7
−4.ライト信号7−5およびワード切換信号7−6等
からコモンメモリアクセスと判断するとバス要求信号1
8−1を第3図に示すバス決定手段且へ送出する機能を
有し、一方、コモンメモリコントロール回路17はバス
決定手段30からバス許可信号18−2を受けたときに
動作しチップセレクト、ライト/リード、アウトプット
イネーブル等の通常のメモリコントロール信号を作成し
コントロールライン1−3へ送出する機能を持っている
In other words, the common memory select signal 7-3. Read signal 7
-4. If it is determined that it is a common memory access from the write signal 7-5 and word switching signal 7-6, etc., the bus request signal 1
8-1 to the bus determining means shown in FIG. It has a function of creating normal memory control signals such as write/read and output enable and sending them to control lines 1-3.

19はバス決定手段30からバス許可信号18−2を受
けたとき動作し必要なゲート11〜15をコントロール
するためにコントロール信号2〇を出力するゲートコン
トロール回路、21はコモンメモリ4に対してアクセス
動作が完了したときにバスマスタへ応答信号、つまりア
クノリッジ信号7−7を返送する応答回路である。
19 is a gate control circuit which operates when receiving the bus permission signal 18-2 from the bus determining means 30 and outputs a control signal 20 in order to control the necessary gates 11 to 15; 21 is a gate control circuit that accesses the common memory 4; This is a response circuit that returns a response signal, that is, an acknowledge signal 7-7, to the bus master when the operation is completed.

次に、前記バス決定手段30は、各バスマスタ21.2
□、・・・、5共通のものであって第3図に示すように
バス要求・ゲート制御手段−1」−から送られてくるバ
ス要求に対しプライオリティ類に一定の割合、でコモン
メモリアクセスを許可する機能を持ったものであり、具
体的には前記バス要求信号18−1を一定の周期ごとに
ラッチする要求ラッチ回路31と、この要求ラッチ回路
31でラッチされたバス要求データをプライオリティ類
に取出すためのプライオリティエンコーダ32と、この
エンコーダ32から取り出したバス要求データと1ワー
ド/2ワードの切換えを示すワード切換信号7−6とに
基づいて各バスマスタのバス要求・ゲート制御手段旦へ
バス許可信号18−2を返送するセレクタ回路33等が
備えられている。
Next, the bus determining means 30 determines whether each bus master 21.2
□, ..., common to 5, and as shown in Figure 3, common memory access is performed at a certain rate for priority classes in response to bus requests sent from bus request/gate control means-1. Specifically, it has a request latch circuit 31 that latches the bus request signal 18-1 at regular intervals, and prioritizes the bus request data latched by this request latch circuit 31. Based on the priority encoder 32 for taking out the bus request data taken out from the encoder 32 and the word switching signal 7-6 indicating switching between 1 word and 2 words, the bus request/gate control means of each bus master is sent to the bus request/gate control means of each bus master. A selector circuit 33 and the like for returning the bus permission signal 18-2 is provided.

なお、バス許可信号18−2は1ワードの時には1回、
2ワードの時には2回返送する。34は基本クロックを
カウントしワード数の信号を出力するワードカウンタ、
35はワードカウンタ34のワード数に応じて前記要求
ラッチ回路31にラッチされたバス要求データを出力さ
せるとともにバス許可信号返送後にそのバス要求データ
のう・ソチ状態をリセットする要求セット・リセット回
路である。
Note that the bus permission signal 18-2 is sent once when it is one word;
If it is 2 words, it will be returned twice. 34 is a word counter that counts the basic clock and outputs a signal indicating the number of words;
Reference numeral 35 designates a request set/reset circuit which outputs the bus request data latched by the request latch circuit 31 according to the number of words in the word counter 34 and resets the lie/reset state of the bus request data after the bus permission signal is returned. be.

次に、以上のように構成された装置について、スループ
ットの割当て、ライト動作およびリード動作の順序で説
明する。
Next, the apparatus configured as described above will be explained in the order of throughput allocation, write operation, and read operation.

(1) スループットの割当て この種の装置においては、各バスマスタ21゜22、・
・・、5が共通バス1を使用するに際しこの共通バス1
のスループット、つまりデータ処理能力を考える必要が
ある。そこで、各バスマスタにおける共通バス1のスル
ープットを割当てる場合、伝送速度が重要な要件となる
。今、伝送装置としては伝送速度をMとし、かつ、共通
バス1のビット長さをLビットとすると、M/L(Mワ
ード/ s e c )以上のバススループットが必要
であり、一方、共通バス1のスループットをA (Mワ
ード/ s e c ) 、バスマスタの数をNとする
と、 (M/L) < (A/N) なる関係が成立しなければならない。このことは、バス
決定手段30では」二式から求められるN<  I (
A −L)/M1台のバスマスタに対して共通バス1を
均等に割当てる動作を行う必要がある。そのためにはバ
ス決定手段30は(N/A)時間のタイムスロットで共
通バス1をタイムシェアリングしながら各バスマスタに
順に一回ずつコモンメモリ4へのアクセス権を与えるこ
とができる。特に、2ワードのアクセスがある場合には
1台のバスマスタのアクセス時間が伸び、最悪全バスマ
スタが2ワードのアクセスを行った場合にはアクセス権
の周回時間が2倍になるが、アクセスワードを2ワード
にすれば平均値としてのスループットは変わらない。し
かも、アクセスしないバスマスタのタイムスロットをス
キップしつつ実質的には十分高速なアクセス権の周回が
行える。
(1) Throughput allocation In this type of device, each bus master 21, 22, .
..., 5 uses common bus 1, this common bus 1
It is necessary to consider the throughput, or data processing capacity. Therefore, when allocating the throughput of the common bus 1 to each bus master, the transmission speed becomes an important requirement. Now, for a transmission device, if the transmission speed is M and the bit length of common bus 1 is L bits, a bus throughput of more than M/L (M words/sec) is required. When the throughput of bus 1 is A (M words/sec) and the number of bus masters is N, the following relationship must hold: (M/L) < (A/N). This means that in the bus determining means 30, N< I (
A-L)/M It is necessary to equally allocate the common bus 1 to one bus master. To this end, the bus determining means 30 can time-share the common bus 1 in (N/A) time slots and give each bus master the right to access the common memory 4 once in turn. In particular, when two words are accessed, the access time for one bus master increases, and in the worst case, if all bus masters access two words, the access right circulation time doubles; If it is set to 2 words, the average throughput will not change. Moreover, access rights can be circulated at a sufficiently high speed while skipping the time slots of bus masters that do not access.

(2) ライト動作 バスマスタから第4図に示すようなコモンメモリセレク
ト信号、ライト信号、2ワ一ド切換信号およびアドレス
データが入力されると、バス要求・ゲート制御手段旦の
バス要求回路16は当該バスマスタからセレクトされた
と判断し、この判断結果をゲートコントロール回路19
に伝達する。
(2) Write operation When the common memory select signal, write signal, 2-word switching signal, and address data as shown in FIG. 4 are input from the bus master, the bus request circuit 16 of the bus request/gate control means It is determined that the bus has been selected by the relevant bus master, and this determination result is sent to the gate control circuit 19.
to communicate.

ここで、ゲートコントロール回路19はデータラッチ信
号を出力しライトデータをライトデータゲート11にラ
ッチさせるとともに応答回路21からアクノリッジ信号
をバスマスタへ返送し1回目のライト動作を終了する。
Here, the gate control circuit 19 outputs a data latch signal to cause the write data gate 11 to latch the write data, and the response circuit 21 returns an acknowledge signal to the bus master to complete the first write operation.

この時、バス要求回路16は2ワ一ド切換信号を受けて
いるので、この段階では1回目のアクセスであることを
記′憶している。引き続き、2回目のライト信号がくる
とバス要求回路16はバス要求信号18−1を出力する
At this time, since the bus request circuit 16 receives the 2-word switching signal, it remembers that this is the first access at this stage. Subsequently, when the second write signal comes, the bus request circuit 16 outputs the bus request signal 18-1.

ここで、バス決定手段30は第5図のタイミングに基づ
いて次のような動作を行う。なお、第5図は便宜上バス
マスタ「1」 (例えば外部機器21)は2ワードアク
セス、バスマスタ「2」(例えば外部機器22)は要求
なし、バスマスタ「3」 (例えば外部機器23)は1
ワード要求とする。しかして、これらバスマスタrlJ
  r2J。
Here, the bus determining means 30 performs the following operation based on the timing shown in FIG. For convenience, FIG. 5 shows that bus master "1" (for example, external device 21) accesses 2 words, bus master "2" (for example, external device 22) accesses no requests, and bus master "3" (for example, external device 23) accesses 1 word.
Make it a word request. However, these bus masters rlJ
r2J.

・・・からの要求は第5図の如くアクセス権の周回周期
の先頭においてワード切換信号7−6に基づいて要求セ
ット・リセット回路35が要求ラッチ信号を送出すると
、要求ラッチ回路31はそのバス要求信号18−1をラ
ッチする。このラッチされたバス要求信号はプライオリ
ティエンコーダ32へ送られ、予め定められたバスマス
タ「1」。
As shown in FIG. 5, when the request set/reset circuit 35 sends out a request latch signal based on the word switching signal 7-6 at the beginning of the cycle of the access right, the request latch circuit 31 Latch the request signal 18-1. This latched bus request signal is sent to the priority encoder 32 and assigned to a predetermined bus master "1".

「2」、・・・の順序で順に要求が出される。ここで、
セレクタ回路33はエンコーダ32の出力、ワード切換
信号およびワードカウンタ34の出力等に基づいてバス
要求を行ったバスマスタ「1」に対応するバス要求・ゲ
ート制御手段10へ2ワ一ド分のバス許可信号18−2
を送出すると同時にワードカウンタ34のワード数2を
受けて要求セット拳リセット回路35は要求ラッチ回路
31のバス要求信号のラッチをリセットする。なお、第
5図ではバスマスタ「2」がらは要求がないので、引続
き、バスマスタ「3」の要求がプライオリティエンコー
ダ32に送られて同様な処理が行われる。
Requests are issued in the order of "2", . . . . here,
Based on the output of the encoder 32, the word switching signal, the output of the word counter 34, etc., the selector circuit 33 grants bus permission for 2 words to the bus request/gate control means 10 corresponding to the bus master "1" that made the bus request. Signal 18-2
At the same time as sending out the word number 2 of the word counter 34, the request set reset circuit 35 resets the latch of the bus request signal of the request latch circuit 31. Note that in FIG. 5, since there is no request from bus master "2", the request from bus master "3" is subsequently sent to the priority encoder 32 and similar processing is performed.

バス要求ゲート制御手段ユでは、バス決定手段基から2
ワードのバス許可信号18−2をバス要求回路16で受
けると、コモンメモリコントロール回路17からコモン
メモリ4のコントロールライン1−3にコントロール信
号が送られる。
In the bus request gate control means, two
When the bus request circuit 16 receives the word bus permission signal 18-2, a control signal is sent from the common memory control circuit 17 to the control line 1-3 of the common memory 4.

また、ゲートコントロール回路19は1回目のバス許可
信号18−2に基づいてゲートコントロール信号20を
送出してライトデータゲート11とアドレスゲート15
を開き、引続き、送られてくる2回目のバス許可信号1
8−2を養けるとライトデータゲート12とアドレスゲ
ート15を開いて2ワードデータを連続してコモンメモ
リ4に書込む処理を行う。
Further, the gate control circuit 19 sends out a gate control signal 20 based on the first bus permission signal 18-2, and sends out a gate control signal 20 to the write data gate 11 and the address gate 15.
and then the second bus permission signal 1 that is sent.
8-2, the write data gate 12 and address gate 15 are opened to perform the process of writing two words of data into the common memory 4 in succession.

(3)  リード動作 次に、リード動作はほぼライト動作と同様であるが、特
に異なるのはバス要求回路16がバスマスタ側から1回
目のアクセスがあるとコモンメモリコントロール回路1
7を介してバス要求信号18−1を出力し、バス決定手
段30側からバス許可信号18−2を受けると次のアク
セスにしたがってゲートコントロール回路19からコン
トロール信号20を出力しリードデータゲート13゜1
4を制御し、2度連続してコモンメモリ4のデータをリ
ードしてリードデータゲート13.14にラッチする。
(3) Read operation Next, the read operation is almost the same as the write operation, but the difference is that when the bus request circuit 16 receives the first access from the bus master side, the common memory control circuit 1
When the bus request signal 18-1 is outputted via the bus request signal 18-1 through the bus determining means 30, the control signal 20 is outputted from the gate control circuit 19 in accordance with the next access, and the read data gate 13. 1
4, the data in the common memory 4 is read twice in succession and latched into the read data gates 13 and 14.

つまり、ゲートコントロール回路19はリードデータゲ
ート13の内容をローカルのデータライン7−1に送出
するとともに、応答回路21を介してアクノリッジ信号
7−7をバスマスタ側へ送出し1回目のリード動作を終
了する。
That is, the gate control circuit 19 sends the contents of the read data gate 13 to the local data line 7-1, and also sends an acknowledge signal 7-7 to the bus master side via the response circuit 21 to complete the first read operation. do.

2回目のアクセス時はゲートコントロール回路19がリ
ードデータゲート15を開くとともに応答回路21から
アクノリッジ信号をバスマスタへ返送することによりリ
ード動作が終了する。
During the second access, the gate control circuit 19 opens the read data gate 15 and the response circuit 21 returns an acknowledge signal to the bus master, thereby completing the read operation.

以上の一連の動作は2ワードのライト/リード動作につ
いて説明したが、1ワードの場合にはその内のコモンメ
モリ4のアクセス時の動作のみ起ったものと考えればよ
い。
The above series of operations has been described for write/read operations of two words, but in the case of one word, it can be considered that only the operation when accessing the common memory 4 among them occurs.

なお、本発明は上記実施例に限定されるものでなく、要
はコモンメモリ4を共有する非同期アクセスの全てのシ
ステムに適用できるものである。
It should be noted that the present invention is not limited to the above-mentioned embodiments, but can be applied to all asynchronous access systems that share the common memory 4.

また、バススループットさえ許せばNワードまでの連続
データの保証も可能である。その他、本発明はその要旨
を逸脱しない範囲で種々変形して実施できる。
Further, if the bus throughput is sufficient, it is possible to guarantee continuous data up to N words. In addition, the present invention can be implemented with various modifications without departing from the gist thereof.

[発明の効果] 以上詳記したように本発明によれば、プロトコルなしで
コモンメモリを非同期で確実にアクセスすることができ
、かつ、応答性の悪化を招くことなく1ワードまたは2
ワ一ド以上のデータを連続的に書込みまたは読出し可能
なデータ伝送装置を提供できる。
[Effects of the Invention] As detailed above, according to the present invention, the common memory can be reliably accessed asynchronously without a protocol, and one word or two data can be accessed without deterioration of responsiveness.
A data transmission device capable of continuously writing or reading data of one word or more can be provided.

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

第1図ないし第6図は本発明に係わるデータ伝送装置の
一実施例を説明するために示したもので、第1図は本発
明装置の概略的な構成図、第2−17 = 図はバス要求・ゲート制御手段の具体的な構成図、第3
図はバス決定手段の具体的な構成図、第4図はバス要求
・ゲート制御手段のライト動作のタイミング図、第5図
はバス決定手段の動作タイミング図、第6図はバス要求
・ゲート制御手段のリード動作のタイミング図、第7図
は従来のコモンメモリ方式を説明する装置の概略的な構
成図である。 1・・・共通バス、2..22.・・・ ・・・外部機
器、3・・・主装置、4・・・コモンメモリ、5・・・
主装置基本部、6・・・付加回路、1.0−・・・バス
要求・ゲート制御手段、11.12・・・ライトデータ
ゲート、13゜14・・・リードデータゲート、15・
・・アドレスゲート、16・・・バス要求回路、17・
・・コモンメモリコントロール回路、]9・・・ゲート
コントロール回路、−1」−・・・バス決定手段、31
・・・要求ラッチ回路、32・・・プライオリティエン
コーダ、33・・・セレクタ回路、34・・・ワードカ
ウンタ、35・・・要求セット・リセット回路。
1 to 6 are shown to explain an embodiment of the data transmission device according to the present invention, FIG. 1 is a schematic configuration diagram of the device of the present invention, and FIG. Specific configuration diagram of bus request/gate control means, Part 3
The figure shows a specific configuration diagram of the bus determination means, FIG. 4 is a timing diagram of the write operation of the bus request/gate control means, FIG. 5 is an operation timing diagram of the bus determination means, and FIG. 6 is a bus request/gate control diagram. FIG. 7 is a timing diagram of the read operation of the means, and is a schematic configuration diagram of the device for explaining the conventional common memory method. 1...Common bus, 2. .. 22. ... External device, 3... Main device, 4... Common memory, 5...
Main unit basic section, 6... Additional circuit, 1.0-... Bus request/gate control means, 11.12... Write data gate, 13° 14... Read data gate, 15.
... Address gate, 16... Bus request circuit, 17.
. . . Common memory control circuit,] 9 . . . Gate control circuit, -1" - . . Bus determining means, 31
...Request latch circuit, 32...Priority encoder, 33...Selector circuit, 34...Word counter, 35...Request set/reset circuit.

Claims (1)

【特許請求の範囲】  複数のバスマスタが共通バスを使用して非同期アクセ
ス方式によりコモンメモリにデータを書込みあるいはデ
ータを読出すデータ伝送装置において、 前記バスマスタごとに設けられバスマスタからのアクセ
スに基づいてバス要求信号を出力するとともにバス許可
信号およびワード数指定信号を受けてワード単位の複数
のライトデータゲートおよびリードデータゲートを選択
的にゲート制御して前記コモンメモリに1ワードまたは
複数ワードのデータを書込みあるいはコモンメモリから
1ワードまたは複数ワードのデータを読出すバス要求・
ゲート制御手段と、これらバス要求・ゲート制御手段に
共通的に設けられ当該バス要求・ゲート制御手段からバ
ス要求信号を受けたときプライオリティの順に一定の割
合でアクセスを許可するために前記ワード数指定信号に
基づいて1個または複数の前記バス許可信号を送出する
バス決定手段とを備えたことを特徴とするデータ伝送装
置。
[Scope of Claims] A data transmission device in which a plurality of bus masters use a common bus to write data to or read data from a common memory using an asynchronous access method, wherein the data transmission device is provided for each bus master and reads data from a common memory based on access from the bus master. Outputs a request signal and selectively gates multiple write data gates and read data gates in units of words in response to a bus permission signal and a word count designation signal to write one word or multiple words of data to the common memory. Or a bus request to read one word or multiple words of data from common memory.
The gate control means and the number of words specified are commonly provided to these bus request/gate control means and are used to permit access at a fixed rate in priority order when a bus request signal is received from the bus request/gate control means. A data transmission device comprising: bus determining means for transmitting one or more of the bus permission signals based on a signal.
JP28370487A 1987-11-10 1987-11-10 Data transmission equipment Pending JPH01124044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28370487A JPH01124044A (en) 1987-11-10 1987-11-10 Data transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28370487A JPH01124044A (en) 1987-11-10 1987-11-10 Data transmission equipment

Publications (1)

Publication Number Publication Date
JPH01124044A true JPH01124044A (en) 1989-05-16

Family

ID=17669000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28370487A Pending JPH01124044A (en) 1987-11-10 1987-11-10 Data transmission equipment

Country Status (1)

Country Link
JP (1) JPH01124044A (en)

Similar Documents

Publication Publication Date Title
US4158235A (en) Multi port time-shared associative buffer storage pool
US5412788A (en) Memory bank management and arbitration in multiprocessor computer system
US5392412A (en) Data communication controller for use with a single-port data packet buffer
EP0226096B1 (en) Multiple-hierarchical-level multiprocessor system
RU2377729C2 (en) Method and device for accessing message memory of communication module
US4780812A (en) Common memory system for a plurality of computers
JPS61150059A (en) Data processor
US4611275A (en) Time sharing device for access to a main memory through to a single bus connected between a central computer and a plurality of peripheral computers
US6141736A (en) Arrangement with master and slave units
EP1255375B1 (en) Plural station memory data sharing system
WO1981002798A1 (en) Computer system and interface therefor
JPH01124044A (en) Data transmission equipment
EP0269370B1 (en) Memory access controller
GB2039102A (en) Buffer memory system
JPS5810021B2 (en) Time division multiplex network system
JPS593614A (en) Priority control system
US4570218A (en) System for the detection of programmable stop codes
JPS61150056A (en) Direct memory access controller
CA1309503C (en) Selective receiver for each processor in a multiple processor system
JPS6029139B2 (en) Connection method between processing units
GB2170624A (en) Communication between computers
JPS5932815B2 (en) data processing system
RU1835551C (en) Data processor
JPH04282938A (en) Communication controller
JP2001318906A (en) Multiprocessor device