JPH06214815A - Serial parity calculation circuit - Google Patents

Serial parity calculation circuit

Info

Publication number
JPH06214815A
JPH06214815A JP5004918A JP491893A JPH06214815A JP H06214815 A JPH06214815 A JP H06214815A JP 5004918 A JP5004918 A JP 5004918A JP 491893 A JP491893 A JP 491893A JP H06214815 A JPH06214815 A JP H06214815A
Authority
JP
Japan
Prior art keywords
circuit
parity
bip
flip
input
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
JP5004918A
Other languages
Japanese (ja)
Inventor
Yukio Hirano
幸男 平野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5004918A priority Critical patent/JPH06214815A/en
Publication of JPH06214815A publication Critical patent/JPH06214815A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To calculate a parity value without converting serial data to parallel data and to compress a circuit scale by performing parity calculation between input digital signal sequence and serial digital input delayed by prescribed bits with an accumulation means, and reading out or storing a result in series. CONSTITUTION:A BIP-4 parity calculation circuit 1 is constituted of an AND circuit 6, an EXOR circuit 7, and D flip-flops 8-11. D1-D12 being one frame of the serial data are inputted from an input terminal 3 sequentially, and they are shifted to the D flip-flops 8-11. When D5 is inputted, D1 that is the content of the D flip-flop 11 is inputted to the EXOR circuit 7, and D1(XOR)D5 is inputted to the D flip-flop 8, and the calculation result of BIP-4 is held in the D flip-flops 8-11 by repeating such operation up to D12. Thence, a parity collation circuit 2 collates the calculation result of BIP-4 with BIP-4 signal sequence included in received serial data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル信号伝送等
における誤り検出のためのパリティ回路に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parity circuit for error detection in digital signal transmission and the like.

【0002】[0002]

【従来の技術】ディジタル信号伝送の伝送路等の誤り検
出を行うため、(N−1)ビット(但しNは自然数)お
きのパリティ(以下、これをBIP−Nと表す)を生成
して伝送し、受信側では直列パリティを算出して、伝送
されたパリティと照合し、両者の相違で誤りを検出する
ことが行われている。図8は例えばCQ出版社の「実用
電子回路ハンドブック4」(P.75、図1−97)に
示されたパリティを算出する回路の構成図である。図8
において3は直列データ入力端子、4はリセット入力端
子、5はクロック入力端子、7は排他的論理和回路、8
はDフリップフロップ、26はパリティ算出回路、27
は算出パリティ出力端子である。また、図9は図8に示
された従来のパリティ算出回路を用いたBIP−N誤り
検出回路の構成図である。図9において18は誤り検出
信号出力端子、28は1:N直列並列変換回路、29は
パリティ照合回路である。
2. Description of the Related Art In order to detect an error in a transmission path of digital signal transmission, a parity (hereinafter, referred to as BIP-N) every (N-1) bits (N is a natural number) is generated and transmitted. However, the receiving side calculates the serial parity, collates it with the transmitted parity, and detects an error based on the difference between the two. FIG. 8 is a block diagram of a circuit for calculating the parity shown in, for example, "Practical Electronic Circuit Handbook 4" (P.75, FIG. 1-97) of CQ Publisher. Figure 8
3, serial data input terminal, 4 reset input terminal, 5 clock input terminal, 7 exclusive OR circuit, 8
Is a D flip-flop, 26 is a parity calculation circuit, 27
Is a calculated parity output terminal. 9 is a block diagram of a BIP-N error detection circuit using the conventional parity calculation circuit shown in FIG. In FIG. 9, 18 is an error detection signal output terminal, 28 is a 1: N serial-parallel conversion circuit, and 29 is a parity matching circuit.

