JPH07121463A - Data communication control system - Google Patents

Data communication control system

Info

Publication number
JPH07121463A
JPH07121463A JP5268656A JP26865693A JPH07121463A JP H07121463 A JPH07121463 A JP H07121463A JP 5268656 A JP5268656 A JP 5268656A JP 26865693 A JP26865693 A JP 26865693A JP H07121463 A JPH07121463 A JP H07121463A
Authority
JP
Japan
Prior art keywords
data
ram
address
bus
writing
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
JP5268656A
Other languages
Japanese (ja)
Inventor
Motoharu Honda
素春 本多
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.)
Canon Machinery Inc
Original Assignee
Nichiden Machinery 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 Nichiden Machinery Ltd filed Critical Nichiden Machinery Ltd
Priority to JP5268656A priority Critical patent/JPH07121463A/en
Publication of JPH07121463A publication Critical patent/JPH07121463A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To realize a data communication by writing the information written in each RAM arranged in the prescribed address sections in the RAM of the opposite party, between two data processing systems. CONSTITUTION:In two data processing systems having each independent bus, data is written in a RAM 101 enabling the writing at a prescribed address section from the bus of a first data processing system 100, and at the same time, the address and data is written in an FIFO memory 102. The address and data written and stored in the FIFO memory are read in order of older address and data and are transmitted to a second data processing system 200 via a communication path 1. The signal transmitted to a second data processing system is received by the reception circuit 204 of this system, the signal is decoded into address and data, and this data is written in the address where a RAM 201 enabling the writing at a prescribed address section is received from the bus of this system, mediating between data and the reading and writing from the bus.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は複数のマイクロコンピュ
ータを利用した分散制御型データ処理システム間のデー
タ通信制御方式、特に各々の局地的制御システム間でデ
ータを送受信するためのデータ通信制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication control method between distributed control type data processing systems using a plurality of microcomputers, and more particularly to a data communication control method for transmitting / receiving data between respective local control systems. Regarding

【0002】[0002]

【従来の技術】一つのコンピュータシステム上のデータ
の変更を他のコンピュータシステムに反映する方法とし
て、従来はRAM上のデータを変更するとともにRAM
とは別個に設けた送信回路に対してソフトウェアの働き
によってデータ自身と何のデータであるかの情報を付加
して送出し、受信側では受信回路で情報を受け、ソフト
ウェアによりデータを区別してRAMにストアしてい
た。
2. Description of the Related Art As a method of reflecting a change in data on one computer system on another computer system, a conventional method is to change the data on the RAM and the RAM.
Data is added to the transmission circuit provided separately from the data by the action of software and transmitted, and the receiving side receives the information on the receiving side, and the data is discriminated by the software and RAM Had been stored in.

【0003】あるいは前記と同様の回路構成で何のデー
タであるかの情報を付加することをしない代わりにデー
タの送受が必要な可能性のある全アドレス区分に渡って
順次一括に転送する方法がとられていた。
Alternatively, instead of not adding information on what data is in the same circuit configuration as described above, there is a method in which data is sequentially sent and received collectively over all address divisions that may require transmission / reception of data. It was taken.

【0004】また、デバイス自身が複数のアクセスポー
トを持つRAMを使用するか、アクセス権を調停する回
路を付加して、複数のコンピュータシステムから単一の
RAMを共有することによりシステム間のデータ送受信
をしていた。
Further, the device itself uses a RAM having a plurality of access ports, or a circuit for arbitrating the access right is added, and a single RAM is shared by a plurality of computer systems, thereby transmitting and receiving data between the systems. I was doing

【0005】[0005]

【発明が解決しようとする課題】ところで、前者は、送
信側で何のデータであるかの情報を付加して受信側でそ
れを区分する処理と通信を制御するためのソフトウェア
が必要でソフトウェアの負担が大きくなり、あるいは一
括転送する方法では変更されていない冗長な情報が含ま
れるため、処理に時間がかかり、特に高速なリアルタイ
ム動作を要求される装置組み込みシステムでは装置全体
の応答性能を阻害する要因となっていた。
By the way, the former requires software for adding information about what data is on the transmitting side and distinguishing it on the receiving side, and software for controlling communication. Since the load becomes large or redundant information that is not changed by the method of batch transfer is included, it takes a long time to process, and particularly in a device embedded system that requires high-speed real-time operation, it hinders the response performance of the entire device. It was a factor.

【0006】また、後者は前者の欠点であるソフトウェ
アの負担を軽減して処理時間を短くすることに有効であ
るが、各々のコンピュータシステムのバスを分離するこ
とはできても共有するRAMがそれぞれのバスに接続さ
れるため、電気的に分離することが不可能で、各々のシ
ステムの設置位置を遠くすることができないという問題
があった。
The latter is effective in reducing the load of software, which is a drawback of the former, and shortening the processing time. However, although the buses of the respective computer systems can be separated, the shared RAMs are different from each other. Since it is connected to the bus, it is impossible to electrically separate them, and there is a problem that the installation positions of the respective systems cannot be far apart.

