JPS60207946A - Data transfer control system - Google Patents

Data transfer control system

Info

Publication number
JPS60207946A
JPS60207946A JP6487284A JP6487284A JPS60207946A JP S60207946 A JPS60207946 A JP S60207946A JP 6487284 A JP6487284 A JP 6487284A JP 6487284 A JP6487284 A JP 6487284A JP S60207946 A JPS60207946 A JP S60207946A
Authority
JP
Japan
Prior art keywords
processing device
command
request
communication connection
connection adapter
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
JP6487284A
Other languages
Japanese (ja)
Inventor
Kiyoshi Okamoto
清志 岡本
Noboru Ban
板 昇
Koji Kanamaru
孝二 金丸
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.)
Panafacom Ltd
Original Assignee
Panafacom 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 Panafacom Ltd filed Critical Panafacom Ltd
Priority to JP6487284A priority Critical patent/JPS60207946A/en
Publication of JPS60207946A publication Critical patent/JPS60207946A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To shorten a time up to data transfer by generating immediately a command from an interrupted processor in case of data transfer using a communication connecting adaptor. CONSTITUTION:When a writing command W+RQ from a processor CPU1 is set up in an instruction register CMR1, a microprocessor 8 is interrupted, and when the microprocessor 8 discriminates the writing command, a writing interruption request TQ(W) is sent to a processor CPU2. If the interruption is acceptable, the processor CPU2 sets up a reading command R in an instruction register CMR2 and the processor 8 reads out data from a memory 4 and stores the data in a memory 5. When the writing command W+RQ from the processor CPU2 is set up in an instruction register 216, the processor 8 is interrupted and the writing interruption request RQ(W) is sent. If writing is impossible, a nagative acknowledge command N-DMA is set up in an instruction register CMR1.

Description

【発明の詳細な説明】 (イ)発明の技術分野 本発明はデータ転送制御方式に関し、特に、互いに独立
な処理装置の間に通信連結アダプタをも装置 うり、これにより処理縁間のデータ転送制御を行なう方
式に関する。
Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a data transfer control method, and in particular, a communication connection adapter is provided between mutually independent processing devices, thereby controlling data transfer between processing edges. It relates to a method for carrying out.

(ロ)従来技術と問題点 一般に、独立の処理装置間でデータ転送を行なう場合、
肉処理装置間に通信連結アダプタをもうけ、データ転送
要求の発生した処理装置からの書込みコマンドまたは読
込みコマンドをこの通信連結アダプタ内に保持しておき
、その後、他方の処理装置からこれらのコマンドに応答
する形で読込みコマンドまたは書込みコマンドが送出さ
れてきたとき、通信連結アダプタが肉処理装置間のデー
タ転送を行なうような方式が採用されている。
(b) Prior art and problems In general, when data is transferred between independent processing devices,
A communication connection adapter is provided between the meat processing devices, the write command or read command from the processing device that has generated the data transfer request is held in this communication connection adapter, and then the other processing device responds to these commands. A system is adopted in which when a read command or a write command is sent in a manner such that a communication connection adapter transfers data between meat processing apparatuses.

ここで、従来例においては処理装置は、コマンドを発1
jするi’+ijに相手方処理装置へ割込/1要求(R
Q)を送出し、この割込み要求(+<Q)に対して相手
方処理装置が受付可の信号を送出してきた場合のみコマ
ンドを発行するようにしていた。そして、この割込み要
求(RQ)の処理方法として従来、2通りの方法があっ
た。
Here, in the conventional example, the processing device issues a command.
An interrupt/1 request (R
Q), and a command is issued only when the other party's processing device sends a signal indicating that it can accept this interrupt request (+<Q). Conventionally, there have been two methods for processing this interrupt request (RQ).

