JP2567986B2 - Data processing system - Google Patents

Data processing system

Info

Publication number
JP2567986B2
JP2567986B2 JP2269003A JP26900390A JP2567986B2 JP 2567986 B2 JP2567986 B2 JP 2567986B2 JP 2269003 A JP2269003 A JP 2269003A JP 26900390 A JP26900390 A JP 26900390A JP 2567986 B2 JP2567986 B2 JP 2567986B2
Authority
JP
Japan
Prior art keywords
parity
input
output
address
register
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 - Lifetime
Application number
JP2269003A
Other languages
Japanese (ja)
Other versions
JPH04145563A (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.)
NIPPON DENKI ENJINIARINGU KK
NEC Corp
Original Assignee
NIPPON DENKI ENJINIARINGU KK
Nippon Electric Co 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 NIPPON DENKI ENJINIARINGU KK, Nippon Electric Co Ltd filed Critical NIPPON DENKI ENJINIARINGU KK
Priority to JP2269003A priority Critical patent/JP2567986B2/en
Publication of JPH04145563A publication Critical patent/JPH04145563A/en
Application granted granted Critical
Publication of JP2567986B2 publication Critical patent/JP2567986B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理システムに関し、特に複数のバス
を有し、バス間のデータ転送におけるデータの保全を行
うデータ処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system, and more particularly to a data processing system that has a plurality of buses and that secures data in data transfer between the buses.

〔従来の技術〕[Conventional technology]

従来、この種のデータ処理システムは、一方のバスか
らデータを入力するときにパリティチェックを行い、そ
のデータにパリティビットを付与したまま内部バッファ
に格納し、さらに他方のデータバスにそのデータを出力
するとき、パリティビットを付与したままのデータでパ
リティチェックを行い、そのデータが正しいか否かを確
認していた。
Conventionally, this type of data processing system performs a parity check when inputting data from one bus, stores the parity bit in the data in an internal buffer, and outputs the data to the other data bus. In doing so, a parity check was performed on the data with the parity bit added, and it was confirmed whether the data was correct.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来のデータ処理システムは、バスの入出力
部でパリティチェックを行い、内部バッファでもパリテ
ィビットが付与された状態であるので、内部バッファや
入出力レジスタでのビット誤りを検出することはできる
が、入出力レジスタでの更新、データバッファに対する
書き込み及び読み出し制御回路に対する障害については
検出することができないという問題点があった。
In the conventional data processing system described above, the parity check is performed at the input / output unit of the bus, and the parity bit is added to the internal buffer as well, so it is possible to detect a bit error in the internal buffer or the input / output register. However, there is a problem in that it is impossible to detect an update in the input / output register, a failure in the write / read control circuit for the data buffer, and a failure in the read / write control circuit.

本発明の目的は、データバッファに対する書き込み及
び読み出し制御回路に対する障害についても検出するこ
とができるデータ処理システムを提供することにある。
It is an object of the present invention to provide a data processing system capable of detecting a failure in a write / read control circuit for a data buffer.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のデータ処理システムは、一つのバスサイクル
の中でアドレス及びデータを一つまたは複数個転送する
バスが複数存在し、バスインタフェース回路によって互
いに接続されるデータ処理システムにおいて、 (A)各々のデータバスの情報を入力する度にパリティ
ビットを格納する入出力パリティレジスタ手段、 (B)反転したパリティビットを格納する入出力パリテ
ィ反転レジスタ手段、 (C)前記入出力パリティレジスタ手段よりパリティビ
ットを格納するアドレス・データバッファパリティ手
段、 (D)前記入出力パリティ反転レジスタ手段より反転し
たパリティビットを格納するアドレス・データバッファ
反転パリティ手段、 (E)前記入出力パリティレジスタ手段と入出力パリテ
ィ反転レジスタ手段との値を比較するパリティ比較手
段、 (F)入力した情報をデータバスに出力する度に前記比
較結果をチェックするためのタイミングを発生するチェ
ックタイミング発生手段、 (G)バスサイクル開始時に前記入出力パリティレジス
タ手段、入出力パリティ反転レジスタ手段、アドレス・
データバッファパリティ手段及びアドレス・データバッ
ファ反転パリティ手段をリセットするリセット手段、 を備えている。
The data processing system of the present invention is a data processing system in which there are a plurality of buses for transferring one or more addresses and data in one bus cycle, and the buses are connected to each other by a bus interface circuit. Input / output parity register means for storing a parity bit each time data bus information is input, (B) input / output parity inversion register means for storing inverted parity bits, and (C) parity bits from the input / output parity register means. Address / data buffer parity means for storing (D) Address / data buffer inversion parity means for storing parity bits inverted by the input / output parity inversion register means, (E) Input / output parity register means and input / output parity inversion register Paris comparing values with means A comparison means, (F) a check timing generation means for generating a timing for checking the comparison result every time the inputted information is output to the data bus, (G) an input / output parity register means at the start of the bus cycle, Output parity inversion register means, address
Reset means for resetting the data buffer parity means and the address / data buffer inversion parity means.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のブロック図である。 FIG. 1 is a block diagram of an embodiment of the present invention.