【0003】次に図8の回路の動作について説明する。
直列データ列がD1、D2、…、Dm(m:1フレーム
のデータ数)のように直列データ入力端子3に入力され
る。Dフリップフロップ8においてD1が入力される直
前にリセット入力端子4から■L■ を入力し、Dフリッ
プフロップ8の内容を■L■ にする。D1とDフリップ
フロップ8の内容である■L■ が排他的論理和回路7に
入力されると排他的論理和回路7はD1を出力し、Dフ
リップフロップ8に入力する。次にD2とDフリップフ
ロップ8の内容であるD1とが排他的論理和回路7に入
力され、Dフリップフロップ8にはD1(XOR) D2((X
OR) は排他的論理和)が入力される。この操作をDmま
で繰り返すとDフリップフロップ8には直列データ列1
フレームのパリティであるD1(XOR) D2(XOR) …(XO
R) Dmが保持され、算出パリティ出力端子27に出力
される。
Next, the operation of the circuit shown in FIG. 8 will be described.
A serial data string is input to the serial data input terminal 3 as D1, D2, ..., Dm (m: the number of data in one frame). Immediately before D1 is input to the D flip-flop 8, (1) (L) is input from the reset input terminal 4 to set the content of the D flip-flop (8) to (L). When the contents (1), (1), of D1 and D flip-flop 8 are input to the exclusive OR circuit 7, the exclusive OR circuit 7 outputs D1 and inputs the D1 to the D flip-flop 8. Next, D2 and D1 which is the content of the D flip-flop 8 are input to the exclusive OR circuit 7, and the D flip-flop 8 receives D1 (XOR) D2 ((X
The exclusive OR is input to OR). When this operation is repeated up to Dm, the serial data string 1 is stored in the D flip-flop 8.
Frame parity D1 (XOR) D2 (XOR) (XO
R) Dm is held and output to the calculated parity output terminal 27.

【0004】図9の回路の動作を説明する。直列データ
入力端子3からD1、D2、…、Dmが入力され、BI
P−N誤り検出回路に入力される。また、1:N直列並
列変換回路28で下記のようなN本の並列データ列に変
換される。 パリティ算出回路26で上記信号列(1),(2),…,(3)のパ
リティを算出した後、伝送されたパリティと算出したパ
リティとをパリティ照合回路29で照合する。両者に相
違があれば誤り検出信号出力端子18からパルスが出力
される。
The operation of the circuit shown in FIG. 9 will be described. , Dm are input from the serial data input terminal 3, and BI
It is input to the P-N error detection circuit. Further, the 1: N serial / parallel conversion circuit 28 converts the data into N parallel data strings as described below. After the parity calculation circuit 26 calculates the parity of the signal sequences (1), (2), ..., (3), the transmitted parity and the calculated parity are compared by the parity comparison circuit 29. If there is a difference between the two, a pulse is output from the error detection signal output terminal 18.

【0005】[0005]

【発明が解決しようとする課題】上記のような従来の方
式では、直列ディジタル信号列からBIP−Nを算出
し、算出したBIP−N信号と受信BIP−N信号とを
照合するために直列並列変換回路を必要とし、またパリ
ティ算出回路とパリティ照合回路がそれぞれN個必要に
なり回路規模が大きく複雑になってしまうという課題が
あった。
In the conventional system as described above, the BIP-N is calculated from the serial digital signal sequence and the calculated BIP-N signal and the received BIP-N signal are collated with each other in a serial / parallel manner. There is a problem in that a conversion circuit is required, and N pieces of parity calculation circuits and N pieces of parity collation circuits are required, which makes the circuit scale large and complicated.

【0006】本発明はこのような課題を解決するために
なされたもので、ディジタル信号列を直列のままBIP
−Nを算出できる回路、従って算出BIP−Nと受信し
た直列BIP−N信号列とのパリティの照合ができる回
路を得ることを目的とする。
The present invention has been made in order to solve such a problem, and a digital signal train is serially connected to a BIP.
An object of the present invention is to obtain a circuit capable of calculating −N, and thus a circuit capable of collating the parity between the calculated BIP-N and the received serial BIP-N signal sequence.

【0007】[0007]

【課題を解決するための手段】本発明に係わる直列パリ
ティ算出回路は、クロックに同期した直列のディジタル
入力列を直列記憶する蓄積手段と、この蓄積手段を任意
の時刻にリセットするリセット手段と、上記蓄積手段か
らデータを読み出し、パリティ値を計算するパリティ計
算手段と、必要に応じて上記パリティ計算手段の計算結
果を直列記憶する第2の蓄積手段とを備えた。
A serial parity calculating circuit according to the present invention comprises storage means for serially storing a serial digital input string synchronized with a clock, and reset means for resetting the storage means at an arbitrary time. A parity calculating means for reading data from the accumulating means and calculating a parity value, and a second accumulating means for serially storing the calculation result of the parity calculating means are provided as needed.

【0008】[0008]

【作用】本発明における直列パリティ算出回路は、入力
ディジタル信号列と、蓄積手段により所定ビット遅れた
直列デジジタル入力との間でパリティ計算され、その結
果が読み出されるか、または必要に応じて直列記憶され
所要時に読み出される。
In the serial parity calculating circuit of the present invention, the parity is calculated between the input digital signal sequence and the serial digital input delayed by a predetermined bit by the accumulating means, and the result is read out or serially stored if necessary. And read when required.

【0009】[0009]

【実施例】【Example】

実施例1.本発明の一実施例であるパリティ算出回路と
パリティ照合回路を図に基づいて説明する。図1は本発
明のパリティ算出回路とパリティ照合回路を4ビット毎
・パリティに適用したBIP−4誤り検出回路の構成図
である。図1において、1はBIP−4算出回路、2は
BIP−4照合回路である。算出回路の構成要素とし
て、6は論理積回路、8〜11はDフリップフロップで
4ビットシフトレジスタを構成している。また、照合回
路の構成要素として、12は制御回路、13〜16はD
フリップフロップで4ビットシフトレジスタを構成して
いる。17は照合回路である。このパリティ算出回路1
とパリティ照合回路2の構成で、従来の4組のパリティ
算出回路とパリティ照合回路に代替する機能を持つ。
Example 1. A parity calculating circuit and a parity collating circuit according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a BIP-4 error detection circuit in which the parity calculation circuit and the parity collation circuit of the present invention are applied to every 4 bits / parity. In FIG. 1, 1 is a BIP-4 calculation circuit and 2 is a BIP-4 matching circuit. As components of the calculation circuit, 6 is an AND circuit, and 8 to 11 are D flip-flops, which form a 4-bit shift register. Further, as components of the matching circuit, 12 is a control circuit and 13 to 16 are D.
The flip-flop constitutes a 4-bit shift register. Reference numeral 17 is a matching circuit. This parity calculation circuit 1
The parity check circuit 2 has a function of replacing the conventional four sets of parity calculation circuits and parity check circuits.

【0010】次に図1の回路の動作を図2のタイムチャ
ートに基づいて説明する。まず、パリティ算出回路の動
作を説明する。直列データの1フレームは12個のデー
タ列D1〜D12から構成されていて、その中のD7、
D8、D9、D10が前フレームのBIP−4信号列P
1、P2、P3、P4を意味する。BIP−4の算出式
は次の式で表される。 P1n =D1n-1 (XOR) D5n-1 (XOR) D9n-1 (4) P2n =D2n-1 (XOR) D6n-1 (XOR) D10n-1 (5) P3n =D3n-1 (XOR) D7n-1 (XOR) D11n-1 (6) P4n =D4n-1 (XOR) D8n-1 (XOR) D12n-1 (7) ここで (XOR)は従来例でも述べたように、排他的論理輪
を表わす。
Next, the operation of the circuit of FIG. 1 will be described based on the time chart of FIG. First, the operation of the parity calculation circuit will be described. One frame of serial data is composed of 12 data strings D1 to D12, of which D7,
D8, D9, and D10 are the BIP-4 signal sequence P of the previous frame
It means 1, P2, P3, and P4. The calculation formula of BIP-4 is represented by the following formula. P1 n = D1 n-1 (XOR) D5 n-1 (XOR) D9 n-1 (4) P2 n = D2 n-1 (XOR) D6 n-1 (XOR) D10 n-1 (5) P3 n = D3 n-1 (XOR) D7 n-1 (XOR) D11 n-1 (6) P4 n = D4 n-1 (XOR) D8 n-1 (XOR) D12 n-1 (7) where (XOR ) Represents an exclusive logical wheel as described in the conventional example.

【0011】直列データは直列データ入力端子3からB
IP−4誤り検出回路に入力されている。直列データ信
号列の初めのD1〜D4をDフリップフロップ8に入力
するときDフリップフロップ11の内容に影響されない
よう、リセット入力端子4から■L■ を入力し論理積回
路7の出力を■L■ にする。D1〜D4と■L■ が排他
的論理和回路7に入力されると出力はD1〜D4にな
り、Dフリップフロップ8に順に入力され、Dフリップ
フロップ9、10、11にシフトしていく。D5がDフ
リップフロップ8に入力されるときリセット入力端子4
に■H■ を入力すると、D5とDフリップフロップ11
の内容であるD1が排他的論理和回路7に入力され、*
1(=D1(XOR) D5)を出力し、Dフリップフロップ
8に入力される。この操作をD8まで続けるとDフリッ
プフロップ8、9、10、11にはそれぞれ*4(=D
4(OXR) D8)、*3(=D3(XOR) D7)、*2(=
D2(XOR) D6)、*1が保持される。引き続き同様
に、Dフリップフロップ11の内容D1(XOR) D5とD
9の排他的論理和#1(=D1(XOR) D5(XOR)D9)
がDフリップフロップ8に入力される。D12まで繰り
返すと、Dフリップフロップ8、9、10、11にはB
IP−4の算出結果である#4(=D4(XOR) D8(XO
R) D12)、#3(=D3(XOR) D7(XOR) D1
1)、#2(=D2(XOR) D6(XOR) D10)、#1が
保持される。このようにしてBIP−4を算出できる。
Serial data is input from the serial data input terminal 3 to B.
It is input to the IP-4 error detection circuit. When inputting D1 to D4 at the beginning of the serial data signal sequence to the D flip-flop 8, the output of the AND circuit 7 is changed to ■ L so that the contents of the D flip-flop 11 are not affected. ■ to When D1 to D4 and {circle around (L)} are input to the exclusive OR circuit 7, outputs become D1 to D4, which are sequentially input to the D flip-flop 8 and are shifted to the D flip-flops 9, 10 and 11. Reset input terminal 4 when D5 is input to D flip-flop 8
Input H to D5 and D flip-flop 11
The content of D1 is input to the exclusive OR circuit 7,
1 (= D1 (XOR) D5) is output and input to the D flip-flop 8. If this operation is continued until D8, * 4 (= D
4 (OXR) D8), * 3 (= D3 (XOR) D7), * 2 (=
D2 (XOR) D6), * 1 is retained. Continuing similarly, the contents of D flip-flop 11 D1 (XOR) D5 and D
Exclusive OR of 9 # 1 (= D1 (XOR) D5 (XOR) D9)
Is input to the D flip-flop 8. Repeat up to D12, and the D flip-flops 8, 9, 10, 11 will show B
The calculation result of IP-4 is # 4 (= D4 (XOR) D8 (XO
R) D12), # 3 (= D3 (XOR) D7 (XOR) D1
1), # 2 (= D2 (XOR) D6 (XOR) D10) and # 1 are held. In this way, BIP-4 can be calculated.