第1図は、第1の従来例を示す図であり、図中、CI)
Ul、CPU2は処理装置、CCAば通信連結アダプタ
である。第1図の例は、双方の処理装置が書込み/読出
しのために割込み要求(RQ)を発生できる方式を示し
ている。図は双方からの割込み要求(RQ)が同時に通
信連結アダプタにてで受信された場合を示しており、こ
のときには通信連結アダプタは両方の割込み要求(RQ
)を拒み、各処理装置に割込み要求(RQ)を再発行さ
せる。そして、各処理装置においては、割込み要求(R
Q)を再発行するまでの時間が異なるようにされている
。例えば、処理装置cPU1は時間t1だり待ら、処理
装置CPLI2は時間t4だけ待つようにされている。
FIG. 1 is a diagram showing a first conventional example, and in the figure, CI)
Ul and CPU2 are processing units, and CCA is a communication connection adapter. The example of FIG. 1 shows a scheme in which both processing units can generate interrupt requests (RQ) for writes/reads. The figure shows a case where interrupt requests (RQ) from both sides are received by the communication connection adapter at the same time. In this case, the communication connection adapter receives both interrupt requests (RQ)
) and causes each processing device to reissue an interrupt request (RQ). Then, in each processing device, an interrupt request (R
Q) The time it takes to reissue is set to be different. For example, the processing device cPU1 waits for a time t1, and the processing device CPLI2 waits for a time t4.

ここで、11<12とすれば、処理装置CI) U l
からの割込め要求(RQ)が先に再発出され、処理装置
CI) U lの割込みが受付けられることになる。
Here, if 11<12, the processing device CI) U l
The interrupt request (RQ) from the processing unit CI) will be reissued first, and the interrupt from the processing unit CI) will be accepted.

各処理装置毎に異なるプログラムを作成しなければなら
ないという欠点が有る。
A disadvantage is that a different program must be created for each processing device.

さらにまた、割込み要求(RQ)に対して相手処理装置
が受付可の信号(OK)を出してきζはじめてコマンド
を発行するようにしているので、実際にコマンドを出す
までに時間がかかるという問題点が有る。
Furthermore, in response to an interrupt request (RQ), a command is issued only after the other processing device issues an acceptability signal (OK), so there is the problem that it takes time to actually issue a command. There is.

