JPS6148247A - Fault detection system of data transfer system - Google Patents

Fault detection system of data transfer system

Info

Publication number
JPS6148247A
JPS6148247A JP59170783A JP17078384A JPS6148247A JP S6148247 A JPS6148247 A JP S6148247A JP 59170783 A JP59170783 A JP 59170783A JP 17078384 A JP17078384 A JP 17078384A JP S6148247 A JPS6148247 A JP S6148247A
Authority
JP
Japan
Prior art keywords
data
processor
register
signal
parity error
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
JP59170783A
Other languages
Japanese (ja)
Inventor
Katsuaki Yoshimori
吉森 克昭
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 JP59170783A priority Critical patent/JPS6148247A/en
Publication of JPS6148247A publication Critical patent/JPS6148247A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To attain retrieval of disturbance in a signal on a data bus by returning again a detected data to the tramission side when a parity error is detected in a signal on the data bus. CONSTITUTION:When a parity error detection signal 4 goes to logical 1, and a data detecting the parity error is fetched to a D13 register 13 by using AND among the signal 4, an output ST2 from a shift register 14 and an inverted signal of the clock signal 2 at an inverter 102. The D13 register 13 is connected to a processor control section 10 through an internal data bus 22 so as to attain reading. Thus, if a parity error takes place, the state of disturbance of data is analyzed by reading the D13 register 13.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置のデータバス異状を検出する
方式に関する。特にビット乱れ検索方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for detecting a data bus abnormality in a data processing device. In particular, it relates to a bit disorder search method.

〔従来の技術〕[Conventional technology]

従来、データバスのチェック方式としてはデータ部のパ
リティチェックによりパリティエラーを検出したことを
上位機種または下位機種あるいは他プロセツサに報告す
る方式が知られている。近年はさらにパリティエラーが
あったことによりハイウェイ (HW)が自動的にリト
ライするような仕組みのものが用いられている。
Conventionally, as a data bus checking method, a method is known in which the detection of a parity error by a parity check of the data section is reported to a higher-level device, a lower-level device, or another processor. In recent years, systems have been used in which the highway (HW) automatically retries when a parity error occurs.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、この方式では異状が検出されてもそのデータバ
スがどのように乱れているか、すなわちいずれのビット
が乱れているかは検索できるようにはなっていないので
十分な対応ができない欠点があった。
However, in this method, even if an abnormality is detected, it is not possible to search how the data bus is disturbed, that is, which bit is disturbed, so it is not possible to take sufficient measures.

本発明はこれを改良するもので異状が検出されたとき、
その異状の内容を上位装置が知ることができる方式を提
供すること目的とする。
The present invention improves this, and when an abnormality is detected,
The purpose of this invention is to provide a method that allows a host device to know the contents of the abnormality.

〔問題点を解決するための手段〕[Means for solving problems]

本発明はパリティエラーとして検知されたデータを送凡
側に対して再度送り返し、データバスの信号乱れの精密
な検索を可能とするものである。
According to the present invention, data detected as a parity error is sent back to the sending side again, thereby making it possible to precisely search for signal disturbances on the data bus.

本発明は、第1のプロセッサから第2のプロセソサヘバ
リティビソトを含むデータを送出し、そのデータの送出
開始を指示するとともに、第1のプロセッサからのデー
タを第2のプロセッサが取り込み、その取り込みデータ
のパリティチェックを行う。異状があると、第2のプロ
セッサは受は取ったデータを再度データバスに送出し直
し、第1のプロセッサはそのデータバスに送出されたデ
ータを取り込むことにより構成される。
The present invention sends data including a barity bit from a first processor to a second processor, instructs the second processor to start sending the data, and also causes the second processor to take in data from the first processor. Perform a parity check on the imported data. If there is an abnormality, the second processor sends the received data back to the data bus, and the first processor takes in the data sent to the data bus.

〔作用〕[Effect]

データバス上のデータにパリティエラーがあると検知さ
れた場合は同一バス上にそのデータを送出側に再度送り
返し、受入れ側にはこれを取込むことができるように゛
して、データバス信号の乱れを正しく検索できるように
して、乱れの有効な解・  折を可能にする。
If it is detected that there is a parity error in the data on the data bus, the data is sent back to the sending side on the same bus, and the receiving side can receive this data. To make it possible to search for disturbances correctly and to enable effective solutions to disturbances.

〔実施例〕〔Example〕

次に本発明を添付図面の実施例装置によって説明する。 Next, the present invention will be explained with reference to the embodiments shown in the accompanying drawings.

