JPH0378850A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0378850A
JPH0378850A JP1216955A JP21695589A JPH0378850A JP H0378850 A JPH0378850 A JP H0378850A JP 1216955 A JP1216955 A JP 1216955A JP 21695589 A JP21695589 A JP 21695589A JP H0378850 A JPH0378850 A JP H0378850A
Authority
JP
Japan
Prior art keywords
data
serial number
interface
byte
circuit
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
JP1216955A
Other languages
Japanese (ja)
Inventor
Toshiaki Takagi
敏彰 高木
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 JP1216955A priority Critical patent/JPH0378850A/en
Publication of JPH0378850A publication Critical patent/JPH0378850A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To discriminate a data error due to a fault of a transfer control system from that of a data bus system by adding the serial number at the data input side and checking these number at the data output side. CONSTITUTION:A write of data a higher rank side serial number adding circuit 6 adds a serial number for each byte of the data 100 received from a host device 1. A device interface 5 writes the data 120 excluding the serial numbers included in the data 110 to a device 3 and at the same time checks the serial numbers added to the data 110 via a device side serial number detecting circuit 9. At read 110 via a device side serial number adding circuit 8 adds the serial numbers for each byte of the data 120 read out of the device 3. A host interface 4 transfers the data 100 to the device 1 excluding the serial numbers included in the data 120. At the same time, an upper rank side serial number detecting circuit 7 checks the serial numbers. Thus the occurrence of data errors can be discriminated between a data bus system and a transfer control system.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデータ処理装置に関し、特に書込み又は読取り
データの正当性チェック機能を有するデータ処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data processing device, and more particularly to a data processing device having a function of checking the validity of written or read data.

(従来の技術) 従来、この種のデータ処理装置は、データブロック毎に
ブロック内のデータに対するLRC(チェックコードの
一種)を上位インタフェース部およびデバイスインタフ
ェース部で生成し比較することによりデータの正当性を
チェックしていた。
(Prior Art) Conventionally, this type of data processing device checks the validity of data by generating and comparing LRC (a type of check code) for the data in the block in an upper interface section and a device interface section for each data block. was checking.

(発明が解決しようとする課題) 上述した従来のデータ処理装置は、上位インタフェース
部およびデバイスインタフェース部で生成されたLRC
を比較することによりデータの正当性をチェックするよ
うになっているが、データ転送路におけるデータ誤りが
データバス系で発生したのか、又は゛°データぬけ”お
よび“データのわき出し”等の転送制御系で発生したの
かを区別できないという欠点がある。
(Problem to be Solved by the Invention) The conventional data processing device described above has
The validity of the data is checked by comparing the data, but it is possible to check whether a data error occurred in the data bus system on the data transfer path, or if there is a data transfer error such as ``data dropout'' or ``data leakage''. The drawback is that it is not possible to distinguish whether the problem occurred in the control system or not.

本発明の目的は、上記従来装置の問題点に鑑みて、デー
タ誤りがデータバス系で発生したのか、転送制御系で発
生したのかを区別できるデータ処理装置を提供すること
にある。
SUMMARY OF THE INVENTION In view of the problems of the conventional device described above, an object of the present invention is to provide a data processing device that can distinguish whether a data error occurs in the data bus system or the transfer control system.

(課題を解決するための手段) 本発明は、上記の目的を達成するために次の手段構成を
有する。
(Means for Solving the Problems) The present invention has the following means configuration to achieve the above object.