次に、第2図は、第2の従来例を示す図であり、図中、
CPUI(M>はマスク側処理装置、CPU2 (S)
はスレーブ側処理装置、CCAは通信連結アダプタであ
る。第2図の方式は、マスク側処理装置のみが割込み要
求(RQ)を発出し、スレーブ側処理装置からのデータ
転送はマスク側処理装置から所定時間ごとにリード割込
み要求を発することで実行されるようにしたものである
。図中、実線のW −D A i” Aはマスク側が書
込み命令を、スレーブ側が読込み命令を発行した場合で
あり、破線のR−D A T Aはマスク側が読込み命
令。
Next, FIG. 2 is a diagram showing a second conventional example, and in the figure,
CPUI (M> is mask side processing unit, CPU2 (S)
is a slave-side processing device, and CCA is a communication connection adapter. In the method shown in Figure 2, only the mask processing device issues an interrupt request (RQ), and data transfer from the slave processing device is executed by the mask processing device issuing a read interrupt request at predetermined intervals. This is how it was done. In the figure, the solid line W-D A i''A is a case where the mask side issues a write command and the slave side issues a read command, and the broken line R-D A T A is a case where the mask side issues a read command.

1 スレーブ側0店込み命令を発行した場合である。1 This is the case when the slave side issues a 0 store command.

この第2図の従来例においても、割込み要求(RQ)に
対して相手処理装置が受付可の信号(OK)を出してき
てはじめてコマンドを発行するようにしているので、実
際にコマンドを出すまでに時間がかかるという問題点ケ
有る。さらに、スレーブ側処理装置では、転送要求が生
じても相手方からのポーリング動作がなければ動作でき
ないため、データ転送が遅くなるという欠点が有る。さ
らにまた、マスク側とスレーブ側とでデータ転送のため
の処理手順が異なるため、処理装置毎に異なるプログラ
ムを作成しなければならないという問題点が有る。
In the conventional example shown in Fig. 2, a command is issued only after the other processing device issues an acceptable signal (OK) in response to an interrupt request (RQ), so it takes until the command is actually issued. There is a problem that it takes time. Furthermore, even if a transfer request occurs, the slave-side processing device cannot operate without a polling operation from the other party, so there is a drawback that data transfer is slow. Furthermore, since the processing procedures for data transfer differ between the mask side and the slave side, there is a problem in that a different program must be created for each processing device.

(ハ)発明の目的 本発明は、上記欠点を解決し、処理装置間のデータ転送
を効率よく行なえるようにすることを1」的とする。
(c) Object of the Invention The present invention aims to solve the above-mentioned drawbacks and to enable efficient data transfer between processing devices.

(ニ)発明の構成 上記目的を達成するために本発明は、第1の処理装置と
第2の処理装置の双方に接続される通信連結アダプタを
もうけ、該通信連結アダプタにより該第1の処理装置と
第2の処理装置の相互間のデータ転送を制御するデータ
転送制御方式において、一方の処理装置から他方の処理
装置への書込みリクエストを発生させるため上記一方の
処理装置から発行されるリクエスト機能イ1書込みコマ
ンドと、該リクエスト機能付き書込みコマンドに応答し
て上記他方の処理装置から発行される読込みコマンドと
、上記一方の処理装置から他方の処理装置への読込みリ
クエストを発生させるため上記一方の処理装置から発行
されるリクエスト機能付き読込みコマンドと、該リクエ
スト機能付き読込みコマンドに応答して上記他方の処理
装置から発行される書込みコマンドと、上記リクエスト
機能付き店込みコマンドまたはリクエスト機能付き読込
みコマンドに対して上記他方の処理装置が応答できない
場合当該他方の処理装置から発行される否定応答コマン
ドとを用意するとともに、上記通信連結アダプタ内に、
上記各種コマンドを格納するためのコマンドレジスタを
上記第1の処理装置と第2の処理装置に対応してそれぞ
れ独立にもうけ、上記通信連結アダプタは、上記一方の
処理装置から上記リクエスト機能付き書込みコマンドま
たはリクエスト機能付き読込みコマンドを受領したとき
当該コマンドを保持しておくとともに上記他方の処理装
置に書込みリクエストまたは読込みリクエストを送出し
、上記他方の処理装置は当該リクエストに対して応答可
能なときは上記読込みコマンドまたは書込みコマンドを
上記通信連結アダプタに送出し、上記通信連結アダプタ
をしてデータ転送を実行せしめ、一方、上記他方の処理
装置は当該リクエストに対して応答できないときは上記
否定応答コマンドと応答不可の理由を示すデータを上記
通信連結アダプタに送出し、上記通信連結アダプタをし
て当該応答不可の理由を示すデータの転送を実行せしめ
るよう構成したことを特徴とする。
(d) Structure of the Invention In order to achieve the above object, the present invention includes a communication connection adapter that is connected to both a first processing device and a second processing device, and the communication connection adapter allows the first processing to be performed. In a data transfer control method that controls data transfer between a device and a second processing device, a request function is issued from one processing device to generate a write request from one processing device to the other processing device. A1 write command, a read command issued from the other processing device in response to the write command with a request function, and a read command issued by the one processing device to generate a read request from the one processing device to the other processing device. A read command with a request function issued by a processing device, a write command issued from the other processing device in response to the read command with a request function, and a store command with a request function or a read command with a request function. If the other processing device cannot respond to the above, a negative response command issued by the other processing device is prepared, and the communication connection adapter includes:
Command registers for storing the various commands described above are provided independently for the first processing device and the second processing device, and the communication connection adapter receives the write command with request function from one of the processing devices. Or, when a read command with a request function is received, the command is held and a write request or read request is sent to the other processing device, and the other processing device is able to respond to the request. A read command or a write command is sent to the communication connection adapter, and the communication connection adapter executes the data transfer, and if the other processing device cannot respond to the request, it sends the above negative response command and response. The present invention is characterized in that data indicating the reason for non-response is sent to the communication connection adapter, and the communication connection adapter is configured to transfer the data indicating the reason for the non-response.

(ボ)発明の実施例 以下、図面により本発明を説明する。(B) Examples of the invention The present invention will be explained below with reference to the drawings.

第3図は、本発明による1実施例の動作シーケンスをボ
ず図であり、図中、CI)Ul、CI)U2は処理装置
、CCAは通信連結7ダブタ、W−)RQはリクエスト
機能イ」き書込みコマンド、RQ(W)は店込み割込み
要求、Rは読込みコマンド。
FIG. 3 is a box diagram showing the operation sequence of one embodiment of the present invention, in which CI)Ul, CI)U2 are processing units, CCA is a communication connection 7 adapter, and W-)RQ is a request function ” write command, RQ(W) is a store interrupt request, and R is a read command.