第1図に示すデータ処理システムは、アドレス・デー
タバス1、アドレス・データバス2、入出力レジスタ
3、入出力パリティレジスタ3P、入出力パリティ反転レ
ジスタ3P3、アドレス・データバッファ4、アドレス・
データバッファパリティ4P、アドレス・データバッファ
反転パリティ4、入出力レジスタ5、入出力パリティ
レジスタ5P、入出力パリティ反転レジスタ5、フラグ
リセット・チェックタイミング発生回路(チェックタイ
ミング発生手段,リセット手段)7、パリティチェック
回路9、パリティ比較回路61,62、パリティ比較エラー
フラグ81,82から構成されている。
The data processing system shown in FIG. 1 includes an address / data bus 1, an address / data bus 2, an input / output register 3, an input / output parity register 3P, an input / output parity inversion register 3P3, an address / data buffer 4, an address / data buffer 4.
Data buffer parity 4P, address / data buffer inversion parity 4, input / output register 5, input / output parity register 5P, input / output parity inversion register 5, flag reset / check timing generation circuit (check timing generation means, reset means) 7, parity It is composed of a check circuit 9, parity comparison circuits 61 and 62, and parity comparison error flags 81 and 82.

次に、動作を説明する。 Next, the operation will be described.

第1図において、アドレス・データバス1よりアドレ
ス・データバス2に対して情報を転送する場合、アドレ
スデータバス1でバスサイクルが発生すると、フラグリ
セット・チェックタイミング発生回路7のフラグリセッ
ト信号7aにより、入出力パリティレジスタ3P,5P、入出
力パリティ反転レジスタ3,5、アドレス・データバ
ッファパリティ4P、及びアドレス・データバッファ反転
パリティ4をそれぞれリセットする。入出力レジスタ
3にアドレス・データバス1のアドレス及びデータを入
力する度に、アドレス・データバス1に接続されたパリ
ティチェック回路9によりパリティがチェックされ、入
出力パリティレジスタ3P及び入出力パリティ反転レジス
タ3にそれぞれアドレス・データバス1のパリティビ
ット及び反転したパリティビットを入力する。
In FIG. 1, when information is transferred from the address / data bus 1 to the address / data bus 2, if a bus cycle occurs in the address / data bus 1, the flag reset signal 7a of the flag reset / check timing generation circuit 7 causes , I / O parity registers 3P, 5P, I / O parity inversion registers 3, 5, address / data buffer parity 4P, and address / data buffer inversion parity 4 are reset. Every time the address and data of the address / data bus 1 are input to the input / output register 3, the parity is checked by the parity check circuit 9 connected to the address / data bus 1, and the input / output parity register 3P and the input / output parity inversion register The parity bit of the address / data bus 1 and the inverted parity bit are input to 3 respectively.

