JPS6053889B2 - Parity check method - Google Patents

Parity check method

Info

Publication number
JPS6053889B2
JPS6053889B2 JP55090854A JP9085480A JPS6053889B2 JP S6053889 B2 JPS6053889 B2 JP S6053889B2 JP 55090854 A JP55090854 A JP 55090854A JP 9085480 A JP9085480 A JP 9085480A JP S6053889 B2 JPS6053889 B2 JP S6053889B2
Authority
JP
Japan
Prior art keywords
information
parity
data
parity check
bits
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
Application number
JP55090854A
Other languages
Japanese (ja)
Other versions
JPS5717062A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP55090854A priority Critical patent/JPS6053889B2/en
Publication of JPS5717062A publication Critical patent/JPS5717062A/en
Publication of JPS6053889B2 publication Critical patent/JPS6053889B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding 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)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】 本発明はパリテイチェック方式に関し、特に順次転送
される情報の第二情報が全てデぜ一タから構成される場
合、その旨の表示と第二情報のパリテイの表示とを第一
情報に収納せしめるパリテイチェック方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a parity check method, and in particular, when the second information of information that is sequentially transferred is entirely composed of data, a display to that effect and a display of the parity of the second information are provided. This invention relates to a parity check method that stores information in first information.

情報を伝送する場合情報授受の誤りを検出する為に、
パリテイを情報に付している。
In order to detect errors in information exchange when transmitting information,
Parity is attached to information.

従つて例えば情報がN+Pビットにて構成される場合P
ビットはパリテイ用として使用され、情報内容のデータ
としてはNビットしか使用できない。ところが何れかの
都合にて時にはN+Pビット即ち情報全部をデータとし
て使用する場合も発生する。従来このような場合N+P
+Pビット即ち情報+Pビットを収納し得るようにメモ
リ数を増設するとともに並列のデータ転送するのに回線
を増加するか、或は情報にパリテイを全く付加せずに情
報の誤りを検出するのに生成多項式として表現される巡
回符号を用いて誤りを検出する方式が従来とられている
。何れの方式をとつても装置が複雑となり、設備が高価
となる欠点をもつている。 本発明は以上の欠点に鑑み
てなされたものにして、データビットとパリテイビット
から構成される情報の全ビットをデータとしうる新規な
パリテイチェック方式を提供することを目的とするもの
である。
Therefore, for example, if information consists of N+P bits, P
The bits are used for parity, and only N bits can be used as information content data. However, for some reason, N+P bits, that is, all of the information may be used as data. Conventionally, in such a case N+P
+P bits, that is, information+P bits, can be increased by increasing the number of memories to accommodate +P bits, and by increasing the number of lines for parallel data transfer, or by detecting errors in information without adding parity to the information at all. Conventionally, a method has been used to detect errors using a cyclic code expressed as a generator polynomial. Either method has the drawback that the device is complicated and the equipment is expensive. The present invention has been made in view of the above drawbacks, and an object of the present invention is to provide a new parity check method that can treat all bits of information consisting of data bits and parity bits as data. .

本発明を概説するとデータと該データのパリテイとから
構成される情報を順次転送し、受信側で該情報のパリテ
イを検出するパリテイチェック方式において、該情報の
第一の情報に連なる第二の情報がすべて該第一の情報の
付属データからなることの表示と、該第二の情報のパリ
テイの表示とを該第一の情報に収納し、受信側にて前記
第一の情報により前記付属データの表示の有無を検出し
前記表示の有無のより、前記第二の情報のパリテイを該
第一の情報より該第二の情報に切替えて検出するように
したことを特徴とするものである。 本発明を実施する
のに好ましい具体的実施例を図を用いて説明する。
To summarize the present invention, in a parity check method in which information consisting of data and parity of the data is sequentially transferred and the parity of the information is detected on the receiving side, a second An indication that all the information consists of the attached data of the first information and an indication of the parity of the second information are stored in the first information, and the receiving side uses the first information to display the attached data. The present invention is characterized in that the presence or absence of data display is detected, and the parity of the second information is switched from the first information to the second information and detected based on the presence or absence of the display. . Preferred specific examples for carrying out the present invention will be described with reference to the drawings.