D A TAは転送データ、N−N−1)は否定応答コ
マンド、1!、NDは終了要求、N−DNA陽は応答不
可の理由を示すデータである。
DATA is transfer data, N-N-1) is negative response command, 1! , ND is a termination request, and N-DNA (positive) is data indicating the reason for non-response.

第1図において、まず、処理装置CI) U 1がリク
エスト機能イ」き書込みコマンドW+RQを通信連結−
jダプタ゛CCへへ送出すると、1lrl信連結アダプ
タCCAは当該コマンドを自装置内に保持しておくとと
もに、処理装置CPtJ2に対して書込み割込み要求R
Q(W)を送出する。処理装置CPU2におい−C,割
込み受付可であれば、処理装置CI)U2は読込みコマ
ンドRを通信連結°1ダプクCC八に送出する。1ir
I信連llI!iアダプタCCΔでは、一方が店込み系
のコマンドであり、他方が読込み系のコマンドであるこ
とを確認した後、データ転送動作を行なう。
In FIG. 1, first, the processing device CI) U1 communicates and connects the write command W+RQ with the request function I.
When the command is sent to the J adapter CC, the 1lrl communication connection adapter CCA retains the command in its own device and sends a write interrupt request R to the processing device CPtJ2.
Sends Q(W). If the processing unit CPU2 is capable of accepting interrupts, the processing unit CI)U2 sends a read command R to the communication link CC8. 1ir
IshinrenllI! The i adapter CCΔ performs a data transfer operation after confirming that one command is a store-related command and the other is a reading-related command.