【0007】従って、本発明は上記問題点に鑑みて提案
されたものであり、ソフトウェアの負担を軽くして処理
時間の短縮を図り、かつ、2つのシステム間の電気的接
合を疎にして、システムの設置位置を遠くすることを可
能にするものである。
Therefore, the present invention has been proposed in view of the above problems, and reduces the load of software to shorten the processing time and loosens the electrical connection between two systems. This makes it possible to increase the installation position of the system.

【0008】[0008]

【課題を解決するための手段】上記目的を達成する技術
的手段として、本発明はバスから所定のアドレス区間で
書き込み可能にしたRAM、このRAMに書き込みが生
じたときRAMに対するアドレスとデータを書き込むF
IFOメモリおよびこのFIFOメモリの出力から順次
アドレスとデータを切り出して送出する送信回路を具備
する第1のデータ処理システムと、第1のデータ処理シ
ステムの送信回路から送られた信号を受信してアドレス
とデータを復号する受信回路およびバスから所定のアド
レス区間で書き込み可能にしたRAMを具備する第2の
データ処理システムと、第1と第2のデータ処理システ
ムを接続する通信路とにより構成し、第2のデータ処理
システムは、RAMに対してバスからの読み書きを調停
するとともに受信回路により復号されたRAMのアドレ
スに対して復号されたデータを書き込む手段を有するこ
とを特徴とする。
As a technical means for achieving the above object, the present invention is a RAM which is writable in a predetermined address section from a bus, and when writing occurs in this RAM, an address and data for the RAM are written. F
A first data processing system including an IFO memory and a transmission circuit that sequentially cuts out an address and data from an output of the FIFO memory and sends the address and data, and receives a signal sent from the transmission circuit of the first data processing system and receives the address. And a second data processing system including a receiving circuit for decoding data and a RAM writable in a predetermined address section from a bus, and a communication path connecting the first and second data processing systems, The second data processing system is characterized by including means for arbitrating read / write from the bus to the RAM and writing the decoded data to the address of the RAM decoded by the receiving circuit.

【0009】両方のシステムに送信と受信の機能をもた
せることにより相互にデータを共有することが可能とな
る。
By allowing both systems to have a transmission function and a reception function, it becomes possible to share data with each other.

【0010】[0010]

【作用】送信側ではRAMに対する書き込み、受信側で
はRAMの参照という単純な処理で通信が可能となるこ
とでソフトウェアの負担が軽減され、処理時間を短縮で
きる。
Since the communication can be performed by a simple process of writing to the RAM on the transmitting side and referring to the RAM on the receiving side, the load of software is reduced and the processing time can be shortened.

【0011】双方の処理システムは通信路により疎結合
され、システム間の距離は通信路の能力に依存する。
Both processing systems are loosely coupled by a channel, and the distance between the systems depends on the channel's capabilities.

【0012】[0012]

【実施例1】本発明に係るデータ通信制御方式の第1実
施例を図1を参照しながら説明する。第1のデータ処理
システム100のアドレスバス191、データバス19
2およびコントロールバス193を有するバス190か
ら所定のアドレス区間で書き込み可能にしたRAM10
1にデータが書き込まれると、同時にFIFOメモリ1
02にそのアドレスとデータが書き込まれる。FIFO
メモリに書き込まれて蓄えられたアドレスとデータは古
い順に読み出されて送信回路103により通信路1を介
して第2のデータ処理システム200に送信される。第
2のデータ処理システムに送られた信号はこのシステム
の受信回路204により受信されアドレスとデータに復
号されて、このシステムのアドレスバス291、データ
バス292、およびコントロールバス293を有するバ
ス290から所定のアドレス区間で書き込み可能にした
RAM201の受信されたアドレスに、バスからの読み
書きと調停しつつデータが書き込まれる。
First Embodiment A first embodiment of a data communication control system according to the present invention will be described with reference to FIG. Address bus 191 and data bus 19 of the first data processing system 100
2 and a RAM 10 made writable in a predetermined address section from a bus 190 having a control bus 193
When the data is written to 1, the FIFO memory 1
The address and data are written in 02. FIFO
The addresses and data written and stored in the memory are read out in the oldest order and transmitted by the transmission circuit 103 to the second data processing system 200 via the communication path 1. The signal sent to the second data processing system is received by the receiving circuit 204 of this system, is decoded into an address and data, and is transmitted from the bus 290 having the address bus 291, the data bus 292, and the control bus 293 of this system. The data is written to the received address of the RAM 201 which is made writable in the address section while arbitrating the reading and writing from the bus.

