JP2000188591A - Received data error detection circuit - Google Patents

Received data error detection circuit

Info

Publication number
JP2000188591A
JP2000188591A JP10365056A JP36505698A JP2000188591A JP 2000188591 A JP2000188591 A JP 2000188591A JP 10365056 A JP10365056 A JP 10365056A JP 36505698 A JP36505698 A JP 36505698A JP 2000188591 A JP2000188591 A JP 2000188591A
Authority
JP
Japan
Prior art keywords
data
output
reception data
parity
head
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
JP10365056A
Other languages
Japanese (ja)
Inventor
Shinichi Kono
伸一 河野
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 JP10365056A priority Critical patent/JP2000188591A/en
Publication of JP2000188591A publication Critical patent/JP2000188591A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a circuit that a circuit scale does not increase even if data length becomes long and can cope with data of a variable length by comparing the data value of received data with the output value of a flip flop when the end of received data is detected by means of an end detection means and detecting the error of received data. SOLUTION: A signal 'start' showing the head of an input data string, the input data string 'data' and a 'clock' are supplied to a toggle flip flop(TFF) 3 and the output of TFF 3 becomes a parity. When the output 'start' signal is given when the head bit string of a head detection means is detected, namely, when TFF 3 is set or reset and is initialized at the head timing of input data and when the input data string is '1' in the second and subsequent bits of the input data string, an output value is inverted and the output value is held when it is '0'. TFF 3 output when all the input data strings loading the parity are already inputted is the value of the parity bit.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、受信データのデー
タ誤りを検出する受信データ誤リ検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reception data erroneous detection circuit for detecting a data error in received data.

【0002】[0002]

【従来の技術】従来、データ伝送による誤り検出及びデ
ータ補償のため、奇数パリティにしろ、偶数パリティに
しろ、パリティ符号を生成して、元のデータに追加する
が、パリティ回路は、特開昭63−313919号公報
による「並一直変換装置」などに記載されている通り、
一般的には並列回路により構成される。この例を図4に
示し、シリアルデータとクロックとを入力するシフトレ
ジスタ4と、シフトレジスタ4のパラレル出力をXOR
回路5に加え、その出力をパリティ信号として、シリア
ルデータに1ビット追加することにより、パリティビッ
トを含んだデータ信号となる。
2. Description of the Related Art Conventionally, for error detection and data compensation by data transmission, a parity code is generated and added to the original data regardless of whether it is odd parity or even parity. As described in "Conversion device in parallel" by JP-A-63-313919,
Generally, it is constituted by a parallel circuit. This example is shown in FIG. 4, in which a shift register 4 for inputting serial data and a clock and a parallel output of the shift register 4 are XORed.
In addition to the circuit 5, the output is used as a parity signal, and one bit is added to the serial data to obtain a data signal including a parity bit.

【0003】しかし、並列回路によりパリティ生成した
場合、パリティビット付加の対象とするデータ長が伸び
れば伸びるほど、パリティ生成回路への入力ビット数が
増え、パリティ生成回路の規模が増加する。
However, when the parity is generated by the parallel circuit, as the data length to which the parity bit is added increases, the number of input bits to the parity generation circuit increases and the scale of the parity generation circuit increases.

【0004】また、特開平01−28739号公報によ
る「パリティー回路」では、パリティの並列計算の代わ
りに、フリップフロップを用いることにより、回路規模
の小さい構成の簡素な方式を提案されている。本公報に
よれば、シフトレジスタとシフトレジスタの出力信号の
内の所定符号情報に同期してタイミング信号を出力する
タイミング信号出力手段と、そのタイミング信号によっ
て出力信号が反転されるフリップフロップ回路と、前記
フリップフロップ回路の状態確定に呼応して当該フリッ
プフロップ回路の出力信号を出力する選択手段とを備え
たことを特徴としている。
[0004] In the "parity circuit" disclosed in Japanese Patent Application Laid-Open No. 01-28739, a simple system having a small circuit scale is proposed by using flip-flops instead of parallel calculation of parity. According to this publication, a shift register and a timing signal output unit that outputs a timing signal in synchronization with predetermined code information among output signals of the shift register, a flip-flop circuit whose output signal is inverted by the timing signal, Selecting means for outputting an output signal of the flip-flop circuit in response to the determination of the state of the flip-flop circuit.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記特開平0
1−28739号公報によれば、その構成上データ長は
固定値でなければならないという問題点を有している。
また、パリティチェックのみでは、受信データの誤りを
検出できないという問題点も有している。
However, the method disclosed in Japanese Patent Laid-Open No.
According to Japanese Patent Application Laid-Open No. 1-28739, there is a problem that the data length must be a fixed value due to its configuration.
There is also a problem that an error in received data cannot be detected only by parity check.