次に例えば、処理装置cPU2からのリクエスト機能(
=Jき店込みコマンドW + RQを受信して、相手処
理装置CPUIへ宿込み割込み要求RQ(W)を送出し
たとき、相手処理装置1icPU1から否定応答コマン
ドN−DMAを受(6したとき、通信連結アダプタOC
Aは、処理装置CPU2から処理装置CPUIへのデー
タ転送を行なうことなく、処理装置2へ終了要求END
を送出する。そしてその後、通信連結アダプタCCAは
、処理装置CPUI内の指定されたメモリ領域から応答
不可の理由を示ずデータN−DMATh (バンファフ
ル情報、ハードエラー情報1回線エラー情報、ソフトエ
ラー1n報、その他)を続出して、処理装置2へ転送す
る。
Next, for example, a request function (
=J When receiving the store command W + RQ and sending the hostage interrupt request RQ(W) to the partner processing device CPU1, when receiving the negative response command N-DMA from the partner processing device 1icPU1 (6), Communication connection adapter OC
A sends a termination request END to the processing device 2 without transferring data from the processing device CPU2 to the processing device CPUI.
Send out. After that, the communication connection adapter CCA sends data N-DMATh (bumper full information, hard error information, 1 line error information, soft error 1n report, etc.) from the specified memory area in the processing unit CPUI without indicating the reason for non-response. are successively output and transferred to the processing device 2.

第3図の例は、リクエスト機1jシ付き書込みコマンド
W 4− RQの使用例であるが、リクエスト機能付読
込みコマンドR+RQの場合も同様にして動結アダプタ
CCΔへ送出すると、通信連結゛rダプタCCAは当該
コマンドを自装置内に保持しておくとともに、処理装置
CPtJ2に対して読込み割込み要求RQ(R)を送出
する。処理装置CPU2において、割込み受付可であれ
ば、処理装HcPU2は刊込みコマンl’Wを通信連結
アダプタCCΔに送出する。通信連結アダプタCCへで
は、一方がlee込み系コマンドであり、他力か書込J
j4Jマントであることを確認した後、データ転送を行
なう。この場合、第3図図示の例とは逆向きにIl伝送
データD A i’ Aが流れる。
The example in FIG. 3 is an example of the use of the write command W4-RQ with the request device 1j, but when the read command R+RQ with the request function is similarly sent to the dynamic coupling adapter CCΔ, the communication connection adapter CCΔ is used. The CCA holds the command in its own device and sends a read interrupt request RQ(R) to the processing device CPtJ2. If the processing unit CPU2 is capable of accepting interrupts, the processing unit HcPU2 sends a print command l'W to the communication connection adapter CCΔ. To the communication connection adapter CC, one side is a lee write command, and the other side is a write command.
After confirming that it is a j4J cloak, data transfer is performed. In this case, Il transmission data D A i'A flows in the opposite direction to the example shown in FIG.

以上のように、本発明におい′Cは、割込み要求がコマ
ンドとともに通信連結アダプタに送出される形式をとり
、かつ割込まれた処理装置では直ちに対応するコマンド
を発行するようにしているので、データ転送に到るまで
の時間が大幅に短縮される。
As described above, in the present invention, the interrupt request is sent to the communication connection adapter together with the command, and the interrupted processing device immediately issues the corresponding command. The time required for transfer is significantly reduced.

第4図は本発明による1実施例の通信連結アダプタのブ
ロック図を示し、図中、1は通信連結アダプタCCΔ、
2,3は処理装置CPU1.CPU2,4.5はメモリ
、6.7は共通ハス、8はマイク1」プロセッサ、9.
10は’Jl込み遍制御回路。
FIG. 4 shows a block diagram of a communication connection adapter according to an embodiment of the present invention, in which 1 is a communication connection adapter CCΔ,
2 and 3 are processing devices CPU1. CPU2, 4.5 is a memory, 6.7 is a common lotus, 8 is a microphone 1'' processor, 9.
10 is a control circuit including Jl.

11は内部ハス、12はマイクロプロセッサ8のための
プログラム等を格納する内部メモリ、13゜14は命令
レジスタCMRI、CMR2,1,5゜16は転送開始
アドレスを示すメモリアドレスレジスタMARI、MA
R2,17,18は転送バイト数を保持するハイドカウ
ントレジスタB CR1,13cR2,19,20はデ
ータ転送終了ステータス情報/応答拒否理由情報を保持
するエントリバッファレジスタIEBRI、E13R2
,21はデータバッファ、22はデータバッファ21に
おけるデータの転送方向を指示する情報を保持するレジ
スタ13Fc:”FR,23,24はデータ送出バッフ
ァゲートである。
11 is an internal hash, 12 is an internal memory for storing programs etc. for the microprocessor 8, 13.14 is an instruction register CMRI, CMR2, 1, 5.16 is a memory address register MARI, MA indicating the transfer start address.
R2, 17, 18 are hide count registers B that hold the number of transferred bytes CR1, 13cR2, 19, 20 are entry buffer registers IEBRI, E13R2 that hold data transfer end status information/response rejection reason information
, 21 are data buffers, and 22 is a register 13Fc that holds information indicating the direction of data transfer in the data buffer 21. FR, 23, and 24 are data sending buffer gates.

以下、第3図の動作シーケンスに合わせて、第4図の実
施例の動作について説明する。
The operation of the embodiment shown in FIG. 4 will be described below in conjunction with the operation sequence shown in FIG.

■ まず、処理装置CPtJlからのリクエスト機能付
き書込みコマンドが命令レジスタCMRIにセットされ
る。さらに、メモリ4における転送開始アドレスがメモ
リアドレスレジスタMARIに七ソI・され、転送ハイ
ド数がノ\イトカウントレジスタ ■ 命令レジスタCMRIにコマンドがセットされるこ
とにより、マイクロプロセツサ8に割込みがかけられる
。マイクロプロセッサ8は、命令レジスタCMR 1の
内容を解析し、リクエスト機能付き書込みコマンドであ
ることを識別すると、割込み制御回路IOを介し′ζ、
処理装置C l) U 2に書込み割込め要求RQ(W
)を送出する。
(2) First, a write command with a request function from the processing device CPtJl is set in the instruction register CMRI. Furthermore, the transfer start address in the memory 4 is set in the memory address register MARI, and the transfer number is set in the note count register. It will be done. The microprocessor 8 analyzes the contents of the instruction register CMR 1, and when it identifies that it is a write command with a request function, sends the command via the interrupt control circuit IO to 'ζ,
Write interrupt request RQ (W
) is sent.

■ 処理装置CPU2は、割込み受付可であれば、読込
みコマンド′Rを命令レジスタCMR2にセ・ノドする
。さらに、メモリ5におりる転送開始アドレスをメモリ
アドレスレジスタMAR2にセットする。また、ハイド
カウントレジスタB C R 1の内容がハイドカウン
トレジスタBCR2にセ・ノしされる。
(2) If the processing unit CPU2 is capable of accepting interrupts, it sends the read command 'R to the instruction register CMR2. Further, the transfer start address in the memory 5 is set in the memory address register MAR2. Further, the contents of the hide count register BCR1 are stored in the hide count register BCR2.

■ マイクロプロセッサ8は、メモリ”?ドレスレジス
タMARIおよびハイドカウントレジスタBCR1の内
容にもとづいて、メモリ4から順次、データを読出し、
データバッファ21に格納し°ζいく。
■ The microprocessor 8 sequentially reads data from the memory 4 based on the contents of the memory address register MARI and hide count register BCR1.
The data is stored in the data buffer 21 and sent to the data buffer 21.

一方、マイクロプロセッサ8は同時に、メモ1ノアドレ
スレジスタMΔR2およびバイトカラン]・レジスタB
 C R 2の内容にもとづいて、デーツノ1フフア2
1から順次、データを読出し、メモリ5に格納し一ζい
く。
On the other hand, the microprocessor 8 simultaneously outputs memory 1 address register MΔR2 and byte register B.
Based on the contents of C R 2, date 1 fuhua 2
The data is sequentially read from 1 and stored in the memory 5.

■ 次に、処理装置cpu4からリクエスト槻f1ヒ伺
き店込みコマンドW + R Qが命令レジスタCMR
2にセントされ、メモリ5における転送開始アドレスが
メモリアドレスレジスタMAR2にセットされ、転送バ
イト数がバイトカウントレジスタB C R 2にセン
トされると、上記■と同様に、マイクロプロセッサ8に
割込みがかしJられる。マイクロプロセッサ8は、命令
レジスタCMR2の内容を解IJ1シ、リクエスト機能
付き書込みコマンドであることを識別゛3°ると、割込
めil+制御回路9を介して、処理装置C I) U 
1に1込め割込み要求RQ(W)を送出する。
■ Next, the processing unit cpu4 asks the requester f1 and the store command W + R Q is sent to the instruction register CMR.
2, the transfer start address in the memory 5 is set to the memory address register MAR2, and the number of transferred bytes is written to the byte count register BCR2, an interrupt is generated to the microprocessor 8 in the same way as in the above I can't do it. The microprocessor 8 interprets the contents of the instruction register CMR2 and identifies that it is a write command with a request function.
Sends an interrupt request RQ(W) containing 1 to 1.