【0013】第1図のデータ通信制御方式の回路図を第
2図を参照しながら説明する。先ず第1のデータ処理シ
ステム300について説明する。アドレスデコーダ30
5はアドレスバス391の上位アドレス341がRAM
301を指し示すアドレス区分と一致するとき出力34
6が有効になり、この出力とコントロールバス393の
メモリ読み出し信号344の論理積をとることによりR
AMに対する読み出し信号347を有効にし、この出力
とコントロールバスのメモリ書き込み信号345の論理
積をとることによりRAMに対する書き込み信号348
を有効にする。RAMは書き込み信号が有効になったと
き、アドレスバスの下位アドレス342で指定されるR
AM内の記憶回路にデータバス392のデータ343を
転送し、保持する。またRAMは読み出し信号が有効に
なったとき、アドレスバスの下位アドレスで指定される
RAM内の記憶回路で保持されたデータをデータバスに
対して出力する。
A circuit diagram of the data communication control system of FIG. 1 will be described with reference to FIG. First, the first data processing system 300 will be described. Address decoder 30
5, the upper address 341 of the address bus 391 is a RAM
Output 34 when the address segment indicating 301 is matched
6 becomes valid, and the logical product of this output and the memory read signal 344 of the control bus 393 causes R
The write signal 348 for the RAM is obtained by activating the read signal 347 for the AM and taking the logical product of this output and the memory write signal 345 for the control bus.
To enable. When the write signal becomes valid, the RAM is designated by the lower address 342 of the address bus.
The data 343 on the data bus 392 is transferred to and held in the storage circuit in the AM. When the read signal becomes valid, the RAM outputs the data held in the storage circuit in the RAM specified by the lower address of the address bus to the data bus.

【0014】FIFOメモリ302はデータバスの語長
とRAMに入力する下位アドレスバスのビット数を合計
したサイズを記憶単位とする。バスからRAMに対する
書き込みが行なわれると、RAMに書き込んだアドレス
とデータがFIFOメモリにも書き込まれる。ただしF
IFOメモリの満杯信号352が有効であるときにRA
Mに書き込みが行なわれるとコントロールバスのワイヤ
ードORされたウェイト信号357を有効にしてFIF
Oメモリの満杯信号が無効になるまでバス390の動作
を一時中断する。FIFOメモリは書き込みが行なわれ
た順にアドレスとデータを記憶素子に保持し、読み出し
が行なわれると古い順に記憶素子からアドレスとデータ
を読み出す。書き込んだ情報数と読み出した情報数の差
はFIFOメモリが保持する有効な情報数としてFIF
Oメモリ内部で計数される。FIFOメモリ内部の有効
な情報数の計数値が0であればFIFOメモリ空信号3
53が有効になり、0でなければFIFOメモリ空信号
は無効になる。またFIFOメモリの情報数の計数値が
FIFOメモリ素子全体の記憶容量と一致すると満杯信
号が有効になり、書き込みを禁止する。
The FIFO memory 302 has a storage unit of a size obtained by adding the word length of the data bus and the number of bits of the lower address bus input to the RAM. When data is written to the RAM from the bus, the address and data written to the RAM are also written to the FIFO memory. However, F
RA when IFO memory full signal 352 is valid
When data is written to M, the wired OR wait signal 357 of the control bus is validated to enable the FIF.
The operation of the bus 390 is suspended until the O memory full signal becomes invalid. The FIFO memory holds addresses and data in a storage element in the order in which writing is performed, and reads out the addresses and data from the storage element in the order of oldness when reading is performed. The difference between the number of written information and the number of read information is defined as the effective number of information held in the FIFO memory in the FIFO.
It is counted inside the O memory. If the count value of the number of valid information in the FIFO memory is 0, the FIFO memory empty signal 3
53 is valid and if not 0, the FIFO memory empty signal is invalid. When the count value of the number of information items in the FIFO memory matches the storage capacity of the entire FIFO memory element, the full signal becomes valid and writing is prohibited.

【0015】発振器306はFIFOメモリ空信号が無
効のとき矩形波を発生し、ここで発生した矩形波は読み
出し信号350としてFIFOメモリに、クロック信号
358としてドライバ323に与えられる。FIFOメ
モリは発振器から読み出し信号を与えられると書き込み
のあった古い順にデータとアドレスを出力する。
The oscillator 306 generates a rectangular wave when the FIFO memory empty signal is invalid, and the rectangular wave generated here is supplied to the FIFO memory as a read signal 350 and to the driver 323 as a clock signal 358. When the FIFO memory receives a read signal from the oscillator, the FIFO memory outputs data and addresses in the oldest written order.

