JPS6027054B2 - Input/output control method - Google Patents

Input/output control method

Info

Publication number
JPS6027054B2
JPS6027054B2 JP55127232A JP12723280A JPS6027054B2 JP S6027054 B2 JPS6027054 B2 JP S6027054B2 JP 55127232 A JP55127232 A JP 55127232A JP 12723280 A JP12723280 A JP 12723280A JP S6027054 B2 JPS6027054 B2 JP S6027054B2
Authority
JP
Japan
Prior art keywords
input
output
bus interface
adapter
central processing
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.)
Expired
Application number
JP55127232A
Other languages
Japanese (ja)
Other versions
JPS5752933A (en
Inventor
康正 渡部
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP55127232A priority Critical patent/JPS6027054B2/en
Publication of JPS5752933A publication Critical patent/JPS5752933A/en
Publication of JPS6027054B2 publication Critical patent/JPS6027054B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はバスィンタフェースを延長するためにアダプタ
を用いる入出力制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an input/output control scheme that uses adapters to extend a bus interface.

一般的にある中央処理装置に複数の入出力装置を接続す
るバスィンタフェースを延長する場合、物理的、電気的
制限があるためアダプタが用いられ、中央処理装置の第
1のバスィンタフェースにアダプタを接続し、このアダ
プタから第2のバスインタフエースを出力することが行
なわれる。このアダプタはバスィンタフェース信号のタ
イミングの補正、信号の中継のみを行っているため、バ
スィンタフェース上の障害が発生したとき、中央処理装
置から障害箇所を第1のバスィンタフェース、アダプタ
、および第2のバスィンタフェースのどの部分であるか
特定できず切り分け不能であるという問題があった。そ
こで本発明の目的は、中央処理装置と第1のバスインタ
フヱース、アダプタ、第2のバスインタフェースからな
るシステムにおいて、特に第2のバスィンタフェースに
接続された入出力装置と中央処理装置との間の入出力コ
マンド入出力デー夕等の受け渡しの際バスィンタフェー
ス上で障害が発生したとき、中央処理装置から障害箇所
を特定ないし、障害箇所の範囲を限定できる入出力制御
方式を得ることにある。
Generally, when extending a bus interface that connects multiple input/output devices to a central processing unit, an adapter is used due to physical and electrical limitations. is connected, and the second bus interface is output from this adapter. This adapter only corrects the timing of the bus interface signals and relays the signals, so when a fault occurs on the bus interface, the central processing unit can locate the fault by connecting it to the first bus interface, adapter, and There was a problem in that it was impossible to specify which part of the second bus interface it was and it was impossible to isolate it. Therefore, an object of the present invention is to provide a system comprising a central processing unit, a first bus interface, an adapter, and a second bus interface, in particular an input/output device connected to the second bus interface and a central processing unit. When a failure occurs on the bus interface during the transfer of input/output command input/output data, etc. between There is a particular thing.

本発明では、従来のアダプタが単なるインタフェース信
号のタイミングの補正、信号の中継のみを行っていたの
に対して、中央処理装置から第1のバスインタフエース
を経由して試験用の出力データを受信し、受信した試験
用の出力データを折り返し、中央処理装置に第1のバス
ィンタフェースを経由して伝達することによって、中央
処理装置において試験用の出力データと折り返し伝達さ
れたデータを比較試験することを可能にし、バスィンタ
フェース上の障害が発生したとき、第1のバスィンタフ
ェースないいまアダプタの正常性を試験することを可能
にし、従って障害発生箇所を第1のバスインタフェース
、アダプタ、ないいま第2のバスィンタフェースのいず
れであるかを特定することができる。
In the present invention, whereas conventional adapters only correct the timing of interface signals and relay signals, the present invention receives test output data from the central processing unit via the first bus interface. Then, the received test output data is returned and transmitted to the central processing unit via the first bus interface, so that the central processing unit performs a comparison test between the test output data and the returned data. When a fault occurs on a bus interface, it is possible to test the health of the first bus interface or adapter, and therefore to identify the location of the fault on the first bus interface, adapter, or other adapter. It is now possible to specify which of the second bus interfaces it is.

本発明では、上記のようにアダプタにおいて試験用の出
力データを受信し、受信した試験用のデータを折り返し
伝達するために、アダプタを第1のバスィンタフェース
の入出力装置の1つとして接続している。
In the present invention, the adapter is connected as one of the input/output devices of the first bus interface in order to receive test output data at the adapter and transmit the received test data back as described above. ing.

すなわち、アダプタは第1のバスィンタフェースに接続
される入出力装置として中央処理装置から指定できる固
有の入出力装置アドレスを持ち、中央処理装置からの入
出力コマンド、入出力データ等を受け付け処理する機能
を持つ。
That is, the adapter has a unique input/output device address that can be specified by the central processing unit as an input/output device connected to the first bus interface, and receives and processes input/output commands, input/output data, etc. from the central processing unit. have a function.

例をあげて説明すると、アダプタは中央処理装置からア
ダプタ固有の入出力装置アドレスが指定され、入出力コ
マンド‘こよって試験用の出力データであることが指定
されたとき、中央処理装置からの出力データを折り返し
用レジスタに記憶する。ついで、中央処理装置からアダ
プタ固有の入出力装置アドレスが指定され、入出力コマ
ンド‘こよって試験用のデータの読み取りであることが
指定されると、アグプタは折り返し用レジスタに記憶し
たデータを中央処理装置に伝達し、中央処理装置での試
験データの比較を可能にしている。以下、図を用いて本
発明の一実施例を説明する。
For example, when the central processing unit specifies an adapter-specific input/output device address and an input/output command specifies that the adapter is output data for testing, the adapter outputs the output data from the central processing unit. Store data in wrap register. Next, when the central processing unit specifies the adapter's unique input/output device address and specifies that the input/output command is to read test data, Agupta transfers the data stored in the loopback register to the central processing unit. The test data is transmitted to the equipment, allowing the central processing unit to compare the test data. An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明によるシステムの構成図であり、1は
中央処理装置、2は第1のバスィンタフェース、3はア
ダプタ、4は第2のバスインタフェース、5および6は
第1のバスィンタフェース2に接続された入出力装置、
7および8は第2のバスィンタフェースに接続された入
出力装置である。
FIG. 1 is a block diagram of a system according to the present invention, in which 1 is a central processing unit, 2 is a first bus interface, 3 is an adapter, 4 is a second bus interface, and 5 and 6 are the first bus interfaces. an input/output device connected to interface 2,
7 and 8 are input/output devices connected to the second bus interface.

第2図は、アダブタ3の詳細回路図を示し、】0,11
,12,13および14は、第1のバスィンタフェース
2を構成する信号であって、10は入出力装置アドレス
信号、11は入出力コマンド信号、13は中央処理装置
から入出力装置への出力データ信号、12は入出力装置
アドレス信号10、入出力コマンド信号1 1、および
出力データ信号13に有効な情報がセットされているこ
とを示す出力ストロ」ブ信号、14は入出力装置から中
央処理装置への入力データ信号である。
FIG. 2 shows a detailed circuit diagram of the adapter 3, ]0,11
, 12, 13 and 14 are signals constituting the first bus interface 2, 10 is an input/output device address signal, 11 is an input/output command signal, and 13 is an output from the central processing unit to the input/output device. data signal, 12 is an output strobe signal indicating that valid information is set in the input/output device address signal 10, input/output command signal 11, and output data signal 13; 14 is a central processing signal from the input/output device; is the input data signal to the device.