■ このとき、処理装置cpuiにおいて、割込み受4
=Jけ不11Jであれば、処理装置CPU lは、否定
応答コマン)’ N −D M Aを命令レジスタCM
R1にセットする。マイクロプロセツサ8は、否定応答
コマンドN−DMAを識別すると、割込み制御回路10
を介して、処理装置CI) U 2へ終了要求ENDを
送出する。
■ At this time, in the processing unit cpui, interrupt receiver 4
= J ke 11J, the processing unit CPU l sends a negative response command)' N - DMA to the command register CM.
Set to R1. When the microprocessor 8 identifies the negative response command N-DMA, the interrupt control circuit 10
sends an end request END to the processing unit CI) U 2 via .

さらに、処理装置CPUIからの応答不可の理由を示す
データN−DMAIがエントリバッファレジスタE B
 R1にセントされる。この情報はさらにエントリバッ
ファレジスタE B R2にセットされ、CPLJ2へ
通知される。
Furthermore, data N-DMAI indicating the reason for non-response from the processing unit CPUI is stored in the entry buffer register E B
cents to R1. This information is further set in the entry buffer register EBR2 and notified to CPLJ2.

次に、第5図は、処理装置CPLIIとCPU2の双方
から同時にリクエスト(RQ)があった場合の動作シー
ケンスの1例を示す図である。この場合、一方の処理装
置(図示の例ではCI) U 1 )からのリクエスト
(RQ)はキャンセルされ、コ亥処理装置に終了要求E
NDおよび盲、込み割込み要求RQ(W)が送出される
。以後の動作は第3図の場合と同様である。
Next, FIG. 5 is a diagram showing an example of an operation sequence when requests (RQ) are received from both the processing devices CPLII and CPU2 at the same time. In this case, the request (RQ) from one of the processing devices (in the illustrated example, CI U 1 ) is canceled and a termination request E is sent to the processing device.
ND and blind interrupt request RQ(W) is sent. The subsequent operations are similar to those shown in FIG.