第1図は本発明実施例装置のブロック構成図である。デ
ータバス1を経由してプロセ・)すBのD10レジスタ
51とドライバ55とに結合するプロセッサAのドライ
バ11は、プロセッサ制御部10の出力に結合する。さ
らにデータバス1が入力するDI2レジスタ12の出力
は、DI3I3レジスタ13して上記プロセッサ制御部
10に入力する。プロセッサ制御部10の一方の出力1
0a(もう一方の出)月Obはクロック信号2を供給す
るプロセッサBに入力する。)は、ドライバ11にイン
バータ101を介して入力しかつシフトレジスタ14お
よびプロセッサBのこのシフトレジスタ52に入力する
。インバータ102の出力は、アンドゲート103を介
してDI3I3レジスタ13びプロセッサ制御部10に
結合するとともに、プロセッサBのパリティチェッカー
54およびナントゲート203に結合する。プロセッサ
BのDTOレジスタ51の出力は、DIIレジスタ53
を介して前記パリティチェッカー54およびドライバ5
5に結合する。パリティチェッカー54およびドライバ
55に結合する。パリティチェッカー54の出力はナン
トゲート203を介してドライバ55に結合する。イン
バータ201を介するクロック信号とSTO信号とはア
ンドゲート202を介してレジスタ53に結合する。
FIG. 1 is a block diagram of an apparatus according to an embodiment of the present invention. The driver 11 of the processor A, which is coupled to the D10 register 51 and driver 55 of the processor B via the data bus 1, is coupled to the output of the processor control unit 10. Furthermore, the output of the DI2 register 12 inputted by the data bus 1 is inputted to the processor control section 10 through the DI3I3 register 13. One output 1 of the processor control unit 10
0a (the other outgoing) month Ob is input to processor B which supplies clock signal 2. ) is input to the driver 11 via the inverter 101 and to the shift register 14 and this shift register 52 of processor B. The output of inverter 102 is coupled to DI3I3 register 13 and processor control unit 10 via AND gate 103, and also coupled to parity checker 54 and Nant gate 203 of processor B. The output of the DTO register 51 of processor B is sent to the DII register 53.
via the parity checker 54 and driver 5
Combine with 5. Coupled to parity checker 54 and driver 55. The output of parity checker 54 is coupled to driver 55 via Nant gate 203. The clock signal and STO signal via inverter 201 are coupled to register 53 via AND gate 202.

本発明装置のプロセッサAとBとはデータバス1により
接続されており、プロセッサA、B間のデータ転送はこ
のデータバス1により実施される。
Processors A and B of the apparatus of the present invention are connected by a data bus 1, and data transfer between processors A and B is carried out by this data bus 1.

プロセッサAからプロセッサBに対してクロック信号2
およびデータ転送を指示するBOP信号3が供給されて
いる。
Clock signal 2 from processor A to processor B
and a BOP signal 3 instructing data transfer.

またプロセッサBからプロセッサAに対しては、パリテ
ィエラーを検出したことを示すパリティエラー検出信号
4が供給されている。第2図は本発明実施例装置の正常
動作時の各部信号のタイムチャートである。第1図およ
び第2図を参照してさらに詳細に説明する。
Further, processor B supplies processor A with a parity error detection signal 4 indicating that a parity error has been detected. FIG. 2 is a time chart of signals of various parts during normal operation of the apparatus according to the embodiment of the present invention. This will be explained in more detail with reference to FIGS. 1 and 2.

プロセッサAからプロセッサBへのデータの流れは次の
通りである。
The data flow from processor A to processor B is as follows.

プロセッサAを制御しているプロセッサ制御部10から
のデータは、データライン21を経由しドライバ11に
接続されている。ドライバ11の出力信号、すなわちデ
ータバス1への出力はデータ転送を指示するBOP信号
3により「イネーブル」状態となる。BOP信号3はデ
ータバス上のデータが有効であることを示している。ま
たこのBOP信号3はクロック信号2と同期しており、
かつIT分出力される。BOP信号3は前述の通りドラ
イバ11を「アクティブ」とする(インバータ101を
経由して)。
Data from the processor control section 10 controlling the processor A is connected to the driver 11 via a data line 21. The output signal of the driver 11, ie, the output to the data bus 1, is brought into an "enabled" state by the BOP signal 3 instructing data transfer. BOP signal 3 indicates that the data on the data bus is valid. Moreover, this BOP signal 3 is synchronized with the clock signal 2,
And the IT portion is output. BOP signal 3 makes driver 11 "active" (via inverter 101) as described above.

プロセッサBのDIOレジスタ51へはクロック信号2
により常にデータバス1上のデータを取り込んでいる。
Clock signal 2 is sent to the DIO register 51 of processor B.
The data on the data bus 1 is always fetched.

BOP信号3からシフトレジスタ52を介してステージ
を表わすSTO,STI、ST2信号が作られている。
STO, STI, and ST2 signals representing stages are generated from the BOP signal 3 via a shift register 52.

