Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2937097B2 - Parity check circuit method - Google Patents
[go: Go Back, main page]

JP2937097B2 - Parity check circuit method - Google Patents

Parity check circuit method

Info

Publication number
JP2937097B2
JP2937097B2 JP7303639A JP30363995A JP2937097B2 JP 2937097 B2 JP2937097 B2 JP 2937097B2 JP 7303639 A JP7303639 A JP 7303639A JP 30363995 A JP30363995 A JP 30363995A JP 2937097 B2 JP2937097 B2 JP 2937097B2
Authority
JP
Japan
Prior art keywords
parity
circuit
output
result
parity bit
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
JP7303639A
Other languages
Japanese (ja)
Other versions
JPH09130270A (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.)
NEC Corp
Original Assignee
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 Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7303639A priority Critical patent/JP2937097B2/en
Publication of JPH09130270A publication Critical patent/JPH09130270A/en
Application granted granted Critical
Publication of JP2937097B2 publication Critical patent/JP2937097B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はディジタル通信等に
好適なパリティチェック方式に関し、特にパリティ演算
結果を次フレームの所定のタイムスロットに挿入するパ
リティ監視方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parity check system suitable for digital communication and the like, and more particularly to a parity monitoring system for inserting a parity operation result into a predetermined time slot of a next frame.

【0002】[0002]

【従来の技術】この種の従来の技術を図4を参照して以
下に説明する。なお、図4は、伝送路上に伝送される1
フレームに亘り演算したパリティ演算結果を、次フレー
ムの所定のタイムスロットに挿入する、従来のパリティ
監視方式の構成をブロック線図にて示したものである。
2. Description of the Related Art A conventional technique of this kind will be described below with reference to FIG. Note that FIG.
FIG. 1 is a block diagram showing a configuration of a conventional parity monitoring method for inserting a parity calculation result calculated over a frame into a predetermined time slot of a next frame.

【0003】図4に示すように、従来のパリティチェッ
ク回路においては、伝送信号路上に伝送されたディジタ
ルデータはパリティ演算部21に入力されてパリティが
計算され、その演算結果は演算結果保持部22により1
フレーム分の演算が終了されるまで保持される。
As shown in FIG. 4, in a conventional parity check circuit, digital data transmitted on a transmission signal path is input to a parity operation unit 21 to calculate a parity, and the operation result is stored in an operation result holding unit 22. By 1
It is held until the calculation for the frame is completed.

【0004】演算結果保持部21の出力はパリティビッ
ト比較部23の一の入力端に入力され、またパリティビ
ット比較部23の他の入力端には伝送信号路上所定のタ
イミングで伝送されるパリティビットが入力される。
The output of the operation result holding unit 21 is input to one input terminal of a parity bit comparison unit 23, and the other input terminal of the parity bit comparison unit 23 is supplied with a parity bit transmitted at a predetermined timing on a transmission signal path. Is entered.

【0005】パリティビット比較部23はこの二つの入
力を比較しパリティチェックの比較結果を出力してい
る。
The parity bit comparing section 23 compares these two inputs and outputs a comparison result of the parity check.

【0006】図5は、図4に示した従来のパリティチェ
ック回路について1ビット伝送信号路の回路構成の一例
を示した図である。
FIG. 5 is a diagram showing an example of a circuit configuration of a 1-bit transmission signal path in the conventional parity check circuit shown in FIG.

【0007】図5を参照して、パリティ演算部は、一の
入力端に伝送信号DATAを入力し、他の入力端に論理
積ゲート51の出力を入力する排他的論理和ゲート52
と、排他的論理和ゲート52の出力を入力し、出力を論
理積ゲート51に帰還入力する第1のフリップフロップ
53からなり、論理積ゲート51にはフレーム同期信号
FPが入力されている。
Referring to FIG. 5, a parity operation unit inputs exclusive transmission gate 52 to input transmission signal DATA to one input terminal and input the output of AND gate 51 to another input terminal.
And the first flip-flop 53 which receives the output of the exclusive OR gate 52 and feeds back the output to the AND gate 51. The AND gate 51 receives the frame synchronization signal FP.

【0008】第2のフリップフロップ54は、演算結果
保持部として機能し、フレーム同期信号FPをラッチタ
イミング信号として1フレーム分のパリティ演算結果
(第1のフリップフロップ53の出力Q)をラッチす
る。
The second flip-flop 54 functions as an operation result holding unit, and latches a parity operation result for one frame (the output Q of the first flip-flop 53) using the frame synchronization signal FP as a latch timing signal.