なお、第4図では図示を省略したが、通信連結アダプタ
CCA内には、両方の処理装置からのリフニスト(RQ
)の衝突を検出するための衝突検出レジスタ、およびR
Q (W) 、lシQ(R)を相手処理装置へ送出する
ための通知リクエストレジスタがもうけられている。
Note that, although not shown in FIG.
), and a collision detection register for detecting collisions of R
A notification request register is provided for sending Q(W) and Q(R) to the partner processing device.

(へ)発明の効果 本発明によれば、2つの処理装置のプログラムを同一の
ものとすることが可能となり、かつ、データ転送要求を
出してから実際にデータ転送が開始されるまでの時間が
短縮され、経済性および性能の向上をもたらすことがで
きる。
(F) Effects of the Invention According to the present invention, it is possible to make the programs of two processing devices the same, and the time required from issuing a data transfer request to actually starting data transfer is can be shortened, resulting in improved economy and performance.

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

第1図は従来の処理装置間データ転送シーケンスの1例
を示す図、第2図は従来の処理装置間データ転送シーケ
ンスの他の1例をボず図、第3図は本発明による1実施
例の動作シーケンスを示す図、第4図は本発明による1
実施例の通信連結アダプタのブロック図、第5図は2つ
の処理装置から同時にリクエストがあった場合の動作シ
ーケンスの1例を示す図である。 第4図において、■は通信連結アダプタ、2゜3は処理
装置、4,5はメモリ、8はマイクl:1ゾロセツサ、
9.10は割込み制御回路、13.14は命令レジスタ
、21はデータバッファである。 〔CPl、/l〕 〔CPt/ど〕 (ccA) 茸10 滓 ? 囚
FIG. 1 is a diagram showing one example of a conventional data transfer sequence between processing devices, FIG. 2 is a diagram illustrating another example of a conventional data transfer sequence between processing devices, and FIG. 3 is a diagram showing one example of a conventional data transfer sequence between processing devices. A diagram showing an example operation sequence, FIG.
FIG. 5, a block diagram of the communication connection adapter of the embodiment, is a diagram showing an example of an operation sequence when requests are received from two processing devices simultaneously. In Fig. 4, ■ is a communication connection adapter, 2゜3 is a processing device, 4 and 5 are memories, 8 is a microphone l:1 sensor,
9.10 is an interrupt control circuit, 13.14 is an instruction register, and 21 is a data buffer. [CPl, /l] [CPt/d] (ccA) Mushroom 10 Slag? prisoner

Claims (1)