【0016】データバスの語長と同数だけ並列に設けら
れたドライバ321と、RAMに入力する下位アドレス
のビット数と同数だけ並列に設けられたドライバ322
は、ドライバ323から出力されるクロック信号と同期
してFIFOメモリから読み出した情報を通信路2に送
出する。
The drivers 321 are provided in parallel by the same number as the word length of the data bus, and the drivers 322 are provided in parallel by the same number as the number of bits of the lower address input to the RAM.
Sends the information read from the FIFO memory to the communication path 2 in synchronization with the clock signal output from the driver 323.

【0017】次に第2のデータ処理システム400につ
いて説明する。レシーバ428により受信するクロック
信号が無効なとき、データセレクタ407の出力はデー
タバス492のデータ443とアドレスバス491の下
位アドレス442を出力する。アドレスデコーダ405
は、アドレスバスの上位アドレス441がRAM401
のアドレス区分と一致するとき出力446が有効にな
り、コントロールバス493のメモリ読み出し信号44
4あるいはメモリ書き込み信号445と論理積をとるこ
とにより、RAMに対する読み出し信号447あるいは
書き込み信号448を制御する。RAMのデータ端子4
12は読み出し時には出力となり、書き込み時は入力と
なるため、デコードされたメモリ読み出し信号により制
御されたスリーステートゲート414,415により、
RAMの読み出し時はRAMからデータバスに信号を送
り、それ以外の時はデータセレクタのデータ端子413
からRAMのデータ端子に信号が送られる。これにより
RAMはバスからの読み書きを受け付ける。
Next, the second data processing system 400 will be described. When the clock signal received by the receiver 428 is invalid, the output of the data selector 407 outputs the data 443 of the data bus 492 and the lower address 442 of the address bus 491. Address decoder 405
Indicates that the upper address 441 of the address bus is the RAM 401.
Output 446 becomes valid when the address section of the control bus 493 coincides with the memory read signal 44 of the control bus 493.
4 or the memory write signal 445, and the read signal 447 or the write signal 448 for the RAM is controlled. RAM data terminal 4
Since 12 is an output when reading and an input when writing, the three-state gates 414 and 415 controlled by the decoded memory read signal
A signal is sent from the RAM to the data bus when the RAM is read, and at other times, the data terminal 413 of the data selector.
From the RAM to the data terminal of the RAM. As a result, the RAM accepts reading and writing from the bus.

【0018】クロック信号が有効になると、データセレ
クタの出力はクロック信号と同期してレシーバ426に
より受信したデータ信号及びレシーバ427により受信
したアドレス信号を出力する。同時にRAMに対する書
き込み信号が有効にされ、RAMの受信したアドレスに
このデータを書き込む。クロック信号が有効になってい
るときにバスからRAMに対する読み書きが発生する
と、コントロールバスに対してワイヤードORされたウ
ェイト信号457を有効にし、バスの動作を一時中断す
る。
When the clock signal becomes valid, the output of the data selector outputs the data signal received by the receiver 426 and the address signal received by the receiver 427 in synchronization with the clock signal. At the same time the write signal to the RAM is enabled and writes this data to the received address of the RAM. When a read / write operation from the bus to the RAM occurs while the clock signal is enabled, the wired OR wait signal 457 is enabled to the control bus and the bus operation is suspended.

【0019】以上に説明した働きにより、送信側でRA
M301に書き込まれた内容は受信側のRAM401に
転送される。
Due to the operation described above, the RA on the transmitting side
The contents written in M301 are transferred to the RAM 401 on the receiving side.

【0020】[0020]

【実施例2】本発明に係るデータ通信制御方式の第2実
施例を図3を参照しながら説明する。第1のデータ処理
システム500のアドレスバス591、データバス59
2およびコントロールバス593を有するバス590か
ら所定のアドレス区間で書き込み可能にしたRAM50
1にこのシステムのバスからデータが書き込まれると、
同時にFIFOメモリ502にそのアドレスとデータが
書き込まれる。FIFOメモリに書き込まれて蓄えられ
たアドレスとデータは古い順に読み出されて送信回路5
03により通信路3を介して第2のデータ処理システム
600に送信される。第2のデータ処理システムに送ら
れた信号はこのシステムの受信回路604により受信さ
れアドレスとデータに復号されて、このシステムのアド
レスバス691、データバス692及びコントロールバ
ス693を有するバス690から所定のアドレス区間で
書き込み可能にしたRAM601の受信されたアドレス
に、バスからの読み書きと調停しつつデータが書き込ま
れる。
Second Embodiment A second embodiment of the data communication control system according to the present invention will be described with reference to FIG. Address bus 591 and data bus 59 of the first data processing system 500
2 and a RAM 50 writable from a bus 590 having a control bus 593 in a predetermined address section
When data is written from the bus of this system to 1,
At the same time, the address and data are written in the FIFO memory 502. The addresses and data written and stored in the FIFO memory are read out in the order of oldest, and the transmission circuit 5
03 to the second data processing system 600 via the communication path 3. The signal sent to the second data processing system is received by the receiving circuit 604 of this system and is decoded into an address and data, and is transmitted from the bus 690 having the address bus 691, the data bus 692 and the control bus 693 of this system to a predetermined signal. Data is written to the received address of the RAM 601 that is writable in the address section while arbitrating with reading and writing from the bus.