また20,21,22,23,24‘ま第2のバスィン
タフェース4を構成する信号であって各々、入出力装置
アドレス信号10、入出力コマンド信号11、出力スト
ロープ信号12、出力データ信号13、入力データ信号
14に対応している。さらに、30,31,32,33
は非反転ゲートであって第1のバスィンタフェース2の
信号10,11,12,13を受信し34,35,36
,37は非反転ゲートであって第2のバスィンタフェー
ス4の信号20,21,22,23を出力する。また、
38は否定ゲート、39,40,44および45はAN
Dゲート、41はORゲート、42は入出力装置アドレ
ス・デコーダ、43は入出力コマンド・デコーダ、46
は折り返し用レジスタである。図において、故障時の切
り分け機能を実行するときを除いては、アダプタ3は、
第1のバスィンタフェース2と、第2のバスィンタフェ
ース4を接続する機能のみを行なう。
Further, signals 20, 21, 22, 23, and 24' constitute the second bus interface 4, and include an input/output device address signal 10, an input/output command signal 11, an output strobe signal 12, and an output data signal 13, respectively. , corresponds to the input data signal 14. Furthermore, 30, 31, 32, 33
is a non-inverting gate which receives the signals 10, 11, 12, 13 of the first bus interface 2 and receives the signals 34, 35, 36.
, 37 are non-inverting gates which output the signals 20, 21, 22, 23 of the second bus interface 4. Also,
38 is a negation gate, 39, 40, 44 and 45 are AN
D gate, 41 is an OR gate, 42 is an input/output device address decoder, 43 is an input/output command decoder, 46
is a wrap register. In the figure, except when performing the fault isolation function, the adapter 3 is
It performs only the function of connecting the first bus interface 2 and the second bus interface 4.