入出力レジスタ3よりアドレス・データバッファ4に
情報が移されると、入出力パリティレジスタ3P、入出力
パリティ反転レジスタ3の内容はそれぞれアドレス・
データバッファパリティ4P、アドレス・データバッファ
反転パリティ4に転送される。さらに、アドレス・デ
ータバッファ4の内容を入出力レジスタ5に転送し、ア
ドレス・データバッファパリティ4P、アドレス・データ
バッファ反転パリティ4のパリティ情報を入出力パリ
ティレジスタ5P、入出力パリティ反転レジスタ5に転
送するとともに、パリティ比較回路62により、入出力パ
リティレジスタ信号5aと入出力パリティ反転レジスタ信
号5bを通して、入出力パリティレジスタ5P、入出力パリ
ティ反転レジスタ5の内容を比較し、入出力レジスタ
5のアドレス、データをアドレス・データバス2に出力
する度にフラグリセット・チェックタイミング発生回路
7よりパリティ比較チェックタイミング信号7cを発生
し、パリティ比較回路62の比較結果がパリティ比較エラ
ーフラグ82に格納される。
When the information is transferred from the input / output register 3 to the address / data buffer 4, the contents of the input / output parity register 3P and the input / output parity inversion register 3 are respectively transferred to the address / data buffer 4.
The data is transferred to the data buffer parity 4P and the address / data buffer inversion parity 4. Further, the contents of the address / data buffer 4 are transferred to the input / output register 5, and the parity information of the address / data buffer parity 4P and the address / data buffer inversion parity 4 is transferred to the input / output parity register 5P and the input / output parity inversion register 5. At the same time, the parity comparison circuit 62 compares the contents of the I / O parity register 5P and the I / O parity inversion register 5 through the I / O parity register signal 5a and the I / O parity inversion register signal 5b to determine the address of the I / O register 5, Each time data is output to the address / data bus 2, the flag reset / check timing generation circuit 7 generates a parity comparison check timing signal 7c, and the comparison result of the parity comparison circuit 62 is stored in the parity comparison error flag 82.

同様に、アドレス・データバス2よりアドレス・デー
タバス1に対して情報を転送するときは、バスサイクル
が発生すると、入出力パリティレジスタ3P、入出力パリ
ティ反転レジスタ3、アドレス・データバッファパリ
ティ4P、アドレス・データバッファ反転パリティ4、
入出力パリティレジスタ5P、入出力パリティ反転レジス
タ5がリセットされ、入出力レジスタ5にアドレス・
データバス2のアドレス及びデータを入力する度にアド
レス・データバス2に接続されたパリティチェック回路
9によりパリティがチェックされ、入出力パリティレジ
スタ5P及び入出力パリティ反転レジスタ5にそれぞれ
アドレス・データバス2のパリティビット及び反転した
パリティビットを入力する。
Similarly, when information is transferred from the address / data bus 2 to the address / data bus 1, if a bus cycle occurs, the I / O parity register 3P, the I / O parity inversion register 3, the address / data buffer parity 4P, Address / data buffer inversion parity 4,
I / O parity register 5P and I / O parity inversion register 5 are reset,
Each time the address and data of the data bus 2 are input, the parity is checked by the parity check circuit 9 connected to the address / data bus 2, and the input / output parity register 5P and the input / output parity inversion register 5 are respectively supplied with the address / data bus 2 The parity bit and the inverted parity bit are input.