即ち、本発明のデータ処理装置は、上位装置とのデータ
転送を制御する上位インタフェースと、デバイスとのデ
ータ転送を制御するデバイスインタフェースとを有する
データ処理装置において;前記上位インクインタフェー
ス内で前記上位装置から転送された書込みデータのバイ
トまたはワード毎にシリアル番号を付加する上位側シリ
アル番号付加回路と; 前記デバイスインタフェース内
で前記上位側シリアル番号付加回路により書込みデータ
のバイトまたはワード毎に付加されたシリアル番号をチ
ェックし、不一致が生じたバイト又はワードの番号およ
びエラーを表示するデバイス側シリアル番号検出回路と
: 前記デバイスインタフェース内で前記デバイスから
の読取りデータのバイト又はワード毎にシリアル番号を
付加するデバイス側シリアル番号付加回路と; 前記上
位インタフェース内で前記デバイス側シリアル番号付加
回路により読取りデータに付加されたシリアル番号をチ
ェックし、不一致が生じたバイト又はワードの番号およ
びエラーを表示する上位側シリアル番号検出回路と; 
を有することを特徴とする。
That is, the data processing apparatus of the present invention is a data processing apparatus having an upper level interface that controls data transfer with a higher level apparatus, and a device interface that controls data transfer with a device; an upper serial number adding circuit that adds a serial number to each byte or word of write data transferred from the device interface; a device-side serial number detection circuit that checks the number and indicates the number of bytes or words in which the discrepancy occurs and an error; and a device that adds a serial number to each byte or word of data read from the device within the device interface. and a side serial number addition circuit; an upper side serial number that checks the serial number added to the read data by the device side serial number addition circuit within the upper interface and displays the number and error of the byte or word where a mismatch has occurred; a detection circuit;
It is characterized by having the following.

(実 施 例) 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例を上位装置1およびデバイ
ス3とともに示すブロック図である。実施例のデータ処
理装置2は、上位装置1から転送されたデータをデバイ
ス3へ書込み、又はデバイス3から読出したデータを上
位装置1へ転送する。
FIG. 1 is a block diagram showing an embodiment of the present invention together with a host device 1 and a device 3. As shown in FIG. The data processing device 2 of the embodiment writes data transferred from the host device 1 to the device 3, or transfers data read from the device 3 to the host device 1.

データ処理装置2は、上位装置1とのデータ転送を行う
上位インタフェース4と、デバイス3とのデータ転送を
行うデバイスインタフェース5と、上位インタフェース
4内に上位装置1から転送されたデータのバイト又はワ
ード毎にシリアル番号を付加する上位側シリアル番号付
加回路6と、デバイス3から読出されたデータを上位装
置1へ転送するとき付加されたシリアル番号をチェック
する上位側シリアル番号検出回路7と、ブロック内のデ
ータに対するLRCを生成する上位側LRC生成回路1
0と、デバイスインタフェース5内にデバイス3から読
出したデータのバイト又はワード毎にシリアル番号を付
加するデバイス側シリアル番号付加回路8と、デバイス
3への書込みデータに付加されたシリアル番号をチェッ
クするデバイス側シリアル番号検出回路9と、デバイス
3に対するデータの書込みおよび読出しにおいてブロッ
ク毎にLRCを生成するデバイス側LRC生成回路11
と、上位側LRC生成回路10とデバイス側LRC生成
回路11で生成されたLRCを比較するLRC比較回路
12から構成されている。
The data processing device 2 has a high-level interface 4 that transfers data with the high-level device 1, a device interface 5 that transfers data with the device 3, and a byte or word of data transferred from the high-level device 1 into the high-level interface 4. an upper serial number addition circuit 6 that adds a serial number to each block; an upper serial number detection circuit 7 that checks the serial number added when transferring data read from the device 3 to the upper device 1; upper side LRC generation circuit 1 that generates LRC for data of
0, a device-side serial number addition circuit 8 that adds a serial number to each byte or word of data read from the device 3 in the device interface 5, and a device that checks the serial number added to the data written to the device 3. a side serial number detection circuit 9 and a device side LRC generation circuit 11 that generates an LRC for each block when writing and reading data to and from the device 3.
and an LRC comparison circuit 12 that compares the LRCs generated by the upper-side LRC generation circuit 10 and the device-side LRC generation circuit 11.

ここでは、LRCによるデータのチェックは周知の技術
であるので説明は省略する。
Here, since data checking by LRC is a well-known technique, its explanation will be omitted.