【0006】本発明では、データ長が長くなっても、回
路規模が増大しないという特徴と共に、可変長のデータ
に対応できる受信データ誤り検出回路を提供する。
The present invention provides a reception data error detection circuit capable of coping with variable length data, in addition to the feature that the circuit scale does not increase even if the data length increases.

【0007】[0007]

【課題を解決するための手段】本発明は、シリアルデー
タ伝送受信回路に用いる受信データ誤り検出回路におい
て、受信データの先頭を検出する先頭検出手段と、前記
受信データの末尾を検出する末尾検出手段と、前記先頭
検出手段による受信データの先頭検出により初期化さ
れ、前記受信データに基づいて出力値が反転するフリッ
プフロップとから構成され、前記末尾検出手段による受
信データ末尾検出時に前記受信データのデータ値と前記
フリップフロップの出力値とを比較することにより、前
記受信データの誤りを検出することを特徴とする。
SUMMARY OF THE INVENTION The present invention relates to a reception data error detection circuit used in a serial data transmission reception circuit, comprising: a head detection means for detecting the head of the reception data; and a tail detection means for detecting the tail of the reception data. And a flip-flop, which is initialized by detecting the head of the received data by the head detecting means and inverts an output value based on the received data, and wherein the data of the received data is detected when the tail detecting means detects the end of the received data. An error in the received data is detected by comparing a value with an output value of the flip-flop.

【0008】また、上記受信データ誤り検出回路におい
て、前記フリップフロップの代わりに、前記先頭検出手
段による受信データの先頭検出により初期化され、受信
データ値が"1"のときに反転する第2のフリップフロッ
プを備え、前記受信データ内の"1"の数を数えることに
よりパリティ検出機能を備えたことを特徴とする。
In the above-mentioned received data error detection circuit, a second data is initialized by the first detection of the received data by the first detecting means instead of the flip-flop, and is inverted when the received data value is "1". A flip-flop, and a parity detection function by counting the number of "1" in the received data.

【0009】また、上記受信データ誤り検出回路におい
て、可変長の前記受信データに対して前記受信データの
誤りを検出することを特徴とする。
In the above-mentioned reception data error detection circuit, an error of the reception data is detected for the reception data of a variable length.

【0010】また、本発明では、T−FFを用いた回路
構成によりデータ列の長さに依存することなくパリティ
生成が可能となるため、パリティ付加の対象となるデー
タ列が長くなっても、回路規模の増大がないという特徴
がある。従って、パリティ付加の対象となるデータ列が
長くなればなるほど、XOR回路を用いた従来方式と比
較して回路規模の小型化を目指した場合の効果が大き
い。
Further, according to the present invention, since the parity can be generated without depending on the length of the data string by the circuit configuration using the T-FF, even if the data string to which the parity is added becomes long, There is a feature that the circuit scale does not increase. Therefore, the longer the data string to be subjected to parity addition, the greater the effect when the circuit size is reduced compared to the conventional method using an XOR circuit.

【0011】[0011]

【発明の実施の形態】本発明による実施形態について、
図面を参照しつつ詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments according to the present invention will be described.
This will be described in detail with reference to the drawings.

