JPH0520219A - Input/output controller - Google Patents

Input/output controller

Info

Publication number
JPH0520219A
JPH0520219A JP3176365A JP17636591A JPH0520219A JP H0520219 A JPH0520219 A JP H0520219A JP 3176365 A JP3176365 A JP 3176365A JP 17636591 A JP17636591 A JP 17636591A JP H0520219 A JPH0520219 A JP H0520219A
Authority
JP
Japan
Prior art keywords
parity
input
circuit
output control
check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3176365A
Other languages
Japanese (ja)
Inventor
Toshifumi Matsuo
敏文 松尾
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3176365A priority Critical patent/JPH0520219A/en
Publication of JPH0520219A publication Critical patent/JPH0520219A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To obtain high integrity by easily detecting also a fault such as data filling or shortage. CONSTITUTION:An I/O control circuit 11 in an I/O controller 3 executes the control of an I/O device 4. A bus control circuit 12 controls a common bus 2. A buffer circuit 13 is connected between the circuits 11, 12. A 1st parity forming/checking circuit 14 executes the parity formation of parity check of data outputted from the circuit 11. A 2nd parity forming/checking circuit 15 executes the parity formation and parity check of data outputted from the circuit 12. The parity formation and parity check are executed by alternately forming and checking odd parities and even parities.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は入出力制御装置に関し、
特に高いデータインテグリティを必要とする入出力制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output control device,
The present invention relates to an input / output control device that requires particularly high data integrity.

【0002】[0002]

【従来の技術】従来の入出力制御装置は、生成およびチ
ェックされるパリティを、奇数パリティまたは偶数パリ
ティのいずれかに固定しており、奇数パリティおよび偶
数パリティの切り換えを行う機能を有していなかった。
2. Description of the Related Art A conventional input / output control device fixes a parity to be generated and checked to either odd parity or even parity, and does not have a function of switching between odd parity and even parity. It was

【0003】[0003]

【発明が解決しようとする課題】上述した従来の入出力
制御装置は、入出力制御装置内におけるデータの湧き出
しや欠落などの個々のデータ自身には変化のない故障を
検出できないという欠点を有している。
The above-mentioned conventional input / output control device has a drawback in that it is not possible to detect a failure that does not change the individual data itself, such as the occurrence or loss of data in the input / output control device. is doing.

【0004】[0004]

【課題を解決するための手段】第1の発明の入出力制御
装置は、主記憶装置,共通バス,入出力制御装置および
入出力装置を含み、前記主記憶装置および前記入出力制
御装置は前記共通バスに接続され、前記入出力装置は前
記入出力制御装置に接続されたデータ処理システムで、
前記入出力制御装置は、前記入出力装置を接続して前記
入出力装置の制御を行う入出力制御回路と、前記共通バ
スに接続して前記共通バスの制御を行うバス制御回路
と、前記入出力制御回路および前記バス制御回路の間に
設けたバッファ回路と、前記入出力制御回路に接続して
前記入出力制御回路のデータのパリティ生成およびパリ
ティチェックを行う第1のパリティ生成/チェック回路
と、前記バス制御回路に接続して前記バス制御回路のデ
ータのパリティ生成およびパリティチェックを行う第2
のパリティ生成/チェック回路とを有し、前記第1のパ
リティ生成/チェック回路および前記第2のパリティ生
成/チェック回路が、奇数パリティおよび偶数パリティ
を交互に生成する機能と、交互に奇数パリティおよび偶
数パリティとしてデータをチェックする機能とを有して
構成されている。
An input / output control device according to a first aspect of the present invention includes a main storage device, a common bus, an input / output control device and an input / output device, and the main storage device and the input / output control device are the above-mentioned devices. A data processing system connected to a common bus, the input / output device being connected to the input / output control device,
The input / output control device includes an input / output control circuit that connects the input / output device to control the input / output device, a bus control circuit that connects to the common bus to control the common bus, and the input / output control device. A buffer circuit provided between the output control circuit and the bus control circuit; and a first parity generation / check circuit that is connected to the input / output control circuit and performs parity generation and parity check of data of the input / output control circuit. A second parity connected to the bus control circuit for parity generation and parity check of data of the bus control circuit;
And a function of alternately generating odd parity and even parity by the first parity generation / check circuit and the second parity generation / check circuit. It has a function of checking data as even parity.