【0009】パリティビット比較部は、伝送信号DAT
Aとして伝送された当該フレームのパリティビットを一
の入力端に入力し、演算結果保持部を構成する第2のフ
リップフロップ54の出力Qを他の入力端に入力する第
2の排他的論理和ゲート55と、第2の排他的論理和ゲ
ート55から出力されたパリティビット比較結果を保持
する第3のフリップフロップ56とから構成されてい
る。
[0009] The parity bit comparison unit is provided with a transmission signal DAT.
A second exclusive OR that inputs the parity bit of the frame transmitted as A to one input terminal and inputs the output Q of the second flip-flop 54 constituting the operation result holding unit to the other input terminal It comprises a gate 55 and a third flip-flop 56 which holds the parity bit comparison result output from the second exclusive OR gate 55.

【0010】[0010]

【発明が解決しようとする課題】図4及び図5に示した
上記従来の方式においては、パリティ演算結果を保持す
る部分(演算結果保持部22)と、パリティビットを比
較するパリティビット比較部23の二カ所において、演
算結果を保持することが必要とされる。より詳細には、
図5を参照して、演算結果保持部を構成する第2のフリ
ップフロップ54と、パリティビット比較結果を保持す
る第3のフリップフロップ56とが必要とされている。
このため、複数ビットの伝送信号路構成(例えば16ビ
ット構成等)の場合、回路規模が増大し、回路素子数及
び回路規模の削減を阻害していた。
In the above-mentioned conventional system shown in FIGS. 4 and 5, a portion for holding a parity operation result (operation result holding section 22) and a parity bit comparing section 23 for comparing parity bits are provided. In two places, it is necessary to hold the operation result. More specifically,
Referring to FIG. 5, a second flip-flop 54 forming an operation result holding unit and a third flip-flop 56 holding a parity bit comparison result are required.
For this reason, in the case of a transmission signal path configuration of a plurality of bits (for example, a 16-bit configuration, etc.), the circuit scale is increased, and the reduction in the number of circuit elements and the circuit scale is impeded.

【0011】従って、本発明は上記問題点に鑑みてなさ
れたものであって、演算結果を保持する部分を演算と比
較とに利用することにより、タイミングを合わせるため
にのみ機能する保持回路を減少させることによって回路
規模の縮減を達成するパリティチェック回路方式を提供
することを目的とする。
Accordingly, the present invention has been made in view of the above-mentioned problems, and a holding circuit which functions only for adjusting timing is reduced by using a portion for holding an operation result for an operation and a comparison. Accordingly, it is an object of the present invention to provide a parity check circuit system that achieves a reduction in circuit scale.

【0012】[0012]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、伝送信号の1フレームがn個のタイムス
ロットからなりn−1個のタイムスロットに亘り演算し
たパリティ演算結果を、次に続くn番目のタイムスロッ
トに挿入されて伝送されるパリティビットと比較しパリ
ティチェック結果として出力するパリティチェック回路
方式において、前記伝送信号を並列に入力しパリティ演
算及びパリティビット比較を行なう手段を二系統備える
と共に、前記二系統のパリティ演算及びパリティビット
比較を行なう手段の出力を入力し、いずれか一方を選択
してパリティチェック結果として出力する選択手段を備
え、前記二系統のパリティ演算及びパリティビット比較
を行なう手段が、フレームパルス信号と、前回のタイム
スロットまでのパリティ演算結果を保持する保持回路の
出力とを入力し、前記フレーム同期信号がアクティブ時
前記保持回路の出力を出力端に伝達出力する論理積回路
と、前記論理積回路の出力と前記伝送路信号と入力しこ
れらを比較する排他的論理和回路とを備え、前記保持
回路の入力端には前記排他的論理和回路の出力端が接続
され、一のフレーム期間で一の系統がパリティ演算を行
時は、前記一の系統の保持回路にはタイムスロット毎
にビットクロックが供給されて前記排他的論理和回路の
出力をラッチしこれを前記論理積回路に帰還させ前記
一のフレーム期間において他の系統では、前記伝送路信
号のパリティビットのタイムロットに同期して前記保持
回路に保持されている前回のタイムスロットまでのパリ
ティ演算結果と前記伝送路信号のパリティビットとの比
較を前記排他的論理和回路で行ったパリティビット比較
結果を前記保持回路が保持出力し前記選択手段を介して
出力され、1フレーム毎に前記二系統間でパリティ演算
処理とパリティビット比較処理を交互に行なうことを特
徴とする。
According to the present invention, one frame of a transmission signal is composed of n time slots.
The parity calculation result calculated over n-1 time slots consisting of lots is used to calculate the next n-th time slot.
In the parity check circuit system, which is compared with the parity bit inserted and transmitted as a result and outputs the result as a parity check result, the transmission signal is input in parallel to perform two types of parity operation and parity bit comparison. A selector for inputting an output of a means for performing a parity operation and a parity bit comparison of a system, selecting one of the outputs and outputting the result as a parity check result, wherein the means for performing the parity calculation and the parity bit comparison of the two systems includes: Frame pulse signal and previous time
Of the holding circuit that holds the parity operation result up to the slot
Output and when the frame sync signal is active
AND circuit for transmitting and outputting the output of the holding circuit to an output terminal
And the input of the output of the AND circuit and the transmission path signal.
It includes an exclusive OR circuit for comparing the these, wherein the holding
The output terminal of the exclusive OR circuit is connected to the input terminal of the circuit
When one system performs a parity operation in one frame period, the holding circuit of the one system is provided with a time slot every time slot.
A bit clock is supplied to the exclusive OR circuit.
Latches the output is fed back this to the AND circuit, the
In another system during one frame period, the transmission path signal
No. in synchronization with the time lot of the parity bit of the signal
Paris up to the last time slot held in the circuit
Ratio between the parity calculation result and the parity bit of the transmission path signal
Bit comparison performed by the exclusive-OR circuit
The holding circuit holds and outputs the result and outputs the result via the selecting means.
A parity operation process and a parity bit comparison process are alternately performed between the two systems for each output frame.

