JPH08123773A - Interprocessor communication device - Google Patents

Interprocessor communication device

Info

Publication number
JPH08123773A
JPH08123773A JP26277494A JP26277494A JPH08123773A JP H08123773 A JPH08123773 A JP H08123773A JP 26277494 A JP26277494 A JP 26277494A JP 26277494 A JP26277494 A JP 26277494A JP H08123773 A JPH08123773 A JP H08123773A
Authority
JP
Japan
Prior art keywords
data
ipc
register
transfer
command
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.)
Withdrawn
Application number
JP26277494A
Other languages
Japanese (ja)
Inventor
Tatsuji Hamamura
達司 濱村
Satoru Kuwata
悟 桑田
Isamu Fukuda
勇 福田
Shigeaki Kawamata
重明 川俣
Yoshiko Higuchi
能子 樋口
Atsushi Roppongi
淳 六本木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP26277494A priority Critical patent/JPH08123773A/en
Publication of JPH08123773A publication Critical patent/JPH08123773A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

(57)【要約】 【目的】 本発明はプロセッサ間通信装置に関し、両方
の装置間で確実にデータを転送することができるプロセ
ッサ間通信装置を提供することを目的としている。 【構成】 2台の中央制御装置間をバスを経由してDM
A転送やレジスタ等のデータを転送するための装置であ
って、自装置のデータ転送用レジスタグループ(自転送
用レジスタグループ)と、相手装置のデータ転送用レジ
スタグループ(他転送用レジスタグループ)と、現在動
作中のレジスタグループと現在設定中のレジスタグルー
プを管理し、一方の装置がデータ転送中に他方の装置か
らデータ転送要求があった場合や、両装置からのデータ
転送要求が衝突した場合に、後からの乃至は劣位の転送
要求を前記データ転送用レジスタグループに保存する制
御レジスタコントロール部と、該制御レジスタコントロ
ール部と接続され、相手方装置にデータ転送要求を出す
と共に、相手方装置からのアクノリッジを受けるインタ
フェース制御部と、該インタフェース制御部出力で制御
され、各装置間でのデータの送受を行なうデータバッフ
ァ制御部とを具備して構成する。
(57) [Abstract] [Object] The present invention relates to an interprocessor communication device, and an object thereof is to provide an interprocessor communication device capable of reliably transferring data between both devices. [Configuration] DM between two central control units via a bus
A device for transferring data such as A transfer and registers, which includes a data transfer register group of its own device (self transfer register group) and a data transfer register group of another device (other transfer register group) Managing the currently operating register group and the currently set register group, and when one device receives a data transfer request from the other device during data transfer, or when data transfer requests from both devices collide. Further, a control register control unit for storing a later or inferior transfer request in the data transfer register group, and a control register control unit connected to the control register control unit for issuing a data transfer request to the partner device, An interface control unit that receives an acknowledge and the output of the interface control unit controls the ; And a data buffer control unit that performs transmission and reception of data configured.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプロセッサ間通信装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interprocessor communication device.

【0002】[0002]

【従来の技術】2台の中央制御装置(CPU)間をバス
(IP−bus)を介してDMA転送やデータ転送を行
なうための装置(プロセッサ間通信装置=IPC)が知
られている。図24は従来システムの概念図である。図
において、10は2台の中央制御装置(CPU)で、こ
れらCPU間はバス(IP−bus)11で接続されて
いる。各CPUは、プロセッサ(CC)1,主記憶装置
(MM)2,チャネルコントローラ(CHC)3及びプ
ロセッサ間通信装置(IPC)20で構成されている。
前記IP−busは、IPC間に接続されている。
2. Description of the Related Art There is known a device (interprocessor communication device = IPC) for performing DMA transfer or data transfer between two central control devices (CPU) via a bus (IP-bus). FIG. 24 is a conceptual diagram of a conventional system. In the figure, 10 is two central control units (CPU), and these CPUs are connected by a bus (IP-bus) 11. Each CPU is composed of a processor (CC) 1, a main memory (MM) 2, a channel controller (CHC) 3, and an interprocessor communication device (IPC) 20.
The IP-bus is connected between IPCs.

【0003】このように構成されたシステムにおいて、
一方のIPCから他方のIPCに対してデータ転送要求
コマンドを発行すると、このコマンドはIP−busを
経由して相手方IPCに通知される。相手方IPCで
は、このコマンドを解読すると、自システム内のMMか
ら必要なデータを読み出し、データ転送要求側のIPC
側にIP−busを経由してデータを転送する。
In the system configured as described above,
When a data transfer request command is issued from one IPC to the other IPC, this command is notified to the other side IPC via the IP-bus. When the other party's IPC decodes this command, it reads the necessary data from the MM in its own system, and the IPC of the data transfer request side.
The data is transferred to the side via the IP-bus.

【0004】[0004]

【発明が解決しようとする課題】このような従来のシス
テムでデータ転送を行なう場合、以下に示すような問題
が種々発生する。
When data is transferred in such a conventional system, various problems as described below occur.

【0005】図25,図26は従来システムにおける動
作シーケンスを示す。図25と図26を合わせて1つの
シーケンスであり、つながり部分は一部重ねて示す。従
来のIPCにおいては、枠1のようにデータ転送要求の
コマンドが両IPCから同時に発行された場合(枠1:
コマンドの衝突)、スレーブIPCのデータ転送要求は
リジェクトされ(枠2のデータ設定はリジェクトされ
る)、マスタIPCのデータ設定(枠0)が有効とな
る。そして、マスタIPCのコマンドが実行される(枠
3から枠4の前まで)。リジェクトされた側のスレーブ
IPCのデータ転送要求(枠2)は、枠4に示すように
再設定しなければ、データ転送を再開することはできな
い。このように、データ転送要求が衝突すると一方のデ
ータ転送要求をリジェクトするため、その分ソフトウェ
ア処理に時間がかかり、データ転送能力が低下するとい
う問題があった。
25 and 26 show an operation sequence in the conventional system. FIG. 25 and FIG. 26 are combined into one sequence, and the connected portions are partially overlapped and shown. In the conventional IPC, when a data transfer request command is issued from both IPCs at the same time as in frame 1 (frame 1:
Command collision), the data transfer request of the slave IPC is rejected (the data setting of the frame 2 is rejected), and the data setting of the master IPC (frame 0) becomes valid. Then, the command of the master IPC is executed (from frame 3 to before frame 4). The data transfer request (frame 2) of the rejected slave IPC cannot be resumed without resetting as shown in frame 4. As described above, when the data transfer requests collide with each other, one of the data transfer requests is rejected. Therefore, there is a problem that the software processing takes time correspondingly and the data transfer capability is reduced.

【0006】また、従来のIPCにおいては、装置の状
態及び障害内容を表示するレジスタ(DSR)を自IP
C用しか持っていない。この場合、他IPCに何らかの
障害が発生した場合、自IPCでは障害が発生したこと
は分かるが、障害箇所の特定及びその障害内容の詳細は
確認できない。そのため、ソフトウェア処理に時間がか
かったり、最適な対処が行えない場合があった。
Further, in the conventional IPC, the register (DSR) for displaying the status of the device and the contents of failure is used as its own IP.
I only have one for C. In this case, if some failure occurs in the other IPC, it can be known that the own IPC has failed, but it is not possible to identify the failure location and confirm the details of the failure. Therefore, it may take a long time to perform software processing, or it may not be possible to take an optimal measure.

【0007】また、一般的なIPCにおいては、CPU
を増設する場合、接続先CPUが運用状態でなくても予
めIPCの正常性を確認する必要があり、また障害の切
り分けのためにも、データ折り返し機能が設けられてい
る。しかしながら、従来のIPCでは、データ折り返し
機能を実現するために、先ず最初のコマンドで主記憶装
置(MM)のデータをIPCのデータバッファレジスタ
(DBR)へ格納し、次のコマンドでIPCのDBRの
データをMMに格納する方法を採用している。この方法
では、データ折り返しのために2回のコマンド発行が必
要であり、実際の制御回路の診断とは言えず、更に折り
返しデータのサイズもIPC内のDBR容量に限定され
るため、効果的な診断ができないという問題があった。
In a general IPC, the CPU
When the CPU is added, it is necessary to confirm the normality of the IPC in advance even if the connection destination CPU is not in the operating state, and a data loopback function is provided for isolating the failure. However, in the conventional IPC, in order to realize the data loopback function, first, the data of the main memory (MM) is stored in the data buffer register (DBR) of the IPC by the first command, and the DBR of the IPC is stored by the next command. The method of storing data in MM is adopted. In this method, it is necessary to issue the command twice to fold back the data, which cannot be said to be the actual diagnosis of the control circuit. Further, the size of the foldback data is limited to the DBR capacity in the IPC, which is effective. There was a problem that it could not be diagnosed.

【0008】また、バスを使用するシステムにおいて、
バスの優先権を持たせるマスタと劣位のスレーブに識別
して動作させることは一般的である。CPUと入出力装
置という主従がはっきりしていて、その関係を恒久的に
保っている装置であればよいが、プロセッサ間という主
従の区別がない装置同志を1:1で接続するバスにおい
ても、バスの使用権を得るためにバス調停が必要であ
り、どちらか一方の装置に優先権を持たせる調停回路が
必要となる。
In a system using a bus,
It is common to distinguish between a master that gives priority to the bus and a slave that is inferior to operate. The CPU and the input / output device have a clear master-slave relationship, and any device that maintains that relationship permanently can be used, but even in a bus that connects 1: 1 devices that do not distinguish between a processor and a master-slave, Bus arbitration is required to obtain the right to use the bus, and an arbitration circuit for giving priority to either device is required.

【0009】そうであるからと言って、同じIPCを一
方は調停回路有り、他方は調停回路無しという形で構成
することはない。同じ装置であれば、どちらでも使用で
きるように両方に調停回路を設けることが一般的であ
る。そのため、従来はディップスイッチ等を設けて、調
停回路の使用/不使用(優先権の有無)を固定化してい
た。その場合、調停回路を使用する装置(マスタ)側で
は、調停回路を使用しない場合の動作の診断が、一方調
停回路を使用しない装置(スレーブ)側では、調停回路
の診断がオンラインではできないという問題があった。
Even so, the same IPC is not configured in the form of one having an arbitration circuit and the other having no arbitration circuit. In the case of the same device, it is general to provide arbitration circuits in both so that both can be used. Therefore, conventionally, a dip switch or the like is provided to fix the use / non-use (presence / absence of priority) of the arbitration circuit. In that case, the device that uses the arbitration circuit (master) side cannot diagnose the operation when the arbitration circuit is not used, while the device that does not use the arbitration circuit (slave) cannot diagnose the arbitration circuit online. was there.

【0010】例えば、マスタとして使用していたIPC
に障害の疑いがある場合、障害切り分けのためスレーブ
として使用していたIPCに置き換えて動作させてみた
時に、それそれまで調停回路を使用していないため、潜
在的な障害があっても分からないままでいるということ
があり得る。
For example, the IPC used as the master
If there is a suspicion of a failure, when you try to operate it by replacing it with the IPC used as a slave to isolate the failure, you do not know even if there is a potential failure because the arbitration circuit has not been used until then. It is possible that there is a wait.

【0011】また、マスタ/スレーブを上位装置からプ
ログラムで設定できるようにする場合に、プロセッサ間
通信装置は、上位装置が別々であるため、マスタ設定を
両装置で行なってしまう可能性がある。両装置がマスタ
となると、バスインタフェースのプロトコルがおかしく
なって通信不能となる場合が発生する。
Further, when the master / slave can be set by the program from the host device, the interprocessor communication device may have the master setting by both devices because the host device is different. When both devices become masters, the bus interface protocol may be wrong and communication may not be possible.