【0012】次に、パリティ照合回路の動作を説明す
る。上記パリティ算出回路により算出できたBIP−4
と、受信した直列データに含まれているBIP−4信号
列P1(=D7)、P2(=D8)、P3(=D9)、
P4(=D10)とを照合する動作について説明する。
直列データの4ビット・パリティのBIP−4が算出さ
れたら、制御回路12がBIP−4信号抽出用の制御ク
ロックを発生し、Dフリップフロップ13〜16は動作
を開始する。Dフリップフロップ13、14、15、1
6にそれぞれ#4、#3、#2、#1が入力されると、
制御回路12はクロックをとめて伝送されるBIP−4
と位相が揃うまでDフリップフロップ13〜16の内容
を保持させておく。位相が揃ったところで再びクロック
を発生して、Dフリップフロップ16から照合回路17
に算出BIP−4である#1、#2、#3、#4を順に
出力する。照合回路17には同じタイミングで伝送BI
P−4と算出BIP−4が1ビットずつ入力される。伝
送の際データ列に誤りが生じていれば両者に相違がみら
れ、照合回路17は誤り検出信号出力端子18に、順
に、検出信号列A1、A2、A3、A4を出力する。
Next, the operation of the parity matching circuit will be described. BIP-4 calculated by the parity calculation circuit
And the BIP-4 signal sequence P1 (= D7), P2 (= D8), P3 (= D9) included in the received serial data,
The operation of collating with P4 (= D10) will be described.
When the 4-bit parity BIP-4 of the serial data is calculated, the control circuit 12 generates a control clock for extracting the BIP-4 signal, and the D flip-flops 13 to 16 start operating. D flip-flops 13, 14, 15, 1
When # 4, # 3, # 2, and # 1 are input to 6 respectively,
The control circuit 12 stops the clock and transmits the BIP-4.
The contents of the D flip-flops 13 to 16 are held until they are in phase. When the phases are aligned, a clock is generated again, and the D flip-flop 16 causes the matching circuit 17 to
Then, the calculated BIP-4s # 1, # 2, # 3, and # 4 are sequentially output. The matching circuit 17 transmits the BI at the same timing.
P-4 and calculated BIP-4 are input bit by bit. If there is an error in the data string during transmission, there is a difference between the two, and the matching circuit 17 outputs the detection signal strings A1, A2, A3, and A4 to the error detection signal output terminal 18 in order.