【0013】本発明においては、好ましくは、前記パリ
ティ演算及びパリティビット比較を行なう手段が、前記
伝送信号のパリティを演算する演算回路がパリティ演算
に用いる前回のタイムスロットまでのパリティ演算結果
を保持する保持回路と、前記パリティ演算結果と前記伝
送信号に伝送されたパリティビットとの比較を行なう回
路から出力される比較結果を保持する保持回路とを同一
の保持回路で共用してなることを特徴とする。
In the present invention, preferably, the means for performing the parity calculation and the parity bit comparison holds a parity calculation result up to a previous time slot used by the calculation circuit for calculating the parity of the transmission signal for the parity calculation. The same holding circuit shares a holding circuit and a holding circuit for holding a comparison result output from a circuit that compares the parity operation result with the parity bit transmitted to the transmission signal. I do.

【0014】また、本発明においては、好ましくは、前
記パリティ演算及びパリティビット比較を行なう手段
が、前記伝送信号のパリティを演算する演算回路と、該
演算回路によるパリティ演算結果と前記伝送信号に伝送
されたパリティビットとの比較を行なう比較回路とを同
一の演算回路で共用してなることを特徴とする。
In the present invention, preferably, the means for performing the parity calculation and the parity bit comparison includes a calculation circuit for calculating the parity of the transmission signal, a parity calculation result by the calculation circuit, and a transmission of the parity calculation result and the transmission signal. And a comparison circuit for performing comparison with the parity bit thus set is shared by the same arithmetic circuit.

【0015】本発明によれば、パリティ演算とパリティ
ビット比較を同一回路で行うようにしたことにより、演
算結果を保持しパリティビットと比較するためのフリッ
プフロップを削減し、回路規模を縮減し、複数ビット構
成の伝送線路のパリティチェック回路に適用した場合、
回路規模の縮減効果は特段に顕著なものとなる。
According to the present invention, since the parity operation and the parity bit comparison are performed by the same circuit, the number of flip-flops for holding the operation result and comparing with the parity bit is reduced, and the circuit scale is reduced. When applied to a parity check circuit of a transmission line with multiple bits,
The effect of reducing the circuit scale becomes particularly remarkable.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態を図面を参照
して以下に説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】図1は、本発明の一実施形態の構成を示す
図である。
FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【0018】図1を参照して、本実施形態においては、
伝送信号より並列に信号が入力される二つのパリティ演
算/パリティビット比較回路11、12と、パリティ演
算/パリティビット比較回路11、12の出力を入力し
いずれか一方の出力を選択してパリティチェック結果と
して出力する選択部13と、を備えている。
Referring to FIG. 1, in the present embodiment,
Two parity calculation / parity bit comparison circuits 11 and 12 to which signals are input in parallel from the transmission signal, and the outputs of the parity calculation / parity bit comparison circuits 11 and 12 are input and one of the outputs is selected to check the parity. And a selector 13 for outputting the result.