【0012】更に、処理能力向上のため、CPUの増設
をすることがある。この場合、IPCが必要となるが、
そのIPCの診断は、増設するプロセッサ側のIPCと
接続しなければならない。もし増設するIPCの動作に
不具合があってもどちらのIPCの障害なのか切り分け
るのは困難であるという問題があった。また、実際と同
様の動作をさせる診断は、相手側のプロセッサも立ち上
がっていなければならない等の制約があり、これも同様
に、その時の動作に不具合があってもどちらのIPCの
障害なのか切り分けるのが困難である。
Further, in order to improve the processing capacity, a CPU may be added. In this case, IPC is required,
The diagnosis of the IPC must be connected to the IPC of the processor to be added. Even if there is a malfunction in the IPC to be added, there is a problem that it is difficult to determine which IPC is the failure. In addition, the diagnosis that causes an operation similar to the actual one has a restriction that the processor on the other side must also be booted up, and similarly, even if there is a malfunction in the operation at that time, it is determined which IPC is the failure. Is difficult.

【0013】本発明はこのような課題に鑑みてなされた
ものであって、両方の装置間で確実にデータを転送する
ことができるプロセッサ間通信装置を提供することを目
的としている。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an interprocessor communication device capable of reliably transferring data between both devices.

【0014】[0014]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。図24と同一のものは、同一の符号を付
して示す。図において、20はプロセッサ間通信装置
(自IPC)である。他IPC(図示せず)とはバスI
P−busを介して接続されている。他IPCの構成自
IPCの構成と同じである。
FIG. 1 is a block diagram showing the principle of the present invention. The same parts as those in FIG. 24 are designated by the same reference numerals. In the figure, 20 is an interprocessor communication device (self IPC). Another IPC (not shown) is a bus I
It is connected via a P-bus. Configuration of other IPC Same as configuration of own IPC.

【0015】図において、21は制御レジスタ部で、自
装置のデータ転送用レジスタグループ(自転送用レジス
タグループ)21Aと、相手装置のデータ転送用レジス
タグループ(他転送用レジスタグループ)21Bから構
成されている。自転送用レジスタグループ21Aにおい
て、CMRは自命令制御レジスタ、WCRは自語数カウ
ントレジスタ、MARは自メモリアドレスレジスタ、D
SRは自状態表示レジスタ(自IPC用)、MDSRは
自状態表示レジスタ(他IPC用)である。他転送用レ
ジスタグループ21Bにおいて、#CMRは他命令制御
レジスタ、#WCRは他語数カウントレジスタ、#MA
Rは他メモリアドレスレジスタ、#DSRは他状態表示
レジスタ(自IPC用)、#MDSRは他状態表示レジ
スタ(他IPC用)である。
In the figure, reference numeral 21 denotes a control register section, which is composed of a data transfer register group (self transfer register group) 21A of its own device and a data transfer register group (other transfer register group) 21B of the other device. ing. In the self-transfer register group 21A, CMR is a self-instruction control register, WCR is a self-word count register, MAR is a self-memory address register, D
SR is a self-status display register (for own IPC), and MDSR is a self-status display register (for other IPC). In the other transfer register group 21B, #CMR is another instruction control register, #WCR is another word count register, and #MA.
R is another memory address register, #DSR is another state display register (for own IPC), #MDSR is another state display register (for other IPC).

【0016】ここで、MDSRは、自IPCがデータ転
送を行なっている時に他IPCに起きた障害を記憶する
もので、#MDSRは、他IPCがデータ転送を行なっ
ている時に他IPCに起きた障害を記憶するものであ
る。このように、本発明はレジスタグループを自IPC
用21Aと他IPC用21Bの2面持っているのが特徴
である。
Here, the MDSR stores a failure that occurred in another IPC while the own IPC is transferring data, and the #MDSR occurs in another IPC when the other IPC is transferring data. It remembers the fault. As described above, the present invention sets the register group to the own IPC.
The feature is that it has two sides, 21A for use and 21B for other IPC.

【0017】22は、現在動作中のレジスタグループと
現在設定中のレジスタグループを管理し、一方の装置
(IPC)がデータ転送中に他方の装置(IPC)から
データ転送要求があった場合や、両装置からのデータ転
送要求が衝突した場合に、後からの乃至は劣位の転送要
求を前記データ転送用レジスタグループ21A,21B
に保存する制御レジスタコントロール部、23は該制御
レジスタコントロール部22と接続され、相手方装置に
データ転送要求REQを出すと共に、相手方装置からの
アクノリッジ(ACK:応答)を受けるIPCインタフ
ェース制御部、24は該IPCインタフェース制御部2
3の出力で制御され、各装置間でのデータの送受を行な
うデータバッファ制御部である。IPCインタフェース
制御部23と他IPCのインタフェース制御部23(図
示せず)とは、IP−busではなく、専用の通信線で
接続され、REQとACKのやりとりを行なう。
Reference numeral 22 manages the register group currently in operation and the register group currently set, and when one device (IPC) is transferring data and the other device (IPC) requests data transfer, When data transfer requests from both devices collide with each other, subsequent or inferior transfer requests are sent to the data transfer register groups 21A and 21B.
The control register control unit 23, which is stored in the device, is connected to the control register control unit 22, issues the data transfer request REQ to the partner device, and receives the acknowledge (ACK: response) from the partner device, the IPC interface controller 24 is The IPC interface controller 2
3 is a data buffer control unit which is controlled by the output of 3 and sends and receives data between the respective devices. The IPC interface control unit 23 and the interface control unit 23 (not shown) of another IPC are connected not by IP-bus but by a dedicated communication line, and exchange REQ and ACK.

【0018】データバッファ制御部24は、データバッ
ファレジスタDBR,送信用データバッファレジスタS
BR及び受信用データバッファレジスタRBRより構成
されている。該データバッファ制御部24はIP−bu
sと接続され、他装置(他IPC)とデータ転送を行な
う。25は、IPC間でDMA転送を行なう時のDMA
コントロール回路である。制御レジスタコントロール部
22と接続されるアドレスバス26及びデータバッファ
制御部24と接続されるデータバス27はプロセッサ
(CC)1,主記憶装置(MM)2(図示せず。図2
5,図26参照)と接続されている。本発明のIPCを
用いたデータ転送システムは、図24のシステム構成図
と同じである。
The data buffer control unit 24 includes a data buffer register DBR and a transmission data buffer register S.
It comprises a BR and a reception data buffer register RBR. The data buffer control unit 24 uses the IP-bu
It is connected to s and transfers data with another device (another IPC). 25 is a DMA when performing DMA transfer between IPCs
It is a control circuit. The address bus 26 connected to the control register control unit 22 and the data bus 27 connected to the data buffer control unit 24 include a processor (CC) 1 and a main memory device (MM) 2 (not shown in FIG. 2).
5, FIG. 26). The data transfer system using the IPC of the present invention is the same as the system configuration diagram of FIG.

【0019】この場合において、前記自転送用レジスタ
グループ21A内に、その装置の状態及び障害内容を表
示する状態表示レジスタを自装置用(DSR)と他装置
用(MDSR)をそれぞれ設け、自装置のDSRが変化
した場合、必要に応じて他装置のMDSRに自装置のD
SRの内容を転送する回路を設けることが、障害の発生
がどこにあるのかの切り分けができる上で好ましい。
In this case, in the self-transfer register group 21A, status display registers for displaying the status and fault contents of the device are provided for the self device (DSR) and for the other device (MDSR), respectively. If the DSR of the device changes, the DSR of the device itself is added to the MDSR of another device as necessary.
It is preferable to provide a circuit for transferring the contents of SR so that it is possible to determine where the failure occurs.

【0020】また、前記他転送用レジスタグループ21
B内に、動作中の他装置の状態及び他装置が動作中に発
生した障害内容を表示する状態表示レジスタ(#MDS
R)を設けることが、どちらの装置が要求した転送であ
っても障害解析を行える上で好ましい。
Further, the other transfer register group 21.
In B, a status display register (#MDS) for displaying the status of the other device in operation and the content of the failure that occurred while the other device was operating.
It is preferable to provide R) because fault analysis can be performed regardless of which device requests transfer.

【0021】また、前記自転送用レジスタグループ21
A内の自命令制御レジスタ(CMR)に、診断用コマン
ドとして自装置内データ折り返しと他装置内データ折り
返しのコマンドを設定し、かつこれら折り返し試験を実
現する折り返し制御部を設けることが、1回の折り返し
コマンドでIPCのデータルートの診断ができる上で好
ましい。
The self-transfer register group 21 is also provided.
It is possible to set a command for data wrapping within its own device and a data wrapping within another device as a diagnostic command in its own command control register (CMR) in A, and to provide a wrapping control unit that realizes these wrapping tests once. This is preferable in that the IPC data route can be diagnosed by the return command.

【0022】また、前記データバッファ制御部24内に
送信用データバッファレジスタ(SBR)と、受信用デ
ータバッファレジスタ(RBR)を設け、自装置内デー
タ折り返しコマンドを設定した時に、前記折り返し制御
部は自装置の出力したデータをバスドライバを介して同
時に入力することが、データ折り返し診断を行なう上で
好ましい。
In addition, a transmission data buffer register (SBR) and a reception data buffer register (RBR) are provided in the data buffer control unit 24, and when the internal data return command is set, the return control unit It is preferable that the data output from the device itself be input at the same time via the bus driver in order to perform the data loopback diagnosis.