【0005】また、第2の発明の入出力制御装置は、第
1の発明の入出力制御装置の第1のパリティ生成/チェ
ック回路および第2のパリティ生成/チェック回路が、
奇数パリティ次に奇数パリティさらに次に偶数パリティ
の繰り返しでパリティを生成する機能と、奇数パリティ
次に奇数パリティさらに次に偶数パリティの繰り返しと
してデータをチェックする機能とを有して構成されてい
る。
In the input / output control device of the second invention, the first parity generation / check circuit and the second parity generation / check circuit of the input / output control device of the first invention are:
It has a function of generating parity by repeating odd parity, then odd parity, and then even parity, and a function of checking data as repetition of odd parity, then odd parity, and then even parity.

【0006】さらに、第3の発明の入出力制御装置は、
第1の発明の入出力制御装置の第1のパリティ生成/チ
ェック回路および第2のパリティ生成/チェック回路
が、奇数パリティ次に偶数パリティさらに次に偶数パリ
ティの繰り返しでパリティを生成する機能と、奇数パリ
ティ次に偶数パリティさらに次に偶数パリティの繰り返
しとしてデータをチェックする機能とを有して構成され
ている。
Further, the input / output control device of the third invention is
A first parity generating / checking circuit and a second parity generating / checking circuit of the input / output control device according to the first aspect of the present invention; and a function of generating parity by repeating odd parity, then even parity, and then even parity. It has a function of checking data by repeating odd parity, then even parity, and then even parity.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は、第1の発明の入出力制御装置の一
実施例を含むデータ処理システムの一例を示すブロック
図である。図1のデータ処理システムは、主記憶装置1
と、共通バス2と、入出力制御装置3と、入出力装置4
とを含んでいる。そして、主記憶装置1および入出力制
御装置3は、共通バス2に接続されている。また、入出
力装置4は、入出力制御装置3に接続されている。
FIG. 1 is a block diagram showing an example of a data processing system including an embodiment of the input / output control device of the first invention. The data processing system shown in FIG.
, Common bus 2, input / output control device 3, and input / output device 4
Includes and. The main storage device 1 and the input / output control device 3 are connected to the common bus 2. Further, the input / output device 4 is connected to the input / output control device 3.

【0009】そして、入出力制御装置3は、入出力装置
4の制御を行う入出力制御回路11と、共通バス2の制
御を行うバス制御回路12と、入出力制御回路11およ
びバッファ制御回路12の間に接続されるバッファ回路
13と、入出力制御回路11のデータのパリティの生成
およびチェックを行う第1のパリティ生成/チェック回
路14と、バッファ制御回路12のデータのパリティの
生成およびチェックを行う第2のパリティ生成/チェッ
ク回路15とを含んでいる。
The input / output control device 3 controls the input / output device 4, an input / output control circuit 11, a bus control circuit 12 for controlling the common bus 2, an input / output control circuit 11 and a buffer control circuit 12. Between the buffer circuit 13, the first parity generation / check circuit 14 for generating and checking the data parity of the input / output control circuit 11, and the generation and checking of the data parity of the buffer control circuit 12. And a second parity generation / check circuit 15 for performing.

【0010】そこで、入出力装置4より読み出されたデ
ータは、入出力制御回路11に入り、第1のパリティ生
成/チェック回路14により、奇数パリティおよび偶数
パリティを交互に生成されてそれぞれのデータに付加さ
れてバッファ回路13に送られる。バッファ回路13の
データは、バッファ制御回路12に送られて、第2のパ
リティ生成/チェック回路15で交互に奇数パリティお
よび偶数パリティとしてチェックされて、共通バス2を
介して、主記憶装置1に送られる。そして、バッファ回
路13でデータの湧き出しや欠落があると、個々のデー
タのパリティが正しくても、奇数パリティと偶数パリテ
ィとの順序がくずれることにより、障害を検出すること
ができる。
Therefore, the data read from the input / output device 4 enters the input / output control circuit 11, and the first parity generation / check circuit 14 alternately generates odd parity and even parity to generate the respective data. Is sent to the buffer circuit 13. The data in the buffer circuit 13 is sent to the buffer control circuit 12 and is alternately checked by the second parity generation / check circuit 15 as odd parity and even parity, and then stored in the main storage device 1 via the common bus 2. Sent. When the buffer circuit 13 has data leaking or missing, even if the parity of each data is correct, the order of the odd parity and the even parity is out of order, so that the failure can be detected.

