KR102079729B1 - Apparatus for detecting communication error and communication system having the same - Google Patents
Apparatus for detecting communication error and communication system having the same Download PDFInfo
- Publication number
- KR102079729B1 KR102079729B1 KR1020130082005A KR20130082005A KR102079729B1 KR 102079729 B1 KR102079729 B1 KR 102079729B1 KR 1020130082005 A KR1020130082005 A KR 1020130082005A KR 20130082005 A KR20130082005 A KR 20130082005A KR 102079729 B1 KR102079729 B1 KR 102079729B1
- Authority
- KR
- South Korea
- Prior art keywords
- signal
- pattern data
- data
- clock signal
- pattern
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/20—Arrangements for detecting or preventing errors in the information received using signal quality detector
- H04L1/203—Details of error rate determination, e.g. BER, FER or WER
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/20—Arrangements for detecting or preventing errors in the information received using signal quality detector
- H04L1/206—Arrangements for detecting or preventing errors in the information received using signal quality detector for modulated signals
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
본 발명은 수신기에 내장될 뿐만 아니라 안정적인 동작을 수행하는 통신 에러 검출 장치 및 이를 구비하는 통신 시스템을 제공하기 위한 것이다. 본 발명은, 송신기로부터 송신되는 특정한 패턴 데이터가 포함된 송신 신호를 수신하여 처리하는 수신기에 구비되며, 제어 클럭 신호를 출력하는 제어 논리부; 상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및 상기 패턴 데이터와 상기 기준 데이터가 입력되며, 초기에 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 먼저 수행한 이후에, 상기 송신 신호의 에러를 검출하는 에러 검출부를 구비하는 통신 에러 검출 장치를 제공한다.The present invention is to provide a communication error detection device and a communication system having the same that is built in the receiver as well as performing a stable operation. The present invention includes a control logic unit provided in a receiver for receiving and processing a transmission signal including specific pattern data transmitted from a transmitter, and outputting a control clock signal; A reference data generator which receives the control clock signal and outputs reference data; And inputting the pattern data and the reference data, and initially performing an initial data setting operation for matching the sequence of the pattern data with the sequence of the reference data, and then detecting an error of the transmission signal. A communication error detection device having an error detection unit is provided.
Description
본 발명은 송신기로부터 송신되어 수신기에 수신되는 데이터의 에러를 검출하는 통신 에러 검출 장치 및 이를 구비하는 통신 시스템에 관한 것이다.The present invention relates to a communication error detecting apparatus for detecting an error of data transmitted from a transmitter and received at a receiver, and a communication system having the same.
장치와 장치 사이에는 다양한 종류의 전기 신호가 전송된다. 여기서, 전기 신호를 전송하는 장치는 송신기에 해당하고, 신호를 수신하는 장치는 수신기에 해당한다. 신호를 송신하고 수신하는 장치들은 집적회로 칩들, 전자기기들, 이동통신단말기들, 인터페이스들 등으로 구성될 수 있다. 이와 같이, 송신기에서 전기 신호를 송신하면 수신기는 이를 수신하여 신호 처리를 수행한 다음, 디스플레이 장치나 스피커를 통해서 신호를 출력하여 사용자에게 알려준다. Various types of electrical signals are transmitted between the device and the device. Here, the apparatus for transmitting the electrical signal corresponds to the transmitter, and the apparatus for receiving the signal corresponds to the receiver. Devices for transmitting and receiving signals may be comprised of integrated circuit chips, electronic devices, mobile communication terminals, interfaces, and the like. As such, when the transmitter transmits an electrical signal, the receiver receives the signal and performs signal processing, and then outputs the signal through a display device or a speaker to inform the user.
송신기에서 송신되는 신호가 그대로 수신기에 수신되는 것이 이상적이다. 하지만, 실제로는 송신 신호가 송신되는 과정에서 외부 환경이나, 전송 수단에 의해 송신 신호에는 노이즈(noise)가 포함될 수 있다. 이러한 노이즈는 일반적으로는 수신기의 노이즈 제거 회로에 의해 제거된다. 노이즈를 제거하기 위해서는 송신 신호에 노이즈가 포함되어 있는지 확인하는 노이즈 검출 장치가 요구된다. 노이즈 검출 장치는 대부분 송신기와 수신기와는 별도로 구비된다. 뿐만 아니라, 노이즈 검출 장치가 수신기에 내장되는 경우에 송신기와 수신기에서 사용되는 클럭 신호의 주파수가 매우 높아서 회로의 설계가 어렵고, 회로 동작의 안정성도 떨어진다. Ideally, the signal sent from the transmitter is received by the receiver as it is. In reality, however, the transmission signal may include noise in the external environment or by the transmission means in the process of transmitting the transmission signal. This noise is generally removed by the noise cancellation circuit of the receiver. In order to remove the noise, a noise detection device for checking whether the transmission signal contains noise is required. Most noise detection devices are provided separately from the transmitter and the receiver. In addition, when the noise detection device is embedded in the receiver, the frequency of the clock signal used in the transmitter and the receiver is very high, making it difficult to design the circuit and reducing the stability of the circuit operation.
본 발명은 수신기에 내장될 뿐만 아니라 안정적인 동작을 수행하는 통신 에러 검출 장치 및 이를 구비하는 통신 시스템을 제공하기 위한 것이다. The present invention is to provide a communication error detection device and a communication system having the same that is built in the receiver as well as performing a stable operation.
상기 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 통신 에러 검출 장치는,Communication error detection apparatus according to an embodiment of the present invention to solve the above problems,
송신기로부터 특정한 패턴 데이터가 포함된 송신 신호를 수신하여 처리하는 수신기에 구비되는 통신 에러 검출 장치에 있어서, 제어 클럭 신호를 출력하는 제어 논리부; 상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및 상기 패턴 데이터와 상기 기준 데이터가 입력되며, 초기에 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 먼저 수행한 이후에, 상기 송신 신호의 에러를 검출하는 에러 검출부를 구비한다.A communication error detection apparatus provided in a receiver for receiving and processing a transmission signal including specific pattern data from a transmitter, the apparatus comprising: a control logic unit configured to output a control clock signal; A reference data generator which receives the control clock signal and outputs reference data; And inputting the pattern data and the reference data, and initially performing an initial data setting operation for matching the sequence of the pattern data with the sequence of the reference data, and then detecting an error of the transmission signal. An error detection unit is provided.
상기 과제를 해결하기 위하여 본 발명의 다른 실시예에 따른 통신 에러 검출 장치는,Communication error detection apparatus according to another embodiment of the present invention to solve the above problems,
송신기로부터 특정한 패턴 데이터가 포함된 송신 신호를 수신하여 처리하는 수신기에 구비되는 통신 에러 검출 장치에 있어서, 상기 패턴 데이터를 입력하고, 상기 패턴 데이터를 복수개로 분리하는 패턴 데이터 분리부; 각각, 상기 복수개의 패턴 데이터 중 하나가 입력되고, 상기 입력되는 패턴 데이터의 에러를 검출하는 복수개의 씨드 얼라이너(seed aligner)들; 및 상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 신호의 송신 에러 신호로써 출력하는 출력부를 구비한다.A communication error detection apparatus provided in a receiver for receiving and processing a transmission signal including specific pattern data from a transmitter, the apparatus comprising: a pattern data separation unit for inputting the pattern data and separating the pattern data into a plurality; A plurality of seed aligners, each of which receives one of the plurality of pattern data and detects an error of the input pattern data; And an output unit which combines the error signals output from the plurality of seed aligners and outputs the transmission error signal of the transmission signal.
상기 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 통신 시스템은,In order to solve the above problems, a communication system according to an embodiment of the present invention,
특정한 패턴 데이터를 생성하여 출력하는 패턴 발생부와, 상기 패턴 데이터를 포함하는 송신 신호를 송신하는 송신부를 포함하는 송신기; 및 상기 송신 신호를 수신하는 수신기;를 구비하고, 상기 수신기는 통신 에러 검출 장치를 포함하며, 상기 통신 에러 검출 장치는, 제어 클럭 신호를 출력하는 제어 논리부; 상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및 상기 패턴 데이터와 상기 기준 데이터가 입력되며, 초기에 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 먼저 수행한 이후에, 상기 송신 신호의 에러를 검출하는 에러 검출부를 갖는다.A transmitter including a pattern generator for generating and outputting specific pattern data and a transmitter for transmitting a transmission signal including the pattern data; And a receiver for receiving the transmission signal, wherein the receiver comprises a communication error detection device, wherein the communication error detection device comprises: a control logic unit configured to output a control clock signal; A reference data generator which receives the control clock signal and outputs reference data; And an error detection unit configured to detect an error of the transmission signal after first performing an initial data setting operation for inputting the pattern data and the reference data and matching the sequence of the pattern data with the sequence of the reference data. Have
상기 과제를 해결하기 위하여 본 발명의 다른 실시예에 따른 통신 시스템은,In order to solve the above problems, a communication system according to another embodiment of the present invention,
복수개의 서브 패턴 데이터를 생성하고, 상기 복수개의 서브 패턴 데이터를 하나로 결합한 패턴 데이터를 출력하는 패턴 발생부와, 상기 패턴 발생부에서 출력되는 패턴 데이터를 포함하는 송신 신호를 송신하는 송신부를 포함하는 송신기; 및 상기 송신 신호를 수신하는 수신기;를 구비하며, 상기 수신기는 통신 에러 검출 장치를 포함하며, 상기 통신 에러 검출 장치는, 상기 패턴 데이터가 입력되고, 상기 패턴 데이터를 상기 복수개의 서브 패턴 데이터로 분리하는 패턴 데이터 분리부; 각각, 상기 복수개의 서브 패턴 데이터 중 하나가 입력되고, 상기 입력되는 서브 패턴 데이터의 에러를 검출하는 복수개의 씨드 얼라이너(seed aligner)들; 및 상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 신호의 송신 에러 신호로써 출력하는 출력부를 갖는다.A transmitter including a pattern generator for generating a plurality of sub-pattern data and outputting pattern data combining the plurality of sub-pattern data into one, and a transmitter for transmitting a transmission signal including the pattern data output from the pattern generator ; And a receiver for receiving the transmission signal, wherein the receiver comprises a communication error detection device, wherein the communication error detection device receives the pattern data and separates the pattern data into the plurality of sub pattern data. A pattern data separator; A plurality of seed aligners, each of which receives one of the plurality of subpattern data and detects an error of the input subpattern data; And an output unit for combining the error signals output from the plurality of seed aligners and outputting the transmission error signal of the transmission signal.
상술한 바와 같이 본 발명에 따르면, 통신 시스템의 수신기에 통신 에러 검출 장치를 구비한다. 따라서, 송신기로부터 송신되는 송신 신호의 비트 에러율을 용이하게 측정할 수가 있다. As described above, according to the present invention, a communication error detection device is provided in a receiver of a communication system. Therefore, the bit error rate of the transmission signal transmitted from the transmitter can be easily measured.
또한, 본 발명에 따른 통신 에러 검출 장치는 패턴 데이터를 복수개의 패턴 데이터로 분리하여 처리함으로써, 통신 에러 검출 장치의 데이터 처리 속도가 2배로 낮아져서, 송신 신호의 에러 비트를 안정적으로 검출할 수가 있다. In addition, the communication error detection apparatus according to the present invention separates and processes the pattern data into a plurality of pattern data, thereby lowering the data processing speed of the communication error detection apparatus by twice, and stably detecting the error bits of the transmission signal.
도 1은 본 발명의 제1 실시예에 따른 통신 시스템의 블록도이다.
도 2는 도 1에 도시된 통신 에러 검출 장치의 블록도이다.
도 3은 도 2에 도시된 제어 논리부의 블록도이다.
도 4는 도 2에 도시된 에러 검출부의 블록도이다.
도 5는 도 2에 도시된 통신 에러 검출 장치의 신호들의 타이밍도이다.
도 6은 본 발명의 제2 실시예에 따른 통신 시스템의 블록도이다.
도 7은 도 6에 도시된 패턴 발생부의 제1 실시예에 따른 블록도이다.
도 8은 도 7에 도시된 패턴 발생부의 신호들의 타이밍도이다.
도 9는 도 6에 도시된 통신 에러 검출 장치의 제1 실시예에 따른 블록도이다.
도 10A 및 도 10B는 도 9에 도시된 통신 에러 검출 장치의 신호들의 타이밍도이다.
도 11은 도 6에 도시된 패턴 발생부의 제2 실시예에 따른 블록도이다.
도 12는 도 11에 도시된 패턴 발생부의 신호들의 타이밍도이다.
도 13은 도 6에 도시된 통신 에러 검출 장치의 제2 실시예에 따른 블록도이다.
도 14A 및 도 14B는 도 13에 도시된 신호들의 타이밍도이다.1 is a block diagram of a communication system according to a first embodiment of the present invention.
2 is a block diagram of the communication error detection apparatus shown in FIG. 1.
FIG. 3 is a block diagram of the control logic unit shown in FIG. 2.
4 is a block diagram of an error detector illustrated in FIG. 2.
FIG. 5 is a timing diagram of signals of the communication error detection apparatus shown in FIG. 2.
6 is a block diagram of a communication system according to a second embodiment of the present invention.
FIG. 7 is a block diagram illustrating a first embodiment of the pattern generator illustrated in FIG. 6.
FIG. 8 is a timing diagram of signals of the pattern generator illustrated in FIG. 7.
9 is a block diagram according to a first embodiment of the communication error detection apparatus shown in FIG. 6.
10A and 10B are timing diagrams of signals of the communication error detection apparatus shown in FIG.
FIG. 11 is a block diagram illustrating a second embodiment of the pattern generator illustrated in FIG. 6.
FIG. 12 is a timing diagram of signals of the pattern generator illustrated in FIG. 11.
13 is a block diagram according to a second embodiment of the communication error detection apparatus shown in FIG. 6.
14A and 14B are timing diagrams of the signals shown in FIG.
이하, 첨부한 도면들을 참고하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예에 대하여 상세히 설명하기로 한다. 각 도면에 제시된 참조부호들 중 동일한 참조부호는 동일한 부재를 나타낸다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. The same reference numerals among the reference numerals shown in each drawing represent the same members.
도 1은 본 발명의 제1 실시예에 따른 통신 시스템(101)의 블록도이다. 도 1을 참조하면 통신 시스템(101)은 송신기(110)와 수신기(120)를 구비한다.1 is a block diagram of a
송신기(110)는 패턴 발생부(111)와 송신부(113)를 구비한다. 패턴 발생부(111)는 특정한 패턴을 갖는 패턴 데이터(TDT)를 생성한다. 예컨대, 패턴 발생부(111)는 선형 피드백 시프트 레지스터(Linear Feedback Shift Register)를 구비하여 패턴 데이터(TDT)를 생성한다. 송신부(113)는 패턴 데이터(TDT)를 포함하는 송신 신호(TX)를 송신하기에 적합한 상태, 예컨대 변조(modulation)하여 수신기(120)로 송신한다. The
수신기(120)는 수신부(121)와 통신 에러 검출 장치(123) 및 카운터(125)를 구비한다. 수신부(121)는 송신기(110)로부터 송신되는 신호(RX)를 수신하고, 상기 수신된 신호(RX)를 수신기(120) 내부에서 처리하기에 적합한 상태, 예컨대 복조(demodulation)한다. 이 때, 수신부(121)는 수신 신호(RX)에 포함된 패턴 데이터(TDTR)를 추출하여 통신 에러 검출 장치(123)로 전달한다. 통신 에러 검출 장치(123)는 패턴 데이터(TDTR)가 입력되고, 패턴 데이터(TDTR)가 송신 과정에서 에러가 발생하였는지 여부를 검출한다. 통신 에러 검출 장치(123)는 송신기(110)에 구비되는 패턴 발생부(111)와 동일한 장치, 예컨대 선형 피드백 시프트 레지스터를 구비한다. 즉, 패턴 발생부(111)에서 발생되는 패턴 데이터(TDT)와 통신 에러 검출 장치(123)에서 생성되는 기준 데이터가 동일하게 구성된다. 이와 같이, 패턴 발생부(111)에서 출력하는 패턴 데이터(TDT)와 통신 에러 검출 장치(123)에서 출력되는 기준 데이터를 비교함으로써, 수신된 신호(RX)에 에러가 발생하였는지 여부를 정확하게 검출할 수가 있다. 카운터(125)는 통신 에러 검출 장치(123)에서 출력되는 에러 신호(ER)를 받아서 카운트하여 수신 신호(RX)의 비트 에러율을 측정한다.The
상술한 바와 같이, 수신기(120)에 통신 에러 검출 장치(123)를 구비함으로써, 송신기(110)로부터 송신되어 수신기(120)에 수신된 신호(RX)의 비트 에러율을 용이하게 측정할 수가 있다. 즉, 지금까지는 외부 장치를 이용하여 수신 신호(RX)의 비트 에러율을 측정하다 보니 어려움이 많이 있지만, 본 발명은 통신 에러 검출 장치(123)를 수신기(120)의 내부에 구비함으로써 이러한 어려움을 해결할 수가 있다. As described above, by providing the communication
도 2는 도 1에 도시된 통신 에러 검출 장치(123)의 블록도이다. 도 2를 참조하면, 통신 에러 검출 장치(123)는 제어 논리부(210), 기준 데이터 발생부(220), 및 에러 검출부(230)를 구비한다. 2 is a block diagram of the communication
제어 논리부(210)는 외부 신호(RST, DCLK, FLG)의 제어를 받아서 제어 클럭 신호(CLKO)를 출력한다. 즉, 제어 논리부(210)는 외부에서 제공하는 리셋(reset) 신호(RST)와 외부 클럭 신호(DCLK) 및 에러 검출부(230)에서 출력되는 플래그(flag) 신호(FLG)가 입력되고, 제어 클럭 신호(CLKO)를 출력한다. 제어 논리부(210)는 리셋 신호(RST)가 활성화되면, 소정 주기 동안 외부 클럭 신호(DCLK)에 동기되어 제어 클럭 신호(CLKO)를 출력한다. 초기에 플래그 신호(FLG)는 비활성화 상태로 유지된다. 따라서, 초기에 제어 논리부(210)는 플래그 신호(FLG)의 영향을 받지 않는다. 제어 논리부(210)는 상기 소정 주기 이후에는 제어 클럭 신호(CLKO)를 출력하지 않고 있다가, 플래그 신호(FLG)가 활성화되면 제어 클럭 신호(CLKO)를 다시 출력한다. 제어 논리부(210)에 대해서는 도 3을 통하여 상세히 설명하기로 한다. The
기준 데이터 발생부(220)는 리셋 신호(RST)와 제어 클럭 신호(CLKO)가 입력되고, 기준 데이터(RDT)를 출력한다. 기준 데이터 발생부(220)는 리셋 신호(RST)가 활성화되면 리셋되며, 이 상태에서 제어 클럭 신호(CLKO)에 응답하여 기준 데이터(RDT)를 생성하여 출력한다. 기준 데이터 발생부(220)는 선형 피드백 시프트 레지스터(Linear Feedback Shift Register)를 구비할 수 있다. 따라서, 선형 피드백 시프트 레지스터는 제어 클럭 신호(CLKO)를 시프팅(shifting)시켜서 기준 데이터(RDT)를 출력한다. 기준 데이터 발생부(220)는 송신기(110)에 구비되는 패턴 발생부(111)와 동일하게 구성되는 것이 바람직하다. 따라서, 기준 데이터 발생부(220)는 패턴 발생부(111)와 동일한 기준 데이터(RDT)를 생성한다. The
에러 검출부(230)는 패턴 데이터(TDTR), 리셋 신호(RST), 외부 클럭 신호(DCLK), 기준 데이터(RDT), 제어 클럭 신호(CLKO)가 입력되고, 플래그 신호(FLG) 및 에러 신호(ER)를 출력한다. 에러 검출부(230)는 리셋 신호(RST)가 활성화되면 리셋되며, 이 상태에서 외부 클럭 신호(DCLK)와 제어 클럭 신호(CLKO)에 동기되어 패턴 데이터(TDTR)와 기준 데이터(RDT)를 비교하여 수신된 신호(RX)의 에러를 검출한다. 수신된 신호(RX)에서 에러가 검출되면 에러 신호(ER)가 특정 시간 동안 활성화되어 수신된 신호(RX)의 에러가 발생하였음을 외부에 알려준다. 플래그 신호(FLG)는 초기에 통신 에러 검출 장치(123)가 초기 데이터 설정 동작을 수행하는 동안 비활성화 상태로 유지되고, 상기 초기 데이터 설정 동작이 종료되면 활성화된다.The
에러 검출부(230)는 수신된 신호(RX)의 에러를 검출하기 전 초기에, 즉, 수신기(120)가 동작을 시작하는 초기에 패턴 데이터(TDTR)의 시퀀스(sequence)와 기준 데이터 발생부(220)에서 출력되는 기준 데이터(RDT)의 시퀀스를 비교하여 일치시키는 초기 데이터 설정 동작을 수행한다. 상기 초기 데이터 설정 동작에서 패턴 데이터(TDTR)의 시퀀스와 기준 데이터(RDT)의 시퀀스가 일치하면, 에러 검출부(230)는 플래그 신호(FLG)를 활성화시킨다. 상기 초기 데이터 설정 동작 동안에 플래그 신호(FLG)는 비활성화 상태로 유지된다. The
이와 같이, 통신 에러 검출 장치(123)는 초기에 패턴 데이터(TDTR)의 시퀀스와 기준 데이터(RDT)의 시퀀스를 비교하여 일치시키는 초기 데이터 설정 동작을 먼저 수행한 이후에 수신된 신호(RX)의 에러를 검출한다. 따라서, 동작이 간단하여 통신 에러 검출 장치(123)의 크기가 감소된다. As such, the communication
도 3은 도 2에 도시된 제어 논리부(210)의 블록도이다. 도 3을 참조하면, 제어 논리부(210)는 카운터(counter)(211), 래치(latch)(212), 오아 게이트(OR gate) (213), 앤드 게이트(AND gate) (214)를 구비한다. 3 is a block diagram of the
카운터(211)는 리셋 신호(RST)와 외부 클럭 신호(DCLK)가 입력되고, 카운터 인에이블 신호(CT_EN)를 출력한다. 카운터(211)는 리셋 신호(RST)가 인가되면, 외부 클럭 신호(DCLK)의 소정 주기(도 5의 m) 동안 카운터 인에이블 신호(CT-EN)를 활성화하여, 예컨대 논리 하이 상태로써 출력한다. The
래치(212)는 플래그 신호(FLG)가 입력되고, 비교 결과 신호(COML)를 출력한다. 즉, 래치(212)는 플래그 신호(FLG)에 응답하여 비교 결과 신호(COML)를 출력한다. 래치(212)는 지연 플립플롭(flipflop)으로 구성될 수 있다. The
오아 게이트(213)는 카운터 인에이블 신호(CT-EN)와 비교 결과 신호(COML)가 입력되고, 클럭 인에이블 신호(CLK_EN)를 출력한다. 즉, 오아 게이트(213)는 카운터 인에이블 신호(CT_EN)와 비교 결과 신호(COML) 중 어느 하나가 논리 하이일 때 클럭 인에이블 신호(CLK_EN)를 논리 하이로써 출력한다. The OR
앤드 게이트(214)는 클럭 인에이블 신호(CLK_EN)와 외부 클럭 신호(DCLK)가 입력되고, 제어 클럭 신호(CLKO)를 출력한다. 즉, 앤드 게이트(214)는 클럭 인에이블 신호(CLK_EN)와 외부 클럭 신호(DCLK) 중 어느 하나라도 논리 로우(logic low)이면 제어 클럭 신호(CLKO)를 논리 로우로써 출력한다.The AND
제어 논리부(123A)의 전체적인 동작은 다음과 같다.The overall operation of the control logic unit 123A is as follows.
초기에 플래그 신호(FLG)가 비활성화되고, 그에 따라 비교 결과 신호(COML)는 비활성화된다. 이 상태에서 리셋 신호(RST)가 활성화되면 카운터 인에이블 신호(CT_EN)는 외부 클럭 신호(DCLK)의 소정 주기(도 5의 m) 동안 활성화되고, 이에 따라 클럭 인에이블 신호(CLK_EN)도 상기 소정 주기 동안 활성화된다. 따라서, 제어 클럭 신호(CLKO)는 상기 소정 주기 동안 외부 클럭 신호(DCLK)에 동기되어 발생된다. 상기 소정 주기가 지나면 카운터 인에이블 신호(CT_EN)는 비활성화되고, 그에 따라 클럭 인에이블 신호(CLK_EN)도 비활성화되며, 제어 클럭 신호(CLKO)도 발생하지 않게 된다. 그러다가, 플래그 신호(FLG)가 활성화되면, 비교 결과 신호(COML)가 활성화되고, 그에 따라 클럭 인에이블 신호(CLK_EN)가 활성화되어 외부 클럭 신호(DCLK)에 동기되어 제어 클럭 신호(CLKO)가 다시 발생하게 된다. Initially, the flag signal FLG is deactivated, and accordingly, the comparison result signal COML is deactivated. In this state, when the reset signal RST is activated, the counter enable signal CT_EN is activated for a predetermined period (m in FIG. 5) of the external clock signal DCLK, and accordingly, the clock enable signal CLK_EN is also predetermined. It is activated during the cycle. Therefore, the control clock signal CLKO is generated in synchronization with the external clock signal DCLK during the predetermined period. After the predetermined period has passed, the counter enable signal CT_EN is inactivated, and thus the clock enable signal CLK_EN is also inactivated and the control clock signal CLKO is not generated. When the flag signal FLG is activated, the comparison result signal COML is activated, and accordingly, the clock enable signal CLK_EN is activated, and the control clock signal CLKO is synchronized again with the external clock signal DCLK. Will occur.
도 4는 도 2에 도시된 에러 검출부(230)의 블록도이다. 도 4를 참조하면, 에러 검출부(230)는 패턴 데이터 시프팅(shifting)부(231), 기준 데이터 시프팅부(232), 및 데이터 비교부(233)를 구비한다. 4 is a block diagram of the
패턴 데이터 시프팅부(231)는 패턴 데이터(TDTR), 리셋 신호(RST) 및 외부 클럭 신호(DCLK)가 입력되고, 출력 신호를 데이터 비교부(233)로 전송한다. 패턴 데이터 시프팅부(231)는 리셋 신호(RST)가 활성화되면 리셋되며, 외부 클럭 신호(DCLK)에 동기되어 패턴 데이터(TDTR)를 시프팅시켜서 출력한다. 패턴 데이터 시프팅부(231)는 패턴 데이터(TDTR)를 비트(bit) 단위로 병렬로 출력한다. 패턴 데이터 시프팅부(231)는 신호를 시프팅시키는 시프터 레지스터(shift register)를 구비한다. The pattern
기준 데이터 시프팅부(232)는 기준 데이터(RDT), 리셋 신호(RST) 및 제어 클럭 신호(CLKO)가 입력되고, 출력 신호를 데이터 비교부(233)로 전송한다. 기준 데이터 시프팅부(232)는 리셋 신호(RST)가 활성화되면 리셋되며, 제어 클럭 신호(CLKO)에 동기되어 기준 데이터(RDT)를 시프팅시켜서 출력한다. 기준 데이터 시프팅부(232)는 기준 데이터(RDT)를 비트 단위로 병렬로 출력한다. 기준 데이터 시프팅부(232)는 신호를 시프팅시키는 시프터 레지스터를 구비한다. 패턴 데이터 시프팅부(231)에 구비되는 시프터 레지스터와 기준 데이터 시프팅부(232)에 구비되는 시프터 레지스터는 동일한 것으로 구성될 수 있다. The reference
데이터 비교부(233)는 패턴 데이터 시프팅부(231)에서 출력되는 데이터와 기준 데이터 시프팅부(232)에서 출력되는 데이터를 비트별로 비교하며, 이들 데이터 각각의 비트 수에 해당하는 복수개의 XOR 게이트(exclusive OR gate) 또는 XNOR 게이트(exclusive NOR gate)들(233a■233n)을 구비한다. 따라서, 패턴 데이터 시프팅부(231)에서 출력되는 데이터의 비트들과 기준 데이터 시프팅부(232)에서 출력되는 데이터의 비트들이 일치하지 않을 경우에 해당되는 XOR 게이트들은 논리 "1"을 출력(XNOR 게이트들(233a■233n)의 경우에는 논리 "0"을 출력)한다. 데이터 비교부(233)에 복수개의 XNOR 게이트들(233a■233n)이 구비될 경우에 데이터 비교부(233)의 출력단에 인버터(235)를 더 연결하여 데이터 비교부(233)에서 출력되는 에러 신호를 반전시켜서 발생되는 신호(ER)를 출력한다. 데이터 비교부(233)는 패턴 데이터(TDTR)에 에러가 검출되지 않는 경우에 플래그 신호(FLG)를 활성화시켜서, 예컨대 논리 하이로써 출력한다. 플래그 신호(FLG)의 안정화를 위해 데이터 비교부(233)의 출력단에 버퍼(234)를 연결하고, 버퍼(234)를 통해 플래그 신호(FLG)가 출력되게 할 수 있다. The
이와 같이, 에러 검출부(123C)는, 패턴 데이터(TDTR)와 기준 데이터(RDT)를 비트 별로 비교하여 패턴 데이터(TDTR)의 에러를 검출한다. 따라서, 패턴 데이터(TDTR)의 에러를 카운트함으로써, 수신된 신호(RX)의 비트 에러율이 정확하게 측정될 수가 있다. In this way, the error detection unit 123C compares the pattern data TDTR and the reference data RDT bit by bit to detect an error of the pattern data TDTR. Therefore, by counting the error of the pattern data TDTR, the bit error rate of the received signal RX can be measured accurately.
도 5는 도 2에 도시된 통신 에러 검출 장치(123)의 신호들의 타이밍도이다. 도 3 내지 도 5를 참조하여, 도 2에 도시된 통신 에러 검출 장치(123)의 동작을 설명하기로 한다. 5 is a timing diagram of signals of the communication
통신 에러 검출 장치(123)는 수신된 신호(RX)의 에러를 검출하기 전에 초기 데이터 설정 동작을 먼저 수행한다. 즉, 통신 에러 검출 장치(123)는 상기 초기 데이터 설정 동작을 통하여 수신된 신호(RX)에 포함된 패턴 데이터(TDTR)의 시퀀스와 통신 에러 검출 장치(123)가 생성하는 기준 데이터(RDT)의 시퀀스를 일치시킨다. The communication
통신 에러 검출 장치(123)가 상기 초기 데이터 설정 동작을 수행하는 과정은 다음과 같다. 제어 논리부(123A)는 소정 주기(m) 동안 제어 클럭 신호(CLKO)를 출력하고, 기준 데이터 발생부(220)는 제어 클럭 신호(CLKO)에 응답하여 초기 기준 데이터(RDT)를 출력하며, 에러 검출부(123C)는 수신된 신호(RX) 중 초기에 송신되는 초기 수신된 신호(RX)에 포함된 패턴 데이터(TDTR)의 시퀀스와 상기 초기 기준 데이터(RDT)의 시퀀스를 비교한다. 상기 비교 동작을 수행하다가, 상기 두 데이터의 시퀀스가 일치할 때, 통신 에러 검출 장치(123)는 상기 초기 데이터 설정 동작을 종료한다. The communication
구체적으로, 초기에 플래그 신호(FLG)는 비활성화되고, 그에 따라 비교 결과 신호(COML)는 비활성화된다. 이 상태에서, 리셋 신호(RST)가 활성화되면 카운터 인에이블 신호(CT_EN)는 외부 클럭 신호(DCLK)의 소정 주기(m) 동안 활성화되고, 이에 따라 클럭 인에이블 신호(CT_EN)도 상기 소정 주기(m) 동안 활성화된다. 따라서, 제어 클럭 신호(CLKO)는 상기 소정 주기(m) 동안 외부 클럭 신호(DCLK)에 동기되어 발생된다. 상기 소정 주기(m)가 지나면 카운터 인에이블 신호(CT_EN)는 비활성화되고, 그에 따라 클럭 인에이블 신호(CLK_EN)도 비활성화되며, 제어 클럭 신호(CLKO)도 발생하지 않게 된다. 제어 클럭 신호(CLKO)가 발생하지 않으면, 기준 데이터(RDT)도 발생하지 않게 되어 이 기간(p) 동안 에러 검출부(123C)는 수신된 신호(RX)의 에러를 검출하는 동작을 중지한다. 이 상태에서, 패턴 데이터(TDTR)의 시퀀스와 기준 데이터(RDT)의 시퀀스가 일치하면, 플래그 신호(FLG)가 활성화된다. 그에 따라 비교 결과 신호(COML)가 활성화되어 클럭 인에이블 신호(CLK_EN)도 다시 활성화된다. 따라서, 제어 클럭 신호(CLKO)도 외부 클럭 신호(DCLK)에 동기되어 다시 발생하게 된다. 그러면, 기준 데이터 발생부(220)는 기준 데이터(RDT)를 출력하여 에러 검출부(123C)로 전달하게 되며, 그에 따라 에러 검출부(123C)는 수신된 신호(RX)의 에러를 검출하게 된다. 에러 신호(ER)는 플래그 신호(FLG)와 비교 결과 신호(COML)가 모두 활성화될 때 발생된다. Specifically, the flag signal FLG is initially deactivated, and thus the comparison result signal COML is deactivated. In this state, when the reset signal RST is activated, the counter enable signal CT_EN is activated for a predetermined period m of the external clock signal DCLK, and accordingly, the clock enable signal CT_EN is also set in the predetermined period ( m) is activated during. Therefore, the control clock signal CLKO is generated in synchronization with the external clock signal DCLK during the predetermined period m. After the predetermined period m has passed, the counter enable signal CT_EN is inactivated. Accordingly, the clock enable signal CLK_EN is also inactivated and the control clock signal CLKO is not generated. If the control clock signal CLKO does not occur, the reference data RDT does not occur, and the error detector 123C stops the operation of detecting an error of the received signal RX during this period p. In this state, if the sequence of the pattern data TDTR and the sequence of the reference data RDT match, the flag signal FLG is activated. Accordingly, the comparison result signal COML is activated, and the clock enable signal CLK_EN is also activated again. Therefore, the control clock signal CLKO is also generated again in synchronization with the external clock signal DCLK. Then, the
도 6은 본 발명의 제2 실시예에 따른 통신 시스템의 블록도이다. 도 6을 참조하면, 통신 시스템(601)은 송신기(610)와 수신기(620)를 구비한다.6 is a block diagram of a communication system according to a second embodiment of the present invention. Referring to FIG. 6, the
송신기(610)는 패턴 발생부(611)와 송신부(613)를 구비한다. 패턴 발생부(611)는 특정한 패턴을 갖는 패턴 데이터(TDT)를 생성한다. 이 때, 패턴 발생부(611)는 복수개의 서브 패턴 데이터(TDTA,TDTB), 예컨대 2개 또는 4개의 패턴 데이터를 생성한 다음, 이들을 하나로 결합하여 송신부(613)로 전달한다. 예컨대, 패턴 발생(611)부는 복수개의 선형 피드백 시프트 레지스터들을 구비하여 복수개의 서로 다른 패턴을 갖는 서브 패턴 데이터(TDTA,TDTB)를 생성한다. 송신부(613)는 패턴 발생부(611)로부터 출력되는 패턴 데이터(TDT)를 포함하는 송신 신호(RX)를 송신하기에 적합한 상태, 예컨대 변조된 송신 신호(TX)를 수신기(620)로 송신한다. The
수신기(620)는 수신부(621)와 통신 에러 검출 장치(623) 및 카운터(625)를 구비한다. 수신부(621)는 송신기(610)로부터 송신되어 수신된 신호(RX)를 수신하고, 이를 수신기(620) 내부에서 처리하기에 적합한 상태, 예컨대 복조한다. 이 때, 수신부(621)는 수신된 신호(RX)에 포함된 패턴 데이터(TDTR)를 추출하여 통신 에러 검출 장치(623)로 전달한다. 통신 에러 검출 장치(623)는 입력되는 패턴 데이터(TDTR)를 복수개로 분리하고, 상기 복수개의 패턴 데이터(TDTRA,TDTRB) 각각에 대해 송신 과정에서 에러가 발생하였는지 여부를 검출한다. 통신 에러 검출 장치(623)는 송신기(610)의 패턴 발생부(611)와 동일한 장치, 예컨대 선형 피드백 시프트 레지스터를 복수개 구비할 수 있다. 따라서, 패턴 발생부(611)에서 발생되는 패턴 데이터(TDT)와 통신 에러 검출 장치(623)에서 발생되는 기준 데이터가 동일하게 구성된다. 이로 인해, 수신된 신호(RX)에 포함된 복수개의 서브 패턴 데이터(TDTRA,TDTRB)와 통신 에러 검출 장치(623)의 내부에서 생성되는 복수개의 기준 데이터를 각각 비교함으로써, 수신된 신호(RX)에 에러가 발생하였는지 여부를 정확하게 검출할 수가 있다. 카운터(625)는 통신 에러 검출 장치(623)에서 출력되는 에러 신호(ER)를 받아서 카운트함으로써, 수신된 신호(RX)의 비트 에러율을 측정할 수가 있다.The
상술한 바와 같이, 통신 시스템(601)의 수신기(620)에 통신 에러 검출 장치(623)를 구비함으로써, 송신기(610)로부터 송신되어 수신기(620)에 수신되는 신호(RX)의 비트 에러율을 용이하게 측정할 수가 있다. 즉, 지금까지는 외부 장치를 이용하여 수신된 신호(RX)의 비트 에러율을 측정하다보니 어려움이 많이 있지만, 본 발명은 통신 에러 검출 장치(623)를 수신기(620)의 내부에 구비함으로써 이러한 어려움을 해결할 수가 있다. As described above, the communication
도 7은 도 6에 도시된 패턴 발생부(611)의 제1 실시예에 따른 블록도이다. 도 7을 참조하면, 패턴 발생부(611)는, 클럭 분배기(710), 패턴 발생기(720), 시프팅부(730) 및 결합부(740)를 구비한다.FIG. 7 is a block diagram according to the first embodiment of the
클럭 분배기(710)는 외부 클럭 신호(TCLK)가 입력되고, 2개의 내부 클럭 신호들(TCLKA,TCLKB) 예컨대, 제1 및 제2 내부 클럭 신호들(TCLKA,TCLKB)을 생성한다. 이 때, 제1 및 제2 내부 클럭 신호들(TCLKA,TCLKB)의 주파수는 외부 클럭 신호(TCLK)의 주파수의 절반으로 낮아진다. The
패턴 발생기(720)는 제1 내부 클럭 신호(TCLKA)가 입력되고, 제1 내부 클럭 신호(TCLKA)를 일정한 패턴으로 시프팅시켜서 제1 서브 패턴 데이터(TDTA)를 생성한다. 패턴 발생기(720)는 일정한 패턴 데이터를 생성하는 선형 피드백 시프터 레지스터로 구성될 수 있다. The
시프팅부(730)는 제1 서브 패턴 데이터(TDTA)와 제2 내부 클럭 신호(TCLKB)가 입력되고, 제2 내부 클럭 신호(TCLKB)에 동기된 제1 서브 패턴 데이터(TDTA)가 시프팅(shifting)되어 제2 서브 패턴 데이터(TDTB)를 생성한다. 시프팅부(730)는 복수개의 플립플롭(flip-flop)들(730a∼730n)을 구비하고, 첫번째 플립플롭(730a)은 제1 서브 패턴 데이터(TDTA)와 제2 내부 클럭 신호(TCLKB)가 입력되고, 두번째 이하의 플립플롭들은 전단의 플립플롭에서 출력되는 신호와 제2 내부 클럭 신호(TCLKB)가 입력된다. The shifting
결합부(740)는 제1 서브 패턴 데이터(TDTA)와 제2 서브 패턴 데이터(TDTB)가 입력되고, 이들을 하나의 패턴 데이터(TDT)로 결합하여 패턴 발생부(611)의 출력 신호(TDT)로써 출력한다. 결합부(740)는 제1 및 제2 패턴 데이터(TDTA,TDTB)를 하나로 결합하는 멀티플렉서(multiplexer)로 구성될 수 있다. The
도 8은 도 7에 도시된 패턴 발생부(611)의 신호들의 타이밍도이다. 도 8에 도시된 바와 같이, 제1 및 제2 내부 클럭 신호들(TCLKA,TCLKB)의 주파수는 외부 클럭 신호(TCLK)의 주파수의 절반으로 낮아지고, 패턴 데이터(TDT)는 제1 서브 패턴 데이터(TDTA)와 제2 서브 패턴 데이터(TDTB)를 포함하여 구성된다. 이 때, 제1 서브 패턴 데이터(TDTA)는 제1 내부 클럭 신호(TCLKA)의 라이징 에지(rising edge)에 동기되어 발생되고, 제2 서브 패턴 데이터(TDTB)는 제2 내부 클럭 신호(TCLKB)의 라이징 에지에 동기되어 발생된다. 8 is a timing diagram of signals of the
도 9는 도 6에 도시된 통신 에러 검출 장치(623)의 제1 실시예에 따른 블록도이다. 도 9를 참조하면, 통신 에러 검출 장치(623)는 신호 분리부(910), 2개의 씨드 얼라이너(seed aligner)(921, 922)들 및 출력부(930)를 구비한다.9 is a block diagram according to a first embodiment of the communication
신호 분리부(910)는 신호(RX)가 입력되고, 신호(RX)에 포함된 패턴 데이터(TDTR)로부터 2개의 서브 패턴 데이터(TDTRA,TDTRB) 즉, 제1 및 제2 서브 패턴 데이터(TDTRA,TDTRB)를 추출하여 출력한다. 신호 분리부(910)는 클럭 분배기(9102)와 디멀티플렉서(demultiplexer)(911)를 구비한다. 클럭 분배기(912)는 외부 클럭 신호(DCLK)를 2개의 내부 클럭 신호들(DCLKA,DCLKB) 예컨대, 제1 및 제2 내부 클럭 신호들(DCLKA,DCLKB)로 분리한다. 이 때, 제1 및 제2 내부 클럭 신호들(DCLKA,DCLKB)의 주파수는 외부 클럭 신호(DCLK)의 주파수의 절반으로 낮아진다. 디멀티플렉서(911)는 외부에서 입력되는 패턴 데이터(TDTR)를 2개의 서브 패턴 데이터(TDTRA,TDTRB) 예컨대, 제1 및 제2 서브 패턴 데이터(TDTRA,TDTRB)로 분리하여 출력한다. 즉, 디멀티플렉서(911)는 제1 및 제2 내부 클럭 신호들(DCLKA,DCLKB)을 입력하고, 제1 내부 클럭 신호(DCLKA)에 동기되어 제1 서브 패턴 데이터(TDTRA)를 출력하고, 제2 내부 클럭 신호(DCLKB)에 동기되어 제2 서브 패턴 데이터(TDTRB)를 출력한다. The
2개의 씨드 얼라이너들(921,922)은 각각 제1 및 제2 서브 패턴 데이터(TDTRA,TDTRB) 중 하나가 입력되고, 상기 입력되는 서브 패턴 데이터의 송신 에러를 검출한다. 2개의 씨드 얼라이너들(921,922) 중 제1 씨드 얼라이너(921)는 제1 서브 패턴 데이터(TDTRA)와 제1 내부 클럭 신호(DCLKA)가 입력되고 제1 내부 클럭 신호(DCLKA)에 동기되어 제1 서브 패턴 데이터(TDTRA)의 송신 에러를 검출하고, 제2 씨드 얼라이너(922)는 제2 서브 패턴 데이터(TDTRB)와 제2 내부 클럭 신호(DCLKB)가 입력되고 제2 내부 클럭 신호(DCLKB)에 동기되어 제2 서브 패턴 데이터(TDTRB)의 송신 에러를 검출한다. 제1 및 제2 씨드 얼라이너들(921,922)은 각각 도 2에 도시된 장치(123)를 구비할 수 있다. 즉, 제1 및 제2 씨드 얼라이너들(921,922)은 각각, 외부 신호의 제어를 받아서 제어 클럭 신호(CLKO)를 출력하는 제어 논리부(123A), 상기 제어 클럭 신호(CLKO)에 동기되어 기준 데이터(RDT)를 출력하는 기준 데이터 발생부(220), 및 패턴 데이터(TDTR)와 기준 데이터(RDT)가 입력되며, 초기에 상기 패턴 데이터(TDTR)의 시퀀스와 기준 데이터(RDT)의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행한 후에, 패턴 데이터(TDTR)의 에러를 검출하는 에러 검출부(123C)를 구비한다. Two
출력부(930)는 제1 및 제2 씨드 얼라이너들(921,922)로부터 출력되는 송신 에러들(ERA,ERB)을 결합하여 출력한다. 출력부(930)는, 제1 및 제2 씨드 얼라이너들(921,922)로부터 출력되는 송신 에러들(ERA,ERB)을 하나로 결합하여 출력하는 멀티플렉서(multiplexer)(931), 및 제1 및 제2 씨드 얼라이너들(921,922)로부터 출력되는 플래그 신호들(FLGA,FLGB)을 하나로 결합하여 출력하는 플래그 신호 발생부(932)를 구비한다. The
상술한 바와 같이, 통신 에러 검출 장치(623)는 2개의 씨드 얼라이더들(921,922)을 구비하고, 수신된 신호(RX)에 포함된 패턴 데이터(TDTR)를 2개의 서브 패턴 데이터(TDTRA,TDTRB)로 분리하며, 외부 클럭 신호(DCLK)를 2개로 분리하여 주파수를 낮춘 상태에서 상기 2개의 서브 패턴 데이터(TDTRA,TDTRB)에 포함된 송신 에러(ER)를 검출한다. As described above, the communication
도 10A 및 도 10B는 도 9에 도시된 통신 에러 검출 장치의 신호들의 타이밍도이다. 10A and 10B are timing diagrams of signals of the communication error detection apparatus shown in FIG.
도 10A에 도시된 바와 같이, 통신 검출 장치(623)로 입력되는 패턴 데이터(TDTR)는 2개의 서브 패턴 데이터(TDTRA,TDTRB)로 분리된다.As shown in Fig. 10A, the pattern data TDTR input to the
또한, 도 10B에 도시된 바와 같이, 통신 검출 장치(623)로부터 출력되는 플래그 신호(FLG)는 제1 씨드 얼라이너(921)로부터 출력되는 플래그 신호(FLGA)와 제2 씨드 얼라이너(922)로부터 출력되는 플래그 신호(FLGB)가 결합된 신호이며, 출력부(930)로부터 출력되는 에러 신호(ER)는 제1 씨드 얼라이너(921)로부터 출력되는 에러 신호(ERA)와 제2 씨드 얼라이너(922)로부터 출력되는 에러 신호(ERB)가 결합된 신호이다.In addition, as shown in FIG. 10B, the flag signal FLG output from the
상술한 바와 같이, 통신 에러 검출 장치(623)는 패턴 데이터(TDTR)를 2개의 서브 패턴 데이터(TDTRA,TDTRB)로 분리하여 처리함으로써, 통신 에러 검출 장치(623)의 데이터 처리 속도가 2배로 낮아져서, 패턴 데이터(TDTR)의 에러 비트를 안정적으로 검출할 수가 있다. As described above, the communication
도 11은 도 6에 도시된 패턴 발생부의 제2 실시예에 따른 블록도이다. 도 11을 참조하면, 패턴 발생부(611)는 클럭 분배기(1110), 패턴 발생기(1120), 시프팅부(1130) 및 결합부(1140)를 구비한다.FIG. 11 is a block diagram illustrating a second embodiment of the pattern generator illustrated in FIG. 6. Referring to FIG. 11, the
클럭 분배기(1110)는 외부 클럭 신호(TCLK)가 입력되고, 4개의 내부 클럭 신호들(TCLKA∼TCLKD) 예컨대, 제1 내지 제4 내부 클럭 신호들(TCLKA∼TCLKD)을 생성한다. 이 때, 제1 내지 제4 내부 클럭 신호들(TCLKA∼TCLKD)의 주파수는 외부 클럭 신호(TCLK)의 주파수의 절반으로 낮아진다. The
패턴 발생기()는 제1 내부 클럭 신호(TCLKA)가 입력되어 시프팅된 다음에 제1 서브 패턴 데이터(TDTA)를 생성한다. 패턴 발생기()는 특정한 패턴 데이터를 생성하는 선형 피드백 시프터 레지스터로 구성될 수 있다. The pattern generator 1 generates the first sub-pattern data TDTA after the first internal clock signal TCLKA is input and shifted. The pattern generator () may be comprised of linear feedback shifter registers that produce specific pattern data.
시프팅부(1130)는 제1 서브 패턴 데이터(TDTA)와 제2 내지 제4 내부 클럭 신호들(TCLKB∼TCLKD)가 입력되고, 제2 내지 제4 내부 클럭 신호들(TCLKB∼TCLKD)에 동기되어 제1 서브 패턴 데이터(TDTA)가 시프팅되어, 제2 내지 제4 서브 패턴 데이터(TDTB■TDTD)를 생성한다. 시프팅부(1130)는 3개의 플립플롭 그룹(group)들(1131■1133)을 구비한다. 제1 플립플롭 그룹(1131)은 제1 서브 패턴 데이터(TDTA)와 제2 내부 클럭 신호(TCLKA)가 입력되고 제2 내부 클럭 신호(TCLKA)에 동기되어 제1 서브 패턴 데이터(TDTA)를 시프팅시켜서 제2 서브 패턴 데이터(TDTB)를 생성하고, 제2 플립플롭 그룹(1132)은 제2 서브 패턴 데이터(TDTB)와 제3 내부 클럭 신호(TCLKC)가 입력되고 제3 내부 클럭 신호(TCLKC)에 동기되어 제2 서브 패턴 데이터(TDTB)를 시프팅시켜서 제3 서브 패턴 데이터(TDTC)를 생성하고, 제3 플립플롭 그룹(1133)은 제3 서브 패턴 데이터(TDTC)와 제4 내부 클럭 신호(TCLKD)가 입력되고 제4 내부 클럭 신호(TCLKD)에 동기되어 제3 서브 패턴 데이터(TDTC)를 시프팅시켜서 제4 서브 패턴 데이터(TDTD)를 생성한다. 제1 내지 제3 플립플롭 그룹(1131∼1133)은 각각 복수개의 플립플롭들을 구비한다.The
결합부(1140)는 제1 내지 제4 서브 패턴 데이터(TDTA∼TDTD)가 입력되고, 이들을 하나의 패턴 데이터(TDT)로 결합하여 패턴 발생부(611)의 출력 신호(TDT)로써 출력한다. 결합부(1140)는 제1 내지 제4 패턴 데이터(TDTA∼TDTD)를 하나로 결합하는 멀티플렉서로 구성될 수 있다. The
도 12는 도 11에 도시된 패턴 발생부(611)의 신호들의 타이밍도이다. 도 12에 도시된 바와 같이, 제1 내지 제4 내부 클럭 신호들(TCLKA∼TCLKD)의 주파수는 각각 외부 클럭 신호(TCLK)의 주파수의 절반으로 낮아진다. 또한, 패턴 데이터(TDT)는 제1 내지 제4 서브 패턴 데이터(TDTA∼TDTD)를 모두 포함하여 구성된다. 12 is a timing diagram of signals of the
도 13은 도 6에 도시된 본 발명의 통신 에러 검출 장치(623)의 제2 실시예에따른 블록도이다. 도 13을 참조하면, 통신 에러 검출 장치(623)는 신호 분리부(1310), 4개의 씨드 얼라이너들(1211∼1214) 및 출력부(1330)를 구비한다.FIG. 13 is a block diagram according to the second embodiment of the communication
신호 분리부(1310)는 수신된 신호(RX)가 입력되고, 신호(RX)에 포함된 패턴 데이터(TDTR)를 4개로 분리하여 즉, 제1 내지 제4 서브 패턴 데이터(TDTRA∼TDTRD)를 추출하여 출력한다. 신호 분리부(1310)는 클럭 분배기(1312)와 디멀티플렉서(demultiplexer)(1311)를 구비한다. 클럭 분배기(1312)는 외부 클럭 신호(DCLK)를 4개의 내부 클럭 신호들(DCLKA∼DCLKD) 예컨대, 제1 내지 제4 내부 클럭 신호들(DCLKA∼DCLKD)로 분리한다. 이 때, 제1 내지 제4 내부 클럭 신호들(DCLKA∼DCLKD)의 주파수는 외부 클럭 신호(DCLK)의 주파수의 절반으로 낮아진다. 디멀티플렉서(1311)는 외부에서 입력되는 패턴 데이터(TDTR)를 4개의 서브 패턴 데이터(TDTRA∼TDTRD) 예컨대, 제1 내지 제4 서브 패턴 데이터(TDTRA∼TDTRD)로 분리하여 출력한다. 즉, 디멀티플렉서(1311)는 제1 내부 클럭 신호(DCLKA)에 동기되어 제1 서브 패턴 데이터(TDTRA)를 출력하고, 제2 내부 클럭 신호(DCLKB)에 동기되어 제2 서브 패턴 데이터(TDTRB)를 출력하며, 제3 내부 클럭 신호(DCLKC)에 동기되어 제3 서브 패턴 데이터(TDTRC)를 출력하고, 제4 내부 클럭 신호(TCLKD)에 동기되어 제4 서브 패턴 데이터(TDTRD)를 출력한다. The
4개의 씨드 얼라이너들(1211∼1214)은 각각 4개의 서브 패턴 데이터(TDTRA∼TDTRD) 중 하나와 4개의 내부 클럭 신호들(DCLKA∼DCLKD) 중 하나가 입력되고, 상기 입력되는 서브 패턴 데이터의 4개의 에러 신호들(ERA∼ERD) 중 하나와 4개의 플래그 신호들(FLGA∼FLGD) 중 하나를 검출한다. 즉, 제1 씨드 얼라이너(1211)는 제1 내부 클럭 신호(DCLKA)에 동기되어 제1 서브 패턴 데이터(TDTRA)의 에러를 검출하고, 제2 씨드 얼라이너(1212)는 제2 내부 클럭 신호(DCLKB)에 동기되어 제2 서브 패턴 데이터(TDTRB)의 에러를 검출하며, 제3 씨드 얼라이너(1213)는 제3 내부 클럭 신호(DCLKC)에 동기되어 제3 서브 패턴 데이터(TDTRC)의 에러를 검출하고, 제4 씨드 얼라이너(1214)는 제4 내부 클럭 신호(DCLKD)에 동기되어 제4 서브 패턴 데이터(TDTRD)의 에러를 검출한다. Each of the four
제1 내지 제4 씨드 얼라이너들(1211∼1214)은 각각 도 2에 도시된 장치(123)를 구비할 수 있다. The first to
출력부(1330)는 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 에러 신호들(ERA∼ERB)을 하나로 결합하여 출력한다. 출력부(1330)는, 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 에러 신호들(ERA∼ERD)을 하나로 결합하여 출력하는 멀티플렉서(multiplexer)(1331), 및 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 플래그 신호들(FLGA∼FLGD)을 하나로 결합하여 출력하는 플래그 신호 발생부)(1332)를 구비한다. The
상술한 바와 같이, 통신 에러 검출 장치(623)는 4개의 씨드 얼라이더들(1211∼1214)을 구비하고, 패턴 데이터(TDTR)를 4개의 서브 패턴 데이터(TDTRA∼TDTRD)로 분리하며, 외부 클럭 신호(DCLK)를 4개로 분리하여 주파수를 낮춘 상태에서 4개의 서브 패턴 데이터(TDTRA∼TDTRD)에 포함된 송신 에러를 검출한다. As described above, the communication
도 14A 및 도 14B는 도 13에 도시된 신호들의 타이밍도이다.14A and 14B are timing diagrams of the signals shown in FIG.
도 14A에 도시된 바와 같이, 통신 에러 검출 장치(623)으로 입력되는 패턴 데이터(TDTR)는 4개의 서브 패턴 데이터(TDTRA∼TDTRD)로 분리된다.As shown in Fig. 14A, the pattern data TDTR input to the communication
또한, 도 14B에 도시된 바와 같이, 통신 에러 검출 장치(623)으로부터 출력되는 플래그 신호(FLG)는 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 플래그 신호들(FLGA∼FLGD)이 하나로 결합된 신호이며, 통신 에러 검출 장치(623)로부터 출력되는 에러 신호(ER)는 제1 내지 제4 씨드 얼라이너들(1211∼1214)로부터 출력되는 에러 신호들(ERA∼ERD)이 하나로 결합된 신호이다.In addition, as shown in FIG. 14B, the flag signal FLG output from the communication
본 발명은 도면들에 도시된 실시예들을 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이들로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary and will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.
Claims (19)
플래그 신호와 리셋 신호 및 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 외부 클럭 신호의 소정 주기 동안 제어 클럭 신호를 출력하며, 상기 소정 주기 경과 시 비활성화되고, 상기 플래그 신호의 활성화 시 상기 제어 클럭 신호를 출력하는 제어 논리부;
상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및
상기 송신 신호에 포함된 패턴 데이터, 상기 리셋 신호, 상기 외부 클럭 신호, 상기 기준 데이터, 상기 제어 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행하며, 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하고, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터와 상기 기준 데이터를 비교하여 상기 패턴 데이터의 에러를 검출하는 에러 검출부를 구비하고,
상기 제어 논리부는
상기 리셋 신호와 상기 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 활성화되는 카운터 인에이블 신호를 출력하는 카운터;
상기 카운터 인에이블 신호와 상기 플래그 신호를 수신하고, 상기 카운터 인에이블 신호와 상기 플래그 신호 중 어느 하나가 활성화되면 활성화되는 클럭 인에이블 신호를 출력하는 제1 논리부; 및
상기 클럭 인에이블 신호와 상기 외부 클럭 신호를 수신하고, 상기 클럭 인에이블 신호가 활성화되면 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하는 제2 논리부;를 포함하는 것을 특징으로 하는 통신 에러 검출 장치.In the communication error detection device provided in a receiver for receiving and processing a transmission signal transmitted from a transmitter,
Receives a flag signal, a reset signal and an external clock signal, outputs a control clock signal for a predetermined period of the external clock signal upon activation of the reset signal, deactivates after the predetermined period passes, and controls the activation of the flag signal. A control logic section for outputting a clock signal;
A reference data generator which receives the control clock signal and outputs reference data; And
Receives the pattern data, the reset signal, the external clock signal, the reference data, the control clock signal included in the transmission signal, and the sequence and the sequence of the pattern data during the predetermined period when the reset signal is activated Perform an initial data setting operation for matching the sequence of reference data, and activate the flag signal when the sequence of the pattern data and the sequence of the reference data match, and the pattern data and the reference data are activated during activation of the flag signal. An error detection unit for comparing and detecting an error of the pattern data,
The control logic section
A counter for receiving the reset signal and the external clock signal and outputting a counter enable signal activated during the predetermined period when the reset signal is activated;
A first logic unit configured to receive the counter enable signal and the flag signal and output a clock enable signal that is activated when any one of the counter enable signal and the flag signal is activated; And
And a second logic unit configured to receive the clock enable signal and the external clock signal and to output the control clock signal in synchronization with the external clock signal when the clock enable signal is activated. Detection device.
상기 에러 검출부에서 출력되는 상기 플래그 신호와 외부에서 제공하는 상기 리셋 신호 및 상기 외부 클럭 신호가 입력되고,
상기 리셋 신호가 활성화되면 상기 소정 주기 동안 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하며,
상기 소정 주기 이후에는 상기 제어 클럭 신호를 출력하지 않고 있다가, 상기 초기 데이터 설정 동작이 종료되어 상기 플래그 신호가 활성화되면 상기 제어 클럭 신호를 다시 출력하는 것을 특징으로 하는 통신 에러 검출 장치.The method of claim 1, wherein the control logic unit,
The flag signal output from the error detection unit, the reset signal and the external clock signal provided from the outside are input,
When the reset signal is activated, the control clock signal is output in synchronization with the external clock signal during the predetermined period.
And not outputting the control clock signal after the predetermined period, and outputting the control clock signal again when the flag signal is activated after the initial data setting operation is terminated.
상기 제어 클럭 신호에 응답하여 상기 기준 데이터를 생성하는 선형 피드백 시프트 레지스터(Linear Feedback Shift Register)를 구비하는 것을 특징으로 하는 통신 에러 검출 장치.The method of claim 1, wherein the reference data generating unit,
And a linear feedback shift register configured to generate the reference data in response to the control clock signal.
상기 패턴 데이터가 입력되고, 상기 패턴 데이터를 시프팅시켜서 비트(bit) 단위로 병렬로 출력하는 패턴 데이터 시프팅부;
상기 기준 데이터가 입력되고, 상기 기준 데이터를 시프팅시켜서 비트 단위로 병렬로 출력하는 기준 데이터 시프팅부;
상기 소정 주기 동안 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스를 비교하며, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터 시프팅부로부터 출력되는 비트들과 상기 기준 데이터 시프팅부로부터 출력되는 비트들을 비교하고, 상기 비교 결과 일치하지 않는 비트들이 있으면 에러 신호를 출력하는 데이터 비교부; 및
상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하는 제3 논리부;를 구비하는 것을 특징으로 하는 통신 에러 검출 장치.The method of claim 1, wherein the error detection unit,
A pattern data shifting unit configured to input the pattern data and to shift the pattern data and output in parallel in units of bits;
A reference data shifting unit configured to input the reference data and to shift the reference data and output in parallel in units of bits;
Compares the sequence of the pattern data and the sequence of the reference data during the predetermined period, compares bits output from the pattern data shifting unit with bits output from the reference data shifting unit during activation of the flag signal, and A data comparing unit which outputs an error signal if there are bits that do not match as a result of the comparison; And
And a third logic unit for activating the flag signal when the sequence of the pattern data and the sequence of the reference data match each other.
상기 송신 신호에 포함된 패턴 데이터를 복수개로 분리하는 패턴 데이터 분리부;
각각, 상기 복수개의 패턴 데이터 중 하나가 입력되고, 상기 입력되는 패턴 데이터의 에러를 검출하는 복수개의 씨드 얼라이너(seed aligner)들; 및
상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 신호의 송신 에러 신호로써 출력하는 출력부;를 구비하고,
상기 복수개의 씨드 얼라이너들 각각은,
플래그 신호와 리셋 신호 및 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 외부 클럭 신호의 소정 주기 동안 제어 클럭 신호를 출력하며, 상기 소정 주기 경과 시 비활성화되고, 상기 플래그 신호의 활성화 시 상기 제어 클럭 신호를 출력하는 제어 논리부;
상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및
상기 송신 신호에 포함된 패턴 데이터, 상기 리셋 신호, 상기 외부 클럭 신호, 상기 기준 데이터, 상기 제어 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행하며, 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하고, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터와 상기 기준 데이터를 비교하여 상기 패턴 데이터의 에러를 검출하는 에러 검출부;를 구비하고,
상기 제어 논리부는
상기 리셋 신호와 상기 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 활성화되는 카운터 인에이블 신호를 출력하는 카운터;
상기 카운터 인에이블 신호와 상기 플래그 신호를 수신하고, 상기 카운터 인에이블 신호와 상기 플래그 신호 중 어느 하나가 활성화되면 활성화되는 클럭 인에이블 신호를 출력하는 제1 논리부; 및
상기 클럭 인에이블 신호와 상기 외부 클럭 신호를 수신하고, 상기 클럭 인에이블 신호가 활성화되면 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하는 제2 논리부;를 포함하는 것을 특징으로 하는 통신 에러 검출 장치.In the communication error detection device provided in a receiver for receiving and processing a transmission signal transmitted from a transmitter,
A pattern data separator for separating a plurality of pattern data included in the transmission signal into a plurality;
A plurality of seed aligners, each of which receives one of the plurality of pattern data and detects an error of the input pattern data; And
And an output unit for combining the error signals outputted from the plurality of seed aligners and outputting them as a transmission error signal of the transmission signal.
Each of the plurality of seed aligners,
Receives a flag signal, a reset signal and an external clock signal, outputs a control clock signal for a predetermined period of the external clock signal upon activation of the reset signal, deactivates after the predetermined period passes, and controls the activation of the flag signal. A control logic section for outputting a clock signal;
A reference data generator which receives the control clock signal and outputs reference data; And
Receives the pattern data, the reset signal, the external clock signal, the reference data, the control clock signal included in the transmission signal, and the sequence and the sequence of the pattern data during the predetermined period when the reset signal is activated Perform an initial data setting operation for matching the sequence of reference data, and activate the flag signal when the sequence of the pattern data and the sequence of the reference data match, and the pattern data and the reference data are activated during activation of the flag signal. And an error detection unit for comparing and detecting an error of the pattern data.
The control logic section
A counter for receiving the reset signal and the external clock signal and outputting a counter enable signal activated during the predetermined period when the reset signal is activated;
A first logic unit configured to receive the counter enable signal and the flag signal and output a clock enable signal that is activated when any one of the counter enable signal and the flag signal is activated; And
And a second logic unit configured to receive the clock enable signal and the external clock signal and to output the control clock signal in synchronization with the external clock signal when the clock enable signal is activated. Detection device.
상기 외부 클럭 신호가 입력되고, 복수개의 내부 클럭 신호들을 생성하며, 상기 복수개의 내부 클럭 신호들의 주파수를 상기 외부 클럭 신호의 주파수보다 낮게 만들어서 출력하는 클럭 분배기; 및
상기 패턴 데이터와 상기 복수개의 내부 클럭 신호들을 입력하고, 상기 복수개의 내부 클럭 신호들에 동기되어 상기 패턴 데이터를 복수개로 분리하여 출력하는 디멀티플렉서를 구비하는 것을 특징으로 하는 통신 에러 검출 장치.The method of claim 6, wherein the pattern data separator,
A clock divider configured to receive the external clock signal, generate a plurality of internal clock signals, and output a frequency of the plurality of internal clock signals lower than a frequency of the external clock signal; And
And a demultiplexer configured to input the pattern data and the plurality of internal clock signals and to separate and output the plurality of pattern data in synchronization with the plurality of internal clock signals.
상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 에러 신호로써 출력하는 멀티플렉서; 및
상기 복수개의 씨드 얼라이너들로부터 출력되는 복수개의 플래그 신호들을 결합하여 하나의 플래그 신호를 출력하는 플래그 신호 발생부를 구비하는 것을 특징으로 하는 통신 에러 검출 장치.The method of claim 6, wherein the output unit,
A multiplexer for combining the error signals outputted from the plurality of seed aligners and outputting the combined error signals as the transmission error signal; And
And a flag signal generator for combining a plurality of flag signals outputted from the plurality of seed aligners and outputting one flag signal.
상기 패턴 데이터 분리부는 상기 패턴 데이터를 2개로 분리하여 출력하고,
상기 복수개의 씨드 얼라이너들은 2개로 구성되며, 상기 2개의 씨드 얼라이너들은 각각 상기 2개의 패턴 데이터 중 하나를 입력하는 것을 특징으로 하는 통신 에러 검출 장치.The method of claim 6,
The pattern data separator divides and outputs the pattern data into two,
And the plurality of seed aligners are configured as two, and the two seed aligners each input one of the two pattern data.
상기 패턴 데이터 분리부는 상기 패턴 데이터를 4개로 분리하여 출력하고,
상기 복수개의 씨드 얼라이너들은 4개로 구성되며, 상기 4개의 씨드 얼라이너들은 각각 상기 4개의 패턴 데이터 중 하나를 입력하는 것을 특징으로 하는 통신 에러 검출 장치.The method of claim 6,
The pattern data separator divides and outputs the pattern data into four pieces,
And the plurality of seed aligners are configured as four, and the four seed aligners each input one of the four pattern data.
상기 송신 신호를 수신하는 수신기;를 구비하고,
상기 수신기는 통신 에러 검출 장치를 포함하며,
상기 통신 에러 검출 장치는,
플래그 신호와 리셋 신호 및 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 외부 클럭 신호의 소정 주기 동안 제어 클럭 신호를 출력하며, 상기 소정 주기 경과 시 비활성화되고, 상기 플래그 신호의 활성화 시 상기 제어 클럭 신호를 출력하는 제어 논리부;
상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및
상기 패턴 데이터, 상기 리셋 신호, 상기 외부 클럭 신호, 상기 기준 데이터, 상기 제어 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행하며, 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하고, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터와 상기 기준 데이터를 비교하여 상기 패턴 데이터의 에러를 검출하는 에러 검출부;를 포함하고,
상기 제어 논리부는,
상기 리셋 신호와 상기 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 활성화되는 카운터 인에이블 신호를 출력하는 제1 카운터;
상기 카운터 인에이블 신호와 상기 플래그 신호를 수신하고, 상기 카운터 인에이블 신호와 상기 플래그 신호 중 어느 하나가 활성화되면 활성화되는 클럭 인에이블 신호를 출력하는 제1 논리부; 및
상기 클럭 인에이블 신호와 상기 외부 클럭 신호를 수신하고, 상기 클럭 인에이블 신호가 활성화되면 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하는 제2 논리부;를 포함하는 것을 특징으로 하는 통신 시스템.A transmitter including a pattern generator for generating and outputting specific pattern data, and a transmitter for transmitting a transmission signal including the pattern data; And
A receiver for receiving the transmission signal;
The receiver includes a communication error detection device,
The communication error detection device,
Receives a flag signal, a reset signal and an external clock signal, outputs a control clock signal for a predetermined period of the external clock signal upon activation of the reset signal, deactivates after the predetermined period passes, and controls the activation of the flag signal. A control logic section for outputting a clock signal;
A reference data generator which receives the control clock signal and outputs reference data; And
Initially receiving the pattern data, the reset signal, the external clock signal, the reference data, the control clock signal, and matching the sequence of the pattern data and the sequence of the reference data during the predetermined period when the reset signal is activated. And performing a data setting operation, activating the flag signal when the sequence of the pattern data and the sequence of the reference data match, and comparing the pattern data with the reference data during activation of the flag signal to correct an error of the pattern data. An error detection unit for detecting;
The control logic unit,
A first counter receiving the reset signal and the external clock signal and outputting a counter enable signal activated during the predetermined period when the reset signal is activated;
A first logic unit configured to receive the counter enable signal and the flag signal and output a clock enable signal that is activated when any one of the counter enable signal and the flag signal is activated; And
And a second logic unit configured to receive the clock enable signal and the external clock signal and output the control clock signal in synchronization with the external clock signal when the clock enable signal is activated. .
상기 통신 에러 검출 장치로부터 출력되는 상기 송신 신호의 에러를 카운트하는 제2 카운터를 더 구비하는 것을 특징으로 하는 통신 시스템.The method of claim 12, wherein the receiver,
And a second counter for counting an error of the transmission signal output from the communication error detection device.
상기 송신기의 패턴 발생부와 상기 수신기의 기준 데이터 발생부는 동일한 구조를 갖는 것을 특징으로 하는 통신 시스템.The method of claim 12,
And the pattern generator of the transmitter and the reference data generator of the receiver have the same structure.
상기 송신 신호를 수신하는 수신기;를 구비하며,
상기 수신기는 통신 에러 검출 장치를 포함하며,
상기 통신 에러 검출 장치는,
상기 패턴 데이터가 입력되고, 상기 패턴 데이터를 상기 복수개의 서브 패턴 데이터로 분리하는 패턴 데이터 분리부;
각각, 상기 복수개의 서브 패턴 데이터 중 하나가 입력되고, 상기 입력되는 서브 패턴 데이터의 에러를 검출하는 복수개의 씨드 얼라이너(seed aligner)들; 및
상기 복수개의 씨드 얼라이너들로부터 출력되는 에러 신호들을 결합하여 상기 송신 신호의 송신 에러 신호로써 출력하는 출력부;를 포함하며
상기 복수개의 씨드 얼라이너들 각각은,
플래그 신호와 리셋 신호 및 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 외부 클럭 신호의 소정 주기 동안 제어 클럭 신호를 출력하며, 상기 소정 주기 경과 시 비활성화되고, 상기 플래그 신호의 활성화 시 상기 제어 클럭 신호를 출력하는 제어 논리부;
상기 제어 클럭 신호가 입력되고, 기준 데이터를 출력하는 기준 데이터 발생부; 및
상기 송신 신호에 포함된 패턴 데이터, 상기 리셋 신호, 상기 외부 클럭 신호, 상기 기준 데이터, 상기 제어 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 상기 패턴 데이터의 시퀀스(sequence)와 상기 기준 데이터의 시퀀스를 일치시키는 초기 데이터 설정 동작을 수행하며, 상기 패턴 데이터의 시퀀스와 상기 기준 데이터의 시퀀스의 일치 시 상기 플래그 신호를 활성화하고, 상기 플래그 신호의 활성화 동안 상기 패턴 데이터와 상기 기준 데이터를 비교하여 상기 패턴 데이터의 에러를 검출하는 에러 검출부;를 구비하고,
상기 제어 논리부는
상기 리셋 신호와 상기 외부 클럭 신호를 수신하고, 상기 리셋 신호의 활성화 시 상기 소정 주기 동안 활성화되는 카운터 인에이블 신호를 출력하는 카운터;
상기 카운터 인에이블 신호와 상기 플래그 신호를 수신하고, 상기 카운터 인에이블 신호와 상기 플래그 신호 중 어느 하나가 활성화되면 활성화되는 클럭 인에이블 신호를 출력하는 제1 논리부; 및
상기 클럭 인에이블 신호와 상기 외부 클럭 신호를 수신하고, 상기 클럭 인에이블 신호가 활성화되면 상기 외부 클럭 신호에 동기되어 상기 제어 클럭 신호를 출력하는 제2 논리부;를 포함하는 것을 특징으로 하는 통신 시스템.A transmitter including a pattern generator for generating a plurality of sub-pattern data and outputting pattern data combining the plurality of sub-pattern data into one, and a transmitter for transmitting a transmission signal including the pattern data output from the pattern generator ; And
A receiver for receiving the transmission signal;
The receiver includes a communication error detection device,
The communication error detection device,
A pattern data separator configured to input the pattern data, and separate the pattern data into the plurality of sub pattern data;
A plurality of seed aligners, each of which receives one of the plurality of sub pattern data and detects an error of the input sub pattern data; And
And an output unit for combining the error signals outputted from the plurality of seed aligners and outputting the transmission error signal of the transmission signal.
Each of the plurality of seed aligners,
Receives a flag signal, a reset signal and an external clock signal, and outputs a control clock signal for a predetermined period of the external clock signal when the reset signal is activated, deactivated after the predetermined period, and the control when the flag signal is activated. A control logic section for outputting a clock signal;
A reference data generator which receives the control clock signal and outputs reference data; And
Receives the pattern data, the reset signal, the external clock signal, the reference data, the control clock signal included in the transmission signal, and the sequence and the sequence of the pattern data during the predetermined period when the reset signal is activated Perform an initial data setting operation for matching the sequence of reference data, and activate the flag signal when the sequence of the pattern data matches the sequence of the reference data, and during the activation of the flag signal, the pattern data and the reference data And an error detection unit for comparing and detecting an error of the pattern data.
The control logic section
A counter for receiving the reset signal and the external clock signal and outputting a counter enable signal activated during the predetermined period when the reset signal is activated;
A first logic unit configured to receive the counter enable signal and the flag signal and output a clock enable signal that is activated when any one of the counter enable signal and the flag signal is activated; And
And a second logic unit configured to receive the clock enable signal and the external clock signal and to output the control clock signal in synchronization with the external clock signal when the clock enable signal is activated. .
외부 클럭 신호가 입력되고, 복수개의 내부 클럭 신호들을 생성하며, 상기 복수개의 내부 클럭 신호들의 주파수를 상기 외부 클럭 신호의 주파수보다 낮게 만들어서 출력하는 클럭 분배기;
상기 복수개의 내부 클럭 신호들 중 하나가 입력되고, 상기 복수개의 서브 패턴 데이터 중 하나의 서브 패턴 데이터를 생성하는 패턴 발생기;
상기 복수개의 내부 클럭 신호들 중 상기 패턴 발생기로 입력되지 않는 모든 내부 클럭 신호 및 상기 패턴 발생기로부터 출력되는 서브 패턴 데이터가 입력되고, 상기 입력되는 하나 이상의 클럭 신호에 동기되어 상기 입력되는 서브 패턴 데이터를 시프팅시켜서 하나 이상의 서브 패턴 데이터를 생성하여 출력하는 시프팅부; 및
상기 패턴 발생기에서 출력되는 서브 패턴 데이터와 상기 시프팅부에서 출력되는 하나 이상의 서브 패턴 데이터를 하나로 결합하여 상기 패턴 발생부의 패턴 데이터로써 출력하는 결합부를 구비하는 것을 특징으로 하는 통신 시스템.The method of claim 15, wherein the pattern generator of the transmitter,
A clock divider configured to receive an external clock signal, generate a plurality of internal clock signals, and output a frequency of the plurality of internal clock signals lower than a frequency of the external clock signal;
A pattern generator to which one of the plurality of internal clock signals is input and to generate one sub pattern data of the plurality of sub pattern data;
Among the plurality of internal clock signals, all internal clock signals which are not input to the pattern generator and sub pattern data output from the pattern generator are input, and the input sub pattern data is synchronized with the input one or more clock signals. A shifting unit which shifts to generate and output one or more subpattern data; And
And a combiner for combining the sub-pattern data output from the pattern generator and one or more sub-pattern data output from the shifting unit into one and outputting the pattern data as pattern data of the pattern generator.
상기 송신기의 패턴 발생부에서 생성되는 복수개의 서브 패턴 데이터와 상기 복수개의 씨드 얼라이너들의 기준 데이터 발생부에서 발생되는 복수개의 기준 데이터는 동일한 데이터 시퀀스를 갖는 것을 특징으로 하는 통신 시스템.The method of claim 15,
And the plurality of sub pattern data generated by the pattern generator of the transmitter and the plurality of reference data generated by the reference data generator of the plurality of seed aligners have the same data sequence.
상기 송신기의 패턴 발생부에서 발생되는 복수개의 서브 패턴 데이터의 개수와 상기 복수개의 씨드 얼라이너들의 개수는 동일한 것을 특징으로 하는 통신 시스템.The method of claim 15,
The number of the plurality of sub-pattern data generated in the pattern generator of the transmitter and the number of the plurality of seed aligner is the same.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130082005A KR102079729B1 (en) | 2013-07-12 | 2013-07-12 | Apparatus for detecting communication error and communication system having the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130082005A KR102079729B1 (en) | 2013-07-12 | 2013-07-12 | Apparatus for detecting communication error and communication system having the same |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20150007691A KR20150007691A (en) | 2015-01-21 |
KR102079729B1 true KR102079729B1 (en) | 2020-02-20 |
Family
ID=52570543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020130082005A KR102079729B1 (en) | 2013-07-12 | 2013-07-12 | Apparatus for detecting communication error and communication system having the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102079729B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002026876A (en) * | 2000-05-26 | 2002-01-25 | Synthesys Research Inc | Bit value examining method for bit error location measurement |
JP2005286831A (en) * | 2004-03-30 | 2005-10-13 | Nec Corp | Apparatus and method for measuring error |
JP2011146792A (en) * | 2010-01-12 | 2011-07-28 | Anritsu Corp | Error rate measuring apparatus and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10164030A (en) * | 1996-11-25 | 1998-06-19 | Anritsu Corp | Signal comparison and evaluation device and error detector |
-
2013
- 2013-07-12 KR KR1020130082005A patent/KR102079729B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002026876A (en) * | 2000-05-26 | 2002-01-25 | Synthesys Research Inc | Bit value examining method for bit error location measurement |
JP2005286831A (en) * | 2004-03-30 | 2005-10-13 | Nec Corp | Apparatus and method for measuring error |
JP2011146792A (en) * | 2010-01-12 | 2011-07-28 | Anritsu Corp | Error rate measuring apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
KR20150007691A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI723006B (en) | High speed data transfer using calibrated, single-clock source synchronous serializer-deserializer protocol | |
US8468398B2 (en) | Loopback testing with phase alignment of a sampling clock at a test receiver apparatus | |
US9094181B2 (en) | Communication system, data transmitter, and data receiver capable of detecting incorrect receipt of data | |
JP2008122399A (en) | Interface testing circuit and method | |
US8949680B2 (en) | Data receiver device and test method thereof | |
US8572447B2 (en) | Circuitry for built-in self-test | |
US9037437B2 (en) | High speed data testing without high speed bit clock | |
US7882474B2 (en) | Testing phase error of multiple on-die clocks | |
JP2004260677A (en) | Communication equipment | |
US8675798B1 (en) | Systems, circuits, and methods for phase inversion | |
KR20140002914A (en) | Test circuit of semiconductor memory apparatus and semiconductor memory system including the same | |
US20160306383A1 (en) | Multi-card synchronization system of fundamental and divided clock frequencies | |
KR102079729B1 (en) | Apparatus for detecting communication error and communication system having the same | |
CN107533533B (en) | Communication between integrated circuits | |
US7532995B1 (en) | Interpolator testing circuit | |
Aloisio et al. | High-speed, fixed-latency serial links with FPGAs for synchronous transfers | |
JP2004274527A (en) | Data transmission/reception apparatus | |
US20080056339A1 (en) | Receiver and signal testing method thereof | |
US9049020B2 (en) | Circuitry to facilitate testing of serial interfaces | |
KR20120116298A (en) | Data receiving device | |
TW201813315A (en) | Clock correction method, reference clock generation method, clock correction circuit and reference clock generation circuit | |
CN105450223A (en) | Clock data recovery device | |
US9246616B2 (en) | Clock phase compensator for multi-stage time division multiplexer | |
KR101110114B1 (en) | Method and circuit for synchronization, and data synchronization apparatus having the same | |
JP6695200B2 (en) | Serial data receiving circuit, transceiver circuit, electronic device, idle state detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right |