すなわち、入出装置アドレス信号10ではアダプタ3に
固有の入出力装置アドレスを指定せず、従って、入出力
装置アドレス・デコーダ42の出力は‘‘0”となり、
ANDゲート44、および46の出力を“0’’とする
ためANDゲート40の出力は“0”となり、さらに否
定ゲート38の出力は“1”になる。これによって折り
返し用レジスタ46の動作は禁止され、ANDゲート3
9およびORゲート41によって入力データ信号24は
入力データ信号14へ伝達される。また、第1のバスィ
ンタフェース2の信号10,1 1,12,13は非反
転ゲート30および34,31および35,32および
36,33および37によって伝達され、第2のバスイ
ンタフェース4の信号20,21,22,23として出
力される。一方、故障時の切り分け機能を実行するとき
は、入出力装置アドレス信号10ではアダプタ3固有の
入出力装置アドレスが指定される。
That is, the input/output device address signal 10 does not specify an input/output device address specific to the adapter 3, and therefore the output of the input/output device address decoder 42 becomes ``0''.
Since the outputs of the AND gates 44 and 46 are set to "0", the output of the AND gate 40 becomes "0", and the output of the NOT gate 38 becomes "1".This inhibits the operation of the loopback register 46. and AND gate 3
9 and OR gate 41 transfer input data signal 24 to input data signal 14. Further, the signals 10, 1 1, 12, 13 of the first bus interface 2 are transmitted by non-inverting gates 30 and 34, 31 and 35, 32 and 36, 33 and 37, and the signals of the second bus interface 4 It is output as 20, 21, 22, 23. On the other hand, when performing the fault isolation function, the input/output device address signal 10 specifies an input/output device address unique to the adapter 3.

まず中央処理装置1からアダプタ3に対して試験用出力
データを出力するときは、入出力コマンド信号11に折
り返し用レジスタ46への書き込みが指定され、出力デ
ータ信号113には試験用出力データがセットされて、
出力ストローブ信号12が出力される。これによって入
出力装置アドレスデコーダ42、入出力コマンドデコー
ダ43の出力100が“1”になり、ANDゲート44
によって、非反転ゲート32を介して伝えられた、出力
ストローブ信号12のタイミングで、非反転ゲート33
を介して受信された、出力デ−タ信号13をとり込むこ
とを折り返し用レジスタ46に指示する。次に、折り返
し用レジスタ46に受信したくわえた出力データを中央
処理装置1に折り返し伝達するにあたっては、入出力コ
マンド信号11に折り返し用レジスタ46の読み取りが
指示される。
First, when outputting test output data from the central processing unit 1 to the adapter 3, writing to the return register 46 is specified in the input/output command signal 11, and the test output data is set in the output data signal 113. Been,
An output strobe signal 12 is output. As a result, the output 100 of the input/output device address decoder 42 and the input/output command decoder 43 becomes "1", and the AND gate 44
Accordingly, at the timing of the output strobe signal 12 transmitted through the non-inverting gate 32, the non-inverting gate 33
The return register 46 is instructed to take in the output data signal 13 received via the return register 46. Next, in order to return and transmit the output data received and stored in the return register 46 to the central processing unit 1, the input/output command signal 11 is instructed to read the return register 46.

これによって、入出力装置アドレスデコーダ42の出力
および入出力コマンドデコーダ443の出力101が“
1”になり、ANDゲート45の出力を“1”にし、否
定ゲート38の出力を“0”にし、ANDゲート39に
よって入力データ信号24が入力データ信号14に伝達
されるのを禁止するとともに、ANDゲート40、OR
ゲート4 1によって折り返し用レジスタ46の出力を
入力データ信号14に伝達する。以上説明したように、
本発明によってバスィンタフヱースに関する故障が発生
したとき、アダプタによって延長された第2のバスィン
タフェースを切りはなし、中央処理装置から、第1のバ
スィンタフェースおよびアダプタの間で試験用データを
折り返し伝達し、中央処理装置において、アダプタをと
りはずす等の作業なしで、第1のバスィンタフェース、
アダプタあるいは第2のバスィンタフェースのどこで故
障が発生しているかを切り分けることが可能になる。
As a result, the output of the input/output device address decoder 42 and the output 101 of the input/output command decoder 443 are “
1", the output of the AND gate 45 is set to "1", the output of the NOT gate 38 is set to "0", and the AND gate 39 prohibits the input data signal 24 from being transmitted to the input data signal 14. AND gate 40, OR
The output of the folding register 46 is transmitted to the input data signal 14 by the gate 41. As explained above,
According to the present invention, when a failure regarding the bus interface occurs, the second bus interface extended by the adapter is disconnected, and the test data is transferred from the central processing unit between the first bus interface and the adapter. is transmitted back and the central processing unit connects the first bus interface, without removing the adapter, etc.
It becomes possible to isolate where the failure is occurring in the adapter or the second bus interface.

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