【0011】図2は、第2の発明の入出力制御装置の一
実施例を含むデータ処理システムの一例を示すブロック
図である。図2のデータ処理システムは、図1と同様の
構成を有しており、入出力制御装置3Aのバッファ回路
13Aが2バイトのデータ幅を有する相違点を有してい
る。
FIG. 2 is a block diagram showing an example of a data processing system including an embodiment of the input / output control device of the second invention. The data processing system of FIG. 2 has the same configuration as that of FIG. 1 and is different in that the buffer circuit 13A of the input / output control device 3A has a data width of 2 bytes.

【0012】そこで、入出力装置4より読み出されたデ
ータは、入出力制御回路11に入り、第1のパリティ生
成/チェック回路14Aにより、奇数パリティ次に奇数
パリティさらに次に偶数パリティの繰り返しでパリティ
を生成されてそれぞれのデータに付加されてバッファ回
路13Aに送られる。バッファ回路13Aのデータは、
バッファ制御回路12に送られて、第2のパリティ生成
/チェック回路15Aで奇数パリティ次に奇数パリティ
さらに次に偶数パリティの繰り返しとしてチェックされ
て、共通バス2を介して、主記憶装置1に送られる。そ
して、バッファ回路13で偶数バイトのデータの湧き出
しや欠落があっても、奇数パリティ次に奇数パリティさ
らに次に偶数パリティの順序がくずれて障害を検出する
ことができる。なお、この場合に、バッファ回路13A
で偶数バイトのデータの湧き出しや欠落があると、交互
に奇数パリティおよび偶数パリティを付加していたなら
ば、故障の検出ができないこととなる。
Therefore, the data read from the input / output device 4 enters the input / output control circuit 11 and is repeated by the first parity generation / check circuit 14A for odd parity, then odd parity, and then even parity. Parity is generated, added to each data, and sent to the buffer circuit 13A. The data of the buffer circuit 13A is
It is sent to the buffer control circuit 12 and checked by the second parity generation / check circuit 15A as repetition of odd parity, then odd parity, and then even parity, and sent to the main storage device 1 via the common bus 2. To be Even if data of even bytes is leaked or lost in the buffer circuit 13, the order of odd parity, odd parity, and even parity is broken, and a failure can be detected. In this case, the buffer circuit 13A
If there is even-numbered bytes of data coming out or missing, the failure cannot be detected if the odd parity and the even parity are alternately added.

【0013】[0013]

【発明の効果】以上説明したように、本発明の入出力制
御装置は、データの湧き出しや欠落などの障害も容易に
検出することができるので、高いデータインテグリティ
を持つという効果を有している。
As described above, since the input / output control device of the present invention can easily detect a failure such as a data leak or a loss, it has an effect of having high data integrity. There is.

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

【図1】第1の発明の入出力制御装置の一実施例を含む
データ処理システムの一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a data processing system including an embodiment of an input / output control device of the first invention.

【図2】第2の発明の入出力制御装置の一実施例を含む
データ処理システムの一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of a data processing system including an embodiment of the input / output control device of the second invention.

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