まずデータの書込みについて説明する。上位インタフェ
ース4において上位側シリアル番号付加回路6は、上位
装置1から転送されたデータ100の各バイト又はワー
ド毎にシリアル番号を付加したデータ110を出力する
。デバイスインタフェース5は、シリアル番号を付加さ
れたデータ+10の内シリアル番号をのぞいたデータ1
20をデバイス3へ書込むと共にデバイス側シリアル番
号検出回路9でデータ110に付加されているシリアル
番号をチェックする。デバイス側シリアル番号検出回路
9で、起動時に上位側シリアル番号付加回路6とスター
トを合わせてあったシリアル番号期待値との不一致を検
出するとエラー表示すると共に何番目のデータで発生し
たのかを表示する。
First, data writing will be explained. In the upper level interface 4, the upper side serial number adding circuit 6 outputs data 110 in which a serial number is added to each byte or word of the data 100 transferred from the higher level device 1. The device interface 5 is the data with the serial number added + data 1 excluding the serial number.
20 is written to the device 3, and the serial number added to the data 110 is checked by the device side serial number detection circuit 9. When the device side serial number detection circuit 9 detects a discrepancy between the expected serial number value and the start value of the upper side serial number addition circuit 6 at the time of startup, an error is displayed and the number of data at which the occurrence occurred is displayed. .

次にデータの読取りについて、説明する。デバイスイン
タフエース5において、デバイス側シリアル番号付加回
路8は、デバイス3から読出されたデータ120の各バ
イト又はワード毎にシリアル番号を付加したデータ11
0を出力する。上位インタフェース4はシリアル番号を
付加されたデータ110の内シリアル番号をのぞいたデ
ータ100を上位装置1へ転送すると共に上位側シリア
ル番号検出回路7は、データ110に付加されているシ
リアル番号をチェックする。上位側シリアル番号検出回
路7で、起動時にデバイス側シリアル番号付加回路8と
スタートを合わせてあったシリアル番号期待値との不一
致を検出するとエラー表示すると共に何番目のデータで
発生したのかを表示する。
Next, reading data will be explained. In the device interface 5, the device side serial number adding circuit 8 adds a serial number to each byte or word of the data 120 read from the device 3.
Outputs 0. The host interface 4 transfers the data 100 excluding the serial number from the data 110 to which the serial number has been added to the host device 1, and the host side serial number detection circuit 7 checks the serial number added to the data 110. . When the upper serial number detection circuit 7 detects a discrepancy between the expected serial number value and the serial number addition circuit 8 on the device side at the time of startup, an error is displayed and the number of data at which the occurrence occurs is displayed. .

(発明の効果) 以上説明したように本発明のデータ処理装置は、データ
の入力側でシリアル番号を付加し、出力側でシリアル番
号をチェックすることにより、“データぬけ″および゛
データのわき出し”等の転送制御系の障害によるデータ
誤りをデータバス系で発生したデータ誤りと区別するこ
とができるという利点がある。
(Effects of the Invention) As explained above, the data processing device of the present invention adds a serial number on the data input side and checks the serial number on the output side, thereby preventing "data omission" and "data leakage". This has the advantage that data errors caused by failures in the transfer control system, such as "", can be distinguished from data errors occurring in the data bus system.

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

第1図は本発明の一実施例の構成を上位装置およびデバ
イスとともに示すブロック図である。 1・・・・・・上位装置、 2・・・・・・データ処理
装置、3・・・・・・デバイス、 4・・・・・・上位
インタフェース、5・・・・・・デバイスインタフェー
ス、 6・・・・・・上位側シリアル番号付加回路、 
7・・・・・・上位側シリアル番号検出回路、 8・・
・・・・デバイス側シリアル番号付加回路、 9・・・
・・・デバイス側シリアル番号検出回路、10・・・・
・・上位側LRC生成回路、 11・・・・・・デバイ
ス側LRC生成回路、 12・・・・・・LRC比較回
路。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention together with host equipment and devices. 1... Upper device, 2... Data processing device, 3... Device, 4... Upper interface, 5... Device interface, 6...Upper side serial number addition circuit,
7...Upper side serial number detection circuit, 8...
...Device side serial number addition circuit, 9...
...Device side serial number detection circuit, 10...
... Upper side LRC generation circuit, 11 ... Device side LRC generation circuit, 12 ... LRC comparison circuit.