【0019】二つのパリティ演算/パリティビット比較
回路11、12は、一方がパリティ演算処理を行ってい
るときには、他方はパリティビット比較処理を行い、ま
た1フレーム毎に二つの系統間で、パリティ演算とパリ
ティビット比較処理を交互に入れ換える。
The two parity calculation / parity bit comparison circuits 11 and 12 perform a parity calculation process when one performs a parity calculation process, and perform a parity calculation between two systems for each frame. And the parity bit comparison process are alternately switched.

【0020】すなわち、本実施形態は、図4に示した上
記従来例において、タイミングを合わせるためのパリテ
ィ演算結果の保持手段としてのみ機能している演算結果
保持部22を有効利用するために、パリティ演算部21
と併せてパリティ演算及びパリティビット比較の機能を
持つ回路構成とし、図1に示すように、パリティ演算と
パリティビット比較の二つの機能を持つパリティ演算/
パリティビット比較回路11、12を二系統備えてい
る。
That is, in this embodiment, in order to effectively use the operation result holding unit 22 functioning only as a holding unit of the parity operation result for adjusting the timing in the conventional example shown in FIG. Arithmetic unit 21
In addition, a circuit configuration having functions of a parity operation and a parity bit comparison is provided, and as shown in FIG.
Two systems of parity bit comparison circuits 11 and 12 are provided.

【0021】そして、この二系統のパリティ演算/パリ
ティビット比較回路11、12が交互にパリティ演算と
パリティビット比較を行うことにより、パリティ演算結
果のみを保持する回路部分を削減している。
The two systems of parity operation / parity bit comparison circuits 11 and 12 alternately perform parity operation and parity bit comparison, thereby reducing a circuit portion for holding only the parity operation result.

【0022】さらに、パリティビットの比較結果を出力
し続けるために、いずれか一方のパリティ演算/パリテ
ィビット比較回路から、パリティビットと演算結果との
比較を出力する選択部13を備えている。
Further, in order to continue to output the comparison result of the parity bit, a selector 13 is provided for outputting a comparison between the parity bit and the operation result from one of the parity operation / parity bit comparison circuits.

【0023】図2は、本実施形態に係るパリティチェッ
ク回路方式の好適な回路構成の一例を1ビット伝送信号
路の構成について示したものである。図2を参照して、
本実施形態をより具体的な回路構成に基づき以下に説明
する。
FIG. 2 shows an example of a suitable circuit configuration of the parity check circuit system according to the present embodiment with respect to the configuration of a 1-bit transmission signal path. Referring to FIG.
This embodiment will be described below based on a more specific circuit configuration.

【0024】図2を参照して、伝送信号は、第1及び第
2の排他的論理和ゲート32、35の一の入力端に入力
され、第1及び第2の排他的論理和ゲート32、35の
他の入力端には、フレーム同期信号FPで制御されてい
る第1及び第2の論理積ゲート31、34の出力が入力
される。
Referring to FIG. 2, a transmission signal is input to one input terminal of first and second exclusive OR gates 32 and 35, and is transmitted to first and second exclusive OR gates 32 and 35. The output of the first and second AND gates 31 and 34 controlled by the frame synchronization signal FP is input to the other input terminal 35.

【0025】第1及び第2の論理積ゲート31、34
は、フレーム同期信号FPをゲート信号として、第1及
び第2のフリップフロップ33、36(例えばD型フリ
ップフロップで構成される)の出力を、それぞれ排他的
論理和ゲート32、35に出力する。
First and second AND gates 31, 34
Outputs the outputs of the first and second flip-flops 33 and 36 (for example, composed of D-type flip-flops) to exclusive OR gates 32 and 35 using the frame synchronization signal FP as a gate signal.

【0026】そして、第1及び第2のフリップフロップ
33、36の出力を入力とする選択部37は、第2のフ
リップフロップ36側の第2の系統のパリティ演算及び
パリティビット比較部を選択している場合、第2のフリ
ップフロップ36の出力は伝送信号として流れている一
つ前のフレームのパリティビット比較結果を、制御端子
に入力されるクロック信号CLK2により保持出力して
いる。
The selector 37, which receives the outputs of the first and second flip-flops 33 and 36 as inputs, selects the parity operation and parity bit comparator of the second system on the second flip-flop 36 side. In this case, the output of the second flip-flop 36 holds and outputs the parity bit comparison result of the immediately preceding frame flowing as a transmission signal by the clock signal CLK2 input to the control terminal.