【0012】図1に本実施形態による受信データ誤り検
出回路の回路図を示す。図において、シリアルデータ伝
送受信回路によるシリアル受信データの先頭ビットを検
出する先頭検出手段10と、受信データの末尾ビットを
検出する末尾検出手段11と、受信データとクロックと
の論理和をとるAND12と、AND12の出力をクロ
ック端子に入力し、受信データの先頭ビット検出により
リセット端子に入力されて初期化され、その結果受信デ
ータに基づいて反転出力端子と入力端子とを接続して出
力値が反転するDフリップフロップ13と、受信データ
とフリップフロップ13の出力とを排他的論理和をとる
NOR14と、受信データの末尾検出手段11の出力を
クロック端子に入力し、NOR14の出力を入力とする
フリップフロップ15と、から構成される。また、16
はAND12とフリップフロップ13とからなるパリテ
ィチェック部であり、17はパリティチェックの結果と
末尾検出手段とのタイミングを一致させるための遅延器
である。
FIG. 1 is a circuit diagram of a reception data error detection circuit according to the present embodiment. In the figure, a head detection means 10 for detecting a head bit of serial reception data by a serial data transmission / reception circuit, a tail detection means 11 for detecting a tail bit of reception data, and an AND 12 for calculating a logical sum of the reception data and a clock. , And the output of AND12 is input to the clock terminal, and is input to the reset terminal and initialized upon detection of the first bit of the received data. As a result, the inverted output terminal is connected to the input terminal based on the received data, and the output value is inverted. D flip-flop 13 which performs an exclusive OR operation on the received data and the output of the flip-flop 13, a flip-flop which inputs the output of the end detection means 11 of the received data to a clock terminal, and receives the output of the NOR 14 as an input 15. Also, 16
Reference numeral 17 denotes a parity check unit including an AND 12 and a flip-flop 13. Reference numeral 17 denotes a delay unit that matches the result of the parity check with the timing of the tail detection unit.

【0013】ここで、受信データの先頭検出手段10は
例えばシフトレジスタを用いたパターン一致回路により
送信側で挿入した先頭ビット列を検出する。また、受信
データの末尾検出手段11は、同様に例えばシフトレジ
スタを用いたパターン一致回路により送信側で挿入した
データ列の末尾ビット列を検出する。この場合、先頭ビ
ット列と末尾ビット列とは異なるシリアルビット列が好
ましいが、同一ビット列の場合には、先頭ビット列と末
尾ビット列とをサイクリックに区別して検出することが
できる。
Here, the head detecting means 10 of the received data detects the head bit string inserted on the transmitting side by a pattern matching circuit using a shift register, for example. Similarly, the reception data end detecting means 11 similarly detects the end bit string of the data string inserted on the transmission side by a pattern matching circuit using a shift register, for example. In this case, a serial bit sequence different from the first bit sequence and the last bit sequence is preferable. However, in the case of the same bit sequence, the first bit sequence and the last bit sequence can be detected while being distinguished cyclically.

【0014】また、受信データ値とDフリップフロップ
13を含むパリティチェック部16の出力値とを、排他
的論理和回路14で比較することにより、受信データの
誤り検出機能を提供することができる。
The exclusive OR circuit 14 compares the received data value with the output value of the parity check unit 16 including the D flip-flop 13, thereby providing an error detection function for the received data.

【0015】図1において、受信データ値から所定パタ
ーンの先頭ビット列を先頭検出手段で検出し、その検出
信号によりDフリップフロップ13をリセットする。つ
ぎに、パリティチェック部13で先頭ビット列に続くデ
ータを奇数又は偶数のパリティをチェックする。パリテ
ィチェック部13では、クロックと受信データとの論理
積をとり、その結果をDフリップフロップ13のクロッ
ク端子に入力し、Dフリップフロップ13の反転出力を
入力端子に供給して、受信データ中のデータ部の誤りの
有無を検出する。つぎに、パリティチェック部16の出
力と受信データとをExc−OR回路14で排他的論理
和をとり、遅延器17で所定時間のタイミング合わせし
て、末尾検出手段11の検出結果時点のExc−OR回
路14の出力レベルで、フリップフロップ15は出力Q
とする。この構成と作用により、受信データの誤り有無
の検出を行うことができる。
In FIG. 1, a head bit string of a predetermined pattern is detected from a received data value by a head detection means, and the D flip-flop 13 is reset by the detection signal. Next, the parity check unit 13 checks the data following the head bit string for odd or even parity. The parity check unit 13 calculates the logical product of the clock and the received data, inputs the result to the clock terminal of the D flip-flop 13, supplies the inverted output of the D flip-flop 13 to the input terminal, and The presence or absence of an error in the data section is detected. Next, the output of the parity check unit 16 and the received data are exclusive-ORed by the Exc-OR circuit 14, and the delay unit 17 adjusts the timing for a predetermined time. At the output level of OR circuit 14, flip-flop 15 outputs Q
And With this configuration and operation, the presence or absence of an error in the received data can be detected.