【0021】第2のデータ処理システムのバス690か
らRAM601にデータが書き込まれると、同時にFI
FOメモリ602にそのアドレスとデータが書き込まれ
る。FIFOメモリに書き込まれて蓄えられたアドレス
とデータは古い順に読み出されて送信回路603により
通信路を介して第1のデータ処理システムに送信され
る。第1のデータ処理システムに送られた信号はこのシ
ステムの受信回路504により受信されアドレスとデー
タに復号されて、RAM501の受信されたアドレス
に、バスからの読み書きと調停しつつこのデータが書き
込まれる。
When data is written to the RAM 601 from the bus 690 of the second data processing system, at the same time as the FI.
The address and data are written in the FO memory 602. The addresses and data written and stored in the FIFO memory are read out in the oldest order and transmitted by the transmission circuit 603 to the first data processing system via the communication path. The signal sent to the first data processing system is received by the receiving circuit 504 of this system, decoded into an address and data, and this data is written to the received address of the RAM 501 while arbitrating between reading and writing from the bus. .

【0022】図3のデータ通信制御方式の回路図を図4
を参照しながら説明する。メモリデコーダ708はアド
レスバス791の上位アドレス741がRAM701を
指し示すアドレス区分と一致し、コントロールバス79
3からメモリ書き込み信号745を入力すると出力信号
748と749を有効にし、メモリ読みだし信号744
を入力すると出力信号747と749を有効にする。
FIG. 4 is a circuit diagram of the data communication control system of FIG.
Will be described with reference to. The memory decoder 708 determines that the high-order address 741 of the address bus 791 matches the address section indicating the RAM 701,
When the memory write signal 745 is input from No. 3, the output signals 748 and 749 are validated, and the memory read signal 744
Input makes the output signals 747 and 749 valid.

【0023】I/Oデコーダ709は、アドレスバスの
アドレス740が入力ポート711および出力ポート7
10のアドレス区分と一致し、コントロールバスからI
/O読みだし信号754を入力すると入力ポート711
に対する読みだし信号760を有効にし、I/O書き込
み信号755を入力すると出力ポート710に対する書
き込み信号761を有効にする。
In the I / O decoder 709, the address 740 of the address bus is input port 711 and output port 7
Matches 10 address divisions, and I from the control bus
/ O read signal 754 is input, input port 711
When the I / O write signal 755 is input and the read signal 760 for the output port 710 is input, the write signal 761 for the output port 710 is input.

【0024】データセレクタ707は、排他制御のため
の出力ポートの出力756が有効であるか受信クロック
858が無効であるときはRAMをバスからの読み書き
を受け付けるようにし、出力ポートの出力が無効であっ
て受信クロックが有効となったときはRAMに受信アド
レス842と受信データ843が送られるように切り替
える。
When the output 756 of the output port for exclusive control is valid or the reception clock 858 is invalid, the data selector 707 causes the RAM to accept reading and writing from the bus, and the output of the output port is invalid. When the reception clock is valid, the RAM is switched so that the reception address 842 and the reception data 843 are sent to the RAM.

【0025】FIFOメモリ702はデータバス792
の語長とRAMに対する下位アドレスバスのビット数を
合計したサイズを記憶単位とする。バスからRAMに対
する書き込みが行なわれると、RAMに書き込んだアド
レスとデータがFIFOメモリにも書き込まれる。ただ
しFIFOメモリの満杯信号752が有効であるときに
RAMに書き込みが行なわれるとコントロールバスのワ
イヤードORされたウェイト信号757を有効にしてF
IFOメモリの満杯信号が無効になるまでバスの動作を
一時中断する。
The FIFO memory 702 is a data bus 792.
The storage unit is the size of the sum of the word length and the number of bits of the lower address bus for the RAM. When data is written to the RAM from the bus, the address and data written to the RAM are also written to the FIFO memory. However, if the RAM memory is written while the full signal 752 of the FIFO memory is valid, the wired OR wait signal 757 of the control bus is validated and F
Suspend bus operation until the IFO memory full signal is disabled.