【0027】この時、第1のフリップフロップ33側の
第1の系統のパリティ演算及びパリティビット比較部は
現在伝送路を流れているフレームのパリティ演算を行っ
ている。
At this time, the parity calculation and parity bit comparison unit of the first system on the side of the first flip-flop 33 performs the parity calculation of the frame currently flowing on the transmission path.

【0028】第1の系統がパリティ演算を行なう際に
は、第1のフリップフロップ33の出力は、パリティ演
算結果を示し、この演算結果と次タイムスロットのビッ
トデータとを第1の排他的論理和ゲート32にて加算演
算するために、第1のフリップフロップ33の出力が第
1の論理積ゲート31に帰還入力されている。
When the first system performs the parity operation, the output of the first flip-flop 33 indicates the result of the parity operation, and the result of the operation and the bit data of the next time slot are converted into the first exclusive logic. The output of the first flip-flop 33 is fed back to the first AND gate 31 in order to perform the addition operation in the sum gate 32.

【0029】加算が1フレーム分終了すると、加算部を
構成する第1の論理積ゲート31から第1の排他的論理
和ゲート32はフレーム同期信号FPによりクリアさ
れ、第1のフリップフロップ33の出力がクロック信号
CLK1により出力保持され、選択部37はパリティビ
ット比較結果を出力している第1のフリップフロップ3
3側を選択する。また、逆にそれまでパリティビット比
較結果を出力していた第2のフリップフロップ36側
(第2の系統)のパリティ演算及びパリティビット比較
部はパリティ演算を開始する。
When the addition is completed for one frame, the first AND gate 31 to the first exclusive OR gate 32 constituting the adding section are cleared by the frame synchronization signal FP, and the output of the first flip-flop 33 is output. Is output and held by the clock signal CLK1, and the selector 37 outputs the parity bit comparison result to the first flip-flop 3
Select 3 side. Conversely, the parity calculation and parity bit comparison unit on the second flip-flop 36 side (second system) that has output the parity bit comparison result until that time starts the parity calculation.

【0030】図3のタイミング模式図を参照して、本実
施形態の動作を詳細に説明する。図3に示すタイミング
図において、便宜上、1フレームは6つのタイムスロッ
トから構成されるものとし、5ビットデータ(例えばt
2〜t6)に続くタイムスロットに該1フレームのパリ
ティビットP1が挿入されて伝送されるものとする。
The operation of the present embodiment will be described in detail with reference to the timing diagram of FIG. In the timing diagram shown in FIG. 3, for convenience, one frame is composed of six time slots, and 5-bit data (for example, t
It is assumed that the parity bit P1 of the one frame is inserted into the time slot following 2 to t6) and transmitted.

【0031】図3を参照して、最初のフレームにおい
て、選択部37は第2の系統(図2の第2の排他的論理
和ゲート35、及び第2のフリップフロップ36の信号
パス)を選択し、第2のフリップフロップ36(FF3
6)の出力QBからのパリティビット比較結果(Q7)
が出力され、パリティ演算処理は、第1の系統(図2の
第1の第1の排他的論理和ゲート32、及び第1のフリ
ップフロップ33のパス)で行なわれている。
Referring to FIG. 3, in the first frame, selector 37 selects the second system (the signal path of second exclusive OR gate 35 and second flip-flop 36 in FIG. 2). Then, the second flip-flop 36 (FF3
6) Parity bit comparison result from output QB (Q7)
Is output, and the parity operation is performed by the first system (the path of the first first exclusive OR gate 32 and the first flip-flop 33 in FIG. 2).

【0032】第1の系統では、伝送信号(t2〜t6)
を第1の排他的論理和ゲート32で受け、第1のフリッ
プフロップ33において保持されたそれまでの演算結果
に順次加算していく。すなわち、第2の排他的論理和ゲ
ート35は、伝送信号を、それまでの演算結果を保持す
る第1のフリップフロップ33の出力QAが帰還入力さ
れる第1の論理積ゲート31の出力に加算し、該加算結
果がクロック信号CLK1により第1のフリップフロッ
プ33にラッチされる(第1のフリップフロップ33の
出力QAはクロックCLK1に同期してタイムスロット
毎Q1、…、Q6と変化する)。なお、第1のフリップ
フロップ33は、フレームのパリティ演算開始前にフレ
ーム同期信号FPに基づきクロック信号CLK1のタイ
ミングでゼロクリアされる。
In the first system, transmission signals (t2 to t6)
At the first exclusive OR gate 32 and sequentially adds the result of the operation held in the first flip-flop 33 up to that time. That is, the second exclusive OR gate 35 adds the transmission signal to the output of the first AND gate 31 to which the output QA of the first flip-flop 33 holding the operation result up to that time is fed back. Then, the addition result is latched by the first flip-flop 33 by the clock signal CLK1 (the output QA of the first flip-flop 33 changes to Q1,..., Q6 for each time slot in synchronization with the clock CLK1). The first flip-flop 33 is cleared to zero at the timing of the clock signal CLK1 based on the frame synchronization signal FP before the start of the parity calculation of the frame.