【0013】実施例2.本発明の他の実施例によるBI
P−4誤り検出回路の構成図を図3に示す。上記実施例
1は直列データに前フレームのBIP−4も含む場合の
BIP−4誤り検出回路であるが、図3は直列データに
前フレームのBIP−4は含まず、区別されている場合
のBIP−4誤り検出回路である。
Example 2. BI according to another embodiment of the present invention
A configuration diagram of the P-4 error detection circuit is shown in FIG. Although the first embodiment is a BIP-4 error detection circuit in the case where the serial data also includes the BIP-4 of the previous frame, FIG. 3 shows a case where the serial data does not include the BIP-4 of the previous frame and is distinguished. It is a BIP-4 error detection circuit.

【0014】次に、図3の回路の動作を図4のタイムチ
ャートに基づいて説明する。Dフリップフロップ8、
9、10、11に#4、#3、#2、#1が入力される
ところまでは実施例1の回路の動作と同じである。この
後Dフリップフロップ11が#1を出力するのである
が、#1の位相と伝送されたBIP−4のP1の位相が
揃っているので、このタイミングで照合回路17へ#1
を出力すればよい。実施例1のようにもう1つ別のシフ
トレジスタを用意して算出BIP−4を保存し、伝送さ
れたとBIP−4位相を合わせる必要はない。照合回路
17には同じタイミングで伝送BIP−4と算出BIP
−4が1ビットずつ入力される。伝送誤り等で両者に相
違があれば、照合回路17は誤り検出信号出力端子18
に検出信号列A1、A2、A3、A4を出力する。
Next, the operation of the circuit of FIG. 3 will be described based on the time chart of FIG. D flip-flop 8,
The operation up to the point where # 4, # 3, # 2, and # 1 are input to 9, 10, and 11 is the same as the operation of the circuit of the first embodiment. After that, the D flip-flop 11 outputs # 1, but since the phase of # 1 and the phase of P1 of the transmitted BIP-4 are aligned, # 1 is sent to the matching circuit 17 at this timing.
Should be output. It is not necessary to prepare another shift register to store the calculated BIP-4 and to match the BIP-4 phase when it is transmitted as in the first embodiment. The matching circuit 17 transmits the transmission BIP-4 and the calculation BIP at the same timing.
-4 is input bit by bit. If there is a difference between the two due to a transmission error or the like, the matching circuit 17 outputs the error detection signal output terminal 18
The detection signal trains A1, A2, A3 and A4 are output to.