DIOレジスタ53へのデータ取込みは、前述SToと
クロック信号2をインバータ201により反転されたク
ロック信号の論理積(アンドゲート202)により行わ
れる。
Data is taken into the DIO register 53 by performing the logical product (AND gate 202) of the aforementioned STo and the clock signal obtained by inverting the clock signal 2 by the inverter 201.

Dllレジスタ53に取込まれたデータはパリティチェ
ッカー54にてデータのチェックが行われる。
The data taken into the Dll register 53 is checked by a parity checker 54.

パリティのチェック結果が正常な場合にはパリティエラ
ー検出信号4は論理「0」である。
If the parity check result is normal, the parity error detection signal 4 is logic "0".

次に第1図および第3図を参照して説明する。Next, a description will be given with reference to FIGS. 1 and 3.

この場合はパリティエラーを検出したときの動作である
In this case, the operation is performed when a parity error is detected.

シフトレジスタ52からの出力STOのサイクルでDl
lレジスタ53に取込まれたデータ(パリティビットを
含む)にパリティエラーを検出するとパリティエラー検
出信号4は論理「1」となる。
In the cycle of the output STO from the shift register 52, Dl
When a parity error is detected in the data (including the parity bit) taken into the l register 53, the parity error detection signal 4 becomes logic "1".

パリティエラー信号4が「1」となると、ナンド(NA
ND)ゲート203を介してST1サイクル間のみドラ
イバ55の出力が「イネーブル」状態となり、Dllレ
ジスタ53の内容がデータバス1上に送出される。この
データはプロセッサAか受は取ったデータそのままであ
る。
When parity error signal 4 becomes “1”, NAND (NA
ND) The output of the driver 55 becomes "enabled" only during the ST1 cycle via the gate 203, and the contents of the Dll register 53 are sent onto the data bus 1. This data is the same data received by processor A.

パリティエラー検出信号4が論理「1」となった場合の
プロセッサA側の動作を以下に説明する。
The operation of the processor A when the parity error detection signal 4 becomes logic "1" will be described below.

プロセッサAのDI2レジスタ12へのデータの取込み
はプロセッサBのDIOレジスタ51と同様にクロック
信号2により常に取り込んでいる(クロック信号2の立
上り)。またプロセッサA側のシフトレジスタ14はプ
ロセッサBのシフトレジスタ52と同様の動作をする。
Data is always loaded into the DI2 register 12 of processor A using clock signal 2 (rising edge of clock signal 2), similarly to the DIO register 51 of processor B. Furthermore, the shift register 14 on the processor A side operates similarly to the shift register 52 on the processor B side.

パリティエラー検出信号4が論理「1」となると、本信
号とシフトレジスター4からの出力ST2およびインバ
ーター02によりクロック信号2を反転させた信号の論
理積(アンドゲート103)によりDI3レジスター3
にパリティエラーを検出したデータ(パリティビットを
含む)が取込まれる。このDI3レジスター3は内部デ
ータバス22によりプロセッサ制御部10に接続されて
おり、読取ることが可能となっている。
When the parity error detection signal 4 becomes logic "1", the logical product of this signal, the output ST2 from the shift register 4, and the signal obtained by inverting the clock signal 2 by the inverter 02 (AND gate 103) is used to register the DI3 register 3.
The data (including the parity bit) in which a parity error has been detected is captured. This DI3 register 3 is connected to the processor control unit 10 by an internal data bus 22 and can be read.

パリティエラーが発生した場合には、このD’13レジ
スタを読出すことによりデータ乱れの状況が解析可能と
なる。
When a parity error occurs, the data disturbance situation can be analyzed by reading this D'13 register.

〔発明の効果〕〔Effect of the invention〕

本発明には以上説明したように、データバス上の信号に
パリティエラーがあった場合、同一のデータバス上にそ
のデータを転送し直し、このデータを取込むレジスタを
設ける構成にすることによりデータ乱れの解析上、有効
に使用できる効果がある。
As explained above, in the present invention, when there is a parity error in a signal on a data bus, the data is retransferred onto the same data bus and a register is provided to capture this data. It has an effect that can be used effectively in analyzing disturbances.

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

