JPS6052455B2 - Parity detection function check method - Google Patents
Parity detection function check methodInfo
- Publication number
- JPS6052455B2 JPS6052455B2 JP55052548A JP5254880A JPS6052455B2 JP S6052455 B2 JPS6052455 B2 JP S6052455B2 JP 55052548 A JP55052548 A JP 55052548A JP 5254880 A JP5254880 A JP 5254880A JP S6052455 B2 JPS6052455 B2 JP S6052455B2
- Authority
- JP
- Japan
- Prior art keywords
- parity
- buffer memory
- circuit
- data
- parity detection
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Detection And Correction Of Errors (AREA)
Description
【発明の詳細な説明】
本発明は、共通バスで主処理装置に結ばれたチャネル
装置内の複数のパリテイ検出機能を同時にチェックでき
るパリテイ検出機能のチェック方式に関するものである
。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a parity detection function checking method that can simultaneously check a plurality of parity detection functions in a channel device connected to a main processing unit by a common bus.
主処理装置と共通バスで結ばれたチャネル装置におい
て、命令の解読、実行等の制御を行う副処理装置を内蔵
するチャネル装置が用いられており、これに伴い前記副
処理装置がチャネル装置内の自己管理をも行い得るよう
になつた。In a channel device connected to a main processing device by a common bus, a channel device is used that has a built-in subprocessing device that controls the decoding and execution of instructions. I have also become able to manage myself.
この自己管理の一つとして、共通バスにおけるパリテイ
エラーを検出するパリテイ検出回路について、副処理装
置が故意にパリテイエラーを発生させ、その機能動作を
確認する方法が採られている。しカルチャネル装置内に
、パリテイ検出回路が複数個存在するとき、従来は副処
理装置が各パリテイ検出回路毎にパリテイエラーを発生
させる必要があつた。 本発明は、上記の不便さを解決
するためになされたもので、複数個のパリテイ検出回路
の検出機能を、1つのエラー条件設定によりチェックで
きるパリテイ検出機能のチェック方式の提供を目的とし
ている。As one method of self-management, a method has been adopted in which the sub-processing device intentionally generates a parity error in a parity detection circuit that detects a parity error on the common bus, and then checks its functional operation. Conventionally, when a plurality of parity detection circuits are present in a cultural channel device, it has been necessary for the sub-processing device to generate a parity error for each parity detection circuit. The present invention has been made to solve the above-mentioned inconvenience, and aims to provide a parity detection function checking method that can check the detection functions of a plurality of parity detection circuits by setting one error condition.
本発明は、主処理装置と主記憶装置とに共通バスで結
ばれ、前記主記憶装置とファイル装置とのデータ転送を
制御する副処理装置を内蔵するチャネル装置において、
前記共通バスからの入力信号のパリテイエラーを検出す
る第1のパリテイ検出回路及び前記チャネル装置から共
通バスヘの出力信号のパリテイエラーを検出する第2の
パリテイ検出回路を有し、前記副処理装置が、転送され
るデータにパリテイエラーを発生せしめる1個のエラー
条件を設定することにより、前記第1及び第2のパリテ
イ検出回路のパリテイ検出機能を同時にチエツクできる
ことを特徴とするパリテイ検出機能のチエツク方式であ
る。The present invention provides a channel device that is connected to a main processing device and a main storage device by a common bus, and that includes a built-in subprocessing device that controls data transfer between the main storage device and the file device.
a first parity detection circuit for detecting a parity error in an input signal from the common bus; and a second parity detection circuit for detecting a parity error in an output signal from the channel device to the common bus; A parity detection function characterized in that the device can simultaneously check the parity detection functions of the first and second parity detection circuits by setting one error condition that causes a parity error to occur in the transferred data. This is a check method.
なお、本発明は、データの流れる回路に沿つて設けられ
た複数個のパリテイ検出回路の検出機能をも同時にチエ
ツクすることもできるのである。一般に、パリテイ検出
回路のパリテイ検出機能をチエツクするには、検査され
るデータに、故意にパリテイエラー状態を生ぜしめてチ
エツクを行うが、このために副処理装置により与えられ
る極性反転指示コードを格納するビツト位置が所定のレ
ジスタ内に必要であり、また極性反転を生ぜしめる回路
(排他論理和回路)も要する。従つて、チエツクさるべ
きパリテイ検出回路の数が増せば、上記のレジスタと排
他論理和回数もそれに比して多く要する本発明の利点は
複数個のパリテイ検出回路の検出機能をチエツクをする
のに、前記レジスタと排他論理和回路とは1組あればよ
く、また副処理装置の実行するステツプ数も減少し、ハ
ードウエアとソフトウエアの両者を最小に抑えうる利点
を有するものである。以下本発明を図面によつて説明す
る。Note that the present invention can also simultaneously check the detection functions of a plurality of parity detection circuits provided along the circuit through which data flows. Generally, in order to check the parity detection function of a parity detection circuit, a parity error state is intentionally caused in the data to be checked. A bit position is required in a predetermined register, and a circuit (exclusive OR circuit) for causing polarity reversal is also required. Therefore, as the number of parity detection circuits to be checked increases, the advantage of the present invention is that the number of registers and exclusive ORs required increases in comparison. , only one set of the register and the exclusive OR circuit is required, and the number of steps executed by the sub-processing unit is also reduced, which has the advantage of minimizing both hardware and software. The present invention will be explained below with reference to the drawings.
図面は本発明の一実施例を説明するプロツク図であり、
1は主処理装置、2は主記憶装置、3は副処理装置、4
はバスドライバー、Cはラツチ回路、5はバスレシーバ
一、6はレジスタ、7はEOR回路、8,9はパリテイ
検出回路、10はバツフアメモI八 11は制御回路、
12はデイスク装置、13はチヤネル装置、Cは共通バ
ス、D,D″はデータ、Eはバリテイエラ一信号pは指
示ビツト、ある。実施例はチヤンネル装置13内にパリ
テイ検出回路を2個有する例てある。また図面に.おけ
るバツフアメモリ10は先入れ先出し方式の所郡WIF
Oメモリである。図面において、まずデイスク装置12
へのデータの書込みの場合、主記憶装置2からのデータ
Dは共通バスC1バスレシーバ−5、EOR回路7を経
てバツフアメモリ10に格納されたのち、制御回路11
内の図示されないラツチ回路にラツチされてデイスク装
置12へ転送される。一方、データの読出しの場合には
、デイスク装置12からのデータD″は制御回路11の
ラツチ回路を経たのちバツフアメモリ10へ格納された
のち、再び読出され、ラツチ回路Cにラツチされバスド
ライバー4、共通バスCを経て主記憶装置2へ格納され
る。以上が通常の回路動作である。図面においては、バ
ツフアメモリ10の入力と出力側に、それぞれパリテイ
検出回路8及び9が設けられている。副処理装置3が、
この2つのパリテイ検出回路の検出機能をチエツクする
ときには、レジスタ6内の指示ビツトpに信号「1」を
セツトする。このためEOR(排他論理和)回路7の出
力側ではパリテイエラーを含むデータに変換され、この
データがバツフアメモリ10に格納される。このときパ
リテイ検出回路8が、前記のパリテイエラーを検出し、
パリテイエラー信号Eを発生する。副処理装置3がこの
パリテイエラー信号Eを検知(図示していない)するこ
とにより、検出機能の正常を確認できる。次に副処理装
置3がバツフアメモリ10に格納されたデータ(パリテ
イエラーを含む)ラツチ回路4″に読出せば、パリテイ
検出回路9によつてパリテイエラーが検出されパリテイ
エラー信号Eが発せられる。以上のように、データの流
れるバス(又は回路)に沿つて設けられた2個のバリテ
イ検出回路8及び9の検出機能を、レジスタ6の指示ビ
ットpへの信号設定と、1個のEOR回路とにより、同
時にチエツクできるものである。The drawings are block diagrams for explaining one embodiment of the present invention.
1 is the main processing unit, 2 is the main storage unit, 3 is the sub-processing unit, 4
is a bus driver, C is a latch circuit, 5 is a bus receiver, 6 is a register, 7 is an EOR circuit, 8 and 9 are parity detection circuits, 10 is a buffer memory I8, 11 is a control circuit,
12 is a disk device, 13 is a channel device, C is a common bus, D and D'' are data, E is a parity error signal, and p is an instruction bit. In this embodiment, the channel device 13 has two parity detection circuits. In addition, the buffer memory 10 in the drawing is a first-in, first-out system WIF.
O memory. In the drawing, first the disk device 12
In the case of writing data to the main storage device 2, data D from the main memory device 2 is stored in the buffer memory 10 via the common bus C1 bus receiver 5 and the EOR circuit 7, and then stored in the buffer memory 10.
The data is latched in a latch circuit (not shown) inside and transferred to the disk device 12. On the other hand, in the case of reading data, data D'' from the disk device 12 passes through the latch circuit of the control circuit 11, is stored in the buffer memory 10, is read out again, is latched in the latch circuit C, and is latched in the bus driver 4. The data is stored in the main memory device 2 via the common bus C. The above is the normal circuit operation. In the drawing, parity detection circuits 8 and 9 are provided on the input and output sides of the buffer memory 10, respectively. The processing device 3
When checking the detection functions of these two parity detection circuits, the instruction bit p in the register 6 is set to a signal "1". Therefore, on the output side of the EOR (exclusive OR) circuit 7, the data is converted into data including a parity error, and this data is stored in the buffer memory 10. At this time, the parity detection circuit 8 detects the parity error,
A parity error signal E is generated. By detecting this parity error signal E (not shown) by the sub-processing device 3, it is possible to confirm whether the detection function is normal. Next, when the sub-processing device 3 reads out the data (including parity errors) stored in the buffer memory 10 to the latch circuit 4'', a parity error is detected by the parity detection circuit 9 and a parity error signal E is generated. As described above, the detection functions of the two validity detection circuits 8 and 9 provided along the bus (or circuit) through which data flows are controlled by setting a signal to the instruction bit p of the register 6 and This can be checked simultaneously with the EOR circuit.
なおレジスタ6は副処理装置3内のレジスタを用いるか
又はメモリ領域におけるレジスタとして設定できること
はいうまでもない。It goes without saying that the register 6 can be set as a register in the sub-processing device 3 or as a register in a memory area.
図面は本発明の一実施例を説明するプロツク図であり、
図中に用いた符号は次の通りである。
1・・・・・・主処理装置、2・・・・・・主記憶装置
、3・・・副処理装置、4・・・・・・バスドライバー
、5・・・・・・バスレシーバ一、6・・・・・・レジ
スタ、7・・・・・・EOR回路、8,9・・・・・・
パリテイ検出回路、10・・・・・・バツフアメモリ、
11・・・・・制御回路、12・・・・・ディスク装置
、13・・・・・・チヤネル装置、C・・・・・・共通
バス、D,D″・・・・・・データ、E・・・・・・パ
リテイエラー信号、pは指示ビツト。The drawings are block diagrams for explaining one embodiment of the present invention.
The symbols used in the figure are as follows. 1...Main processing unit, 2...Main storage device, 3...Sub-processing unit, 4...Bus driver, 5...Bus receiver , 6...Register, 7...EOR circuit, 8, 9...
Parity detection circuit, 10... buffer memory,
11...Control circuit, 12...Disk device, 13...Channel device, C...Common bus, D, D''...Data, E: Parity error signal, p is an instruction bit.
Claims (1)
ファイル装置間のデータ転送を制御する副処理装置と、
前記データの転送経路途中に設けられ主記憶装置及びフ
ァイル装置からのデータを格納するバッファメモリと、
前記バッファメモリに主記憶装置から供給されるデータ
のパリテイエラーを検出する第1のパリテイ検出回路と
、前記バッファメモリから主記憶装置に転送されるデー
タを格納するレジスタと、該レジスタに格納されたデー
タのパリテイエラーを検出する第2のパリテイ検出回路
とを有するチャネル装置であつて、前記共通バスからバ
ツフアメモリへ供給されるデータにパリテイエラーを生
ぜしめる機能を有する排他論理和回路を具備し、前記副
処理装置が前記排他論理和回路の出力側にパリテイエラ
ーを含むデータを出現せしめてバッファメモリに格納せ
しめ、前記第1のパリテイ検出回路の検出機能をチェッ
クし、且つ、該データを前記レジスタに読出して前記第
2のパリテイ検出回路の機出機能をチェックすることを
特徴とするパリテイ検出機能のチェック方式。1 connected to the main storage device by a common bus, the main storage device;
a sub-processing device that controls data transfer between file devices;
a buffer memory provided in the middle of the data transfer route and storing data from the main storage device and the file device;
a first parity detection circuit for detecting a parity error in data supplied from the main memory to the buffer memory; a register for storing data transferred from the buffer memory to the main memory; and a second parity detection circuit for detecting a parity error in the data supplied from the common bus to the buffer memory, the channel device comprising an exclusive OR circuit having a function of causing a parity error in the data supplied from the common bus to the buffer memory. The sub-processing device causes data including a parity error to appear on the output side of the exclusive OR circuit and stores it in a buffer memory, checks the detection function of the first parity detection circuit, and A method for checking a parity detection function, characterized in that the readout function of the second parity detection circuit is checked by reading the information into the register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55052548A JPS6052455B2 (en) | 1980-04-21 | 1980-04-21 | Parity detection function check method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55052548A JPS6052455B2 (en) | 1980-04-21 | 1980-04-21 | Parity detection function check method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56149651A JPS56149651A (en) | 1981-11-19 |
| JPS6052455B2 true JPS6052455B2 (en) | 1985-11-19 |
Family
ID=12917843
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55052548A Expired JPS6052455B2 (en) | 1980-04-21 | 1980-04-21 | Parity detection function check method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6052455B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03108950U (en) * | 1990-02-23 | 1991-11-08 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4759479B2 (en) * | 2006-09-15 | 2011-08-31 | 株式会社リコー | Image forming apparatus |
-
1980
- 1980-04-21 JP JP55052548A patent/JPS6052455B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03108950U (en) * | 1990-02-23 | 1991-11-08 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56149651A (en) | 1981-11-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6052455B2 (en) | Parity detection function check method | |
| JPH09134314A (en) | Memory access control device | |
| JPH0268642A (en) | Memory error detecting system | |
| JP2888654B2 (en) | Data input control method | |
| JP3150571B2 (en) | Dual system switching method | |
| JPH0670775B2 (en) | Error detection / correction system | |
| JP2609768B2 (en) | Error detection method for control information read data | |
| KR970002400B1 (en) | Control scheme of interrupt go and done in a multiprocessor interrupt requester | |
| JP2735246B2 (en) | Test and set method | |
| JPS62125453A (en) | Storage device | |
| JPS586176B2 (en) | data collection device | |
| JPS6012186Y2 (en) | channel device | |
| JPH0612270A (en) | Test circuit | |
| JPS59144246A (en) | Data reception control system | |
| JPH04115339A (en) | Memory error processing system | |
| JP3012402B2 (en) | Information processing system | |
| JPH07152497A (en) | Disk control device | |
| JPS5827221A (en) | Data processing device | |
| JPH0514293B2 (en) | ||
| JPS5936359B2 (en) | data buffer device | |
| JPH02297650A (en) | Receiver | |
| JPS594742B2 (en) | Data alignment control method | |
| JP2004021505A (en) | Communication control device and microcomputer | |
| KR20050044197A (en) | Apparatus and method for pci dma error processing | |
| JPH0146890B2 (en) |