第1図は本発明が適用されるシステムの構成図の一例、
第2図はアダプタの詳細回路図の一例を示す。 42…アドレスデコーダ、43…入出力コマンドデコー
ダ、46…折り返し用レジスタ。 オー図 才2図
FIG. 1 is an example of a configuration diagram of a system to which the present invention is applied.
FIG. 2 shows an example of a detailed circuit diagram of the adapter. 42...Address decoder, 43...I/O command decoder, 46...Return register. Oh figure 2 figure

Claims (1)

【特許請求の範囲】 1 中央処理装置と第1のバスインタフエースと当該第
1のバスインタフエースに入出力装置の1つとして接続
されるアダプタと、当該アダプタに1以上の入出力装置
を接続する第2のバスインタフエースによつて構成され
るシステムにおいて、前記アダプタは中央処理装置から
の出力データを受信する手段と、前記受信した出力デー
タを中央処理装置へ折り返し伝達する手段を有すること
いよつて故障時の切り分け機能を向上させることを特徴
とした入出力制御方式。 2 前記アダプタは自装置固有の入出力装置アドレスを
持ち、自アドレスが指定されたことを検知するアドレス
検知手段、折り返しを指示する入出力コマンドを検知す
るコマンド検知手段をもち、これら検知手段の出力に従
つて前記出力データを折り返し転送することを特徴とす
る特許請求の範囲第1項の入出力制御方式。
[Claims] 1. A central processing unit, a first bus interface, an adapter connected to the first bus interface as one of the input/output devices, and one or more input/output devices connected to the adapter. In the system configured by a second bus interface, the adapter may include means for receiving output data from the central processing unit, and means for transmitting the received output data back to the central processing unit. This is an input/output control method that improves the ability to isolate faults. 2. The adapter has an input/output device address unique to its own device, has address detection means for detecting that its own address has been specified, and command detection means for detecting an input/output command instructing return, and outputs of these detection means. 2. The input/output control method according to claim 1, wherein the output data is transferred back according to the following.
JP55127232A 1980-09-16 1980-09-16 Input/output control method Expired JPS6027054B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55127232A JPS6027054B2 (en) 1980-09-16 1980-09-16 Input/output control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55127232A JPS6027054B2 (en) 1980-09-16 1980-09-16 Input/output control method

Publications (2)

Publication Number Publication Date
JPS5752933A JPS5752933A (en) 1982-03-29
JPS6027054B2 true JPS6027054B2 (en) 1985-06-27

Family

ID=14954989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55127232A Expired JPS6027054B2 (en) 1980-09-16 1980-09-16 Input/output control method

Country Status (1)

Country Link
JP (1) JPS6027054B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02111651U (en) * 1989-02-20 1990-09-06
JPH0614819B2 (en) * 1988-01-13 1994-03-02 英雄 桂 Culture seaweed net drainer

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6145337A (en) * 1984-08-10 1986-03-05 Mitsubishi Electric Corp Diagnosis method of digital controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0614819B2 (en) * 1988-01-13 1994-03-02 英雄 桂 Culture seaweed net drainer
JPH02111651U (en) * 1989-02-20 1990-09-06

Also Published As

Publication number Publication date
JPS5752933A (en) 1982-03-29

Similar Documents

Publication Publication Date Title
JPS60144851A (en) Channel controller
JP2996440B2 (en) Diagnosis method of data processing system
JPS6027054B2 (en) Input/output control method
JPS6016996Y2 (en) Address selection device for input/output interface device
KR900006530B1 (en) Method of and apparatus for diagnosing channel control unit
JPS5949619B2 (en) Fault diagnosis method for redundant central processing system
JP2710777B2 (en) Test circuit for intermediate control unit
US4327409A (en) Control system for input/output apparatus
JPH01224852A (en) Bus fault detecting system
JPS5849899B2 (en) Test method for data processing equipment
JPH01140361A (en) Data processing system with channel diagnostic function
JPH08278924A (en) Adapter diagnostic system
JPH0376352A (en) Simulating test equipment
SU1312591A1 (en) Interface for linking electronic computer with peripheral unit
JPS6051136B2 (en) Data error detection method
JPS6218067B2 (en)
JPS6123263A (en) Test system
JPS6055457A (en) Channel adapter diagnostic system
JPS58129859A (en) Transmitting method of process signal
JP2635637B2 (en) In-system memory test equipment
JPS6044710B2 (en) System diagnosis method
JPH0426500B2 (en)
JPS59221131A (en) Data transmission station
JPH11149421A (en) Pci bus trace circuit
JPS6315621B2 (en)