【0033】パリティ演算時に第nクロックの第1のフ
リップフロップ33の出力QAは伝送信号t2〜tn
(但し、nは2〜6)の累積加算値(次式(1)参照)と
され、加算が1フレーム分行なわれる。
At the time of the parity operation, the output QA of the first flip-flop 33 of the n-th clock is transmitted signals t2 to tn.
(Where n is 2 to 6) is a cumulative addition value (see the following equation (1)), and the addition is performed for one frame.

【0034】Qn=t2+…+tn …(1)Qn = t2 +... + Tn (1)

【0035】第1の系統において、1フレーム分のパリ
ティ演算が終了した段階で、第1の排他的論理和ゲート
32は、伝送されたフレームに挿入されるパリティビッ
トP1と第1のフリップフロップ33に保持されるパリ
ティ演算結果Q6との比較を行なって(次式(2)参
照)、パリティビット比較結果Q7を出力し、第1のフ
リップフロップ33はクロック信号CLK1に同期して
このパリティビット比較結果Q7を保持出力し、選択部
37から選択出力される。
In the first system, when the parity operation for one frame is completed, the first exclusive OR gate 32 sets the parity bit P1 inserted in the transmitted frame and the first flip-flop 33 (See the following equation (2)), and outputs a parity bit comparison result Q7. The first flip-flop 33 synchronizes the parity bit with the clock signal CLK1. The result Q7 is held and output, and is selectively output from the selection unit 37.

【0036】Q7=Q6+P1 …(2)Q7 = Q6 + P1 (2)

【0037】また、次のフレームでは、第2の系統(第
2の排他的論理和ゲート35及び第2のフリップフロッ
プ36)において、上記第1の系統と同様にしてパリテ
ィ演算処理が行われると共に、選択部37からは第1の
フリップフロップ33の出力であるパリティビット比較
結果Q7が選択出力されることになる。
In the next frame, in the second system (the second exclusive OR gate 35 and the second flip-flop 36), the parity operation is performed in the same manner as in the first system. , The parity bit comparison result Q7 output from the first flip-flop 33 is selected and output.

【0038】パリティ演算をしているフレームについて
は1ビットのデータを示すクロック(ビットクロック信
号)を、パリティビットの比較を行なうフレームではパ
リティビットの位置を示すタイミング信号を、第1、第
2のフリップフロップ33、36にクロック入力する。
A clock (bit clock signal) indicating 1-bit data is used for a frame for which a parity operation is performed, and a timing signal indicating the position of a parity bit is used for a frame for comparing parity bits. The clock is input to the flip-flops 33 and 36.

【0039】そして、選択部37は、フレーム毎にパリ
ティ演算と比較をフレーム毎に交互に行なっている第1
及び第2のフリップフロップ33と36のうち、パリテ
ィビット比較結果を保持している側(パリティ演算を行
なっていない側)を選択して出力する。
The selecting section 37 alternately performs parity calculation and comparison for each frame for each frame.
And the side that holds the parity bit comparison result (the side that does not perform parity operation) among the second flip-flops 33 and 36 is selected and output.

【0040】以上、本発明を上記実施形態に即して説明
したが、上記回路構成は実施形態を説明するためのもの
であり、本発明は上記形態にのみ限定されず、本発明の
原理に準ずる各種形態を含むことは勿論である。
Although the present invention has been described with reference to the above embodiments, the above circuit configuration is for describing the embodiments, and the present invention is not limited to only the above embodiments, but is based on the principle of the present invention. It is needless to say that various forms corresponding thereto are included.

【0041】[0041]

【発明の効果】以上説明したように、本発明は、パリテ
ィ演算とパリティビット比較を同一回路で行うようにし
たことにより、演算結果を保持しパリティビットと比較
するためのフリップフロップを削減し、特に複数の伝送
信号路のパリティ監視方式において、回路規模を特段に
縮減するという顕著な効果を有する。
As described above, according to the present invention, by performing the parity operation and the parity bit comparison in the same circuit, the number of flip-flops for holding the operation result and comparing with the parity bit is reduced. In particular, in a parity monitoring method for a plurality of transmission signal paths, there is a remarkable effect that the circuit scale is particularly reduced.

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