入出力レジスタ5よりアドレスデータバッファ4に情
報が移されると、入出力パリティレジスタ5P、入出力パ
リティ反転レジスタ5の内容はそれぞれアドレス・デ
ータバッファパリティ4P、アドレス・データバッファ反
転パリティ4に転送される。さらに、アドレス・デー
タバッファ4の内容を入出力レジスタ3に転送し、アド
レス・データバッファパリティ4P、アドレス・データバ
ッファ反転パリティ4のパリティ情報を入出力パリテ
ィレジスタ3P、入出力パリティ反転レジスタ3に転送
するとともにパリティ比較回路61により、入出力パリテ
ィレジスタA信号3aと入出力パリティ反転レジスタA信
号3bを通して入出力パリティレジスタ3P、入出力パリテ
ィ反転レジスタ3の内容を比較し、入出力レジスタ3
のアドレス,データをアドレス・データバス1に出力す
る度に、フラグリセット・チェックタイミング発生回路
7によりパリティ比較チェックタイミング信号7bを発生
し、パリティ比較回路61の比較結果がパリティ比較エラ
ーフラグ81に格納される。すなわち、バスサイクル開始
以後、パリティ及び反転パリティに正しく書き込まれな
いとエラーとして検出されることになる。
When the information is transferred from the input / output register 5 to the address data buffer 4, the contents of the input / output parity register 5P and the input / output parity inversion register 5 are transferred to the address / data buffer parity 4P and the address / data buffer inversion parity 4, respectively. . Further, the contents of the address / data buffer 4 are transferred to the I / O register 3, and the parity information of the address / data buffer parity 4P and the address / data buffer inversion parity 4 is transferred to the I / O parity register 3P and the I / O parity inversion register 3. At the same time, the parity comparison circuit 61 compares the contents of the input / output parity register 3P and the input / output parity inversion register 3 through the input / output parity register A signal 3a and the input / output parity inversion register A signal 3b.
Each time the address and data of the above are output to the address / data bus 1, the flag reset / check timing generation circuit 7 generates the parity comparison check timing signal 7b, and the comparison result of the parity comparison circuit 61 is stored in the parity comparison error flag 81. To be done. That is, if the parity and the inverted parity are not correctly written after the start of the bus cycle, an error will be detected.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、アドレス及びデータ
部のパリティに反転ビットを追加し、バスサイクルの開
始時に、パリティビット及び反転パリティビットを特定
の値にセットし、データを出力する度に比較することに
より、データバッファに対する書き込み及び読み出し制
御回路に対する障害についても検出することができると
いう効果を有する。
As described above, according to the present invention, an inversion bit is added to the parity of the address and data parts, the parity bit and the inversion parity bit are set to a specific value at the start of the bus cycle, and comparison is performed every time data is output. By doing so, it is possible to detect a failure with respect to the write / read control circuit for the data buffer.

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