【0026】FIFOメモリは書き込みが行なわれた順
にアドレスとデータを記憶素子に保持し、読み出しが行
なわれると古い順に記憶素子からアドレスとデータを書
き出す。書き込んだ情報数と読み出した情報数の差はF
IFOメモリが保持する有効な情報数としてFIFOメ
モリ内部で計数される。FIFOメモリ内部の有効な情
報数の計数値が0であればFIFOメモリ空信号753
が有効になり、0でなければFIFOメモリ空信号が無
効になる。またFIFOメモリが保持する情報数の計数
値がFIFOメモリ素子全体の記憶容量と一致すると満
杯信号が有効になり、書き込みを禁止する。
The FIFO memory holds addresses and data in storage elements in the order in which they are written, and writes out addresses and data from the storage elements in the oldest order when reading is performed. The difference between the number of written information and the number of read information is F
The number of valid information held in the IFO memory is counted inside the FIFO memory. If the count value of the number of valid information inside the FIFO memory is 0, the FIFO memory empty signal 753
Is valid, and if not 0, the FIFO memory empty signal is invalid. When the count value of the number of information held in the FIFO memory matches the storage capacity of the entire FIFO memory element, the full signal becomes valid and writing is prohibited.

【0027】発振器706はFIFOメモリ空信号が無
効であるときに矩形波を発振し、読み出し信号750と
してFIFOメモリに与えられるとともに、クロック信
号758としてドライバ723により通信路4を通して
相手側システムに送られる。FIFOメモリは発振器か
ら読み出し信号を与えられると書き込みのあった古い順
にデータとアドレスを出力し、その情報が送信データド
ライバ721と送信アドレスドライバ722により通信
路を通して相手側システムに送られる。FIFOメモリ
の空信号はドライバ724により通信路を通して相手側
システムに通知される。
The oscillator 706 oscillates a rectangular wave when the FIFO memory empty signal is invalid, is given to the FIFO memory as a read signal 750, and is also sent as a clock signal 758 by the driver 723 to the other system through the communication path 4. . When the FIFO memory receives a read signal from the oscillator, the FIFO memory outputs data and addresses in the oldest written order, and the information is sent by the transmission data driver 721 and the transmission address driver 722 to the partner system through the communication path. The empty signal in the FIFO memory is notified by the driver 724 to the partner system via the communication path.

【0028】出力ポートは、バスから書き替えることが
できる1ビットパラレルポートで、排他制御として機能
する。排他制御信号を有効にすると、相手側システムか
ら送られる受信クロックを遮断することにより、RAM
の相手側システムからの書き込みを禁止する。この排他
制御の内容はドライバ725により通信路を通して相手
側システムに通知される。
The output port is a 1-bit parallel port that can be rewritten from the bus and functions as exclusive control. When the exclusive control signal is enabled, the reception clock sent from the partner system is shut off, and the RAM
Prohibit writing from the other system. The content of this exclusive control is notified by the driver 725 to the partner system via the communication path.

【0029】入力ポート711は、バスから読み出すこ
とのできるパラレルポートで、FIFOメモリの満杯信
号752、FIFOメモリの空信号753、相手側シス
テムの排他制御信号856、相手側システムのFIFO
メモリの空信号853、出力ポートの排他制御信号75
6を入力する。
The input port 711 is a parallel port which can be read from the bus. The FIFO memory full signal 752, the FIFO memory empty signal 753, the partner system exclusive control signal 856, and the partner system FIFO.
Empty signal 853 of memory, exclusive control signal 75 of output port
Enter 6.

【0030】相手側システムではこれと等価な回路を持
ち、ドライバ721は相手側の726に相当する受信デ
ータレシーバに、ドライバ722は相手側の727に相
当する受信アドレスレシーバに、ドライバ723は相手
側の728に相当する受信クロックレシーバに、ドライ
バ724は相手側の729に相当する受信空信号レシー
バに、ドライバ725は相手側の730に相当する受信
排他制御レシーバに通信路を通して接続される。
The counterpart system has a circuit equivalent to this, and the driver 721 is the reception data receiver corresponding to the counterpart 726, the driver 722 is the reception address receiver corresponding to the counterpart 727, and the driver 723 is the counterpart. No. 728 of the receiving side, the driver 724 is connected to the receiving empty signal receiver corresponding to the other side 729, and the driver 725 is connected to the receiving exclusive control receiver corresponding to the other side 730 through the communication path.

【0031】相手側の701に相当するRAMに相手側
のバスからの書き込みが発生すると、相手側の702に
相当するFIFOメモリに書き込んだアドレスとデータ
が蓄積され、相手側の706に相当する発振器からの受
信クロック信号とともに順次受信アドレスと受信データ
を受け取る。出力ポートの排他制御が無効であるときに
相手側から受信クロックと同期した受信アドレスと受信
データを受け取ると、データセレクタ707はRAMを
バスから切り放して受信アドレスに受信データを書き込
む。相手側からの受信によるRAMの書き込みとバスか
らのRAMの読み書きが同時に発生するとコントロール
バスのワイヤードORされたウェイト信号759を有効
にしてバスの動作を一時中断する。
When a write from the bus of the partner side occurs in the RAM corresponding to the partner side 701, the written address and data are accumulated in the FIFO memory corresponding to the partner side 702, and the oscillator corresponding to the partner side 706. The reception address and the reception data are sequentially received together with the reception clock signal from. When the reception control and the reception data synchronized with the reception clock are received from the other side when the exclusive control of the output port is disabled, the data selector 707 disconnects the RAM from the bus and writes the reception data to the reception address. When the writing of the RAM by the reception from the other side and the reading and writing of the RAM from the bus occur simultaneously, the wired OR wait signal 759 of the control bus is validated and the operation of the bus is temporarily suspended.