【0015】実施例3.本発明の更に他の実施例による
BIP−4誤り検出回路の構成を図5に示す。図におい
て、19は直列入力並列出力機能を備えたメモリ、20
は加算器、21はメモリ制御回路、22はメモリであ
る。蓄積・リセット手段をメモリ19で行っている。こ
の場合、メモリ19の容量はデータ1フレーム分必要で
ある。
Example 3. FIG. 5 shows the configuration of the BIP-4 error detection circuit according to another embodiment of the present invention. In the figure, 19 is a memory having a serial input / parallel output function, 20
Is an adder, 21 is a memory control circuit, and 22 is a memory. The storage / reset means is performed by the memory 19. In this case, the capacity of the memory 19 is required for one frame of data.

【0016】次に図5の回路の動作を図6のタイムチャ
ートに基づいて説明する。1フレームは12個のデータ
列D1〜D12から構成されている。フレームの始めで
リセット信号入力端子4にリセット信号を入力し、メモ
リ制御回路21によりアドレスを初期値に戻す。その後
アドレスを操作して、直列データを順にメモリ19に書
き込む。D9まで書き込みが終わったときにD1,D
5,D9を一斉に読みだし、加算器20に入力すると、
加算器20の最下位ビットにBIP−4計算結果があら
われ、これをメモリ22に書き込む。同様の操作を繰り
返して、メモリ22には前述した#1〜#4を書き込
む。照合は、この書き込まれた算出結果と、伝送データ
との比較になる。即ち、書き込まれた#1〜#4を適当
な時期に読み出すようにメモリ制御回路21で制御し、
照合回路17で伝送データのP1〜P4と照合して、誤
り検出信号端子18に検出信号列A1、A2、A3、A
4を出力する。
Next, the operation of the circuit of FIG. 5 will be described based on the time chart of FIG. One frame is composed of 12 data strings D1 to D12. At the beginning of the frame, a reset signal is input to the reset signal input terminal 4, and the memory control circuit 21 resets the address to the initial value. After that, the address is operated to sequentially write the serial data in the memory 19. When writing is completed up to D9, D1, D
When 5 and D9 are read all at once and input to the adder 20,
The BIP-4 calculation result appears in the least significant bit of the adder 20 and is written in the memory 22. By repeating the same operation, the above-mentioned # 1 to # 4 are written in the memory 22. The collation is a comparison between the written calculation result and the transmission data. That is, the memory control circuit 21 controls the written # 1 to # 4 to be read at an appropriate time,
The collation circuit 17 collates with P1 to P4 of the transmission data, and the error detection signal terminal 18 receives the detection signal strings A1, A2, A3, A.
4 is output.