第1図は本発明実施例装置のブロック構成図。 第2図は実施例装置各部分の正常動作時のタイムチャー
+−。 第3図はパリティエラーを検出した場合のタイムチャー
ト。 1・・・データバス(パリティビットを含む)、2・・
・クロック信号線、3・・・データ転送指示(BOP)
信号線、4・・・パリティエラー検出信号線、11・・
・ドライバ、12・・・DI2レジスタ、13・・・D
I3I3レジスタ1.22・・・内部データバス、10
・・・プロセッサ制御部、14・・・シフトレジスタ、
101.1o2・・・インバータ、103・・・ナンド
(NAND)ゲート、51・・・DIOレジスタ、53
・・・Dllレジスタ、52・・・シフトレジスタ、5
4・・・パリティチェッカー、55・・・ドライバ、2
01・・・インバータ、202・・・アンド(AND)
ゲート、203・・・ナンド(NAND)ゲート。
FIG. 1 is a block diagram of an apparatus according to an embodiment of the present invention. FIG. 2 is a time chart of each part of the embodiment device during normal operation. FIG. 3 is a time chart when a parity error is detected. 1...Data bus (including parity bit), 2...
・Clock signal line, 3...Data transfer instruction (BOP)
Signal line, 4... Parity error detection signal line, 11...
・Driver, 12...DI2 register, 13...D
I3I3 register 1.22...internal data bus, 10
... Processor control unit, 14... Shift register,
101.1o2... Inverter, 103... NAND gate, 51... DIO register, 53
...Dll register, 52...Shift register, 5
4...Parity checker, 55...Driver, 2
01...Inverter, 202...And (AND)
Gate, 203...NAND gate.

Claims (1)

【特許請求の範囲】[Claims] (1)第一のプロセッサと、 第二のプロセッサと、 上記第一および第二のプロセッサを接続するデータバス
と を備え、 上記第一のプロセッサには上記データバスにパリティビ
ットを含むデータを送信する手段を備え、上記第二のプ
ロセッサには、上記データバスから受信したデータのパ
リティ誤りを検出する手段と、この手段により検出され
たパリティ誤りを上記第一のプロセッサに通知する手段
とを備えたデータ転送方式において、 上記第二のプロセッサには、上記パリティ誤りを検出す
る手段が誤りを検出したときに受信したデータをそのま
ま上記データバスに送出する手段を備え、 上記第一のプロセッサには、上記パリティ誤りが通知さ
れたのちに上記第二のプロセッサから上記データバスに
送出されたデータを受信する手段と、この手段により受
信されたデータから誤りを分析する手段とを備えた ことを特徴とするデータ転送方式の異常検出方式。
(1) A first processor, a second processor, and a data bus connecting the first and second processors, and transmitting data including a parity bit to the data bus to the first processor. and the second processor includes means for detecting a parity error in data received from the data bus, and means for notifying the first processor of the parity error detected by the means. In the data transfer method, the second processor includes means for sending the received data as is to the data bus when the parity error detecting means detects an error; , comprising means for receiving data sent from the second processor to the data bus after being notified of the parity error, and means for analyzing the error from the data received by the means. Anomaly detection method for data transfer method.
JP59170783A 1984-08-16 1984-08-16 Fault detection system of data transfer system Pending JPS6148247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59170783A JPS6148247A (en) 1984-08-16 1984-08-16 Fault detection system of data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59170783A JPS6148247A (en) 1984-08-16 1984-08-16 Fault detection system of data transfer system

Publications (1)

Publication Number Publication Date
JPS6148247A true JPS6148247A (en) 1986-03-08

Family

ID=15911283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59170783A Pending JPS6148247A (en) 1984-08-16 1984-08-16 Fault detection system of data transfer system

Country Status (1)

Country Link
JP (1) JPS6148247A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6431410A (en) * 1987-07-27 1989-02-01 Sharp Kk Semiconductor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6431410A (en) * 1987-07-27 1989-02-01 Sharp Kk Semiconductor device

Similar Documents

Publication Publication Date Title
JPH07129426A (en) Fault processing system
JPH0481932A (en) Interruption controller
JPH01154242A (en) Double-zone failure-proof computer system
EP0380858A3 (en) Method and apparatus for detecting and correcting errors in a pipelined computer system
JPS6148247A (en) Fault detection system of data transfer system
JPH02742B2 (en)
JP2720580B2 (en) Fault-tolerant computer
JPS60214043A (en) Pipeline control circuit
JPS60173647A (en) Detecting system of error generating part of information processing unit
JPS63142449A (en) Patrol check system for control memory
JPH0149975B2 (en)
JPH02297650A (en) Receiver
JPS62166451A (en) History analyzing device for logical unit
JPS58169614A (en) Bus control system
JPS59144246A (en) Data reception control system
JPS6146535A (en) Pseudo error setting control system
JPS60254253A (en) Error information collecting circuit
EP0139743A1 (en) Clock stretching circuitry
JPS61267835A (en) Data processor
JPS63124156A (en) Memory error detecting method
JPH0250244A (en) Adapter for input and output control
JPS6257049A (en) Decentralized processor system
JPH0120453B2 (en)
JP2001043104A (en) Bus monitor device for computer system
JPS63145563A (en) System bus reading method for microcomputer