【0023】また、前記他転送用レジスタグループ21
B内の他メモリアドレスレジスタ(#MAR)を自装置
から設定できるようにすると共に、この#MARを制御
する制御回路を設け、前記折り返しコマンドを実行する
際に、主記憶装置(MM)のアドレス設定用のレジスタ
として#MARを使用することが、MMの任意のアドレ
スからデータを送出し、任意のアドレスに折り返しデー
タを格納する上で好ましい。
The other transfer register group 21 is also provided.
The other memory address register (#MAR) in B can be set from its own device, and a control circuit for controlling this #MAR is provided so that when executing the loopback command, the address of the main memory device (MM) is set. It is preferable to use #MAR as the setting register in order to send data from an arbitrary address of the MM and store the return data at the arbitrary address.

【0024】また、折り返しコマンドによるデータ折り
返しの時、#MARに書き込む主記憶装置のアドレスと
して、自メモリアドレスレジスタ(MAR)の内容に自
語数カウントレジスタ(WCR)の内容を加算したもの
に設定することが、折り返しデータの書き込みアドレス
を自動設定する上で好ましい。
When data is returned by the return command, the address of the main memory to be written in #MAR is set to the content of the own memory address register (MAR) plus the content of the own word count register (WCR). It is preferable to automatically set the write address of the return data.

【0025】また、折り返しコマンドの折り返し先を、
他転送用レジスタグループ21B内の任意のレジスタに
設定するコマンドを設け、かつこのコマンドを設定する
回路を設けることが、他転送用レジスタグループの他I
PCかの設定を自IPC内で診断する上で好ましい。
The return destination of the return command is
Providing a command to set an arbitrary register in the other transfer register group 21B and providing a circuit to set this command is the same as the other transfer register group I.
It is preferable for diagnosing the setting of PC within the own IPC.

【0026】また、2台の装置から同時にデータ転送要
求コマンドが発行された場合のために、各装置内に予め
コマンド実行の優先権を持たせるたのマスタ/スレーブ
設定フラグを格納するためのソフトウェアで制御可能な
レジスタを設けることが、マスタ/スレーブの設定を自
由に変更できるようにする上で好ましい。
Software for storing a master / slave setting flag for giving priority to command execution in advance in each device in the case where a data transfer request command is issued from two devices at the same time. It is preferable to provide a register that can be controlled by the above in order to freely change the master / slave setting.

【0027】また、自装置がマスタ設定コマンドを受信
した時、バスを介して他装置からの応答情報により他装
置が既にマスタに設定されていることが分かったら、直
ちにマスタ設定を中止することが、両装置が共にマスタ
になることを防ぐ上で好ましい。
Further, when the self device receives the master setting command, if it is found from the response information from the other device via the bus that the other device is already set as the master, the master setting can be immediately stopped. It is preferable to prevent both devices from becoming the master.

【0028】更に、装置が0系と1系に二重化されてい
る場合において、0系のバスと1系のバスを相互接続
し、一方をマスタに他方をスレーブに設定して0系と1
系の間で通信を可能にし、0系と1系の装置間で診断プ
ログラムを実行させることが、IPC内のデータ転送ル
ートの正常性を診断する上で好ましい。
Further, in the case where the device is duplicated into the 0 system and the 1 system, the 0 system bus and the 1 system bus are interconnected, and one of them is set as a master and the other is set as a slave so that the 0 system and the 1 system are connected.
In order to diagnose the normality of the data transfer route in the IPC, it is preferable to enable communication between the systems and execute the diagnostic program between the devices of the 0 system and the 1 system.

【0029】[0029]

【作用】自装置のデータ転送用レジスタグループ(自転
送用レジスタグループ)と、相手装置のデータ転送用レ
ジスタグループ(他転送用レジスタグループ)と、デー
タ転送用レジスタグループを2面設けた。つまり、自I
PCが起動したデータ転送には自転送用レジスタグルー
プを、他IPCが起動したデータ転送には他転送用レジ
スタグループを使用するように制御レジスタグループで
管理することで、一方の装置がデータ転送中に他方の装
置からデータ転送要求があった場合や、両装置からのデ
ータ転送要求が衝突した場合に、後からの乃至は劣位の
転送要求を前記データ転送用レジスタグループに保存す
ることで、データ転送要求を再設定する必要がなくな
り、ソフトウェア処理に要する時間も短かくてすみ、デ
ータ転送能力が低下することはなくなる。
The data transfer register group of the own device (self transfer register group), the data transfer register group of the other device (other transfer register group), and the data transfer register group are provided on two sides. That is, I
One of the devices is transferring data by managing the control register group so that the PC transfer uses the own transfer register group for data transfer and the other IPC uses the other transfer register group for data transfer started. When there is a data transfer request from the other device or when the data transfer requests from both devices collide with each other, the later or inferior transfer request is saved in the data transfer register group, There is no need to reset the transfer request, the time required for software processing is short, and the data transfer capability is not reduced.

【0030】この場合において、前記自転送用レジスタ
グループ21A内に、その装置の状態及び障害内容を表
示する状態表示レジスタを自装置用(DSR)と他装置
用(MDSR)をそれぞれ設け、自装置のDSRが変化
した場合、必要に応じて他装置のMDSRに自装置のD
SRの内容を転送する回路を設けることにより、障害の
発生がどこにあるのかの切り分けができる。
In this case, in the self-transfer register group 21A, status display registers for displaying the status and failure contents of the device are provided for the self device (DSR) and for the other device (MDSR), respectively. If the DSR of the device changes, the DSR of the device itself is added to the MDSR of another device as necessary.
By providing a circuit that transfers the contents of SR, it is possible to determine where the failure occurs.

【0031】また、前記他転送用レジスタグループ21
B内に、動作中の他装置の状態及び他装置が動作中に発
生した障害内容を表示する状態表示レジスタ(#MDS
R)を設けることにより、どちらの装置が要求した転送
であっても障害解析を行なうことができる。
Further, the other transfer register group 21.
In B, a status display register (#MDS) for displaying the status of the other device in operation and the content of the failure that occurred while the other device was operating.
By providing R), failure analysis can be performed regardless of the transfer requested by either device.

【0032】また、前記自転送用レジスタグループ21
A内の自命令制御レジスタ(CMR)に、診断用コマン
ドとして自装置内データ折り返しと他装置内データ折り
返しのコマンドを設定し、かつこれら折り返し試験を実
現する折り返し制御部を設けることにより、1回の折り
返しコマンドでIPCのデータルートの診断ができる。
The self-transfer register group 21 is also provided.
By setting a command for data wrapping within its own device and a data wrapping within another device as a diagnostic command in its own command control register (CMR) in A, and by providing a wrapping control section for realizing these wrapping tests, it is possible to execute once. The IPC data route can be diagnosed with the return command.

【0033】また、前記データバッファ制御部24内に
送信用データバッファレジスタ(SBR)と、受信用デ
ータバッファレジスタ(RBR)を設け、自装置内デー
タ折り返しコマンドを設定した時に、前記折り返し制御
部は自装置の出力したデータをバスドライバを介して同
時に入力することにより、データ折り返し診断を行なう
ことができる。
In addition, a transmission data buffer register (SBR) and a reception data buffer register (RBR) are provided in the data buffer control unit 24, and when the own device data return command is set, the return control unit Data loopback diagnosis can be performed by simultaneously inputting the data output from the device itself via the bus driver.

【0034】また、前記他転送用レジスタグループ21
B内の他メモリアドレスレジスタ(#MAR)を自装置
から設定できるようにすると共に、この#MARを制御
する制御回路を設け、前記折り返しコマンドを実行する
際に、主記憶装置(MM)のアドレス設定用のレジスタ
として#MARを使用することにより、MMの任意のア
ドレスからデータを送出し、任意のアドレスに折り返し
データを格納することができる。
The other transfer register group 21
The other memory address register (#MAR) in B can be set from its own device, and a control circuit for controlling this #MAR is provided so that when executing the loopback command, the address of the main memory device (MM) is set. By using #MAR as a register for setting, it is possible to send data from any address of the MM and store the return data at any address.

【0035】また、折り返しコマンドによるデータ折り
返しの時、#MARに書き込む主記憶装置のアドレスと
して、自メモリアドレスレジスタ(MAR)の内容に自
語数カウントレジスタ(WCR)の内容を加算したもの
に設定することにより、折り返しデータの書き込みアド
レスを自動設定することができる。
When data is returned by the return command, the address of the main memory to be written in #MAR is set to the content of the own memory address register (MAR) plus the content of the own word count register (WCR). As a result, the write address of the return data can be automatically set.

【0036】また、折り返しコマンドの折り返し先を、
他転送用レジスタグループ21B内の任意のレジスタに
設定するコマンドを設け、かつこのコマンドを設定する
回路を設けることにより、他転送用レジスタグループの
他IPCかの設定を自IPC内で診断することができ
る。
The return destination of the return command is
By providing a command for setting an arbitrary register in the other transfer register group 21B and providing a circuit for setting this command, the setting of another IPC of the other transfer register group can be diagnosed in the own IPC. it can.

【0037】また、2台の装置から同時にデータ転送要
求コマンドが発行された場合のために、各装置内に予め
コマンド実行の優先権を持たせるたのマスタ/スレーブ
設定フラグを格納するためのソフトウェアで制御可能な
レジスタを設けることにより、マスタ/スレーブの設定
を自由に変更することができる。
Software for storing a master / slave setting flag for giving priority to command execution in advance in each device in the case where a data transfer request command is issued from two devices at the same time. The master / slave setting can be freely changed by providing a register controllable by.

【0038】また、自装置がマスタ設定コマンドを受信
した時、バスを介して他装置からの応答情報により他装
置が既にマスタに設定されていることが分かったら、直
ちにマスタ設定を中止することにより、両装置が共にマ
スタになることを防ぐことができる。
When the own device receives the master setting command, if it is found from the response information from the other device via the bus that the other device is already set as the master, the master setting is immediately stopped. It is possible to prevent both devices from becoming the master.

【0039】更に、装置が0系と1系に二重化されてい
る場合において、0系のバスと1系のバスを相互接続
し、一方をマスタに他方をスレーブに設定して0系と1
系の間で通信を可能にし、0系と1系の装置間で診断プ
ログラムを実行させるようにした。これにより、プロセ
ッサ増設前に自己のIPC内のデータ転送ルートの正常
性を診断することができる。
Further, in the case where the device is duplicated into the 0-system and the 1-system, the 0-system bus and the 1-system bus are interconnected, and one of them is set as the master and the other is set as the slave, and the 0-system and the 1-system are set.
Communication is enabled between the systems, and the diagnostic program is executed between the 0-system and 1-system devices. As a result, it is possible to diagnose the normality of the data transfer route in its own IPC before adding a processor.

【0040】[0040]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図2,図3は両IPCからのデータ転送要
求が衝突した場合の動作シーケンス例を示す図である。
図2と図3を合わせて1つのシーケンスを示す。動作の
概要は以下の通りである。
Embodiments of the present invention will be described below in detail with reference to the drawings. 2 and 3 are diagrams showing an operation sequence example when data transfer requests from both IPCs collide.
2 and 3 are combined to show one sequence. The outline of the operation is as follows.

【0041】 先ず、データ転送を開始するため、マ
スタIPC,スレーブIPCのそれぞれが制御レジスタ
コントロール部22により自転送用レジスタグループに
データを設定する(枠1−1,枠1−2)。
First, in order to start data transfer, each of the master IPC and the slave IPC sets data in its own transfer register group by the control register control unit 22 (frame 1-1, frame 1-2).

【0042】 各IPCから他方のIPCに対してI
PCインタフェース制御部23からデータ転送要求コマ
ンドREQを発行する。コマンドが衝突した場合、マス
タIPCが優先される(枠2)。
I from each IPC to the other IPC
The PC interface control unit 23 issues a data transfer request command REQ. If the commands collide, the master IPC has priority (box 2).

【0043】 マスタIPCの自転送用レジスタグル
ープ21Aは、制御レジスタコントロール部22により
スレーブIPCの他転送用レジスタグループ21Bにコ
ピーされる。但し、自IPCのレジスタ設定と同時に他
IPCにレジスタのデータを転送する場合は、既に他I
PCの他転送用レジスタグループ21Bにコピーされて
いるので、この動作は必要ない(枠3)。
The self-transfer register group 21 A of the master IPC is copied to the other transfer register group 21 B of the slave IPC by the control register control unit 22. However, when transferring the register data to another IPC at the same time as setting the register of the own IPC, it is already necessary
This operation is not necessary because it has been copied to the other transfer register group 21B of the PC (frame 3).

【0044】 マスタIPCのデータ転送を行なう。
つまり、MARで指示されるマスタIPC側のMMに記
憶されているデータが読み出され、データバッファ制御
部24からIP−busを介してスレーブ側に転送され
る。この時の、データ転送がDMA転送である時には、
DMAコントロール回路25がデータ転送制御を行な
う。
Data transfer of the master IPC is performed.
That is, the data stored in the MM on the master IPC side designated by the MAR is read and transferred from the data buffer control unit 24 to the slave side via the IP-bus. At this time, when the data transfer is DMA transfer,
The DMA control circuit 25 controls data transfer.

【0045】 次に、スレーブIPC側のデータ転送
を開始する。この場合において、本発明では、枠1−2
に既にデータが設定されているので、データの再設定の
必要はない。
Next, the data transfer on the slave IPC side is started. In this case, according to the present invention, the frame 1-2
Since the data has already been set in, it is not necessary to reset the data.

【0046】 スレーブIPCの自転送用レジスタグ
ループ21Aの内容をマスタIPCの他転送用レジスタ
グループ21Bにコピーする。但し、自IPCのレジス
タ設定と同時に他IPCにレジスタのデータを転送する
場合は、既に他IPCの他転送用レジスタグループ21
Bにコピーされているので、この動作は必要ない(枠
4,枠5)。
The contents of the own transfer register group 21A of the slave IPC are copied to the other transfer register group 21B of the master IPC. However, when the register data is transferred to another IPC at the same time when the register of the own IPC is set, another transfer register group 21 for another IPC is already transferred.
This operation is not necessary because it has been copied to B (frame 4, frame 5).

【0047】 スレーブIPCのデータ転送を行な
う。つまり、MARで指示されるスレーブIPC側のM
Mに記憶されているデータが読み出され、データバッフ
ァ制御部24からIP−busを介してマスタ側に転送
される。
Data transfer of the slave IPC is performed. That is, M on the slave IPC side designated by MAR
The data stored in M is read and transferred from the data buffer control unit 24 to the master side via the IP-bus.

【0048】図4,図5は一方のIPCがデータ転送中
に他方のIPCからデータ転送要求があった場合の動作
シーケンス例を示す図である。図4と図5を合わせて1
つのシーケンスを示す。動作の概要は以下の通りであ
る。
FIGS. 4 and 5 are diagrams showing an operation sequence example when one IPC receives a data transfer request from the other IPC during data transfer. 1 in both FIG. 4 and FIG.
Shows two sequences. The outline of the operation is as follows.

【0049】 自IPCがデータ転送を開始する(枠
1,枠2)。 自IPCがデータ転送中に、他IPCが自己の自転
送用レジスタグループ21Aにデータを設定する(枠
3)。
The own IPC starts data transfer (frame 1, frame 2). While the own IPC is transferring data, another IPC sets data in its own transfer register group 21A (frame 3).

【0050】 自IPCのデータ転送が終了する。 他IPCのデータ転送を開始する。本発明では、枠
3は保存されているので、データの再設定の必要はな
い。
The data transfer of the own IPC is completed. Start data transfer of another IPC. In the present invention, since the frame 3 is stored, it is not necessary to reset the data.

【0051】 他IPCの自転送用レジスタグループ
21Aの内容を自IPCの他転送用レジスタグループ2
1Bにコピーする。但し、自IPCのレジスタ設定と同
時に他IPCにレジスタの内容を転送する場合は、既に
自IPCの他転送用レジスタグループ21Bにコピーさ
れているので、この動作は必要ない(枠4,枠5)。
The contents of the self-transfer register group 21 A of the other IPC are changed to the other transfer register group 2 of the own IPC.
Copy to 1B. However, when the register contents of the own IPC are set and transferred to another IPC at the same time, this operation is not necessary because it has already been copied to the other transfer register group 21B of the own IPC (frame 4, frame 5). .

【0052】 他IPCのデータ転送が終了する。図
6は本発明の一実施例の要部を示す構成ブロック図であ
る。図1と同一のものは、同一の符号を付して示す。図
は自CPU側IPC20と他CPU側IPC20とがI
P−busで接続された状態を示している。図7は図6
に示す実施例の動作シーケンス例を示す図である。この
実施例の動作シーケンスは、以下のとおりである。
The data transfer of the other IPC is completed. FIG. 6 is a configuration block diagram showing a main part of one embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals. In the figure, the IPC 20 of the own CPU and the IPC 20 of the other CPU are I
It shows a state of being connected by P-bus. FIG. 7 shows FIG.
It is a figure which shows the operation sequence example of the Example shown in FIG. The operation sequence of this embodiment is as follows.

【0053】 自IPCから他IPCにデータ転送を
行なっている。 他IPCで何らかの障害が発生した。 他IPCは、その障害内容を自己のDSRに書き込
む。
Data is being transferred from its own IPC to another IPC. Something went wrong with another IPC. The other IPC writes the failure content in its DSR.

【0054】 障害内容により、他IPCはDSRの
内容を自IPCのMDSRに送信する。 自IPCは、MDSRが書き込まれたことを認識す
ると、その障害の度合いにより自CCに通知する。
Depending on the content of the failure, the other IPC sends the content of DSR to the MDSR of its own IPC. When the own IPC recognizes that the MDSR has been written, it notifies the own CC according to the degree of the failure.

【0055】 自CCは、IPCからの通知に対し
て、MDSRを読み取り、その障害内容により適切な処
理を実行する。この場合において、自転送用レジスタグ
ループ21A内に、その装置の状態及び障害内容を表示
する状態表示レジスタを自装置用DSRと他装置用MD
SRをそれぞれ設け、自装置のDSRが変化した場合、
必要に応じて他装置のMDSRに自装置のDSRの内容
を転送することにより、それぞれのIPCにおいて障害
の発生がどこにあるのかの切り分けができる。
In response to the notification from the IPC, the own CC reads MDSR and executes appropriate processing according to the failure content. In this case, in the self-transfer register group 21A, a status display register for displaying the status and failure content of the device is provided in the self-device DSR and the other-device MD.
When each SR is provided and the DSR of its own device changes,
By transferring the contents of the DSR of the own device to the MDSR of the other device as necessary, it is possible to identify where the failure occurs in each IPC.

【0056】また、他転送用レジスタグループ21B内
に、動作中の他装置の状態及び他装置が動作中に発生し
た障害内容を表示する状態表示レジスタ#MDSRを設
けることにより、どちらの装置が要求した転送であって
も障害解析を行なうことができる。
Further, by providing a status display register #MDSR for displaying the status of the other device in operation and the details of the fault occurring while the other device is operating in the other transfer register group 21B, which device requests The failure analysis can be performed even for the transferred data.

【0057】図8は本発明によるデータ折り返し動作の
説明図である。図において、,は自プロセッサ内I
PC折り返し時のデータの流れを、,は相手プロセ
ッサ内IPC折り返し時のデータの流れを示す。の場
合、CCから送出されたデータは自IPC内を折り返し
て自CCに戻る。一方、の場合には、CCから送出さ
れたデータは相手方IPCまで転送され、相手方IPC
内で折り返され、自IPCを経て自CCに戻る。,
についても同様である。
FIG. 8 is an explanatory diagram of the data folding operation according to the present invention. In the figure ,, is the internal I
The data flow when the PC is returned, and the data flow when the IPC return in the partner processor is shown. In the case of, the data sent from the CC returns in the own IPC and returns to the own CC. On the other hand, in the case of, the data sent from the CC is transferred to the partner IPC, and the partner IPC
It returns inside and returns to its own CC via its own IPC. ,
The same applies to.

【0058】の場合には、自IPC内データ転送ルー
トの正常性の診断が行なえ、の場合には他IPC内ま
で含むデータ転送ルートの正常性の診断が行なえる。
の場合、新たにCPUを追加する時に、増設したCPU
の動作の正常性を診断するのに有効である。
In the case of (1), the normality of the data transfer route in the own IPC can be diagnosed, and in the case of (2), the normality of the data transfer route including other IPCs can be diagnosed.
In case of, when adding a new CPU, the added CPU
It is effective in diagnosing the normality of the operation of.

【0059】図9はこの時の自IPC内IPCデータ折
り返しコマンドの説明図である。図9において、28は
データ折り返しコマンドを実行する折り返し制御部、2
9,30はデータのバッファリングを行なうバスドライ
バ、31はバスドライバのゲート制御を行なうゲート制
御部である。このように構成された装置の動作を説明す
る。
FIG. 9 is an explanatory diagram of the IPC data loopback command in the own IPC at this time. In FIG. 9, 28 is a loopback control unit that executes a data loopback command, and 2
Reference numerals 9 and 30 are bus drivers for buffering data, and 31 is a gate control unit for controlling the gates of the bus drivers. The operation of the apparatus thus configured will be described.

【0060】 自IPCバス内データ折り返しコマン
ドが自命令制御レジスタCMRに設定されると、折り返
し制御部28が起動する。折り返し制御部28は、主記
憶装置MMの指定のアドレス(MARに設定されてい
る)からデータを読み出し、データバッファレジスタD
BRに格納する。
When the own IPC bus data return command is set in the own instruction control register CMR, the return control unit 28 is activated. The loopback control unit 28 reads data from the designated address (set in MAR) of the main memory device MM, and the data buffer register D
Store in BR.

【0061】 折り返し制御部28は、DBRのデー
タを送信用データバッファSBRに転送し、データ送出
を開始させる。この時、IP−busのケーブルの影響
を受けないように、折り返し制御部28はゲート制御部
31に指令し、バスドライバ29,30のゲートを閉じ
る。
The loopback control unit 28 transfers the data of the DBR to the transmission data buffer SBR and starts the data transmission. At this time, the loopback control unit 28 commands the gate control unit 31 to close the gates of the bus drivers 29 and 30 so as not to be affected by the IP-bus cable.

【0062】 SBRから送出されたデータは、バス
ドライバ29→バスドライバ30を経て自身用バッファ
レジスタRBRに受信される。 RBRのデータはDBRに戻される。
The data sent from the SBR is received by the own buffer register RBR via the bus driver 29 → bus driver 30. The RBR data is returned to the DBR.

【0063】 DBRに戻されたデータは、更に元の
MMに格納される。このようにして、MMを送出したデ
ータと、MMに戻ったデータを比較して自IPC内のデ
ータ転送ルートの正常性を診断することができる。
The data returned to the DBR is further stored in the original MM. In this way, the data sent from the MM and the data returned to the MM can be compared to diagnose the normality of the data transfer route in the own IPC.

【0064】図10は他IPC内データ折り返しコマン
ドの説明図である。図9と同一のものは、同一の符号を
付して示す。この他IPC内折り返しコマンドが実行さ
れると、データは他IPC内まで転送され、他IPCか
ら自IPCに送り返されてくる。以下にその動作を示
す。
FIG. 10 is an explanatory diagram of a data loopback command in another IPC. The same parts as those in FIG. 9 are designated by the same reference numerals. When the other IPC return command is executed, the data is transferred to the other IPC and sent back from the other IPC to the own IPC. The operation is shown below.

【0065】 他IPCバス内データ折り返しコマン
ドがCMRに設定されると、折り返し制御部28が起動
する。折り返し制御部28は、主記憶装置MMの指定の
アドレス(MARに設定されている)からデータを読み
出し、DBRに格納する。
When the data return command in the other IPC bus is set to CMR, the return control unit 28 is activated. The loopback control unit 28 reads data from the designated address (set in MAR) of the main storage device MM and stores it in the DBR.

【0066】 折り返し制御部28は、DBRのデー
タをSBRに転送し、データ送出を開始させる。 折り返し制御部28は、SBRから読み出したデー
タをバスドライバ27を介してIP−busに乗せる。
このデータは、他IPCに入り、他IPCのバスドライ
バ30を介して受信用データバッファRBRに転送され
る。
The loopback control unit 28 transfers the data in the DBR to the SBR and starts the data transmission. The loopback control unit 28 puts the data read from the SBR on the IP-bus via the bus driver 27.
This data enters the other IPC and is transferred to the reception data buffer RBR via the bus driver 30 of the other IPC.

【0067】 他IPC側では、折り返し制御部28
がRBRよりDBRにデータを転送する。 折り返し制御部28は、DBRのデータを読み出
し、送信用データバッファレジスタSBRに転送する。
On the other IPC side, the return control unit 28
Transfers data from RBR to DBR. The loopback control unit 28 reads the data in the DBR and transfers it to the transmission data buffer register SBR.

【0068】 他IPC側では、新たなコマンド(他
IPC内データ折り返しコマンド返送コマンド)によ
り、バスドライバ27を介してIP−busに乗せ、自
IPC側のRBRに転送する。
On the other IPC side, a new command (data return command return command in other IPC) is used to load the IP-bus via the bus driver 27 and transfer it to the RBR on the own IPC side.

【0069】 折り返し制御部28は、RBRのデー
タを読み出してDBRに戻す。 DBRに戻されたデータは、更に元のMMに格納さ
れる。このようにして、MMを送出したデータと、MM
に戻ったデータを比較して他IPCまでを含むデータ転
送ルートの正常性を診断することができる。これによれ
ば、前述したように、新たにCPUを追加する時に、増
設したCPUの動作の正常性を診断するのに有効であ
る。
The loopback control unit 28 reads the RBR data and returns it to the DBR. The data returned to the DBR is further stored in the original MM. In this way, the data sent from the MM and the MM
It is possible to diagnose the normality of the data transfer route including up to another IPC by comparing the data returned to. According to this, as described above, when adding a new CPU, it is effective in diagnosing the normality of the operation of the added CPU.

【0070】図11は自IPC内データ折り返しコマン
ドの動作シーケンス例を示す図である。以下の動作は、
折り返し制御部28により行われる。以下、このシーケ
ンスを説明する。
FIG. 11 is a diagram showing an operation sequence example of the data return command in the own IPC. The following operations
This is performed by the loopback control unit 28. The sequence will be described below.

【0071】 試験データを主記憶装置MMに用意し
ておく。 自IPC内の自語数カウントレジスタWCRに試験
データの語数を設定する。
The test data is prepared in the main memory device MM. The number of words of test data is set in the own word number count register WCR in the own IPC.

【0072】 自IPC内の自メモリアドレスレジス
タMARに試験データの格納アドレスを設定する。 自IPC内の#MARに折り返されたデータの格納
アドレスを設定する。
The storage address of the test data is set in the own memory address register MAR in the own IPC. The storage address of the returned data is set in #MAR in the own IPC.

【0073】 自IPC内の自命令制御レジスタCM
Rに自IPCバス内折り返しコマンドを設定する。この
時、IPCはデータ折り返しを開始する。 自IPCは、MMの試験データをデータバッファレ
ジスタDBRに取り込み、DBRからSBRに転送し、
SBRからRBRに折り返し、再びRBRからDBRを
経由して#MARで示すMMのアドレスに折り返したデ
ータを格納する。この動作は、WCR=0になるまで自
動的に実行され、WCR=0になるとコマンド終了をC
Cへ通知する。
Own instruction control register CM in own IPC
Set the loopback command in its own IPC bus to R. At this time, the IPC starts data folding. The own IPC fetches the MM test data into the data buffer register DBR and transfers it from the DBR to the SBR.
The data is returned from the SBR to the RBR, and the returned data is stored again from the RBR to the address of the MM indicated by #MAR via the DBR. This operation is automatically executed until WCR = 0, and when WCR = 0, the command end is C
Notify C.

【0074】 自IPCは試験データと折り返された
データとを比較することにより、自IPCの正常性を診
断する。診断結果は、自状態表示レジスタDSRに表示
される。
The own IPC diagnoses the normality of the own IPC by comparing the test data with the folded data. The diagnosis result is displayed in the self-status display register DSR.

【0075】この実施例によれば、他転送用レジスタグ
ループ21B内の他メモリアドレスレジスタ(#MA
R)を自装置から設定できるようにすると共に、この#
MARを制御する制御回路を設け、前記折り返しコマン
ドを実行する際に、主記憶装置(MM)のアドレス設定
用のレジスタとして#MARを使用することにより、M
Mの任意のアドレスからデータを送出し、任意のアドレ
スに折り返しデータを格納することができる。
According to this embodiment, the other memory address register (#MA) in the other transfer register group 21B is used.
R) can be set from its own device, and
By providing a control circuit for controlling the MAR and using #MAR as a register for setting the address of the main memory (MM) when executing the loopback command, M
Data can be sent from any address of M and the return data can be stored at any address.

【0076】図12,図13は他IPC内データ折り返
しコマンドの動作シーケンス例を示す図である。図12
と図13を合わせて1つのシーケンスであり、つながり
部分は一部重ねて示す。以下の動作は、折り返し制御部
28により行われる。以下、このシーケンスを説明す
る。
12 and 13 are diagrams showing an operation sequence example of the data return command in another IPC. FIG.
13 is one sequence, and the connected portions are partially overlapped and shown. The following operation is performed by the turnback control unit 28. The sequence will be described below.

【0077】 試験データを主記憶装置MMに用意し
ておく。 自IPC内の自語数カウントレジスタWCRに試験
データの語数を設定する。
The test data is prepared in the main memory device MM. The number of words of test data is set in the own word number count register WCR in the own IPC.

【0078】 自IPC内の自メモリアドレスレジス
タMARに試験データの格納アドレスを設定する。 自IPC内の#MARに折り返されたデータの格納
アドレスを設定する。
The storage address of the test data is set in the own memory address register MAR in the own IPC. The storage address of the returned data is set in #MAR in the own IPC.

【0079】 自IPC内の自命令制御レジスタCM
Rに他IPCバス内折り返しコマンドを設定する。この
時、自IPCはCMRの内容を他IPCのCMR(又は
#CMR)に転送すると同時にデータ折り返しを開始す
る。
Own instruction control register CM in own IPC
Set a return command in another IPC bus to R. At this time, the own IPC transfers the contents of the CMR to the CMR (or #CMR) of the other IPC, and simultaneously starts data loopback.

【0080】 自IPCは、MMの試験データをデー
タバッファレジスタDBRに取り込み、DBRからSB
Rに転送し、SBRから他IPCのRBRに転送する。 他IPCでは、CMR(又は#CMR)により折り
返し指示を確認し、DBR及びSBRを経由して自IP
CのRBRにデータを折り返す。
The own IPC fetches the test data of the MM into the data buffer register DBR, and from the DBR to SB.
Transfer to R and transfer from SBR to RBR of other IPC. In the other IPC, the return instruction is confirmed by the CMR (or #CMR), and the own IP is transmitted via the DBR and SBR.
Data is returned to RBR of C.

【0081】 自IPCは、折り返されたデータをM
Mの#MARで示すアドレスに格納する。からの動
作はWCR=0になるまで自動的に実行され、WCR=
0になると、コマンド終了をCCへ通知する。
The own IPC uses the returned data as M
It is stored in the address indicated by #MAR of M. Are automatically executed until WCR = 0, and WCR =
When it becomes 0, the command completion is notified to CC.

【0082】 自IPCは試験データと折り返された
データとを比較することにより、自IPCから他IPC
にかけてのデータ転送ルートの正常性を診断する。診断
結果は、自状態表示レジスタDSRに表示される。
The own IPC compares the test data with the folded data, and
Diagnose the normality of the data transfer route to the end. The diagnosis result is displayed in the self-status display register DSR.

【0083】この実施例によれば、折り返しコマンドに
よるデータ折り返しの時、#MARに書き込む主記憶装
置のアドレスとして、自メモリアドレスレジスタ(MA
R)の内容に自語数カウントレジスタ(WCR)の内容
を加算したものに設定することにより、折り返しデータ
の書き込みアドレスを自動設定することができる。
According to this embodiment, at the time of data folding back by the folding command, the address of the own memory address register (MA
By setting the content of R) to the content of the self-word count register (WCR), the write address of the folded data can be automatically set.

【0084】図14は自IPC内データ折り返しコマン
ドの他の動作シーケンス例を示す図である。以下の動作
は、折り返し制御部28により行われる。以下、このシ
ーケンスを説明する。
FIG. 14 is a diagram showing another operation sequence example of the data return command in the own IPC. The following operation is performed by the turnback control unit 28. The sequence will be described below.

【0085】 試験データを主記憶装置MMに用意し
ておく。 自IPC内の自語数カウントレジスタWCRに試験
データの語数を設定する。
The test data is prepared in the main memory MM. The number of words of test data is set in the own word number count register WCR in the own IPC.

【0086】 自IPC内の自メモリアドレスレジス
タMARに試験データの格納アドレスを設定する。 自IPC内の自命令制御レジスタCMRに自IPC
バス内折り返しコマンドを設定する。この時、自IPC
の#MARには折り返されたデータの格納アドレスとし
てMAR+WCR(又はMAR−WCR)を設定すると
同時にデータ折り返しを開始する。
The storage address of the test data is set in the own memory address register MAR in the own IPC. Own IPC in own command control register CMR in own IPC
Set the loopback command in the bus. At this time, own IPC
In #MAR, MAR + WCR (or MAR-WCR) is set as the storage address of the folded data, and at the same time, the data folding is started.

【0087】 自IPCは、MMの試験データをデー
タバッファレジスタDBRに取り込み、DBRからSB
Rに転送し、SBRからRBRへ折り返し、再びDBR
を経由してMMの#MARで示すアドレスに格納する。
この動作は、WCR=0になるまで自動的に実行され、
WCR=0になると、コマンド終了をCCへ通知する。
The own IPC fetches the test data of MM into the data buffer register DBR, and from the DBR to SB.
Transfer to R, return from SBR to RBR, then DBR again
And is stored in the address indicated by #MAR of the MM.
This operation is automatically executed until WCR = 0,
When WCR = 0, the command completion is notified to CC.

【0088】 自IPCは試験データと折り返された
データとを比較することにより、自IPCのデータ転送
ルートの正常性を診断する。診断結果は、自状態表示レ
ジスタDSRに表示される。
The own IPC diagnoses the normality of the data transfer route of the own IPC by comparing the test data with the folded data. The diagnosis result is displayed in the self-status display register DSR.

【0089】この実施例によれば、折り返しコマンドに
よるデータ折り返しの時、#MARに書き込む主記憶装
置のアドレスとして、自メモリアドレスレジスタ(MA
R)の内容に自語数カウントレジスタ(WCR)の内容
を加算したものに設定することにより、折り返しデータ
の書き込みアドレスを自動設定することができる。
According to this embodiment, when the data is folded back by the folding command, the address of the main memory device (MA) is written in #MAR as the address of the main memory.
By setting the content of R) to the content of the self-word count register (WCR), the write address of the folded data can be automatically set.

【0090】図15,図16は他IPC内データ折り返
しコマンドの他の動作シーケンス例を示す図である。図
15と図16を合わせて1つのシーケンスであり、つな
がり部分は一部重ねて示す。以下の動作は、折り返し制
御部28により行われる。以下、このシーケンスを説明
する。
FIGS. 15 and 16 are diagrams showing another operation sequence example of the data return command in another IPC. FIG. 15 and FIG. 16 are combined into one sequence, and the connected portions are partially overlapped and shown. The following operation is performed by the turnback control unit 28. The sequence will be described below.

【0091】 試験データを主記憶装置MMに用意し
ておく。 自IPC内の自語数カウントレジスタWCRに試験
データの語数を設定する。
Test data is prepared in the main memory MM. The number of words of test data is set in the own word number count register WCR in the own IPC.

【0092】 自IPC内の自メモリアドレスレジス
タMARに試験データの格納アドレスを設定する。 自IPC内の自命令制御レジスタCMRに他IPC
バス内折り返しコマンドを設定する。この時、自IPC
の#MARには折り返されたデータの格納アドレスとし
てMAR+WCR(又はMAR−WCR)を設定すると
同時にデータ折り返しを開始する。
The storage address of the test data is set in the own memory address register MAR in the own IPC. Other IPC in own instruction control register CMR in own IPC
Set the loopback command in the bus. At this time, own IPC
In #MAR, MAR + WCR (or MAR-WCR) is set as the storage address of the folded data, and at the same time, the data folding is started.

【0093】 自IPCは主記憶装置MMの試験デー
タをDBRに取り込み、自IPCのSBRを経由して他
IPCのRBRにデータを転送する。 他IPCでは、CMR(又は#CMR)により折り
返し指示を認識し、DBR及びSBRを経由して自IP
CのRBRへデータを折り返す。
The own IPC fetches the test data of the main storage device MM into the DBR and transfers the data to the RBR of another IPC via the SBR of the own IPC. In the other IPC, the return instruction is recognized by the CMR (or #CMR), and the own IP is transmitted via the DBR and SBR.
Data is returned to RBR of C.

【0094】 自IPCは折り返されたデータを#M
ARで示す主記憶装置MMのアドレスに格納する。か
らの動作はWCR=0になるまで自動的に実行され、
WCR=0になると、コマンド終了をCCへ通知する。
The own IPC returns the returned data to #M.
It is stored in the address of the main memory MM indicated by AR. The operation from is automatically executed until WCR = 0,
When WCR = 0, the command completion is notified to CC.

【0095】 自IPCは試験データと折り返された
データとを比較することにより、自IPCから他IPC
にかけてのデータ転送ルートの正常性を診断する。診断
結果は、自状態表示レジスタDSRに表示される。
The own IPC compares the test data with the returned data, and
Diagnose the normality of the data transfer route to the end. The diagnosis result is displayed in the self-status display register DSR.

【0096】この実施例によれば、折り返しコマンドに
よるデータ折り返しの時、#MARに書き込む主記憶装
置のアドレスとして、自メモリアドレスレジスタ(MA
R)の内容に自語数カウントレジスタ(WCR)の内容
を加算したものに設定することにより、折り返しデータ
の書き込みアドレスを自動設定することができる。
According to this embodiment, when the data is folded back by the folding command, the address of the own memory address register (MA
By setting the content of R) to the content of the self-word count register (WCR), the write address of the folded data can be automatically set.

【0097】図17は自IPCの診断実施例の説明図で
ある。図9と同一のものは、同一の符号を付して示す。
この実施例の動作は以下の通りである。 試験データを主記憶装置MMに用意する。
FIG. 17 is an explanatory diagram of a diagnostic embodiment of the own IPC. The same parts as those in FIG. 9 are designated by the same reference numerals.
The operation of this embodiment is as follows. The test data is prepared in the main memory MM.

【0098】 自IPCのMARに試験データの格納
アドレスを設定する。 自IPCのCMRに自IPC内他転送用レジスタグ
ループ折り返し書き込みコマンドを設定する。
The storage address of the test data is set in the MAR of the own IPC. A register group return write command for other transfer in the own IPC is set in the CMR of the own IPC.

【0099】 自IPCは、MMの内容をDBRに取
り込み、自IPCのSBRを経由して自IPCのRBR
に折り返し、他転送用レジスタグループ21Bの任意の
1つに格納する。
The own IPC fetches the contents of the MM into the DBR, and passes the SBR of the own IPC to the RBR of the own IPC.
And stores it in any one of the other transfer register groups 21B.

【0100】 で格納した他転送用レジスタグルー
プ21Bを読み取り、MM上の試験データと比較するこ
とにより、他転送用レジスタグループの正常性を確認す
る。この実施例によれば、折り返しコマンドの折り返し
先を、他転送用レジスタグループ21B内の任意のレジ
スタに設定するコマンドを設け、かつこのコマンドを設
定する回路を設けることにより、他転送用レジスタグル
ープの他IPCかの設定を自IPC内で診断することが
できる。
The normality of the other transfer register group is confirmed by reading the other transfer register group 21B stored in and comparing it with the test data on the MM. According to this embodiment, by providing a command for setting the return destination of the return command to an arbitrary register in the other transfer register group 21B, and providing a circuit for setting this command, the other transfer register group The setting of another IPC can be diagnosed within the own IPC.

【0101】図18は本発明の他の実施例の動作説明図
である。この実施例は、2台の装置から同時にデータ転
送要求コマンドが発行された場合のために、各装置内に
予めコマンド実行の優先権を持たせるたのマスタ/スレ
ーブ設定フラグを格納するためのソフトウェアで制御可
能なレジスタを設けたものである。
FIG. 18 is an operation explanatory diagram of another embodiment of the present invention. In this embodiment, software for storing a master / slave setting flag for giving priority to command execution in each device in advance when data transfer request commands are issued from two devices at the same time. It is provided with a register that can be controlled by.

【0102】具体的には、図のように、IPC内制御レ
ジスタSSRにマスタ/スレーブの設定ビットを設け
る。SSRは、上位装置より読み書き可能なレジスタと
し、例えば前記設定ビットが“1”の時にマスタ、
“0”の時にスレーブとする。マスタに設定された時
は、相手装置との通信で競合が生じた時、優先権を持つ
ように調停回路を構成している。
Specifically, as shown in the figure, a master / slave setting bit is provided in the IPC control register SSR. The SSR is a register that is readable and writable by a higher-level device. For example, when the setting bit is "1", the master,
When it is "0", it becomes a slave. When set as the master, the arbitration circuit is configured to have the priority when a conflict occurs with the communication with the partner device.

【0103】この実施例によれば、マスタ/スレーブの
設定を自由に変更することができる。図19は正常なマ
スタ設定シーケンス例を示す図である。この動作は、以
下の通りである。
According to this embodiment, the master / slave setting can be freely changed. FIG. 19 is a diagram showing an example of a normal master setting sequence. This operation is as follows.

【0104】 自IPCは、他IPCにIP−bus
を経由して自己がマスタに設定されたことを通知する情
報転送を行なう。 他IPCは、この通知情報を受け取ると、自己のS
SRを参照して、自己がスレーブに設定されていたら、
正常応答情報を自IPC側に返す。
The own IPC has IP-bus to other IPC.
The information is transferred via the notification that it has been set as the master. Upon receiving this notification information, the other IPC receives its own S
Referring to SR, if self is set as slave,
The normal response information is returned to the own IPC side.

【0105】 自IPCは、正常応答情報を受け取る
と、CPUに正常終了の割り込みを行なう。図20は他
IPCがマスタに設定されている時の動作シーケンス例
を示す図である。この動作は、以下の通りである。 自IPCは、他IPCにIP−busを経由して自
己がマスタに設定されたことを通知する情報転送を行な
う。
Upon receiving the normal response information, the own IPC issues a normal termination interrupt to the CPU. FIG. 20 is a diagram showing an operation sequence example when another IPC is set as a master. This operation is as follows. The own IPC transfers information that notifies the other IPC via the IP-bus that it has been set as the master.

【0106】 他IPCは、この通知情報を受け取る
と、自己のSSRを参照して、自己がマスタに設定され
ていたら、異常応答情報を自IPC側に返す。 自IPCは、異常応答情報を受け取ると、自己のS
SRをスレーブに戻し、CPUに異常割り込みを行な
う。
Upon receiving this notification information, the other IPC refers to its own SSR and, if it is set as the master, returns abnormal response information to its own IPC side. When the own IPC receives the abnormal response information, the own IPC
SR is returned to the slave and an abnormal interrupt is issued to the CPU.

【0107】この実施例によれば、自装置がマスタ設定
コマンドを受信した時、バスを介して他装置からの応答
情報により他装置が既にマスタに設定されていることが
分かったら、直ちにマスタ設定を中止することにより、
両装置が共にマスタになることを防ぐことができる。
According to this embodiment, when the self device receives the master setting command, if it is found from the response information from the other device via the bus that the other device is already set as the master, the master setting is immediately performed. By canceling
It is possible to prevent both devices from becoming the master.

【0108】図21は、マスタ設定コマンドを同時に受
け付けた時の動作シーケンス例を示す図である。この動
作は、以下の通りである。 それぞれのIPCは、他IPCにIP−busを経
由して自己がマスタに設定されたことを通知する情報転
送を行なう。
FIG. 21 is a diagram showing an operation sequence example when the master setting command is simultaneously received. This operation is as follows. Each IPC transfers information to notify the other IPC via the IP-bus that it has been set as a master.

【0109】 他IPCでは、この通知情報を受け取
ると、両IPC共にマスタ設定となるため、それぞれ自
分を優先として要求受付信号(ACK)を返送しないよ
うに構成し、それぞれの装置がタイムアウトを検出し
て、CPUに異常終了割り込みを行なう。
Upon receipt of this notification information, the other IPCs become master settings for both IPCs, so they are configured not to send back the request acceptance signal (ACK) with their own priority, and each device detects a timeout. Then, an abnormal end interrupt is issued to the CPU.

【0110】この場合には、それぞれの装置からのマス
タ設定の衝突が発生するのを防止することができる。こ
の場合には、それぞれの装置が、改めてマスタ設定コマ
ンドを再設定することになる。
In this case, it is possible to prevent the collision of the master settings from the respective devices. In this case, each device resets the master setting command again.

【0111】図22は本発明の他の実施例の動作説明図
である。この実施例は、中央制御装置(CPU)が0系
と1系に二重化されている時に、0系と1系間をIP−
busで接続して、自系のデータ転送ルートの正常性を
診断するようにしたものである。その診断の手順は以下
の通りである。
FIG. 22 is an operation explanatory diagram of another embodiment of the present invention. In this embodiment, when the central control unit (CPU) is duplicated in the 0 system and the 1 system, the IP-system is connected between the 0 system and the 1 system.
The bus is connected to diagnose the normality of the data transfer route of the own system. The procedure of the diagnosis is as follows.

【0112】 IPCの一方をマスタに、他方をスレ
ーブに設定する。 そして、図22の接続状態で通常の診断を行なう。
この時、診断結果は同じMMに書き込まれるので、診断
プログラムもこれに対応していることが必要である。
One of the IPCs is set as a master and the other is set as a slave. Then, normal diagnosis is performed in the connection state of FIG.
At this time, since the diagnostic result is written in the same MM, it is necessary that the diagnostic program also supports this.

【0113】 必要ならば、マスタとスレーブを逆に
してもう一度の診断を行なうようにしてもよい。これ
により、プロセッサ増設前に自己のIPC内のデータ転
送ルートの正常性を診断することができる。
If necessary, the master and the slave may be reversed and the second diagnosis may be performed. As a result, it is possible to diagnose the normality of the data transfer route in its own IPC before adding a processor.

【0114】図23は本発明の他の実施例の動作説明図
である。このシステムは、同系内に複数のIPCがある
時に、一方のIPCを0系、他方のIPCを1系として
0系と1系をIP−busで接続して診断を行なうもの
である。診断手順は以下の通りである。
FIG. 23 is a diagram for explaining the operation of another embodiment of the present invention. In this system, when there are a plurality of IPCs in the same system, one IPC is used as the 0 system and the other IPC is used as the 1 system, and the 0 system and the 1 system are connected by the IP-bus for diagnosis. The diagnostic procedure is as follows.

【0115】 IPCの一方をマスタに、他方をスレ
ーブに設定する。 そして、図23の接続状態で通常の診断を行なう。
この時、診断結果は同じMMに書き込まれるので、診断
プログラムもこれに対応していることが必要である。
One of the IPCs is set as a master and the other is set as a slave. Then, normal diagnosis is performed in the connection state of FIG.
At this time, since the diagnostic result is written in the same MM, it is necessary that the diagnostic program also supports this.

【0116】 必要ならば、マスタとスレーブを逆に
してもう一度の診断を行なうようにしてもよい。これ
により、プロセッサ増設前に自己のIPC内のデータ転
送ルートの正常性を診断することができる。
If necessary, the master and the slave may be reversed and the diagnosis may be performed again. As a result, it is possible to diagnose the normality of the data transfer route in its own IPC before adding a processor.

【0117】[0117]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、自装置のデータ転送用レジスタグループ(自転
送用レジスタグループ)と、相手装置のデータ転送用レ
ジスタグループ(他転送用レジスタグループ)と、デー
タ転送用レジスタグループを2面設けた。つまり、自I
PCが起動したデータ転送には自転送用レジスタグルー
プを、他IPCが起動したデータ転送には他転送用レジ
スタグループを使用するように制御レジスタグループで
管理することで、一方の装置がデータ転送中に他方の装
置からデータ転送要求があった場合や、両装置からのデ
ータ転送要求が衝突した場合に、後からの乃至は劣位の
転送要求を前記データ転送用レジスタグループに保存す
ることで、データ転送要求を再設定する必要がなくな
り、ソフトウェア処理に要する時間も短かくてすみ、デ
ータ転送能力が低下することはなくなる。
As described above in detail, according to the present invention, the data transfer register group of its own device (self transfer register group) and the data transfer register group of the other device (other transfer register). Group) and two groups of data transfer register groups. That is, I
One of the devices is transferring data by managing the control register group so that the PC transfer uses the own transfer register group for data transfer and the other IPC uses the other transfer register group for data transfer started. When there is a data transfer request from the other device or when the data transfer requests from both devices collide with each other, the later or inferior transfer request is saved in the data transfer register group, There is no need to reset the transfer request, the time required for software processing is short, and the data transfer capability is not reduced.

【0118】この場合において、前記自転送用レジスタ
グループ21A内に、その装置の状態及び障害内容を表
示する状態表示レジスタを自装置用(DSR)と他装置
用(MDSR)をそれぞれ設け、自装置のDSRが変化
した場合、必要に応じて他装置のMDSRに自装置のD
SRの内容を転送する回路を設けることにより、障害の
発生がどこにあるのかの切り分けができる。
In this case, in the self-transfer register group 21A, the status display registers for displaying the status and failure contents of the device are provided for the self device (DSR) and for the other device (MDSR), respectively. If the DSR of the device changes, the DSR of the device itself is added to the MDSR of another device as necessary.
By providing a circuit that transfers the contents of SR, it is possible to determine where the failure occurs.

【0119】また、前記他転送用レジスタグループ21
B内に、動作中の他装置の状態及び他装置が動作中に発
生した障害内容を表示する状態表示レジスタ(#MDS
R)を設けることにより、どちらの装置が要求した転送
であっても障害解析を行なうことができる。
Further, the other transfer register group 21
In B, a status display register (#MDS) for displaying the status of the other device in operation and the content of the failure that occurred while the other device was operating.
By providing R), failure analysis can be performed regardless of the transfer requested by either device.

【0120】また、前記自転送用レジスタグループ21
A内の自命令制御レジスタ(CMR)に、診断用コマン
ドとして自装置内データ折り返しと他装置内データ折り
返しのコマンドを設定し、かつこれら折り返し試験を実
現する折り返し制御部を設けることにより、1回の折り
返しコマンドでIPCのデータルートの診断ができる。
これにより、IPCの障害が起きた時、自装置か他装置
かの見極めができる。
Further, the self-transfer register group 21
By setting a command for data wrapping within its own device and a data wrapping within another device as a diagnostic command in its own command control register (CMR) in A, and by providing a wrapping control section for realizing these wrapping tests, it is possible to execute once. The IPC data route can be diagnosed with the return command.
As a result, when an IPC failure occurs, it is possible to determine whether it is the own device or another device.

【0121】また、前記データバッファ制御部24内に
送信用データバッファレジスタ(SBR)と、受信用デ
ータバッファレジスタ(RBR)を設け、自装置内デー
タ折り返しコマンドを設定した時に、前記折り返し制御
部は自装置の出力したデータをバスドライバを介して同
時に入力することにより、データ折り返し診断を行なう
ことができる。
In addition, a transmission data buffer register (SBR) and a reception data buffer register (RBR) are provided in the data buffer control unit 24, and when the own device data return command is set, the return control unit Data loopback diagnosis can be performed by simultaneously inputting the data output from the device itself via the bus driver.

【0122】また、前記他転送用レジスタグループ21
B内の他メモリアドレスレジスタ(#MAR)を自装置
から設定できるようにすると共に、この#MARを制御
する制御回路を設け、前記折り返しコマンドを実行する
際に、主記憶装置(MM)のアドレス設定用のレジスタ
として#MARを使用することにより、MMの任意のア
ドレスからデータを送出し、任意のアドレスに折り返し
データを格納することができる。
The other transfer register group 21
The other memory address register (#MAR) in B can be set from its own device, and a control circuit for controlling this #MAR is provided so that when executing the loopback command, the address of the main memory device (MM) is set. By using #MAR as a register for setting, it is possible to send data from any address of the MM and store the return data at any address.

【0123】また、折り返しコマンドによるデータ折り
返しの時、#MARに書き込む主記憶装置のアドレスと
して、自メモリアドレスレジスタ(MAR)の内容に自
語数カウントレジスタ(WCR)の内容を加算したもの
に設定することにより、折り返しデータの書き込みアド
レスを自動設定することができる。
When data is returned by the return command, the address of the main memory to be written in #MAR is set to the content of its own memory address register (MAR) plus the content of its own word count register (WCR). As a result, the write address of the return data can be automatically set.

【0124】また、折り返しコマンドの折り返し先を、
他転送用レジスタグループ21B内の任意のレジスタに
設定するコマンドを設け、かつこのコマンドを設定する
回路を設けることにより、他転送用レジスタグループの
他IPCかの設定を自IPC内で診断することができ
る。
The return destination of the return command is
By providing a command for setting an arbitrary register in the other transfer register group 21B and providing a circuit for setting this command, the setting of another IPC of the other transfer register group can be diagnosed in the own IPC. it can.

【0125】また、2台の装置から同時にデータ転送要
求コマンドが発行された場合のために、各装置内に予め
コマンド実行の優先権を持たせるたのマスタ/スレーブ
設定フラグを格納するためのソフトウェアで制御可能な
レジスタを設けることにより、マスタ/スレーブの設定
を自由に変更することができる。
Software for storing a master / slave setting flag for giving a command execution priority right to each device in the case where a data transfer request command is issued from two devices at the same time. The master / slave setting can be freely changed by providing a register controllable by.

【0126】また、自装置がマスタ設定コマンドを受信
した時、バスを介して他装置からの応答情報により他装
置が既にマスタに設定されていることが分かったら、直
ちにマスタ設定を中止することにより、両装置が共にマ
スタになることを防ぐことができる。
When the own device receives the master setting command, if it is found from the response information from the other device via the bus that the other device is already set as the master, the master setting is immediately stopped. It is possible to prevent both devices from becoming the master.

【0127】更に、装置が0系と1系に二重化されてい
る場合において、0系のバスと1系のバスを相互接続
し、一方をマスタに他方をスレーブに設定して0系と1
系の間で通信を可能にし、0系と1系の装置間で診断プ
ログラムを実行させるようにした。これにより、プロセ
ッサ増設前に自己のIPC内のデータ転送ルートの正常
性を診断することができる。
Further, in the case where the device is duplicated into the 0-system and the 1-system, the 0-system bus and the 1-system bus are interconnected, and one of them is set as the master and the other is set as the slave, and the 0-system and the 1-system are set.
Communication is enabled between the systems, and the diagnostic program is executed between the 0-system and 1-system devices. As a result, it is possible to diagnose the normality of the data transfer route in its own IPC before adding a processor.

【0128】このように、本発明によれば、両方の装置
間で確実にデータを転送することができるプロセッサ間
通信装置を提供することができる。
As described above, according to the present invention, it is possible to provide an interprocessor communication device capable of reliably transferring data between both devices.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】両IPCからのデータ転送要求が衝突した場合
の動作シーケンス例を示す図である。
FIG. 2 is a diagram showing an operation sequence example when data transfer requests from both IPCs collide.

【図3】両IPCからのデータ転送要求が衝突した場合
の動作シーケンス例を示す図である。
FIG. 3 is a diagram showing an operation sequence example when data transfer requests from both IPCs collide.

【図4】一方のIPCがデータ転送中に他方のIPCか
らデータ転送要求があった場合の動作シーケンス例を示
す図である。
FIG. 4 is a diagram showing an operation sequence example when a data transfer request is made from one IPC while another IPC is transferring the data.

【図5】一方のIPCがデータ転送中に他方のIPCか
らデータ転送要求があった場合の動作シーケンス例を示
す図である。
FIG. 5 is a diagram showing an example of an operation sequence when a data transfer request is made from one IPC while another IPC is transferring the data.

【図6】本発明の一実施例の要部を示す構成ブロック図
である。
FIG. 6 is a configuration block diagram showing a main part of one embodiment of the present invention.

【図7】図6に示す実施例の動作シーケンス例を示す図
である。
FIG. 7 is a diagram showing an example of an operation sequence of the embodiment shown in FIG.

【図8】本発明によるデータ折り返し動作の説明図であ
る。
FIG. 8 is an explanatory diagram of a data folding operation according to the present invention.

【図9】自IPC内データ折り返しコマンドの説明図で
ある。
FIG. 9 is an explanatory diagram of a self-IPC data loopback command.

【図10】他IPC内データ折り返しコマンドの説明図
である。
FIG. 10 is an explanatory diagram of another IPC data loopback command.

【図11】自IPC内データ折り返しコマンドの動作シ
ーケンス例を示す図である。
FIG. 11 is a diagram showing an operation sequence example of a data return command in the own IPC.

【図12】他IPC内データ折り返しコマンドの動作シ
ーケンス例を示す図である。
FIG. 12 is a diagram showing an operation sequence example of a data loopback command in another IPC.

【図13】他IPC内データ折り返しコマンドの動作シ
ーケンス例を示す図である。
FIG. 13 is a diagram showing an operation sequence example of a data return command in another IPC.

【図14】自IPC内データ折り返しコマンドの他の動
作シーケンス例を示す図である。
FIG. 14 is a diagram showing another operation sequence example of a data return command in own IPC.

【図15】他IPC内データ折り返しコマンドの他の動
作シーケンス例を示す図である。
FIG. 15 is a diagram showing another operation sequence example of a data return command in another IPC.

【図16】他IPC内データ折り返しコマンドの他の動
作シーケンス例を示す図である。
FIG. 16 is a diagram showing another operation sequence example of a data return command in another IPC.

【図17】自IPCの診断実施例の説明図である。FIG. 17 is an explanatory diagram of a diagnosis example of self IPC.

【図18】本発明の他の実施例の動作説明図である。FIG. 18 is an operation explanatory diagram of another embodiment of the present invention.

【図19】正常なマスタ設定シーケンス例を示す図であ
る。
FIG. 19 is a diagram showing an example of a normal master setting sequence.

【図20】他IPCがマスタに設定されている時の動作
シーケンス例を示す図である。
FIG. 20 is a diagram showing an example of an operation sequence when another IPC is set as a master.

【図21】マスタ設定コマンドを同時に受けつけた時の
動作シーケンス例を示す図である。
FIG. 21 is a diagram showing an example of an operation sequence when the master setting command is simultaneously received.

【図22】本発明の他の実施例の動作説明図である。FIG. 22 is an operation explanatory diagram of another embodiment of the present invention.

【図23】本発明の他の実施例の動作説明図である。FIG. 23 is an operation explanatory diagram of another embodiment of the present invention.

【図24】従来システムの概念図である。FIG. 24 is a conceptual diagram of a conventional system.

【図25】従来システムの動作シーケンスを示す図であ
る。
FIG. 25 is a diagram showing an operation sequence of a conventional system.

【図26】従来システムの動作シーケンスを示す図であ
る。
FIG. 26 is a diagram showing an operation sequence of a conventional system.

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

11 IP−bus 20 プロセッサ間通信装置(IPC) 21 制御レジスタ部 21A 自転送用レジスタグループ 21B 他転送用レジスタグループ 22 制御レジスタコントロール部 23 IPCインタフェース制御部 24 データバッファ制御部 25 DMAコントロール回路 26 アドレスバス 27 データバス 11 IP-bus 20 Inter-Processor Communication Device (IPC) 21 Control Register Unit 21A Self Transfer Register Group 21B Other Transfer Register Group 22 Control Register Control Unit 23 IPC Interface Control Unit 24 Data Buffer Control Unit 25 DMA Control Circuit 26 Address Bus 27 data bus

───────────────────────────────────────────────────── フロントページの続き (72)発明者 福田 勇 神奈川県横浜市港北区新横浜3丁目9番18 号 富士通コミュニケーション・システム ズ株式会社内 (72)発明者 川俣 重明 神奈川県横浜市港北区新横浜3丁目9番18 号 富士通コミュニケーション・システム ズ株式会社内 (72)発明者 樋口 能子 神奈川県横浜市港北区新横浜3丁目9番18 号 富士通コミュニケーション・システム ズ株式会社内 (72)発明者 六本木 淳 神奈川県横浜市港北区新横浜3丁目9番18 号 富士通コミュニケーション・システム ズ株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yu Fukuda 3-9-18 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa Prefecture Fujitsu Communication Systems Limited (72) Inventor Shigeaki Kawamata 3 Shin-Yokohama, Kohoku-ku, Yokohama, Kanagawa Prefecture Inc. 9-18 No. Fujitsu Communication Systems Ltd. (72) Inventor Noko Higuchi 3-9-18 Shin-Yokohama, Kohoku Ward, Yokohama City, Kanagawa Prefecture Inc. Fujitsu Communication Systems Ltd. (72) Inventor Jun Roppongi Kanagawa 3-9-18 Shin-Yokohama, Kohoku-ku, Yokohama-shi, FUJITSU Communication Systems Limited

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 2台の中央制御装置間をバスを経由して
DMA転送やレジスタ等のデータを転送するための装置
であって、 自装置のデータ転送用レジスタグループ(自転送用レジ
スタグループ)と、 相手装置のデータ転送用レジスタグループ(他転送用レ
ジスタグループ)と、 現在動作中のレジスタグループと現在設定中のレジスタ
グループを管理し、一方の装置がデータ転送中に他方の
装置からデータ転送要求があった場合や、両装置からの
データ転送要求が衝突した場合に、後からの乃至は劣位
の転送要求を前記データ転送用レジスタグループに保存
する制御レジスタコントロール部と、 該制御レジスタコントロール部と接続され、相手方装置
にデータ転送要求を出すと共に、相手方装置からのアク
ノリッジを受けるインタフェース制御部と、 該インタフェース制御部出力で制御され、各装置間での
データの送受を行なうデータバッファ制御部と、を具備
することを特徴とするプロセッサ間通信装置。
1. A device for transferring data such as a DMA transfer and a register between two central control devices via a bus, and a data transfer register group (own transfer register group) of the own device. It manages the data transfer register group (other transfer register group) of the other device, the register group currently operating and the register group currently set, and while one device is transferring data, the other device transfers data. A control register control unit that stores a later or inferior transfer request in the data transfer register group when there is a request or when data transfer requests from both devices collide; and the control register control unit. The interface system is connected to the other device and issues a data transfer request to the other device and receives an acknowledge from the other device. Parts and are controlled by the interface control unit outputs, interprocessor communication apparatus characterized by comprising a data buffer control unit, the sending and receiving of data between the devices.
【請求項2】 前記自転送用レジスタグループ内に、そ
の装置の状態及び障害内容を表示する状態表示レジスタ
を自装置用(DSR)と他装置用(MDSR)をそれぞ
れ設け、 自装置のDSRが変化した場合、必要に応じて他装置の
MDSRに自装置のDSRの内容を転送する回路を設け
たことを特徴とする請求項1記載のプロセッサ間通信装
置。
2. A status display register for displaying the status and failure content of the device is provided in the self-transfer register group for the self device (DSR) and for the other device (MDSR) respectively, and the DSR of the self device is 2. The interprocessor communication device according to claim 1, further comprising a circuit for transferring the contents of the DSR of the own device to the MDSR of the other device if necessary.
【請求項3】 前記他転送用レジスタグループ内に、動
作中の他装置の状態及び他装置が動作中に発生した障害
内容を表示する状態表示レジスタ(#MDSR)を設
け、 どちらの装置が要求した転送であっても障害解析を行え
るようにしたことを特徴とする請求項2記載のプロセッ
サ間通信装置。
3. A status display register (#MDSR) is provided in the other transfer register group for displaying the status of another operating device and the details of a failure that occurred while the other device was operating, and which device requested 3. The interprocessor communication device according to claim 2, wherein the failure analysis can be performed even with the transferred data.
【請求項4】 前記自転送用レジスタグループ内の自命
令制御レジスタ(CMR)に、診断用コマンドとして自
装置内データ折り返しと他装置内データ折り返しのコマ
ンドを設定し、かつこれら折り返し試験を実現する折り
返し制御部を設けたことを特徴とする請求項1記載のプ
ロセッサ間通信装置。
4. A self-instruction control register (CMR) in the self-transfer register group is set with commands for data wrapping within its own device and data wrapping within another device as diagnostic commands, and these wrapping tests are realized. The interprocessor communication device according to claim 1, further comprising a loopback control unit.
【請求項5】 前記データバッファ制御部内に送信用デ
ータバッファレジスタ(SBR)と、受信用データバッ
ファレジスタ(RBR)を設け、 自装置内データ折り返しコマンドを設定した時に、前記
折り返し制御部は自装置の出力したデータをバスドライ
バを介して同時に入力することを特徴とする請求項4記
載のプロセッサ間通信装置。
5. A data buffer register for transmission (SBR) and a data buffer register for reception (RBR) are provided in the data buffer control unit, and when the data loopback command in the own device is set, the loopback control unit is in the own device. 5. The interprocessor communication device according to claim 4, wherein the data output by the processor is simultaneously input via a bus driver.
【請求項6】 前記他転送用レジスタグループ内の他メ
モリアドレスレジスタ(#MAR)を自装置から設定で
きるようにすると共に、この#MARを制御する制御回
路を設け、 前記折り返しコマンドを実行する際に、主記憶装置(M
M)のアドレス設定用のレジスタとして#MARを使用
することを特徴とする請求項5記載のプロセッサ間通信
装置。
6. The other memory address register (#MAR) in the other transfer register group can be set from its own device, and a control circuit for controlling this #MAR is provided to execute the loopback command. The main memory (M
6. The interprocessor communication device according to claim 5, wherein #MAR is used as a register for setting the address of M).
【請求項7】 折り返しコマンドによるデータ折り返し
の時、#MARに書き込む主記憶装置のアドレスとし
て、自メモリアドレスレジスタ(MAR)の内容に自語
数カウントレジスタ(WCR)の内容を加算したものに
設定することを特徴とする請求項6記載のプロセッサ間
通信装置。
7. When returning data by a return command, the address of the main memory to be written to #MAR is set to the content of its own memory address register (MAR) plus the content of its own word count register (WCR). 7. The interprocessor communication device according to claim 6, wherein
【請求項8】 折り返しコマンドの折り返し先を、他転
送用レジスタグループ内の任意のレジスタに設定するコ
マンドを設け、かつこのコマンドを設定する回路を設け
たことを特徴とする請求項4記載のプロセッサ間通信装
置。
8. The processor according to claim 4, further comprising a command for setting a return destination of the return command to an arbitrary register in the other transfer register group, and a circuit for setting the command. Intercommunication device.
【請求項9】 2台の装置から同時にデータ転送要求コ
マンドが発行された場合のために、各装置内に予めコマ
ンド実行の優先権を持たせるたのマスタ/スレーブ設定
フラグを格納するためのソフトウェアで制御可能なレジ
スタを設けたことを特徴とする請求項1記載のプロセッ
サ間通信装置。
9. Software for storing a master / slave setting flag for giving a command execution priority right to each device in the case where a data transfer request command is issued from two devices at the same time. 2. The interprocessor communication device according to claim 1, further comprising a register controllable by.
【請求項10】 自装置がマスタ設定コマンドを受信し
た時、バスを介して他装置からの応答情報により他装置
が既にマスタに設定されていることが分かったら、直ち
にマスタ設定を中止することを特徴とする請求項9記載
のプロセッサ間通信装置。
10. When the self device receives the master setting command, if it is found from the response information from the other device via the bus that the other device is already set as the master, the master setting is immediately stopped. 10. The interprocessor communication device according to claim 9.
【請求項11】 装置が0系と1系に二重化されている
場合において、0系のバスと1系のバスを相互接続し、
一方をマスタに他方をスレーブに設定して0系と1系の
間で通信を可能にし、0系と1系の装置間で診断プログ
ラムを実行させることを特徴とする請求項9乃至10の
いずれかに記載のプロセッサ間通信装置。
11. When a device is duplicated into a 0-system and a 1-system, a 0-system bus and a 1-system bus are interconnected,
11. One of the devices is set as a master and the other is set as a slave to enable communication between the 0-system and the 1-system, and the diagnostic program is executed between the devices of the 0-system and the 1-system. An inter-processor communication device according to claim 1.
JP26277494A 1994-10-26 1994-10-26 Interprocessor communication device Withdrawn JPH08123773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26277494A JPH08123773A (en) 1994-10-26 1994-10-26 Interprocessor communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26277494A JPH08123773A (en) 1994-10-26 1994-10-26 Interprocessor communication device

Publications (1)

Publication Number Publication Date
JPH08123773A true JPH08123773A (en) 1996-05-17

Family

ID=17380410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26277494A Withdrawn JPH08123773A (en) 1994-10-26 1994-10-26 Interprocessor communication device

Country Status (1)

Country Link
JP (1) JPH08123773A (en)

Similar Documents

Publication Publication Date Title
US5682512A (en) Use of deferred bus access for address translation in a shared memory clustered computer system
JP3657428B2 (en) Storage controller
KR101341286B1 (en) Inter-port communication in a multi-port memory device
US5003463A (en) Interface controller with first and second buffer storage area for receiving and transmitting data between I/O bus and high speed system bus
US8244951B2 (en) Method and apparatus to facilitate system to system protocol exchange in back to back non-transparent bridges
JP4799118B2 (en) Information processing apparatus, information processing system, communication relay apparatus, and communication control method
JPH096717A (en) System and method for data processing containing buffering mechanism for inbound and outbound read as well as posted write
JP2996440B2 (en) Diagnosis method of data processing system
JP2001117892A (en) Multi-processor computer system for communication via internal bus and its communication method
US6389554B1 (en) Concurrent write duplex device
KR20010040936A (en) Accessing a messaging unit from a secondary bus
JP2688171B2 (en) Communication adapter and data transfer system and method
JPH06119297A (en) Method and apparatus for determining executing order of instruction in data processing system
JPH06259343A (en) Multibus control system and system using the same
JPH08123773A (en) Interprocessor communication device
JPH1118122A (en) Data transfer system
JP4173110B2 (en) Storage system
JP4179303B2 (en) Storage system
JP3540119B2 (en) Interrupt routing mechanism and multiprocessor control method
EP1380954B1 (en) Computer system and data processing method
JPH0152774B2 (en)
JPS63128837A (en) Line controller
JPH11252150A (en) Network connection device and network connection control method
JP3012402B2 (en) Information processing system
JP2705955B2 (en) Parallel information processing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020115