1 主記憶装置 2 共通バス 3,3A 入出力制御装置 4 入出力装置 11 入出力制御回路 12 バッファ制御回路 13,13A バッファ回路 14,14A 第1のパリティ生成/チェック回路 15,15A 第2のパリティ生成/チェック回路 1 main memory 2 common buses 3,3A I / O controller 4 I / O device 11 Input / output control circuit 12 Buffer control circuit 13,13A buffer circuit 14, 14A First parity generation / check circuit 15, 15A Second parity generation / check circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 主記憶装置,共通バス,入出力制御装置
および入出力装置を含み、前記主記憶装置および前記入
出力制御装置は前記共通バスに接続され、前記入出力装
置は前記入出力制御装置に接続されたデータ処理システ
ムで、前記入出力制御装置は、前記入出力装置を接続し
て前記入出力装置の制御を行う入出力制御回路と、前記
共通バスに接続して前記共通バスの制御を行うバス制御
回路と、前記入出力制御回路および前記バス制御回路の
間に設けたバッファ回路と、前記入出力制御回路に接続
して前記入出力制御回路のデータのパリティ生成および
パリティチェックを行う第1のパリティ生成/チェック
回路と、前記バス制御回路に接続して前記バス制御回路
のデータのパリティ生成およびパリティチェックを行う
第2のパリティ生成/チェック回路とを有し、前記第1
のパリティ生成/チェック回路および前記第2のパリテ
ィ生成/チェック回路が、奇数パリティおよび偶数パリ
ティを交互に生成する機能と、交互に奇数パリティおよ
び偶数パリティとしてデータをチェックする機能とを有
することを特徴とする入出力制御装置。
1. A main storage device, a common bus, an input / output control device, and an input / output device, wherein the main storage device and the input / output control device are connected to the common bus, and the input / output device is the input / output control device. In a data processing system connected to a device, the input / output control device includes an input / output control circuit for connecting the input / output device to control the input / output device, and an input / output control circuit for connecting the common bus to the common bus. A bus control circuit for controlling, a buffer circuit provided between the input / output control circuit and the bus control circuit, and a parity generation and a parity check of data of the input / output control circuit connected to the input / output control circuit. A first parity generation / check circuit for performing, and a second parity generation for performing parity check and parity check of data of the bus control circuit connected to the bus control circuit. / Check circuit, the first
, And the second parity generation / check circuit have a function of alternately generating odd parity and even parity, and a function of alternately checking data as odd parity and even parity. I / O controller.
【請求項2】 請求項1記載の第1のパリティ生成/チ
ェック回路および第2のパリティ生成/チェック回路
が、奇数パリティ次に奇数パリティさらに次に偶数パリ
ティの繰り返しでパリティを生成する機能と、奇数パリ
ティ次に奇数パリティさらに次に偶数パリティの繰り返
しとしてデータをチェックする機能とを有することを特
徴とする請求項1記載の入出力制御装置。
2. A function of the first parity generation / check circuit and the second parity generation / check circuit according to claim 1, for generating parity by repeating odd parity, then odd parity, and then even parity. 2. The input / output control device according to claim 1, further comprising a function of checking data by repeating odd parity, odd parity, and even parity.
【請求項3】 請求項1記載の第1のパリティ生成/チ
ェック回路および第2のパリティ生成/チェック回路
が、奇数パリティ次に偶数パリティさらに次に偶数パリ
ティの繰り返しでパリティを生成する機能と、奇数パリ
ティ次に偶数パリティさらに次に偶数パリティの繰り返
しとしてデータをチェックする機能とを有することを特
徴とする請求項1記載の入出力制御装置。
3. The function of the first parity generation / check circuit and the second parity generation / check circuit according to claim 1 to generate parity by repeating odd parity, then even parity, and then even parity. The input / output control device according to claim 1, further comprising a function of checking data by repeating odd parity, even parity, and then even parity.
JP3176365A 1991-07-17 1991-07-17 Input/output controller Pending JPH0520219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3176365A JPH0520219A (en) 1991-07-17 1991-07-17 Input/output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3176365A JPH0520219A (en) 1991-07-17 1991-07-17 Input/output controller

Publications (1)

Publication Number Publication Date
JPH0520219A true JPH0520219A (en) 1993-01-29

Family

ID=16012347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3176365A Pending JPH0520219A (en) 1991-07-17 1991-07-17 Input/output controller

Country Status (1)

Country Link
JP (1) JPH0520219A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100887003B1 (en) * 2005-06-17 2009-03-04 인피니언 테크놀로지스 아게 Apparatus and method for protecting the integrity of data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100887003B1 (en) * 2005-06-17 2009-03-04 인피니언 테크놀로지스 아게 Apparatus and method for protecting the integrity of data

Similar Documents

Publication Publication Date Title
JPH0520219A (en) Input/output controller
JP3141472B2 (en) Switching control method
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JP2704062B2 (en) Information processing device
JPS63156465A (en) Data storage area monitoring system for time switch circuit
JPH0454643A (en) Parity generating and checking circuit
JP3212979B2 (en) Timing signal malfunction detection circuit
JPH0689236A (en) Random access memory monitor circuit
JPS6234436A (en) Data trouble detecting circuit
KR0116545Y1 (en) Master and slave board type control signal generating circuit
JPH01321539A (en) Circuit for checking connecting state of bus connector
JPH11118890A (en) Circuit failure detecting method and circuit
JPH04180134A (en) Pseudo error generating system
JPH04155535A (en) Fault detecting system for information processor
JPH01211058A (en) State setting circuit
JPH0451345A (en) Microcomputer system
JPH10149318A (en) Memory monitoring device
JPH0350637A (en) Shift pass check circuit
JPS63106838A (en) Data buffer check circuit
JPH05257822A (en) Data buffer
JPH05165735A (en) Identification system for parity error occured memory element
JPH05153677A (en) Memory monitoring circuit
JPH0523254U (en) Memory circuit
JPH01123329A (en) Interrupting circuit
JPH11184723A (en) System for detecting failure