【0017】実施例4.本発明の他のパリティ算出回路
の実施例を説明する。図7は本発明のパリティ算出方式
による直列ディジタル信号列のBIP−4生成回路であ
る。図7において23はBIP−4生成回路、24はB
IP−4挿入回路、25は直列データ出力端子である。
こうしてパリティを算出することができる。
Embodiment 4. An embodiment of another parity calculation circuit of the present invention will be described. FIG. 7 shows a BIP-4 generation circuit for a serial digital signal sequence according to the parity calculation method of the present invention. In FIG. 7, 23 is a BIP-4 generation circuit, and 24 is B.
IP-4 insertion circuit, 25 is a serial data output terminal.
In this way, the parity can be calculated.

【0018】[0018]

【発明の効果】以上のように本発明によれば、直列デー
タを並列に変換することなくパリティ値を算出できるの
で、回路規模を縮少できる効果がある。
As described above, according to the present invention, since the parity value can be calculated without converting serial data into parallel, the circuit scale can be reduced.

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

【図1】本発明のパリティ算出回路とパリティ照合回路
の実施例であるBIP−4誤り検出回路の構成図であ
る。
FIG. 1 is a configuration diagram of a BIP-4 error detection circuit which is an embodiment of a parity calculation circuit and a parity check circuit of the present invention.

【図2】実施例1のBIP−4誤り検出回路のタイムチ
ャート図である。
FIG. 2 is a time chart diagram of the BIP-4 error detection circuit of the first embodiment.

【図3】本発明のパリティ算出回路とパリティ照合回路
の他の実施例であるBIP−4誤り検出回路の構成図で
ある。
FIG. 3 is a configuration diagram of a BIP-4 error detection circuit which is another embodiment of the parity calculation circuit and the parity check circuit of the present invention.

【図4】実施例2のBIP−4誤り検出回路のタイムチ
ャート図である。
FIG. 4 is a time chart of the BIP-4 error detection circuit according to the second embodiment.

【図5】本発明のパリティ算出回路とパリティ照合回路
の他の実施例であるBIP−4誤り検出回路の構成図で
ある。
FIG. 5 is a configuration diagram of a BIP-4 error detection circuit which is another embodiment of the parity calculation circuit and the parity check circuit of the present invention.

【図6】実施例3のBIP−4誤り検出回路のタイムチ
ャート図である。
FIG. 6 is a time chart of the BIP-4 error detection circuit according to the third embodiment.

【図7】実施例4のBIP−4パリティ算出回路の構成
図である。
FIG. 7 is a configuration diagram of a BIP-4 parity calculation circuit according to a fourth embodiment.

【図8】従来のパリティ生成回路の構成図である。FIG. 8 is a configuration diagram of a conventional parity generation circuit.

【図9】図8のパリティ生成回路を用いたBIP−N誤
り検出回路である。
9 is a BIP-N error detection circuit using the parity generation circuit of FIG.

【符号の説明】[Explanation of symbols]