【0016】また、フリップフロップ13の代わりに受
信データの先頭検出により初期化され、受信データ値
が"1"のときに反転するフリップフロップを備え、受信
データ内の"1"の数を数える機能を有することによりパ
リティ検出機能を備えることにより、奇数パリティに対
応する検出が可能となり、偶数パリティに対応する場合
とともに、容易に受信データ検出の方式を変換できる。
In addition, instead of the flip-flop 13, there is provided a flip-flop which is initialized by detecting the head of the received data and inverts when the received data value is "1", and counts the number of "1" in the received data. By providing a parity detection function by having a parity detection function, detection corresponding to odd parity can be performed, and the reception data detection method can be easily converted together with the case of supporting even parity.

【0017】また、可変長のシリアル受信データに対し
ても、受信データの誤り検出が可能となり、パリティと
しての機能を提供することができる。
Further, even for variable-length serial received data, error detection of the received data can be performed, and a function as a parity can be provided.

【0018】また、図2に本実施形態としての図1中の
AND12とDフリップフロップ13を含むパリティチ
ェック部16の代わりに、トグル・フリップ・フロップ
(T−FF)を用いた回路図を示す。図2において、1
は先頭検出手段10の出力に相当するスタート信号と受
信データとをANDするAND回路、2は受信データの
反転信号とスタート信号をANDするAND回路、3は
AND回路1の出力をセット端子に、AND回路2の出
力をリセット端子に、受信データを入力に、クロックの
反転信号をクロック端子に供給されて、パリティ信号を
出力するトグル・フリップ・フロップ(T−FF)であ
る。
FIG. 2 is a circuit diagram using a toggle flip-flop (T-FF) instead of the parity check unit 16 including the AND 12 and the D flip-flop 13 in FIG. . In FIG. 2, 1
Is an AND circuit for ANDing a start signal corresponding to the output of the head detection means 10 and the received data, 2 is an AND circuit for ANDing the inverted signal of the received data and the start signal, 3 is the set terminal of the output of the AND circuit 1, A toggle flip-flop (T-FF) that outputs an output of the AND circuit 2 to a reset terminal, input of received data, and an inverted clock signal to a clock terminal to output a parity signal.

【0019】図2において、入力データ列の先頭を表わ
す信号「スタート」と、入力データ列「データ」、並び
に「クロック」とが、トグル・フリップ・フロップ(T
−FF)3に供給され、T−FF3の出力がパリティと
なる。先頭検出手段10の先頭ビット列を検出したとき
である出力「スタート」信号が与えられた時、すなわ
ち、入力データの先頭タイミングにて、T−FF3をセ
ット(1)またはリセット(0)して初期化し、入力デ
ータ列の2ビット目以降では入力データ列が、 1の時:出力値反転(変化有り) 0の時:出力値保持(変化なし) という動作をする。パリティを付加する入力データ列全
ての入力が済んだ時点でのT−FF3出力がパリティビ
ットの値である。
In FIG. 2, a signal "start" representing the head of an input data string, an input data string "data", and a "clock" are represented by a toggle flip-flop (T).
-FF) 3 and the output of T-FF 3 becomes parity. When an output "start" signal, which is a time when the head bit string of the head detection means 10 is detected, is given, that is, at the head timing of the input data, the T-FF3 is set (1) or reset (0) and initialized. In the second and subsequent bits of the input data string, the input data string performs an operation of 1: output value inversion (change) 0: output value hold (no change) The output of the T-FF3 at the time when all the input data strings to which parity is added is the parity bit value.