【図1】本発明の一実施形態に係るパリティチェック回
路方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a parity check circuit system according to an embodiment of the present invention.

【図2】本発明の一実施形態に係るパリティチェック回
路方式の回路構成の一例を示す図である。
FIG. 2 is a diagram illustrating an example of a circuit configuration of a parity check circuit system according to an embodiment of the present invention.

【図3】本発明の一実施形態に係るパリティチェック回
路方式の動作を模式的に説明するためのタイミング模式
図である。
FIG. 3 is a timing diagram schematically illustrating an operation of a parity check circuit system according to an embodiment of the present invention.

【図4】従来のパリティチェック回路方式の構成を示す
ブロック図である。
FIG. 4 is a block diagram showing a configuration of a conventional parity check circuit system.

【図5】従来のパリティチェック回路についての回路構
成の一例を示した図である。
FIG. 5 is a diagram illustrating an example of a circuit configuration of a conventional parity check circuit.

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

11、12 パリティ演算回路/パリティビット比較回
路 13 選択部 21 パリティ演算回路 22 演算結果保持部 23 パリティビット比較回路 31、34 論理積ゲート 32、35 排他的論理和ゲート 33、36 フリップフロップ 37 選択部 51 論理積ゲート 52、55 排他的論理和ゲート 53、54、56 フリップフロップ CLK クロック信号 CLK1 フリップフロップ33のクロック信号 CLK2 フリップフロップ36のクロック信号 D 入力データ(伝送信号) DATA 伝送信号 FP フレームパルス P1 前フレームのパリティビット QA フリップフロップ33の出力 QB フリップフロップ36の出力 t1〜t6、T1〜T6 伝送信号(ビットデータ)
11, 12 parity operation circuit / parity bit comparison circuit 13 selection unit 21 parity operation circuit 22 operation result holding unit 23 parity bit comparison circuit 31, 34 AND gate 32, 35 exclusive OR gate 33, 36 flip-flop 37 selection unit 51 AND gate 52, 55 Exclusive OR gate 53, 54, 56 Flip-flop CLK Clock signal CLK1 Clock signal of flip-flop 33 CLK2 Clock signal of flip-flop 36 D Input data (transmission signal) DATA Transmission signal FP Frame pulse P1 Parity bit of previous frame QA Output of flip-flop 33 Output of QB flip-flop 36 t1 to t6, T1 to T6 Transmission signal (bit data)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】伝送信号の1フレームがn個のタイムスロ
ットからなりn−1個のタイムスロットに亘り演算した
パリティ演算結果を、次に続くn番目のタイムスロット
に挿入されて伝送されるパリティビットと比較しパリテ
ィチェック結果として出力するパリティチェック回路方
式において、 前記伝送信号を並列に入力しパリティ演算及びパリティ
ビット比較を行なう手段を二系統備えると共に、 前記二系統のパリティ演算及びパリティビット比較を行
なう手段の出力を入力し、いずれか一方を選択してパリ
ティチェック結果として出力する選択手段を備え、 前記二系統のパリティ演算及びパリティビット比較を行
なう手段が、フレームパルス信号と、前回のタイムスロットまでのパ
リティ演算結果を保持する保持回路の出力とを入力し、
前記フレーム同期信号がアクティブ時前記保持回路の出
力を出力端に伝達出力する論理積回路と、 前記論理積回路の出力と前記伝送路信号と入力しこれら
を比較する排他的論理和回路とを備え、 前記保持回路の入力端には前記排他的論理和回路の出力
端が接続され、 一のフレーム期間で 一の系統がパリティ演算を行う
は、前記一の系統の保持回路にはタイムスロット毎にビ
ットクロックが供給されて前記排他的論理和回路の出力
をラッチしこれを前記論理積回路に帰還させ前記一のフレーム期間において他の系統では、前記伝送
路信号のパリティビットのタイムロットに同期して前記
保持回路に保持されている前回のタイムスロットまでの
パリティ演算結果と前記伝送路信号のパリティビットと
の比較を前記排他的論理和回路で行ったパリティビット
比較結果を前記保持回路が保持出力し前記選択手段を介
して出力され 、 1フレーム毎に前記二系統間でパリティ演算処理とパリ
ティビット比較処理を交互に行なうことを特徴とするパ
リティチェック回路方式。
1. One frame of a transmission signal is composed of n time slots.
The parity calculation result calculated over n-1 time slots consisting of the following n-th time slot
In the parity check circuit method, which is compared with a parity bit inserted and transmitted as a result and output as a parity check result, the transmission signal is input in parallel, and two systems are provided for performing parity calculation and parity bit comparison. receives the output of the parity operation and means for performing a parity bit comparator, and selects either a selection means for outputting a parity check result, means for performing a parity calculation and parity bit comparator of the two systems, frame The pulse signal and the time until the last time slot
And the output of the holding circuit that holds the result of the
When the frame synchronization signal is active, the output of the holding circuit is output.
An AND circuit for transmitting and outputting a force to an output terminal; and an input of the output of the AND circuit and the transmission line signal, and
And a exclusive-OR circuit for comparing, to the input terminal of the holding circuit output of the exclusive OR circuit
End connected, when one of the system performs a parity operation in one frame period
Means that the holding circuit of one system is
And the output of the exclusive OR circuit is supplied.
And feeds it back to the AND circuit, and in the other system during the one frame period, the transmission
In synchronization with the time lot of the parity bit of the
Up to the previous time slot held in the holding circuit
Parity operation result and parity bit of the transmission path signal
Parity bit obtained by comparing the data with the exclusive OR circuit
The holding circuit holds and outputs the comparison result and outputs the result through the selecting means.
To be outputted, the parity check circuit system and performs parity calculation process and the parity bit comparison process alternates between the two systems for each frame.
JP7303639A 1995-10-27 1995-10-27 Parity check circuit method Expired - Lifetime JP2937097B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7303639A JP2937097B2 (en) 1995-10-27 1995-10-27 Parity check circuit method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7303639A JP2937097B2 (en) 1995-10-27 1995-10-27 Parity check circuit method