Claims (1)

【特許請求の範囲】[Claims] 上位装置とのデータ転送を制御する上位インタフェース
と、デバイスとのデータ転送を制御するデバイスインタ
フェースとを有するデータ処理装置において;前記上位
インタフェース内で前記上位装置から転送された書込み
データのバイトまたはワード毎にシリアル番号を付加す
る上位側シリアル番号付加回路と;前記デバイスインタ
フェース内で前記上位側シリアル番号付加回路により書
込みデータのバイトまたはワード毎に付加されたシリア
ル番号をチェックし、不一致が生じたバイト又はワード
の番号およびエラーを表示するデバイス側シリアル番号
検出回路と;前記デバイスインタフェース内で前記デバ
イスからの読取りデータのバイト又はワード毎にシリア
ル番号を付加するデバイス側シリアル番号付加回路と;
前記上位インタフェース内で前記デバイス側シリアル番
号付加回路により読取りデータに付加されたシリアル番
号をチェックし、不一致が生じたバイト又はワードの番
号およびエラーを表示する上位側シリアル番号検出回路
と;を有することを特徴とするデータ処理装置。
In a data processing device having a higher-level interface that controls data transfer with a higher-level device and a device interface that controls data transfer with a device; an upper-side serial number addition circuit that adds a serial number to a serial number; checks the serial number added to each byte or word of write data by the upper-side serial number addition circuit within the device interface, and identifies bytes or words in which a mismatch has occurred; a device-side serial number detection circuit that displays a word number and an error; a device-side serial number addition circuit that adds a serial number to each byte or word of data read from the device within the device interface;
and an upper-side serial number detection circuit that checks the serial number added to the read data by the device-side serial number addition circuit in the upper-layer interface and displays the number of byte or word in which a mismatch has occurred and an error. A data processing device characterized by:
JP1216955A 1989-08-23 1989-08-23 Data processor Pending JPH0378850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1216955A JPH0378850A (en) 1989-08-23 1989-08-23 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1216955A JPH0378850A (en) 1989-08-23 1989-08-23 Data processor

Publications (1)

Publication Number Publication Date
JPH0378850A true JPH0378850A (en) 1991-04-04

Family

ID=16696536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1216955A Pending JPH0378850A (en) 1989-08-23 1989-08-23 Data processor

Country Status (1)

Country Link
JP (1) JPH0378850A (en)

Similar Documents

Publication Publication Date Title
EP0201356A2 (en) High level self-checking intelligent I/O controller
DE3274687D1 (en) Digital data processor with high reliability and method
ATE72066T1 (en) SELF-TESTING COMPUTING CIRCUIT ARRANGEMENT.
JPH0378850A (en) Data processor
JPH01280838A (en) Parity reproduction self-checking
JPS62242258A (en) Storage device
JPS6152758A (en) Memory error detecting device
JP2513615B2 (en) Storage device with ECC circuit
JPH04252344A (en) Computer system
JPS6373437A (en) Checking system for parity circuit
JPS6043753A (en) Fault detecting circuit
JPS6385832A (en) Parity checking system
JPH04101253A (en) Operation testing system for ecc circuit of memory
JPH1050004A (en) Magnetic disk control device
JPS60163135A (en) Data bus check system
FNO 110 statements in higher programming languages: unnecessary and undesirable
JPS59148197A (en) Memory device
JPH0216658A (en) Memory device
JPS6232822B2 (en)
JPS60252971A (en) Memory access control system
JPH04364552A (en) Memory circuit with parity monitor circuit
JPS6325380B2 (en)
JPS6310378A (en) Peripheral memory device
JPS61216060A (en) Storage device
JPS62242245A (en) Data checking device in data transfer route