【0020】[本実施形態の動作の説明]以下、本実施
形態の動作について説明する。
[Explanation of Operation of this Embodiment] The operation of this embodiment will be described below.

【0021】図1によれば、受信データの先頭検出手段
によるフリップフロップ10を"0"に初期化する。受信
データ値として"1"を受信するごとに、フリップフロッ
プ10の出力は反転する。受信データの末尾検出手段に
よるフリップフロップ11の出力がパリティ出力となる
ため、受信データのビット誤りを検出できる。
According to FIG. 1, the flip-flop 10 by the head detecting means of the received data is initialized to "0". Each time "1" is received as the received data value, the output of the flip-flop 10 is inverted. Since the output of the flip-flop 11 by the end detection means of the received data is a parity output, a bit error of the received data can be detected.

【0022】また、図2によれば、まず、初期値設定の
動作について、図3のタイミング図を用いて説明する。
入力データ列の先頭ビット及び先頭ビットと同じタイミ
ングで入力されるスタートビットによりT−FF3の初
期設定がクロックの立ち下がりにより行われる。図2の
回路の場合、 先頭データが1の場合:1(セット) 先頭データが0の場合:0(リセット) となる。図2(a)によれば、スタートビットが1、デ
ータが1の時、AND回路1の出力が1となって、T−
FF3をセットする。また、図2(b)に示す入力デー
タ末尾部分の各部波形で、データ列の最終ビットの入力
後に、パリティとしての0,1のビットが生成する。生
成するパリティが偶数か奇数かにより初期設定は変わ
り、図2と逆に、 先頭データが1の場合:0(リセット) 先頭データが0の場合:1(セット) となることもある。なお、図2では入力データ並びにス
タート信号がクロックの立ち上がりで変化することを前
提に記述しており、入力データとクロックとの同時変化
を避けるためT−FF3はクロックの立ち下がり変化と
記述している。T−FF3の入力変化とクロック変化と
の同時変化を避けるタイミング保証さえ確保されれば、
T−FF3がクロックの立ち下がりで変化する必要はな
い。
Referring to FIG. 2, the operation of setting the initial value will be described first with reference to the timing chart of FIG.
The initial setting of the T-FF 3 is performed at the fall of the clock by the start bit of the input data string and the start bit input at the same timing as the start bit. In the case of the circuit of FIG. 2, when the leading data is 1: 1 (set) When the leading data is 0: 0 (reset). According to FIG. 2A, when the start bit is 1 and the data is 1, the output of the AND circuit 1 becomes 1 and T-
FF3 is set. In addition, in the waveforms at the end of the input data shown in FIG. 2B, after the last bit of the data string is input, 0 and 1 bits are generated as parity. The initial setting changes depending on whether the parity to be generated is an even number or an odd number. Conversely to FIG. 2, when the leading data is 1: 0 (reset) When the leading data is 0: 1 (set). In FIG. 2, it is assumed that the input data and the start signal change at the rising edge of the clock, and the T-FF 3 is described as the falling edge of the clock to avoid the simultaneous change of the input data and the clock. I have. As long as the timing guarantee to avoid the simultaneous change of the input change of the T-FF 3 and the clock change is secured,
The T-FF3 does not need to change at the falling edge of the clock.

【0023】図2に記載のT−FF3は、クロックの立
ち下がりにて、 データが1の時:出力値反転(変化有り) データが0の時:出力値保持(変化なし) という動作をするため、入力データ列の1の数により、
T−FF3の出力値が定まり、T−FF3の出力値をパ
リティとして用いることが出来る。
The T-FF 3 shown in FIG. 2 operates at the falling edge of the clock when data is 1: output value inversion (change) When data is 0: output value is held (no change) Therefore, according to the number of 1s in the input data sequence,
The output value of T-FF3 is determined, and the output value of T-FF3 can be used as parity.