1 BIP−4算出回路 2 BIP−4照合回路 3 直列データ入力端子 4 リセット入力端子 5 クロック入力端子 6 論理積回路 7 排他的論理和回路 8〜11 Dフリップフロップ 12 制御回路 13〜16 Dフリップフロップ 17 照合回路 18 誤り検出信号出力端子 19 メモリ 20 加算回路 21 メモリ制御回路 22 メモリ 23 BIP−4生成回路 24 BIP−4挿入回路 25 直列データ出力端子 26 パリティ算出回路 27 算出パリティ出力端子 28 1:N直列並列変換回路 29 パリティ照合回路 1 BIP-4 calculation circuit 2 BIP-4 collation circuit 3 Serial data input terminal 4 Reset input terminal 5 Clock input terminal 6 AND circuit 7 Exclusive OR circuit 8-11 D flip-flop 12 Control circuit 13-16 D flip-flop 17 collation circuit 18 error detection signal output terminal 19 memory 20 addition circuit 21 memory control circuit 22 memory 23 BIP-4 generation circuit 24 BIP-4 insertion circuit 25 serial data output terminal 26 parity calculation circuit 27 calculated parity output terminal 28 1: N Serial-parallel conversion circuit 29 Parity matching circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 クロックに同期したディジタル入力列を
直列記憶する蓄積手段と、 上記蓄積手段を任意の時刻にリセットするリセット手段
と、 上記蓄積手段からデータを読み出し、パリティ値を計算
するパリティ計算手段と、 必要に応じて上記パリティ計算手段の計算結果を直列記
憶する第2の蓄積手段とを備えた直列パリティ算出回
路。
1. A storage means for serially storing a digital input string synchronized with a clock, a reset means for resetting the storage means at an arbitrary time, and a parity calculation means for reading data from the storage means and calculating a parity value. And a second storage means for serially storing the calculation result of the parity calculation means, if necessary, and a serial parity calculation circuit.
JP5004918A 1993-01-14 1993-01-14 Serial parity calculation circuit Pending JPH06214815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5004918A JPH06214815A (en) 1993-01-14 1993-01-14 Serial parity calculation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5004918A JPH06214815A (en) 1993-01-14 1993-01-14 Serial parity calculation circuit

Publications (1)

Publication Number Publication Date
JPH06214815A true JPH06214815A (en) 1994-08-05

Family

ID=11597005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5004918A Pending JPH06214815A (en) 1993-01-14 1993-01-14 Serial parity calculation circuit

Country Status (1)

Country Link
JP (1) JPH06214815A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08139702A (en) * 1994-11-11 1996-05-31 Nec Corp Error detection circuit
US6105160A (en) * 1996-12-24 2000-08-15 Nec Corporation Packet error detecting device in a DMA transfer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08139702A (en) * 1994-11-11 1996-05-31 Nec Corp Error detection circuit
US6105160A (en) * 1996-12-24 2000-08-15 Nec Corporation Packet error detecting device in a DMA transfer

Similar Documents

Publication Publication Date Title
JP3234130B2 (en) Error correction code decoding method and circuit using this method
CA1318004C (en) Single track orthogonal error correction system
US4646303A (en) Data error detection and correction circuit
US4670881A (en) Method of correcting data carried on video format signal
US4524445A (en) Method and circuit arrangement for synchronous detection
GB1560343A (en) Data processor
US20010015923A1 (en) Data transfer technique
JPH06214815A (en) Serial parity calculation circuit
JPS5923647A (en) Method of converting serial data signal and converting circuit
JPS63269834A (en) Address generation circuit
JP4012907B2 (en) Asynchronous transmission method and circuit thereof
US4038636A (en) Multiple decoding system
US5898712A (en) CRC code generation circuit, code error detection circuit, and CRC circuit having functions of both the CRC code generation circuit and the code error detection circuit
JP3283403B2 (en) Error detection code generation device and error detection device of periodic redundancy check system
JP2856939B2 (en) Data receiving method
JPS62216557A (en) Phase ambiguity removing circuit
JPH03198544A (en) Parity count circuit
JP3061975B2 (en) Serial transmission method
JPS6141186B2 (en)
JPS6028171B2 (en) Code/decoding circuit using ROM
JP2768287B2 (en) Match detection circuit
JP2562682B2 (en) Error detection method in serial data communication system
JPS6117480Y2 (en)
JPH10294720A (en) Signal transmission circuit and signal-transmitting method
JPS5836037A (en) Pcm signal transmission system