【0032】ソフトウェアで自身と相手側のFIFOメ
モリの満杯、空、排他制御状態を監視してやりとりし、
RAMの読み書きを制限することにより、RAMの情報
を共有する場合のデータの同一性を保つことができる。
The software monitors the fullness, emptyness, and exclusive control state of the FIFO memory of itself and the other side and exchanges them.
By limiting the reading and writing of the RAM, it is possible to maintain the sameness of data when the information of the RAM is shared.

【0033】なお、本実施例では通信路としてパラレル
インターフェースを想定しているが、送信側でパラレル
/シリアル変換し受信側でシリアル/パラレル変換する
ことで通信路をシリアルインターフェースとすること
や、通信路の送り側か受け側でフォトカプラ等を用いて
お互いを電気的に絶縁すること、または交流信号を変調
/復調して交流伝送とすることも可能である。
Although a parallel interface is assumed as the communication path in this embodiment, the communication path can be a serial interface by performing parallel / serial conversion on the transmitting side and serial / parallel conversion on the receiving side. It is also possible to electrically insulate each other by using a photocoupler or the like on the sending side or the receiving side of the path, or to modulate / demodulate an AC signal for AC transmission.

【0034】さらに、実施例1,2において、通信路の
受信側に第2のFIFOメモリを付加してバッファとす
ることも可能である。
Furthermore, in the first and second embodiments, it is possible to add a second FIFO memory to the receiving side of the communication path to form a buffer.

【0035】[0035]

【発明の効果】本発明によるデータ通信制御方式を用い
れば、ソフトウェアからはRAMに対する書き込みと読
み出しという単純な方法で情報の伝送が行なわれるので
ソフトウェアの開発時間の短縮と実行速度の高速化が図
れ、かつ通信路を介して疎に電気的接合をしたコンピュ
ータシステム間で共有メモリと同等の機能を実現できる
ので、その実用的価値は大である。
According to the data communication control method of the present invention, information is transmitted from software by a simple method of writing and reading to and from the RAM, so that the software development time can be shortened and the execution speed can be increased. In addition, since a function equivalent to a shared memory can be realized between computer systems that are loosely electrically connected via a communication path, its practical value is great.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明に係るデータ通信制御方式の第1実施
例を示す説明図。
FIG. 1 is an explanatory diagram showing a first embodiment of a data communication control system according to the present invention.

【図2】 図1のデータ通信制御方式の回路図。FIG. 2 is a circuit diagram of the data communication control system of FIG.

【図3】 本発明に係るデータ通信制御方式の第2実施
例を示す説明図。
FIG. 3 is an explanatory diagram showing a second embodiment of the data communication control system according to the present invention.

【図4】 図3のデータ通信制御方式の回路図。FIG. 4 is a circuit diagram of the data communication control system of FIG.

【符号の説明】[Explanation of symbols]