【0024】[0024]

【実施例】以下、本実施例として、パリティチェック部
の動作について具体例を挙げて、図2を参照しつつ説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The operation of the parity check unit will be described below as a specific example with reference to FIG.

【0025】入力信号データ列でのビット数を9とし、
パリティビットを1とし、偶数パリティを条件とする。
入力データ列が、 入力データ:1、0、1、1、0、0、0、1、0 とする。まず最初のビットが1なので、T−FF3はこ
の1とスタートビットにより1に初期化される。2ビッ
ト目以降は入力データが1の時のみT−FF3の出力が
変化するので、T−FF3の出力は入力データの3,
4,8ビット目で変化する。従って、上記の入力データ
9ビットに対するT−FF出力値は、 T−FF3の出力:1、1、0、1、1、1、1、0、0 となり、データ列の最終ビット入力後のT−FF3の出
力は0となるので、パリティは0となる。
When the number of bits in the input signal data sequence is 9,
The parity bit is set to 1, and even parity is used as a condition.
The input data sequence is assumed to be input data: 1, 0, 1, 1, 0, 0, 0, 1, 0. First, since the first bit is 1, T-FF3 is initialized to 1 by this 1 and the start bit. From the second bit on, the output of the T-FF3 changes only when the input data is 1, so that the output of the T-FF3 is
It changes at the 4th and 8th bits. Therefore, the T-FF output value for the above 9 bits of input data is the output of T-FF3: 1, 1, 0, 1, 1, 1, 1, 0, 0, and T-FF after inputting the last bit of the data string. Since the output of -FF3 is 0, the parity is 0.

【0026】[0026]

【発明の効果】このように、本発明によれば、データ長
が長くなっても、回路規模が増大せず、可変長のデータ
に対応できる受信データ誤り検出回路を提供できる。
As described above, according to the present invention, it is possible to provide a received data error detection circuit which can cope with variable length data without increasing the circuit scale even if the data length becomes long.

【0027】また、シフトレジスタはフリップ・フロッ
プの集まりであるから、回路規模の観点で見ると、XO
Rが増えることよりも影響は大きいが、すなわち本T−
FFを用いた方式による回路規模増大防止の効果は著し
いことを示している。
Since the shift register is a group of flip-flops, from the viewpoint of the circuit scale, XO
Although the effect is greater than increasing R,
This shows that the effect of preventing an increase in circuit scale by the method using the FF is remarkable.

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

【図1】本発明による実施形態の回路図である。FIG. 1 is a circuit diagram of an embodiment according to the present invention.

【図2】本発明による実施形態の回路図である。FIG. 2 is a circuit diagram of an embodiment according to the present invention.

【図3】本発明における実施形態での信号タイミング図
である。
FIG. 3 is a signal timing chart according to the embodiment of the present invention.

【図4】従来方式での回路構成ブロック図である。FIG. 4 is a circuit configuration block diagram of a conventional system.

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