【特許請求の範囲】[Claims] 第1の処理装置と第2の処理装置の双方に接続される通
信連結アダプタをもうけ、該通信連結アダプタにより該
第1の処理装置と第2の処理装置の相互間のデータ転送
を制御するデータ転送制御方式において、一方の処理装
置から他方の処理装置への刊込みリクエストを発生させ
るため上記一方の処理装置から発行されるリクエスト機
能付書込みコマンドと、該リクエスト機能イ」き書込み
コマンドに応答して上記他方の処理装置から発行される
読込みコマンドと、上記一方の処理装置から他方の処理
装置への読込みリクエストを発生させるため上記一方の
処理装置から発行されるリクエスト機能((Jき読込み
コマンドと、該リクエスト機能例き読込みコマンドに応
答して上記他方の処理装置から発行される書込みコマン
l′と、上記リクエスト機能付き居込みコマンドまたは
リクエスト機能付き読込みコマンドに対して上記他方の
処理装置が応答できない場合当該他方の処理装置から発
行される否定応答コマンドとを用意するとともに、上記
通信連結アダプタ内に、上記各種コマンドを格納するた
めのコマンドレジスタを上記第1の処理装置と第2の処
理装置に対応してそれぞれ独立にもうけ、上記通信連結
アダプタは、上記一方の処理装置から上記リクエスト機
能付き書込みコマンドまたはリクエスト機能付き読込み
コマンドを受領したとき当該コマンドを(X持しておく
とともに上記他方の処理装置に書込みリクエストまたは
読込みリクエストを送出し、」1記他方の処理装置は当
該リクエストに対して応答可能なときは上記読込みコマ
ンドまたは書込みコマンドを上記通信連結アダプタに送
出し、上記通信連結“7ダブタをしてデータ転送を実行
せしめ、一方、上記他方の処理装置は当該リクエストに
対して応答できないときは上記否定応答コマンドと応答
不可の理由を示すデータを上記通信連結゛7ダブタを送
出し、上記通信連結アダプタをして当該応答率i=Jの
理由を示Jデータの転送を実行−uしめるよう構成した
ごとを特徴とするデータ転送制御方式。
A communication connection adapter is provided that is connected to both the first processing device and the second processing device, and the communication connection adapter controls data transfer between the first processing device and the second processing device. In the transfer control method, in order to generate a print request from one processing device to the other processing device, a write command with a request function is issued from one of the processing devices, and a write command with the request function is responded to. a read command issued from the other processing device, and a request function ((J read command and , a write command l' issued from the other processing device in response to the read command with the request function example, and the other processing device responds to the resident command with the request function or the read command with the request function. If this is not possible, a negative response command issued from the other processing device is prepared, and a command register for storing the various commands is provided in the communication connection adapter for the first processing device and the second processing device. When the communication connection adapter receives the write command with request function or the read command with request function from the one processing device, the communication connection adapter holds the command (X) and transfers the command to the other processing device. Sends a write request or a read request to the processing device, and when the other processing device is able to respond to the request, sends the read command or write command to the communication connection adapter, and On the other hand, when the other processing device cannot respond to the request, it sends the negative response command and data indicating the reason for the non-response to the communication link 7, A data transfer control system characterized in that the communication connection adapter is configured to indicate the reason for the response rate i=J and to execute the transfer of J data.
JP6487284A 1984-03-30 1984-03-30 Data transfer control system Pending JPS60207946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6487284A JPS60207946A (en) 1984-03-30 1984-03-30 Data transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6487284A JPS60207946A (en) 1984-03-30 1984-03-30 Data transfer control system

Publications (1)

Publication Number Publication Date
JPS60207946A true JPS60207946A (en) 1985-10-19

Family

ID=13270653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6487284A Pending JPS60207946A (en) 1984-03-30 1984-03-30 Data transfer control system

Country Status (1)

Country Link
JP (1) JPS60207946A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5316549A (en) * 1976-07-30 1978-02-15 Hitachi Ltd Data exchange control system
JPS5373934A (en) * 1976-12-14 1978-06-30 Hitachi Ltd Data exchange control system
JPS5373933A (en) * 1976-12-14 1978-06-30 Hitachi Ltd Data exchange control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5316549A (en) * 1976-07-30 1978-02-15 Hitachi Ltd Data exchange control system
JPS5373934A (en) * 1976-12-14 1978-06-30 Hitachi Ltd Data exchange control system
JPS5373933A (en) * 1976-12-14 1978-06-30 Hitachi Ltd Data exchange control system

Similar Documents

Publication Publication Date Title
CA1247249A (en) System bus means for inter-processor communication
JPH02109153A (en) Inter-processor data transmission system
JPS60177888A (en) Combination system of visual sensor processor and robot controller
US4779190A (en) Communication bus interface
US4371926A (en) Input/output information indication system
JPS5941033A (en) Electronic computer system
JP2859178B2 (en) Data transfer method between processors and ring buffer memory for data transfer between processors
JPS60207946A (en) Data transfer control system
JPH0572634B2 (en)
JPS6126706B2 (en)
JPH0140432B2 (en)
JP2800764B2 (en) Data transfer control method
JP3356110B2 (en) Function expansion system and data transfer method used therefor
JPH069036B2 (en) I / O controller
JPH03276383A (en) Communication system for ic card
RU2018944C1 (en) Device for interfacing computer with external objects
JP2822414B2 (en) Dual port memory
JPS6378257A (en) Input-output controller
JP3146864B2 (en) Unidirectional loop transmission circuit
JP2667285B2 (en) Interrupt control device
JP2595808B2 (en) Memory device for distributed processing
JP3615306B2 (en) Storage device access system
JPH0115100B2 (en)
JP2511697B2 (en) Data receiver
JPH03286355A (en) Microcomputer