第1図は情報の構成を示すものであり、図において情報
は8ビット構成からなり、0〜6ビット(X、Y、Z)
がデータフィールドであり、7ビット目(P)がデータ
のパリテイを示すフィールドである。第2図は本発明に
よる情報の構成図である。第2図において転送する情報
がAの情報の次にA+1の情報がある場合に、A+1情
報の全ビットをデータとして使用すると、A+1情報の
パリテイをA情報のxフィールドに表示する。又A+1
情報が全部データであるという表示を例えば常数の7と
し、その表示7をA情報のYフィールドに表示する。A
情報のZフィールドにはA+1情報に対する指令を表示
する例えばA+1のデータをレジスタ1にセットせよと
いうように指令を表示する。A情報のPフィールドはA
情報のパリテイを表示する。以上説明した本発明による
情報のパリテイチェックの回路構成を第3図に示す。1
は情報を収納するメモリ、2は読出しレジスタ、3はデ
コード回路、4はゲート回路、5はパリテイチェック回
路である。
Figure 1 shows the structure of information. In the figure, the information consists of 8 bits, 0 to 6 bits (X, Y, Z).
is a data field, and the 7th bit (P) is a field indicating data parity. FIG. 2 is a configuration diagram of information according to the present invention. In FIG. 2, when the information to be transferred is information A+1 next to information A, and all bits of the A+1 information are used as data, the parity of the A+1 information is displayed in the x field of the A information. Also A+1
For example, the constant number 7 is used to indicate that the information is all data, and the display 7 is displayed in the Y field of the A information. A
In the information Z field, a command for A+1 information is displayed. For example, a command to set the data of A+1 in register 1 is displayed. The P field of A information is A
Show parity of information. FIG. 3 shows the circuit configuration of the information parity check according to the present invention described above. 1
2 is a memory for storing information, 2 is a read register, 3 is a decoding circuit, 4 is a gate circuit, and 5 is a parity check circuit.

メモリ1に例えば8ビット構成からなるマイクロ命令が
順次収納され、そのA+1番目の情報が全部データであ
るとする。この際のA番目のXフィールドにA+1番目
の命令のパリテイ,A番目の情報のYフィールドには例
えば7が記入され−同じZフィールドには指令,Pフィ
ールドにはA番目のパリテイが表示されている。このA
番目の情報を読出して、読出しレジスタ2に収納する。
読出しレジスタ2のYフィールドにデコード回路3を接
続しその出力をゲート回路4の一方の入5力に入力し、
読出しレジスタ2のxフィールドの出力をゲート回路4
の他方の入力に入力する。そしてゲート回路4の出力を
パリテイチェック回路5に入力する構成からなり、メモ
リ1に収納されたA+1番目の命令もパリテイチェック
回路5に5入力され、、パリテイチェック回路5はゲー
ト回路4から出るA番目のXフィールド即ちA+1番目
情報のパリテイとメモl川より出るA+1番目の8ビッ
トからなる9ビットが入力され、パリテイチェック回路
5にて誤りを検出する。以下この回路の動作について説
明する。デコード回路3はA番目の情報のYフィールド
を検知して例えば7の表示であれば出力信号を出し、A
番目の情報のXフィールド即ちA+1番目の情報のパリ
テイとともにゲート回路4に入力する。ゲート回路4は
A+1番目のパリテイをパリテイチェック回路5・に入
力する。一方メモI川内のA+1番目の情報8ビットも
パリテイチェック回路5に入力され、パリテイチェック
回路5は両方の信号(9ビット)にてパリテイチェック
をする。A+1番目の情報が普通状態即ち8ビット中7
ビットがデータであり1ビットがパリテイとして使用さ
れる場合はデコード回路3はA番目の情報のYフィール
ドが例えば7と表示されてないので動作せず、ゲート回
路4に入力されず、、ゲート回路4は働かない。従つて
パリテイ回路5は通常の7ビットデータとそのパリテイ
をメモリ1より読み出しパリテイチェックをする。以上
の説明から明らかなように、本発明のパリテイチェック
方式によれば、情報の全ビットをデータビットに使用し
得ることとなり、設備費用のかからないものとなり、本
方式を適用すれば情報伝送上きわめて有益である。
Assume that the memory 1 sequentially stores microinstructions having, for example, an 8-bit configuration, and that the A+1st information is all data. At this time, the parity of the A+1st instruction is entered in the Ath X field, and for example 7 is entered in the Y field of the Ath information - the command is displayed in the same Z field, and the Ath parity is displayed in the P field. There is. This A
The th information is read out and stored in the read register 2.
Connect the decode circuit 3 to the Y field of the read register 2, input its output to one input 5 of the gate circuit 4,
The output of the x field of the read register 2 is sent to the gate circuit 4.
input to the other input. The output of the gate circuit 4 is input to the parity check circuit 5, and the A+1st instruction stored in the memory 1 is also input to the parity check circuit 5. The parity of the A-th X field, that is, the A+1-th information from the memory, and the A+1-th 8 bits from the memory I are input, and the parity check circuit 5 detects errors. The operation of this circuit will be explained below. The decoding circuit 3 detects the Y field of the A-th information and outputs an output signal if, for example, 7 is displayed.
It is input to the gate circuit 4 together with the X field of the th information, that is, the parity of the A+1 th information. The gate circuit 4 inputs the A+1st parity to the parity check circuit 5. On the other hand, the A+1st 8 bits of information in the memo I stream are also input to the parity check circuit 5, and the parity check circuit 5 performs a parity check on both signals (9 bits). A+1st information is in normal state, i.e. 7 out of 8 bits
When the bit is data and 1 bit is used as parity, the decoding circuit 3 does not operate because the Y field of the A-th information is not displayed as 7, for example, and is not input to the gate circuit 4. 4 doesn't work. Therefore, the parity circuit 5 reads the normal 7-bit data and its parity from the memory 1 and performs a parity check. As is clear from the above explanation, according to the parity check method of the present invention, all bits of information can be used as data bits, reducing equipment costs. Extremely useful.