1 AND回路 2 AND回路 3 トグル・フリップ・フロップ(TFF) 4 シフトレジスタ 5 XOR回路 10 先頭検出手段(フリップフロップ) 11 末尾検出手段(フリップフロップ) 12 AND 13 Dフリップフロップ 14 排他的論理和 15 フリップフロップ 16 パリティ生成回路 17 遅延回路 DESCRIPTION OF SYMBOLS 1 AND circuit 2 AND circuit 3 Toggle flip-flop (TFF) 4 Shift register 5 XOR circuit 10 Head detection means (flip-flop) 11 End detection means (flip-flop) 12 AND 13 D flip-flop 14 Exclusive OR 15 Flip-flop Step 16 Parity generation circuit 17 Delay circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 シリアルデータ伝送受信回路に用いる受
信データ誤り検出回路において、受信データの先頭を検
出する先頭検出手段と、前記受信データの末尾を検出す
る末尾検出手段と、前記先頭検出手段による受信データ
の先頭検出により初期化され、前記受信データに基づい
て出力値が反転するフリップフロップとから構成され、
前記末尾検出手段による受信データ末尾検出時に前記受
信データのデータ値と前記フリップフロップの出力値と
を比較することにより、前記受信データの誤りを検出す
ることを特徴とする受信データ誤り検出回路。
1. A reception data error detection circuit used in a serial data transmission reception circuit, wherein: a head detection means for detecting the head of the reception data; an end detection means for detecting the end of the reception data; A flip-flop, which is initialized by detecting the head of data and whose output value is inverted based on the received data,
A reception data error detection circuit for detecting an error in the reception data by comparing a data value of the reception data with an output value of the flip-flop when the tail detection means detects the end of the reception data.
【請求項2】 請求項1に記載の受信データ誤り検出回
路において、前記フリップフロップの代わりに、前記先
頭検出手段による受信データの先頭検出により初期化さ
れ、受信データ値が"1"のときに反転する第2のフリッ
プフロップを備え、前記受信データ内の"1"の数を数え
ることによりパリティ検出機能を備えたことを特徴とす
る受信データ誤り検出回路。
2. The reception data error detection circuit according to claim 1, wherein the reception data is initialized by a head detection of the reception data by the head detection means instead of the flip-flop, and when the reception data value is “1”. A reception data error detection circuit comprising: a second flip-flop for inverting; and a parity detection function by counting the number of "1" in the reception data.
【請求項3】 請求項1又は2に記載の受信データ誤り
検出回路において、可変長の前記受信データに対して前
記受信データの誤りを検出することを特徴とする受信デ
ータ誤り検出回路。
3. The reception data error detection circuit according to claim 1, wherein an error in the reception data is detected with respect to the reception data having a variable length.
JP10365056A 1998-12-22 1998-12-22 Received data error detection circuit Pending JP2000188591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10365056A JP2000188591A (en) 1998-12-22 1998-12-22 Received data error detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10365056A JP2000188591A (en) 1998-12-22 1998-12-22 Received data error detection circuit

Publications (1)

Publication Number Publication Date
JP2000188591A true JP2000188591A (en) 2000-07-04

Family

ID=18483330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10365056A Pending JP2000188591A (en) 1998-12-22 1998-12-22 Received data error detection circuit

Country Status (1)

Country Link
JP (1) JP2000188591A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020055519A (en) * 2000-12-28 2002-07-09 엘지전자 주식회사 error detection apparatus in communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020055519A (en) * 2000-12-28 2002-07-09 엘지전자 주식회사 error detection apparatus in communication system

Similar Documents

Publication Publication Date Title
US5777567A (en) System and method for serial to parallel data conversion using delay line
KR100688516B1 (en) Method for serial data communication using a single line and apparatus therefor
JP3433426B2 (en) Method and apparatus for decoding Manchester encoded data
US6985546B2 (en) Transmitting circuit and method thereof, receiving circuit and method thereof, and data communication apparatus
US5408476A (en) One bit error correction method having actual data reproduction function
JPWO2004064351A1 (en) Asynchronous transmission method and circuit thereof
JP2000188591A (en) Received data error detection circuit
US6970527B2 (en) Transmitting circuit and method thereof, receiving circuit and method thereof, and data communication apparatus
US8122334B2 (en) Parity error detecting circuit and method
US5510786A (en) CMI encoder circuit
JPH1155231A (en) Serial interface device
JP3217993B2 (en) Parity check circuit
JP3001414B2 (en) Code error correction device
JPH06252874A (en) Word synchronization detection circuit
JP2698287B2 (en) Receiver circuit for asynchronous communication
JP2735760B2 (en) Pattern detection circuit
JP3316882B2 (en) Pattern match / mismatch detection circuit
JP2715953B2 (en) Synchronous circuit
JPH05191297A (en) Serial/parallel conversion circuit
JPH08251238A (en) Data communication method
JPH0388535A (en) Received data processor
JPH08102679A (en) Crc error detecting circuit
JPH1173740A (en) Device and method for correcting error of channel stream
JP2001168729A (en) Data transmission system
JPS61158232A (en) Sequential preamble signal detecting circuit