100,300,500,700 第1のデータ処理シ
ステム 101,301,501,701 RAM 102,302,502,702 FIFOメモリ 103,503 送信回路 504 受信回路 200,400,600,800 第2のデータ処理シ
ステム 201,401,601 RAM 602 FIFOメモリ 603 送信回路 204,604 受信回路 1,2,3,4 通信路
100, 300, 500, 700 First data processing system 101, 301, 501, 701 RAM 102, 302, 502, 702 FIFO memory 103, 503 Transmission circuit 504 Reception circuit 200, 400, 600, 800 Second data processing System 201, 401, 601 RAM 602 FIFO memory 603 Transmission circuit 204, 604 Reception circuit 1, 2, 3, 4 Communication path

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】バスから所定のアドレス区間で書き込み可
能にしたRAM、このRAMに書き込みが生じたときR
AMに対するアドレスとデータを書き込むFIFOメモ
リおよびこのFIFOメモリの出力から順次アドレスと
データを切り出して送出する送信回路を具備する第1の
データ処理システムと、前記第1のデータ処理システム
の送信回路から送られた信号を受信してアドレスとデー
タを復号する受信回路およびバスから所定のアドレス区
間で書き込み可能にしたRAMを具備する第2のデータ
処理システムと、前記第1と第2のデータ処理システム
を接続する通信路とにより構成し、前記第2のデータ処
理システムは、RAMに対してバスからの読み書きを調
停するとともに前記受信回路により復号されたRAMの
アドレスに対して復号されたデータを書き込む手段を有
するデータ通信制御方式。
1. A RAM made writable in a predetermined address section from a bus, and R when writing occurs in this RAM.
A first data processing system including a FIFO memory for writing an address and data to an AM and a transmission circuit for sequentially extracting and transmitting the address and data from an output of the FIFO memory, and a transmission circuit for the first data processing system. A second data processing system comprising a receiving circuit for receiving the received signal and decoding the address and data, and a RAM writable in a predetermined address section from the bus; and the first and second data processing systems. And a communication path to be connected, wherein the second data processing system arbitrates reading and writing from the bus to the RAM and writes the decoded data to the address of the RAM decoded by the receiving circuit. Data communication control method having.
【請求項2】前記通信路の受信側に第2のFIFOメモ
リを付加してバッファとすることを特徴とする請求項1
記載のデータ通信制御方式
2. A second FIFO memory is added to the receiving side of the communication path to form a buffer.
Data communication control method described
【請求項3】互いに独立したバスを有するデータ処理シ
ステムのそれぞれにデータ通信回路のデータ送信側とデ
ータ受信側の両方の回路を持ち、送信側と受信側のそれ
ぞれのRAMのアドレスを同一にして互いに通信路を介
して接続し、相互のデータを共有するデータ通信制御方
式。
3. A data processing system having buses independent of each other, each circuit having both a data transmitting side and a data receiving side of a data communication circuit, and making the RAM addresses of the transmitting side and the receiving side the same. A data communication control method that connects to each other via a communication path and shares mutual data.
【請求項4】バスから所定のアドレス区間で書き込み可
能にしたRAM、このRAMに書き込みが生じたときR
AMに対するアドレスとデータを書き込むFIFOメモ
リ、このFIFOメモリの出力から順次アドレスとデー
タを切り出して送出する送信回路および相手側データ処
理システムの送信回路から送られた信号を受信してアド
レスとデータを復号する受信回路を具備し、前記RAM
に対してバスからの読み書きを調停するとともに前記受
信回路により復号されたRAMのアドレスに対して復号
されたデーータを書き込む手段を有することを特徴とす
る請求項3記載のデータ通信制御方式。
4. A RAM made writable in a predetermined address section from a bus, and R when writing occurs in this RAM.
A FIFO memory for writing an address and data to the AM, a transmission circuit for sequentially extracting and transmitting the address and data from the output of this FIFO memory, and a signal transmitted from the transmission circuit of the partner data processing system are received to decode the address and data. And a RAM for receiving the signal.
4. The data communication control system according to claim 3, further comprising means for arbitrating reading and writing from the bus and writing the decoded data to the address of the RAM decoded by the receiving circuit.
JP5268656A 1993-10-27 1993-10-27 Data communication control system Pending JPH07121463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5268656A JPH07121463A (en) 1993-10-27 1993-10-27 Data communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5268656A JPH07121463A (en) 1993-10-27 1993-10-27 Data communication control system

Publications (1)

Publication Number Publication Date
JPH07121463A true JPH07121463A (en) 1995-05-12

Family

ID=17461586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5268656A Pending JPH07121463A (en) 1993-10-27 1993-10-27 Data communication control system

Country Status (1)

Country Link
JP (1) JPH07121463A (en)

Similar Documents

Publication Publication Date Title
US4419728A (en) Channel interface circuit providing virtual channel number translation and direct memory access
CA2170458C (en) Multi-cluster computer system
US5392446A (en) Multiple cluster signal processor architecture
CA1129110A (en) Apparatus and method for providing byte and word compatible information transfers
EP0486167A2 (en) Multiple computer system with combiner/memory interconnection system
EP0057511B1 (en) Information processing unit
EP0427023B1 (en) Data transmission control apparatus for parallel processing system
JPH04328936A (en) Communication system
US5430844A (en) Communication control system for transmitting, from one data processing device to another, data along with an identification of the address at which the data is to be stored upon reception
KR20010053612A (en) Storage device and a method for operating the storage device
JPS6246025B2 (en)
US5163049A (en) Method for assuring data-string-consistency independent of software
JPH07121463A (en) Data communication control system
US6256696B1 (en) Information processing system comprising at least two processors
US6112259A (en) Integrated circuit for direct memory access
JPH087738B2 (en) Endian conversion method
KR950009763B1 (en) A method of data transmission and synchronization between two cpu's
JPH07271654A (en) Controller
JPH01291343A (en) Memory managing device
JP2984594B2 (en) Multi-cluster information processing system
JP2573790B2 (en) Transfer control device
US20020125501A1 (en) Integrated circuit
JP2002094576A (en) Serial communication controller
JP3304503B2 (en) Dual system multiprocessor system
RU1807495C (en) Process-to-process interface