図面の簡単な説明第1図は情報の構成を示す模式図、第
2図は本発明による情報の構成を示す模式図、第3図は
本発明による具体例を示す回路図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram showing the structure of information, FIG. 2 is a schematic diagram showing the structure of information according to the present invention, and FIG. 3 is a circuit diagram showing a specific example according to the present invention.

A,A+1;情報、X,Y,Z;データ、P;パリテイ
、5;パリテイチェック回路。
A, A+1: information, X, Y, Z: data, P: parity, 5: parity check circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 データと該データのパリテイとから構成される情報
を順次転送し、受信側で該情報のパリテイを検出するパ
リテイチェック方式において、該情報の第一の情報に連
なる第二の情報が全て該第一の情報の付属データからな
ることの表示と、該第二の情報のパリテイ表示とを該第
一の情報に収納し、受信側にて該第一の情報を検出して
、該第二の情報が前記付属データでないとき、該第二の
情報にてパリテイチェックを行い、前記付属データであ
るとき前記第一情報にて該第二の情報のパリテイチェッ
クするように切替るようにしたことを特徴とするパリテ
イチェック方式。
1 In a parity check method in which information consisting of data and parity of the data is sequentially transferred and the receiving side detects the parity of the information, it is assumed that all of the second information that follows the first information of the information is An indication that the first information consists of attached data and a parity indication of the second information are stored in the first information, the receiving side detects the first information, and the second information is stored in the first information. When the information is not the attached data, the parity check is performed using the second information, and when the information is the attached data, the parity check is performed on the second information using the first information. The parity check method is characterized by:
JP55090854A 1980-07-03 1980-07-03 Parity check method Expired JPS6053889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55090854A JPS6053889B2 (en) 1980-07-03 1980-07-03 Parity check method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55090854A JPS6053889B2 (en) 1980-07-03 1980-07-03 Parity check method

Publications (2)

Publication Number Publication Date
JPS5717062A JPS5717062A (en) 1982-01-28
JPS6053889B2 true JPS6053889B2 (en) 1985-11-27

Family

ID=14010150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55090854A Expired JPS6053889B2 (en) 1980-07-03 1980-07-03 Parity check method

Country Status (1)

Country Link
JP (1) JPS6053889B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0337000B2 (en) * 1985-09-17 1991-06-04 Kinki Ishiko Kk

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0337000B2 (en) * 1985-09-17 1991-06-04 Kinki Ishiko Kk

Also Published As

Publication number Publication date
JPS5717062A (en) 1982-01-28

Similar Documents

Publication Publication Date Title
JPS6053889B2 (en) Parity check method
US4672603A (en) Combined analog/digital CCIS data transmitter/receiver circuit
KR910003958A (en) Decryptor
KR100230423B1 (en) Subcode queue channel interface in a digital multi-functional disc system
JPH06103469B2 (en) Memory control circuit
JPH0689236A (en) Random access memory monitor circuit
JPS6052455B2 (en) Parity detection function check method
JPS59144246A (en) Data reception control system
JPS6373437A (en) Checking system for parity circuit
KR970007156Y1 (en) Access time control circuit of data i/o apparatus
SU1425787A1 (en) Storage with error detection
JP3484943B2 (en) Register device
JPH0638239B2 (en) Error correction mechanism
JPH0219946A (en) Semiconductor file memory device
JPS62125453A (en) Storage device
JPH05224968A (en) Data check system
JPH01236735A (en) Error detecting and correcting system
JPS55115148A (en) Error detection and correction system
JPS62235663A (en) Memory device
JPH03166626A (en) Information processor
JPH04372291A (en) Decode processing system for voice signal
JPH05160811A (en) Data transfer system
JPH01113838A (en) Checking system
JPS6465651A (en) Error correcting system for storage device
JPH02103639A (en) Microprogram error correction circuit