第1図は本発明の一実施例のブロック図である。 1……アドレス・データバス、1P……アドレス・データ
バスAパリティ、2……アドレス・データバス、2P……
アドレス・データバスBパリティ、3……入出力レジス
タ、3a……入出力パリティレジスタA信号、3b……入出
力パリティ反転レジスタA信号、3P……入出力パリティ
レジスタ、3……入出力パリティ反転レジスタ、4…
…アドレス・データバッファ、4P……アドレス・データ
バッファパリティ、4……アドレス・データバッファ
反転パリティ、5……入出力レジスタ、5a……入出力パ
リティレジスタB信号、5b……入出力パリティ反転レジ
スタB信号、5P……入出力パリティレジスタ、5……
入出力パリティ反転レジスタ、7……フラグリセット・
チェックタイミング発生回路、7a……フラグリセット信
号、7b,7c……パリティ比較チェックタイミング信号、
9……パリティチェック回路、61,62……パリティ比較
回路、81,82……パリティ比較エラーフラグ。
FIG. 1 is a block diagram of an embodiment of the present invention. 1 ... Address / data bus, 1P ... Address / data bus A parity, 2 ... Address / data bus, 2P ...
Address / data bus B parity, 3 ... I / O register, 3a ... I / O parity register A signal, 3b ... I / O parity inversion register A signal, 3P ... I / O parity register, 3 ... I / O parity inversion Register, 4 ...
... Address / data buffer, 4P ... Address / data buffer parity, 4 ... Address / data buffer inversion parity, 5 ... I / O register, 5a ... I / O parity register B signal, 5b ... I / O parity inversion register B signal, 5P ... I / O parity register, 5 ...
Input / output parity inversion register, 7 ... Flag reset
Check timing generator circuit, 7a ... Flag reset signal, 7b, 7c ... Parity comparison check timing signal,
9 ... Parity check circuit, 61, 62 ... Parity comparison circuit, 81, 82 ... Parity comparison error flag.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】一つのバスサイクルの中でアドレス及びデ
ータを一つまたは複数個転送するバスが複数存在し、バ
スインタフェース回路によって互いに接続されるデータ
処理システムにおいて、 (A)各々のデータバスの情報を入力する度にパリティ
ビットを格納する入出力パリティレジスタ手段、 (B)反転したパリティビットを格納する入出力パリテ
ィ反転レジスタ手段、 (C)前記入出力パリティレジスタ手段よりパリティビ
ットを格納するアドレス・データバッファパリティ手
段、 (D)前記入出力パリティ反転レジスタ手段より反転し
たパリティビットを格納するアドレス・データバッファ
反転パリティ手段、 (E)前記入出力パリティレジスタ手段と入出力パリテ
ィ反転レジスタ手段との値を比較するパリティ比較手
段、 (F)入力した情報をデータバスに出力する度に前記比
較結果をチェックするためのタイミングを発生するチェ
ックタイミング発生手段、 (G)バスサイクル開始時に前記入出力パリティレジス
タ手段、入出力パリティ反転レジスタ手段、アドレス・
データバッファパリティ手段及びアドレス・データバッ
ファ反転パリティ手段をリセットするリセット手段、 を備えたことを特徴とするデータ処理システム。
1. A data processing system in which there are a plurality of buses for transferring one or more addresses and data in one bus cycle, and the buses are mutually connected by a bus interface circuit. Input / output parity register means for storing a parity bit each time information is input, (B) input / output parity inversion register means for storing an inverted parity bit, (C) address for storing a parity bit from the input / output parity register means Data buffer parity means, (D) address for storing parity bits inverted by the input / output parity inversion register means, data buffer inversion parity means, (E) of the input / output parity register means and input / output parity inversion register means Parity comparison means for comparing values, (F Check timing generation means for generating a timing for checking the comparison result every time the inputted information is output to the data bus, (G) the input / output parity register means, input / output parity inversion register means, address・
A data processing system, comprising: a data buffer parity means and a reset means for resetting an address / data buffer inversion parity means.
JP2269003A 1990-10-05 1990-10-05 Data processing system Expired - Lifetime JP2567986B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2269003A JP2567986B2 (en) 1990-10-05 1990-10-05 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2269003A JP2567986B2 (en) 1990-10-05 1990-10-05 Data processing system

Publications (2)

Publication Number Publication Date
JPH04145563A JPH04145563A (en) 1992-05-19
JP2567986B2 true JP2567986B2 (en) 1996-12-25

Family

ID=17466319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2269003A Expired - Lifetime JP2567986B2 (en) 1990-10-05 1990-10-05 Data processing system

Country Status (1)

Country Link
JP (1) JP2567986B2 (en)

Also Published As

Publication number Publication date
JPH04145563A (en) 1992-05-19

Similar Documents

Publication Publication Date Title
JPS6061837A (en) Error corrector
JPH07191915A (en) Computer system, memory card and its operating method
JP2567986B2 (en) Data processing system
JPS62242258A (en) Storage device
JPH0756640B2 (en) Storage device
JPH0773114A (en) Memory control circuit for space digital computer
JP2518333B2 (en) Storage device
JPH06230990A (en) Method and apparatus for discrimination and correction of error of code
JPH0520215A (en) Information processor
JP2744298B2 (en) Failure detection method for buffer control counting circuit
JP2534314B2 (en) Semiconductor integrated circuit
JPH06103469B2 (en) Memory control circuit
JP2586072B2 (en) Storage device
JPH02207355A (en) Memory readout system
JP3071846B2 (en) Parity error detection method and parity error detection circuit
JPS6054059A (en) Storage device
JPH0782461B2 (en) Storage device
JPS59191656A (en) Memory ic simulator
JPH05158810A (en) Error detection circuit
JPH01177146A (en) Memory checking circuit
JPS63223916A (en) Data buffer circuit
JPH0359740A (en) Memory fault detection system
JPH04123439U (en) Parity debug circuit
JPH01197860A (en) Memory fault detecting circuit
JPH0271346A (en) Error correction controller for memory