Publications (2)

Publication Number Publication Date
JPH09130270A JPH09130270A (en) 1997-05-16
JP2937097B2 true JP2937097B2 (en) 1999-08-23

Family

ID=17923424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7303639A Expired - Lifetime JP2937097B2 (en) 1995-10-27 1995-10-27 Parity check circuit method

Country Status (1)

Country Link
JP (1) JP2937097B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6223231A (en) * 1985-07-23 1987-01-31 Fujitsu Ltd Parity counter circuit
JPS6234243A (en) * 1985-08-07 1987-02-14 Pioneer Electronic Corp Error correcting system
JP3027890B2 (en) * 1993-01-20 2000-04-04 日本電気株式会社 Parity error monitor circuit
JP2697552B2 (en) * 1993-04-23 1998-01-14 日本電気株式会社 Code error detection circuit

Also Published As

Publication number Publication date
JPH09130270A (en) 1997-05-16

Similar Documents

Publication Publication Date Title
US20040049723A1 (en) Semiconductor integrated circuit with a test circuit
JP4136429B2 (en) Semiconductor device
US6150965A (en) Serial to parallel converter enabled by multiplexed flip-flop counters
US4873456A (en) High speed state machine
US4408272A (en) Data control circuit
US6985546B2 (en) Transmitting circuit and method thereof, receiving circuit and method thereof, and data communication apparatus
US5111416A (en) Pseudo random noise code generator for selectively generating a code or its mirror image from common data
US5506796A (en) Digital signal processing circuit selectively operable in either a normal or a pseudorandom noise generative mode
JP3173420B2 (en) Synchronous delay circuit
JP2937097B2 (en) Parity check circuit method
US5278902A (en) Method and apparatus for transition direction coding
US5903620A (en) System switching circuit based on phase matching
US6879654B2 (en) Non-integer frequency divider circuit
JP2948245B2 (en) Transmission / reception synchronization device for communication network station
US6359908B1 (en) Frame synchronous circuit contributing to SDH signal
JP2967748B2 (en) ATM cell synchronization circuit
US5706322A (en) Precision time of day counter
US6970527B2 (en) Transmitting circuit and method thereof, receiving circuit and method thereof, and data communication apparatus
JP3485449B2 (en) Clock division switching circuit
JP3989839B2 (en) Information processing system
JP2789679B2 (en) Parity signal insertion circuit
JP2814978B2 (en) Frame synchronization circuit
JP2577986B2 (en) Pseudo random noise code generator
JP2577985B2 (en) Pseudo random noise code generator
JP3341475B2 (en) Counting circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990511